SHOW TABLES is extremely resource intesive query, use SHOW TABLES LIKE instead