System Tables
Databend provides a set of system tables that contain metadata about your Databend deployment, databases, tables, queries, and system performance. These tables are read-only and are automatically updated by the system.
System tables are organized in the system schema and can be queried using standard SQL. They provide valuable information for monitoring, troubleshooting, and understanding your Databend environment.
Available System Tables
Database & Table Metadata
Query & Performance
| Table | Description |
|---|---|
| system.query_log | Contains information about executed queries, including performance metrics. |
| system.metrics | Contains information about system metric events. |
| system.query_cache | Provides information about the query cache. |
| system.locks | Contains information about acquired locks in the system. |
Functions & Settings
| Table | Description |
|---|---|
| system.functions | Lists all available built-in functions. |
| system.table_functions | Lists all available table functions. |
| system.user_functions | Contains information about user-defined functions. |
| system.settings | Contains information about system settings. |
| system.configs | Contains configuration information for the Databend deployment. |
System Information
| Table | Description |
|---|---|
| system.build_options | Contains information about build options used to compile Databend. |
| system.clusters | Contains information about clusters in the system. |
| system.contributors | Lists contributors to the Databend project. |
| system.credits | Contains information about third-party libraries used in Databend. |
| system.caches | Provides information about system caches. |
