# performance_schema

> performance_schema is MySQL's built-in database for monitoring server execution at a low level, including statement history.

Source: https://sqleye.com/docs/glossary/performance-schema/ · Last updated: 2026-11-29 · Publisher: CodeROG (https://coderog.com)

performance_schema is MySQL's feature for monitoring server execution at a low level. The MySQL manual describes it as implemented by the PERFORMANCE_SCHEMA storage engine and the performance_schema database, collecting timing data for server events such as mutex waits, file and table I/O, table locks and statements.

SQLEye uses it to capture queries on MySQL. Instances are configured with performance_schema on and a statement history table of 10,000 rows. While capture is on, SQLEye enables the history consumer and polls it every 250 ms, reading SQL text, duration, rows sent, rows examined and whether no index was used. If more statements arrive between polls than the history holds, some can be missed.

SQLEye also reads performance_schema.threads to show connections. See [Capture](/docs/live-eye/capture/) and [Engines](/docs/engines/).
