| 页面 | 说明 |
|---|---|
| system.constraints | System table containing information about existing constraints in all tables. |
| System Tables Overview | Overview of what system tables are and why they are useful. |
| INFORMATION_SCHEMA | System database providing an almost standardized DBMS-agnostic view on metadata of database objects. |
| system.aggregate_function_combinators | Contains a list of all available aggregate function combinators, which could be applied to aggregate functions and change the way they work. |
| system.aggregated_zookeeper_log | System table containing aggregated statistics of ZooKeeper operations grouped by session, path, operation type, component, and subrequest flag. |
| system.asynchronous_insert_log | System table containing information about async inserts. Each entry represents an insert query buffered into an async insert query. |
| system.asynchronous_loader | System table containing information about and status of recent asynchronous jobs (e.g. for tables which are loading). The table contains a row for every job. |
| system.asynchronous_metric_log | System table containing historical values for system.asynchronous_metrics, which are saved once per time interval (one second by default) |
| system.asynchronous_inserts | System table containing information about pending asynchronous inserts in queue. |
| system.asynchronous_metrics | System table containing metrics that are calculated periodically in the background. For example, the amount of RAM in use. |
| system.azure_queue_settings | System table containing information about settings of AzureQueue tables. Available from server version 24.10. |
| system.azure_queue_metadata_cache | Contains in-memory state of AzureQueue metadata and currently processed rows per file. |
| system.azure_queue_log | Contains log entries with information about files processed by the AzureQueue engine. |
| It is safe to truncate or drop this table at any time. | |
| system.background_schedule_pool_log | System table containing history of background schedule pool task executions. |
| system.background_schedule_pool | System table containing information about tasks in background schedule pools. |
| system.backup_log | System table containing logging entries with information about BACKUP and RESTORE operations. |
| system.backups | System table containing logging entries with information about BACKUP and RESTORE operations. |
| system.blob_storage_log | System table containing logging entries with information about various blob storage operations such as uploads and deletes. |
| system.build_options | System table containing information about ClickHouse server’s build options. |
| system.certificates | Contains information about available certificates and their sources. |
| system.clusters | System table containing information about clusters available in the config file and the servers defined in them. |
| system.codecs | System table containing information about codecs in queue. |
| system.collations | Contains a list of all available collations for alphabetical comparison of strings. |
| system.columns | System table containing information about columns in all tables |
| system.completions | Contains a list of completion tokens. |
| system.contributors | System table containing information about contributors. |
| system.crash_log | System table containing information about stack traces for fatal errors. |
| system.current_roles | System table containing active roles for the current user. |
| system.dashboards | Contains queries used by /dashboard page accessible though the HTTP interface. useful for monitoring and troubleshooting. |
| system.data_skipping_indices | System table containing information about existing data skipping indices in all the tables. |
| system.data_skipping_index_types | System table containing a list of data skipping index types supported by the server along with their embedded documentation. |
| system.data_type_families | System table containing information about supported data types |
| system.database_engines | System table containing a list of database engines supported by the server. |
| system.database_replicas | System table containing information about and status of replicated database. |
| system.databases | System table containing information about the databases that are available to the current user. |
| system.dead_letter_queue | System table containing information about messages received via a streaming engine and parsed with errors. |
| system.delta_lake_metadata_log | System table containing information about metadata files read from Delta Lake tables. Each entry represents a root metadata JSON file. |
| system.detached_parts | System table containing information about detached parts of MergeTree tables |
| system.detached_tables | System table containing information about each detached table. |
| system.dictionaries | System table containing information about dictionaries |
| system.dictionary_sources | System table containing a list of dictionary sources supported by the server along with their embedded documentation. |
| system.dictionary_layouts | System table containing a list of dictionary layouts supported by the server along with their embedded documentation. |
| system.dimensional_metrics | This table contains dimensional metrics that can be calculated instantly and exported in the Prometheus format. It is always up to date. |
| system.disk_types | System table containing a list of disk types supported by the server along with their embedded documentation. |
| system.disks | System table containing information about disks defined in the server configuration |
| system.distributed_ddl_queue | System table containing information about distributed ddl queries (queries using the ON CLUSTER clause) that were executed on a cluster. |
| system.distribution_queue | System table containing information about local files that are in the queue to be sent to the shards. |
| system.dns_cache | System table containing information about cached DNS records. |
| system.documentation | System table that collects the embedded documentation of the uniform components of the system (functions, table engines, data types, and so on) into a single table, with the reference documentation rendered as Markdown. |
| system.dropped_tables | System table containing information about tables that drop table has been executed on but for which data cleanup has not yet been performed |
| system.dropped_tables_parts | System table containing information about parts of MergeTree dropped tables from system.dropped_tables |
| system.enabled_roles | System table containing all active roles at the moment, including the current role of the current user and the granted roles for the current role |
| system.error_log | System table containing the history of error values from table system.errors, periodically flushed to disk. |
| system.errors | System table containing error codes with the number of times they have been triggered. |
| system.events | System table containing information about the number of events that have occurred in the system. |
| system.fail_points | Contains a list of all available failpoints with their type and current status. |
| system.filesystem_cache_settings | Contains information about all filesystem cache settings |
| system.filesystem_read_prefetches_log | Contains a history of all prefetches done during reading from MergeTree tables backed by a remote filesystem. |
| It is safe to truncate or drop this table at any time. | |
| system.filesystem_cache_log | Contains a history of all events occurred with filesystem cache for objects on a remote filesystem. |
| It is safe to truncate or drop this table at any time. | |
| system.filesystem_cache | Contains information about all entries inside filesystem cache for remote objects. |
| system.formats | Contains a list of all the formats along with flags whether a format is suitable for input/output or whether it supports parallelization. |
| system.functions | System table containing information about normal and aggregate functions. |
| system.grants | System table showing which privileges are granted to ClickHouse user accounts. |
| system.graphite_retentions | System table containing information about parameters graphite_rollup which are used in tables with GraphiteMergeTree type engines. |
| system.histogram_metrics | This table contains histogram metrics that can be calculated instantly and exported in the Prometheus format. It is always up to date. |
| system.iceberg_history | System iceberg snapshot history |
| system.iceberg_files | System table containing per-file metadata of Iceberg tables |
| system.iceberg_metadata_log | System table containing information about metadata files read from Iceberg tables. Each entry represents either a root metadata file, metadata extracted from an Avro file, or an entry of some Avro file. |
| system.instrumentation | System table containing the instrumentation points |
| system.jemalloc_stats | Returns jemalloc statistics in a single row with a single column. Equivalent to SYSTEM JEMALLOC STATS command. |
| system.jemalloc_bins | System table containing information about memory allocations done via jemalloc allocator in different size classes (bins) aggregated from all arenas. |
| system.jemalloc_profile_text | Displays the symbolized jemalloc heap profile. Run ‘SYSTEM JEMALLOC FLUSH PROFILE’ to generate a profile first. |
| system.kafka_consumers | System table containing information about Kafka consumers. |
| system.keeper_cluster | System table which exists only when this node runs an in-process ClickHouse Keeper. Contains one row per Raft cluster member as seen by this Keeper. |
| system.keeper_snapshots | System table which exists only when this node runs an in-process ClickHouse Keeper. Contains one row per on-disk Raft snapshot tracked by the Keeper state machine. |
| system.keeper_changelogs | System table which exists only when this node runs an in-process ClickHouse Keeper. Contains one row per on-disk Raft changelog file tracked by the Keeper log store. |
| system.keywords | Contains a list of all keywords used in ClickHouse parser. |
| system.licenses | System table containing licenses of third-party libraries that are located in the contrib directory of ClickHouse sources. |
| system.macros | Contains a list of all macros defined in server configuration. |
| system.masking_policies | System table containing information about all masking policies in the system. |
| system.merge_tree_settings | System table containing information about settings for MergeTree tables. |
| system.merges | System table containing information about merges and part mutations currently in process for tables in the MergeTree family. |
| system.metric_log | System table containing history of metrics values from tables system.metrics and system.events, periodically flushed to disk. |
| system.metrics | System table containing metrics which can be calculated instantly, or have a current value. |
| system.models | Contains a list of CatBoost models loaded into a LibraryBridge’s memory along with time when it was loaded. |
| system.moves | System table containing information about in-progress data part moves of MergeTree tables. Each data part movement is represented by a single row. |
| system.mutations | System table containing information about mutations of MergeTree tables and their progress. Each mutation command is represented by a single row. |
| system.named_collections | 包含所有通过 SQL 查询创建或从配置文件中解析出的 named collections 列表。 |
| system.numbers_mt | 与 system.numbers 类似的系统表,但读取是并行的,返回的数字顺序可能任意。 |
| system.numbers | 包含一个名为 number 的 UInt64 列的系统表,该列包含从零开始的几乎所有自然数。 |
| system.one | 包含单行且只有一个值为 0 的 dummy UInt8 列的系统表。类似于其他 DBMS 中的 DUAL 表。 |
| system.opentelemetry_span_log | 包含已执行查询的 trace span 信息的系统表。 |
| system.part_moves_between_shards | 包含当前正在分片之间移动的 parts 及其进度信息。 |
| system.part_log | 包含 MergeTree 家族中的表中与数据分区片段相关事件信息的系统表,例如数据的添加或合并。 |
| system.parts | 包含 MergeTree 的 parts 信息的系统表 |
| system.parts_columns | 包含 MergeTree 表的 parts 和列信息的系统表。 |
| system.predicate_statistics_log | 包含在查询执行期间从 MergeTree 读取管道中采样收集的过滤器和索引选择性统计信息的系统表。 |
| system.primes | 包含一个名为 prime 的 UInt64 列的系统表,该列按升序存储质数,从 2 开始。 |
| system.privileges | 包含可授予用户或角色的所有可用权限列表。 |
| system.processes | 用于实现 SHOW PROCESSLIST 查询的系统表。 |
| system.processors_profile_log | 包含处理器级别分析信息的系统表 (可在 EXPLAIN PIPELINE 中查看) 。 |
| system.projection_parts_columns | 包含 MergeTree 家族表中投影 parts 的列信息的系统表。 |
| system.projection_parts | 包含 MergeTree 家族表中投影 parts 信息的系统表。 |
| system.projections | 包含所有表中现有投影信息的系统表。 |
| system.query_views_log | 包含运行查询时所执行依赖视图信息的系统表,例如视图类型或执行时间。 |
| system.query_condition_cache | 显示查询条件缓存内容的系统表。 |
| system.query_thread_log | 包含执行查询的线程信息的系统表,例如线程名称、线程开始时间以及查询处理耗时。 |
| system.query_metric_log | 包含各个查询对应的 system.events 表中的内存和指标值历史记录的系统表,这些记录会定期写入磁盘。 |
| system.query_log | 包含已执行查询信息的系统表,例如开始时间、处理耗时和错误消息。 |
| system.query_cache | 显示查询缓存内容的系统表。 |
| system.quota_usage | 包含当前用户配额使用情况信息的系统表,例如已使用多少配额以及剩余多少。 |
| system.quota_limits | 包含所有 quotas 在各个时间区间内最大值信息的系统表。一个 quota 可以对应任意数量的行,也可以不对应任何行。 |
| system.quotas_usage | 包含所有用户配额使用情况信息的系统表。 |
| system.quotas | 包含 quotas 信息的系统表。 |
| system.remote_data_paths | 包含存储在远程磁盘 (如 S3 或 Azure Blob 存储) 上的数据文件信息的系统表。 |
| system.replicas | 包含本地服务器上复制表的信息和状态的系统表,可用于监控。 |
| system.replicated_merge_tree_settings | 包含所有 ReplicatedMergeTree 专有设置及其当前值、默认值和说明的列表。你可以在 CREATE 查询的 SETTINGS 部分更改其中任意一项。 |
| system.replicated_fetches | System table containing information about currently running background fetches. |
| system.replication_queue | System table containing information about tasks from replication queues stored in ClickHouse Keeper, or ZooKeeper, for tables in the ReplicatedMergeTree family. |
| system.resources | System table containing information about resources residing on the local server with one row for every resource. |
| system.rocksdb | Contains a list of metrics exposed from embedded RocksDB. |
| system.role_grants | System table containing the role grants for users and roles. |
| system.roles | System table containing information about configured roles. |
| system.row_policies | System table containing filters for one particular table, as well as a list of roles and/or users which should use this row policy. |
| system.s3_queue_settings | System table containing information about the settings of S3Queue tables. Available from server version 24.10. |
| system.s3queue_metadata_cache | Contains in-memory state of S3Queue metadata and currently processed rows per file. |
| system.s3queue_log | Contains log entries with information about files processed by the S3Queue engine. |
| It is safe to truncate or drop this table at any time. | |
| system.scheduler | System table containing information about and status of scheduling nodes residing on the local server. |
| system.schema_inference_cache | System table containing information about all cached file schemas. |
| system.server_settings | System table containing formation about global settings for the server, which are specified in config.xml. |
| system.session_log | System table containing information about all successful and failed login and logout events. |
| system.settings | System table containing information about session settings for current user. |
| system.settings_profile_elements | System table which describes the content of the settings profile: constraints, roles and users that the setting applies to, parent settings profiles. |
| system.settings_changes | System table containing information about setting changes in previous ClickHouse versions. |
| system.settings_profiles | System table which contains properties of configured setting profiles. |
| system.stack_trace | System table which contains stack traces of all server threads. Allows developers to introspect the server state. |
| system.storage_policies | System table containing information about storage policies and volumes which are defined in server configuration. |
| system.symbols | System table useful for C++ experts and ClickHouse engineers containing information for introspection of the clickhouse binary. |
| system.table_engines | System table containing descriptions of table engines supported by the server and the features they support. |
| system.table_functions | Contains a list of all available table functions with their descriptions. |
| system.tables | System table containing metadata of each table that the server knows about. |
| system.text_log | System table containing logging entries. |
| system.time_zones | System table containing a list of time zones that are supported by the ClickHouse server. |
| system.tokenizers | System table which shows all available tokenizers. |
| system.trace_log | System table containing stack traces collected by the sampling query profiler. |
| system.transactions | Contains a list of transactions and their state. |
| system.transactions_info_log | Contains information about all transactions executed on a current server. |
| It is safe to truncate or drop this table at any time. | |
| system.unicode | System table containing a list of Unicode characters and their properties. |
| system.user_processes | System table containing information useful for an overview of memory usage and ProfileEvents of users. |
| system.user_directories | Contains the information about configured user directories - directories on the file system from which ClickHouse server is allowed to read user provided data. |
| system.user_defined_functions | System table containing loading status and configuration metadata for User-Defined Functions (UDFs). |
| system.users | System table containing a list of user accounts configured on the server. |
| system.view_refreshes | System table containing information about Refreshable Materialized Views. |
| system.warnings | This table contains warning messages about clickhouse server. |
| system.warnings | Contains warnings about server configuration to be displayed by clickhouse-client right after it connects to the server. |
| system.workloads | System table containing information for workloads residing on the local server. |
| system.zeros | Produces unlimited number of non-materialized zeros. |
| system.zeros_mt | Multithreaded version of system.zeros. |
| system.zookeeper_watches | System table showing currently active ZooKeeper watches registered by this ClickHouse server. |
| system.zookeeper_info | System table which outputs introspection of all available keeper nodes. |
| system.zookeeper_log | System table containing information about the parameters of the request to the ZooKeeper server and the response from it. |
| system.zookeeper_connection | System table which exists only if ZooKeeper is configured. Shows current connections to ZooKeeper (including auxiliary ZooKeepers). |
| system.zookeeper_connection_log | Shows the history of ZooKeeper connections (including auxiliary ZooKeepers). |
| system.zookeeper | System table which exists only if ClickHouse Keeper or ZooKeeper are configured. It exposes data from the Keeper cluster defined in the config. |
系统表
介绍什么是系统表及其用途。
最后修改于 2026年6月25日