Server Tools
Requires Premium
Server tools are Premium features. Open them from Tools or the command palette.
Status & variables
Server status & variables shows the server's SHOW STATUS counters and
SHOW VARIABLES configuration in two searchable tabs.
Server monitor
Server monitor (Tools, or the command palette) is for the minutes when production is slow and the question is why. It reads the server every two seconds while open (1, 2, 5 or 10 s, or Pause), and stops reading while the window is hidden. It has three tabs.
Pulse
Small charts of the last ten minutes, one measure each, with the value now:
| Chart | From |
|---|---|
| Queries / s | Questions (the monitor's own reads are a few of them) |
| Running now | Threads_running |
| Connections | Threads_connected |
| Waiting for a row lock | Innodb_row_lock_current_waits |
| New lock waits / s | Innodb_row_lock_waits |
| Buffer pool hit rate | the change in Innodb_buffer_pool_reads against …_read_requests between two readings. Below 99% on a busy server, it is reading from disk. |
| Slow queries / s, Errors / s | Slow_queries, Errors |
| Received / s, Sent / s | Bytes_received, Bytes_sent |
Below the charts is the statement mix: SELECT, INSERT, UPDATE and
DELETE per second.
Hover a chart, or focus it and use ← →, to read any point. A chart about locks, slow queries or errors gets a ⚠ and a red border while its value is above zero. A server restart between two readings shows as a gap, not a spike.
What each engine has:
- MySQL and MariaDB have every chart.
- ElyraSQL Server 1.12 counts queries, connections, the statement mix, errors and slow queries. It has no buffer pool, lock or network counters.
- ClickHouse charts queries, running queries, connections, failed
queries and network bytes, from
system.eventsandsystem.metrics.
Locks — who blocks whom
Every session waiting for a lock, grouped under the session that holds it,
with the queue's length. A session waiting for a session that is itself
waiting is shown under it, so an ALTER TABLE stuck behind an open
transaction, and every query queued behind the ALTER, read as one queue.
The holder is usually not running anything. Most often it is idle in a transaction someone left open, and the tab says so: how long the transaction has been open, how many rows it changed, and what it ran.
- On MySQL, that is its last statement, from
performance_schema.events_statements_current. - When it ran a prepared statement, as most drivers do, MySQL keeps no text for that execution. The tab then lists the writes the session prepared and ran, and says it cannot know which was last.
Kill closes the holder's connection, after asking. Its transaction rolls back, every change it made since it began is undone, and the queue moves.
Below the queues are the open transactions, oldest first.
| Engine | What it shows |
|---|---|
| MySQL | Row locks (sys.innodb_lock_waits), metadata locks (sys.schema_table_lock_waits), each with its holder |
| MariaDB | Row locks with their holder. MariaDB does not say who holds a metadata lock, so a session waiting for one is listed with its holder unknown, beside the open transactions that usually hold it. |
| ElyraSQL Server 1.12 | Nothing: it exposes no lock information |
| ClickHouse | Nothing: it has no row locks |
Without the sys schema, row locks are read from performance_schema
(MySQL) or information_schema.INNODB_LOCK_WAITS (MariaDB). All of it needs
the PROCESS privilege. InnoDB refreshes what it reports about locks at most
every 100 ms, so a lock just released can show for one more reading.
Sessions
The server's sessions and what each is running. This is SHOW FULL PROCESSLIST on ElyraSQL, MySQL and MariaDB (without FULL, MySQL cuts each
statement at 100 characters), and the running queries in system.processes
on ClickHouse. Idle sessions and the list's own query are hidden unless you
untick hide idle. The filter matches any column. Process list in the
command palette opens this tab.
Each row with a statement has:
- Open: the statement in a new query tab, on the session's database. It does not run.
- Compare…: for a read, a comparison with the statement on both sides, ready for you to rewrite After and time the two against each other. See Compare a query with its rewrite.
- Kill: asks first.
- On MySQL and MariaDB it closes the connection, which stops its statement and rolls back an open transaction.
- On ClickHouse it stops the query (
KILL QUERY WHERE query_id = …). - ElyraSQL Server 1.12 does not implement
KILL, so there is no Kill button there.
The list is read over the plain text protocol. ElyraSQL Server 1.12 answers
the prepared form of SHOW PROCESSLIST with a single placeholder row rather
than its sessions.
Save snapshot
Save snapshot writes everything to one JSON file in your downloads folder, readable by you alone, for an incident ticket or a colleague:
- the pulse samples the monitor holds (up to ten minutes of them)
- the lock queues and open transactions
- the sessions
- all of
SHOW GLOBAL STATUSandSHOW GLOBAL VARIABLES SHOW ENGINE INNODB STATUS(MySQL and MariaDB, withPROCESS)
Passwords in statements (IDENTIFIED BY '…') are blanked. Other values in
the statements are kept as they ran, so treat the file like the data it
came from.
User administration
User administration lists accounts from mysql.user with their coarse
privileges:
- Create a user (username, host, password — minimum 8 characters).
- Grant/revoke
read/write/adminwith the per-user checkboxes. - Drop a user with the row's ✕.
Server support
These tools reflect what the connected ElyraSQL Server exposes; availability depends on the server version.