提交 af17bd12 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation

上级 49b85b79
...@@ -265,11 +265,12 @@ public class DbSettings extends SettingsBase { ...@@ -265,11 +265,12 @@ public class DbSettings extends SettingsBase {
/** /**
* Database setting <code>QUERY_CACHE_SIZE</code> (default: 8).<br /> * Database setting <code>QUERY_CACHE_SIZE</code> (default: 8).<br />
* The size of the query cache. Each session has it's own cache with the * The size of the query cache, in number of cached statements. Each session
* given size. The cache is only used if the SQL statement and all * has it's own cache with the given size. The cache is only used if the SQL
* parameters match. Only the last returned result per query is cached. Only * statement and all parameters match. Only the last returned result per
* SELECT statements are cached (excluding UNION and FOR UPDATE statements). * query is cached. Only SELECT statements are cached (excluding UNION and
* This works for both statements and prepared statement. * FOR UPDATE statements). This works for both statements and prepared
* statement.
*/ */
public final int queryCacheSize = get("QUERY_CACHE_SIZE", 8); public final int queryCacheSize = get("QUERY_CACHE_SIZE", 8);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论