Issue is reading information schema from MySql ... too slow:
Steps:
1. MySql dump created manually by scripting all objects from existing
MySql db which is on AWS. (MySql Version 5.7)
2. Restored dump file on to Azure MySql (Version 5.7)
3. Re-pointed Application (Appian) which sits on AWS to newly created MySql db on Azure.
4. When tried to validate Application (Appian) Objects (Data Stores), which reads `Information_Schema` takes too long or gets timed out.
5. But reading data from the tables are faster.
As per suggestions checked innodb_stats_on_metadata, this is set to OFF.
Still no luck! Any suggestions?
After bit of investigation found that the following query is the one which is slow.
SHOW FULL TABLES FROM `database` LIKE 'xyz'
Most of the time its doing is 'checking permissions
'