diff options
author | Nico Kaiser <nico@kaiser.me> | 2012-05-10 12:25:03 +0400 |
---|---|---|
committer | Nico Kaiser <nico@kaiser.me> | 2012-05-10 12:25:03 +0400 |
commit | e7cccad2c373523ece606ddbd85640a793698a5e (patch) | |
tree | 01e06f92b271d49a498e60e71a87c9e2738fa4d5 /Documentation.html | |
parent | 71d7d63d138d28bb48e922e18348ca9b1aa44d7f (diff) |
Add StatsCache* config options for caching TABLE STATUS output in APC (if available)
Diffstat (limited to 'Documentation.html')
-rw-r--r-- | Documentation.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation.html b/Documentation.html index ce08ff826e..307a24a41c 100644 --- a/Documentation.html +++ b/Documentation.html @@ -1349,7 +1349,15 @@ CREATE DATABASE,ALTER DATABASE,DROP DATABASE</pre> redirected after logout (doesn't affect config authentication method). Should be absolute including protocol. </dd> - + <dt><span id="cfg_Servers_StatusCacheDatabases">$cfg['Servers'][$i]['StatusCacheDatabases']</span> array of strings</dt> + <dd>Enables caching of <code>TABLE STATUS</code> outputs for specific databases on this server (in some cases <code>TABLE STATUS</code> can be very slow, so you may want to cache it). APC is used (if the PHP extension is available, if not, this setting is ignored silently). You have to provide <a href="#cfg_Servers_StatusCacheLifetime" class="configrule">StatusCacheLifetime</a>.<br /> + Takes effect only if + <a href="#cfg_Servers_DisableIS" class="configrule">DisableIS</a> + is <code>true</code>. + </dd> + <dt><span id="cfg_Servers_StatusCacheLifetime">$cfg['Servers'][$i]['StatusCacheLifetime']</span> integer</dt> + <dd>Lifetime in seconds of the <code>TABLE STATUS</code> cache if <a href="#cfg_Servers_StatusCacheDatabases" class="configrule">StatusCacheDatabases</a> is used. + </dd> <dt id="cfg_ServerDefault">$cfg['ServerDefault'] integer</dt> <dd>If you have more than one server configured, you can set <code>$cfg['ServerDefault']</code> to any one of them to autoconnect to |