{"id":2395,"date":"2021-05-21T11:08:12","date_gmt":"2021-05-21T15:08:12","guid":{"rendered":"https:\/\/ekozel.com\/?p=2395"},"modified":"2021-05-21T11:08:34","modified_gmt":"2021-05-21T15:08:34","slug":"phpmyadmin-slow-in-loading-table-list","status":"publish","type":"post","link":"https:\/\/ekozel.com\/2021\/05\/21\/phpmyadmin-slow-in-loading-table-list\/","title":{"rendered":"PHPMyAdmin slow in loading table list"},"content":{"rendered":"\n
When you have innoDB tables with many rows, InnoDB does not store the number of rows in a table but MyISAM does. <\/p>\n\n\n\n
So for each InnoDB table PHPMyAdmin invokes\u00a0 Open \\config.inc.php file and add these two lines of code in it:<\/p>\n\n\n\nSELECT count(*) FROM<\/code>\u00a0query which is very slow if number of rows is very high. To resolve this you should edit\u00a0
config.inc.php<\/code>\u00a0file and set\u00a0
$cfg['MaxExactCount']<\/code>. This will invoke\u00a0
count(*)<\/code>\u00a0sql for tables that has less\u00a0
MaxExactCount<\/code>\u00a0rows.<\/p>\n\n\n\n
$cfg['MaxExactCount'] = 0;\n$cfg['MaxExactCountViews'] = 0;<\/code><\/pre>\n\n\n\n