Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document 'sql' configuration settings #4372

Merged
merged 2 commits into from
Jul 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Config: SQL
andreyaksenov committed Jul 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 390a2c54f60f3cfcd7262a1bad6ad4a9e3766f69
29 changes: 29 additions & 0 deletions doc/reference/configuration/configuration_reference.rst
Original file line number Diff line number Diff line change
@@ -4302,6 +4302,35 @@ snapshot.by.*
| Default: 10^18
| Environment variable: TT_SNAPSHOT_BY_WAL_SIZE



.. _configuration_reference_sql:

sql
---

The ``sql`` section defines configuration parameters related to :ref:`SQL <reference_sql>`.

.. NOTE::

``sql`` can be defined in any :ref:`scope <configuration_scopes>`.

- :ref:`sql.cache_size <configuration_reference_sql_cache_size>`

.. _configuration_reference_sql_cache_size:

.. confval:: sql.cache_size

The maximum cache size (in bytes) for :ref:`SQL prepared statements <box-sql_box_prepare>`.
To see the actual cache size, use :ref:`box.info.sql().cache.size <box_introspection-box_info>`.

|
| Type: integer
| Default: 5242880
| Environment variable: TT_SQL_CACHE_SIZE



.. _configuration_reference_vinyl:

vinyl