Skip to content

Query capture

Capture is SQLEye's per-instance switch that records the statements a database runs, off by default.

Capture is SQLEye’s per-instance switch that records the statements a database server runs and streams them to the Live screen. It is off by default and can only be enabled while the instance is running.

Turning capture on changes the server’s logging configuration: PostgreSQL logs every statement as JSON, and MySQL keeps statement history in performance_schema. That costs the database some throughput. Turning capture off restores the server’s normal configuration, and nothing runs in the background.

Captured events are held in a bounded ring buffer in memory, 50,000 per instance by default, and are not saved across restarts. SQL text is truncated at 8 KB. See Capture and Settings.

← Glossary · Also available as Markdown.

SQLEye is developed and maintained by CodeROG. This page is also available as Markdown.