Skip to content

What is Live Eye?

Live Eye is the live stream of statements that reach a PostgreSQL or MySQL instance managed by SQLEye. It is off by default and turned on per instance with the Capture toggle.

Open an instance and use its tabs: Live, Shapes, Connections and Info.

Tab Shows
Live Every captured statement as it arrives: Time, Duration, SQL, Rows, Conn.
Shapes Statements grouped by query shape with count, total, average and maximum time.
Connections Current connections to the server.
Info Connection string, CLI command, .env blocks, data and log locations.

On top of the stream, SQLEye flags slow queries and detects N+1 patterns. From a captured statement you can run Explain.

Time, SQL text, query shape and its hash, duration, rows, rows examined and “No index used” (MySQL only), connection id, database, user, application, error text if the statement failed, a slow flag and an N+1 group.

  • SQL text is truncated at 8 KB per event.
  • The buffer keeps 50,000 events per instance by default (1,000 to 500,000 in Settings). Captured queries live in memory only and are not kept across restarts.
  • The interface receives new events in batches at most every 100 ms.

Only while capture is on. With capture off nothing runs for Live Eye, and the server uses its normal configuration. See Capture for what capture changes on each engine.

  1. Turn capture on.
  2. Filter the stream.
  3. Follow your first captured query.

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