Skip to content

The vdb schema ​

Every account can read the vdb schema. Rows about sessions and requests show only the reader's own, unless the reader's Source account holds PROCESS.

TableRows
vdb.statusname, value: state, Source and mysqld versions, protocol version, Delta bytes, memory ceiling and use, lock entries, persistence, grant mode, pushdown
vdb.tablesEvery table: kind (mirrored, local, detached), Delta rows, touched keys, Delta bytes, unproven collations, last Source change
vdb.sessionsOpen sessions: snapshot age, Source requests and rows, statements without Batched Key Access
vdb.source_requestsThe last Source requests: shape, table, duration, rows, bytes, error
vdb.accountsMirrored accounts: method, when grants were read, whether VDB can ever match them, why not
vdb.catalog_errorsObjects that could not be created, and discovery warnings
vdb.delta_sqlThe Delta as SQL: DDL, inserts, updates and deletes that would reproduce it. Never executed.
vdb.schema_changesSource schema changes applied, and their effect on the Delta
vdb.metricsCounters and gauges (name, labels, value)

The engine's own counters are mysqld status variables: SHOW GLOBAL STATUS LIKE 'vdb%'.

Released under the Elastic License 2.0.