What are virtual tables in Cassandra, and what kind of information do they expose?
Last updated
Virtual tables (Cassandra 4.0+) are read-only, in-memory tables exposing node metrics and config through CQL instead of JMX.
They are node-local (reflect only the connected node), not replicated, and not persisted. They live in
system_viewsandsystem_virtual_schema.They expose settings, thread pools, caches, client connections, sstable/compaction details, and read/write latencies.
- https://polandll.github.io/site/Cassandra/3.11/cassandra/new/virtualtables.html
- https://cassandra.apache.org/doc/4.1/cassandra/new/virtualtables.html
- https://opensource.com/article/20/10/virtual-tables-apache-cassandra
- https://thelastpickle.com/blog/2019/03/08/virtual-tables-in-cassandra-4_0.html
- https://docs.datastax.com/en/cql/hcd/reference/system-virtual-tables/virtual-keyspace-table-about.html
- https://github.com/scylladb/scylladb/issues/24100
- https://axonops.com/docs/data-platforms/cassandra/operations/virtual-tables/system-virtual-schema/
- https://cassandra.apache.org/doc/stable/cassandra/managing/operating/index.html