Lower default value for $cfg['MaxExactCount']
Counting of big InnoDB tables is slow, so try to avoid that as much as possible. Fixes #13711 Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
6a645a3e89
commit
99f2b16da1
@ -37,6 +37,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue Consolidate functions into class files
|
||||
- issue #13560 Add support for changing collation for all tables and columns in database
|
||||
- issue #13303 Add support for creating fulltext index from table structure
|
||||
- issue #13711 Lower default value for $cfg['MaxExactCount']
|
||||
|
||||
4.7.5 (not yet released)
|
||||
- issue #13615 Avoid problems with browsing unknown query types
|
||||
|
||||
@ -3107,7 +3107,7 @@ Various display setting
|
||||
.. config:option:: $cfg['MaxExactCount']
|
||||
|
||||
:type: integer
|
||||
:default: 500000
|
||||
:default: 50000
|
||||
|
||||
For InnoDB tables, determines for how large tables phpMyAdmin should
|
||||
get the exact row count using ``SELECT COUNT``. If the approximate row
|
||||
@ -3115,6 +3115,14 @@ Various display setting
|
||||
``SELECT COUNT`` will be used, otherwise the approximate count will be
|
||||
used.
|
||||
|
||||
.. versionchanged:: 4.8.0
|
||||
|
||||
The default value was lowered to 50000 for performance reasons.
|
||||
|
||||
.. versionchanged:: 4.2.6
|
||||
|
||||
The default value was changed to 500000.
|
||||
|
||||
.. seealso:: :ref:`faq3_11`
|
||||
|
||||
.. config:option:: $cfg['MaxExactCountViews']
|
||||
|
||||
@ -2761,7 +2761,7 @@ $cfg['BrowseMIME'] = true;
|
||||
*
|
||||
* @global integer $cfg['MaxExactCount']
|
||||
*/
|
||||
$cfg['MaxExactCount'] = 500000;
|
||||
$cfg['MaxExactCount'] = 50000;
|
||||
|
||||
/**
|
||||
* Zero means that no row count is done for views; see the doc
|
||||
|
||||
Loading…
Reference in New Issue
Block a user