Quering information_schema.TABLES Is Slow (Doc ID 2038763.1)

Last updated on MARCH 08, 2017

Applies to:

MySQL Server - Version 5.0 to 5.7 [Release 5.0 to 5.7]
Information in this document applies to any platform.

Symptoms

Querying the TABLES table in the Information Schema is slow. This particularly happens when the query has no WHERE clause limiting the database and/or table names and the database has many tables.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms