Skip to main content
VeloDB Cloud 26.x is based on Apache Doris 4.x. See Version Mapping.

System Tables Overview

System tables expose warehouse metadata and operational information through SQL. Use them to inspect database objects, SQL activity, privileges, cache metrics, and audit records.

Query system tables​

Connect to your warehouse or open its SQL Editor. For example, list tables visible to your SQL user:

SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, TABLE_TYPE
FROM information_schema.tables
LIMIT 20;

Use SHOW TABLES FROM information_schema; to list system tables, and DESCRIBE information_schema.tables; to inspect a table's current columns. The reference pages describe the Core 26.1.3 schema. Check your warehouse schema when using a different Core version.

System databases​

DatabasePurposeManagement boundary
information_schemaVirtual, read-only tables for catalog metadata, SQL activity, privileges, and resource usage.Query the tables. You cannot create, alter, or drop these virtual tables. Rows can be filtered by the SQL user's privileges and the selected catalog or cluster.
mysqlVirtual tables for MySQL client compatibility and warehouse SQL user metadata.Query these tables. Manage users and privileges through supported account management statements instead of editing the tables.
__internal_schemaPhysical, service-maintained tables for optimizer statistics and statement audit records.Inspect them with the required SQL privileges. Contact VeloDB Cloud support before changing their schema, properties, or data.

Each catalog has an information_schema for its metadata. For another catalog, use the qualified name, such as <catalog-name>.information_schema.tables. The mysql compatibility database is also exposed through catalogs, while warehouse internal statistics and audit tables are in the internal catalog.

Choose a table​

TaskTables
Inspect databases, tables, columns, and viewsschemata, tables, columns, views.
Investigate running workactive_queries, backend_active_tasks, processlist.
Inspect workload managementworkload_groups, workload_group_resource_usage, workload_policy.
Investigate cache behaviorfile_cache_statistics, catalog_meta_cache_statistics.
Inspect collected statistics__internal_schema.column_statistics, __internal_schema.partition_statistics.
Investigate completed statements__internal_schema.audit_log.

Some MySQL compatibility tables intentionally return no rows. An empty compatibility table does not mean that an equivalent warehouse capability or metadata source is unavailable. Check the individual reference before using it for monitoring or inventory.