File tree 2 files changed +30
-1
lines changed
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -4302,6 +4302,35 @@ snapshot.by.*
4302
4302
| Default: 10^18
4303
4303
| Environment variable: TT_SNAPSHOT_BY_WAL_SIZE
4304
4304
4305
+
4306
+
4307
+ .. _configuration_reference_sql :
4308
+
4309
+ sql
4310
+ ---
4311
+
4312
+ The ``sql `` section defines configuration parameters related to :ref: `SQL <reference_sql >`.
4313
+
4314
+ .. NOTE ::
4315
+
4316
+ ``sql `` can be defined in any :ref: `scope <configuration_scopes >`.
4317
+
4318
+ - :ref: `sql.cache_size <configuration_reference_sql_cache_size >`
4319
+
4320
+ .. _configuration_reference_sql_cache_size :
4321
+
4322
+ .. confval :: sql.cache_size
4323
+
4324
+ The maximum cache size (in bytes) for all :ref: `SQL prepared statements <box-sql_box_prepare >`.
4325
+ To see the actual cache size, use :ref: `box.info.sql().cache.size <box_introspection-box_info >`.
4326
+
4327
+ |
4328
+ | Type: integer
4329
+ | Default: 5242880
4330
+ | Environment variable: TT_SQL_CACHE_SIZE
4331
+
4332
+
4333
+
4305
4334
.. _configuration_reference_vinyl :
4306
4335
4307
4336
vinyl
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ box.prepare()
38
38
is "shared", that is, there is one cache for
39
39
all sessions. However, session X cannot execute a statement prepared by session Y. |br |
40
40
For monitoring the cache, see :ref: `box.info().sql <box_introspection-box_info >`. |br |
41
- For changing the cache, see :ref: `(Configuration reference) sql_cache_size < cfg_basic-sql_cache_size >`.
41
+ For changing the cache size, use :ref: `sql.cache_size < configuration_reference_sql_cache_size >`.
42
42
43
43
Prepared statements will "expire" (become invalid) if
44
44
any database object is dropped or created or altered --
You can’t perform that action at this time.
0 commit comments