diff --git a/doc/reference/configuration/configuration_reference.rst b/doc/reference/configuration/configuration_reference.rst index d9e97774ed..c54176a773 100644 --- a/doc/reference/configuration/configuration_reference.rst +++ b/doc/reference/configuration/configuration_reference.rst @@ -4321,7 +4321,7 @@ The ``sql`` section defines configuration parameters related to :ref:`SQL `. + The maximum cache size (in bytes) for all :ref:`SQL prepared statements `. To see the actual cache size, use :ref:`box.info.sql().cache.size `. | diff --git a/doc/reference/reference_lua/box_sql/prepare.rst b/doc/reference/reference_lua/box_sql/prepare.rst index 097efaa67b..c121a7f205 100644 --- a/doc/reference/reference_lua/box_sql/prepare.rst +++ b/doc/reference/reference_lua/box_sql/prepare.rst @@ -38,7 +38,7 @@ box.prepare() is "shared", that is, there is one cache for all sessions. However, session X cannot execute a statement prepared by session Y. |br| For monitoring the cache, see :ref:`box.info().sql `. |br| - For changing the cache, see :ref:`(Configuration reference) sql_cache_size `. + For changing the cache size, use :ref:`sql.cache_size `. Prepared statements will "expire" (become invalid) if any database object is dropped or created or altered --