Перейти к основному содержимому
Перейти к основному содержимому

Системные таблицы

СтраницаОписание
System Tables OverviewOverview of what system tables are and why they are useful.
system.histogram_metric_logSystem table containing periodic snapshots of histogram metrics, flushed to disk.
INFORMATION_SCHEMASystem database providing an almost standardized DBMS-agnostic view on metadata of database objects.
system.aggregate_function_combinatorsContains a list of all available aggregate function combinators, which could be applied to aggregate functions and change the way they work.
system.aggregated_zookeeper_logSystem table containing aggregated statistics of ZooKeeper operations grouped by session, path, operation type, component, and subrequest flag.
system.asynchronous_insert_logSystem table containing information about async inserts. Each entry represents an insert query buffered into an async insert query.
system.asynchronous_metric_logSystem table containing historical values for system.asynchronous_metrics, which are saved once per time interval (one second by default)
system.asynchronous_metricsSystem table containing metrics that are calculated periodically in the background. For example, the amount of RAM in use.
system.asynchronous_insertsSystem table containing information about pending asynchronous inserts in queue.
system.asynchronous_loaderSystem 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.azure_queue_logContains log entries with information about files processed by the AzureQueue engine.
It is safe to truncate or drop this table at any time.
system.azure_queue_metadata_cacheContains in-memory state of AzureQueue metadata and currently processed rows per file.
system.azure_queue_settingsSystem table containing information about settings of AzureQueue tables. Available from server version 24.10.
system.background_schedule_pool_logSystem table containing history of background schedule pool task executions.
system.background_schedule_poolSystem table containing information about tasks in background schedule pools.
system.backup_logSystem table containing logging entries with information about BACKUP and RESTORE operations.
system.backupsSystem table containing logging entries with information about BACKUP and RESTORE operations.
system.blob_storage_logSystem table containing logging entries with information about various blob storage operations such as uploads and deletes.
system.build_optionsSystem table containing information about ClickHouse server's build options.
system.certificatesContains information about available certificates and their sources.
system.clustersSystem table containing information about clusters available in the config file and the servers defined in them.
system.codecsSystem table containing information about codecs in queue.
system.collationsContains a list of all available collations for alphabetical comparison of strings.
system.columnsSystem table containing information about columns in all tables
system.completionsContains a list of completion tokens.
system.contributorsSystem table containing information about contributors.
system.crash_logSystem table containing information about stack traces for fatal errors.
system.current_rolesSystem table containing active roles for the current user.
system.dashboardsContains queries used by /dashboard page accessible though the HTTP interface. useful for monitoring and troubleshooting.
system.data_skipping_indicesSystem table containing information about existing data skipping indices in all the tables.
system.data_type_familiesSystem table containing information about supported data types
system.database_enginesSystem table containing a list of database engines supported by the server.
system.database_replicasSystem table containing information about and status of replicated database.
system.databasesSystem table containing information about the databases that are available to the current user.
system.dead_letter_queueSystem table containing information about messages received via a streaming engine and parsed with errors.
system.delta_lake_metadata_logSystem table containing information about metadata files read from Delta Lake tables. Each entry represents a root metadata JSON file.
system.detached_partsSystem table containing information about detached parts of MergeTree tables
system.detached_tablesSystem table containing information about each detached table.
system.dictionariesSystem table containing information about dictionaries
system.dimensional_metricsThis table contains dimensional metrics that can be calculated instantly and exported in the Prometheus format. It is always up to date.
system.disksSystem table containing information about disks defined in the server configuration
system.distributed_ddl_queueSystem table containing information about distributed ddl queries (queries using the ON CLUSTER clause) that were executed on a cluster.
system.distribution_queueSystem table containing information about local files that are in the queue to be sent to the shards.
system.dns_cacheSystem table containing information about cached DNS records.
system.dropped_tablesSystem 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_partsSystem table containing information about parts of MergeTree dropped tables from system.dropped_tables
system.enabled_rolesSystem 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_logSystem table containing the history of error values from table system.errors, periodically flushed to disk.
system.errorsSystem table containing error codes with the number of times they have been triggered.
system.eventsSystem table containing information about the number of events that have occurred in the system.
system.fail_pointsContains a list of all available failpoints with their type and current status.
system.filesystem_cache_logContains 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_read_prefetches_logContains 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_cacheContains information about all entries inside filesystem cache for remote objects.
system.filesystem_cache_settingsContains information about all filesystem cache settings
system.formatsContains a list of all the formats along with flags whether a format is suitable for input/output or whether it supports parallelization.
system.functionsSystem table containing information about normal and aggregate functions.
system.grantsСистемная таблица, показывающая, какие привилегии предоставлены учетным записям пользователей ClickHouse.
system.graphite_retentionsСистемная таблица, содержащая информацию о параметрах graphite_rollup, используемых в таблицах с движком типа GraphiteMergeTree.
system.histogram_metricsЭта таблица содержит гистограммные метрики, которые могут быть мгновенно вычислены и экспортированы в формате Prometheus. Она всегда содержит актуальные данные.
system.iceberg_metadata_logСистемная таблица, содержащая информацию о файлах метаданных, прочитанных из таблиц Iceberg. Каждая запись соответствует либо корневому файлу метаданных, либо метаданным, извлечённым из файла Avro, либо отдельной записи из файла Avro.
system.iceberg_historyСистемная таблица с историей снимков Iceberg
system.instrumentationСистемная таблица, содержащая точки инструментирования
system.jemalloc_binsСистемная таблица, содержащая информацию о выделениях памяти, выполненных с помощью аллокатора jemalloc в различных классах размеров (bins), агрегированных по всем аренам.
system.jemalloc_profile_textОтображает символизированный профиль кучи jemalloc. Сначала выполните 'SYSTEM JEMALLOC FLUSH PROFILE', чтобы сгенерировать профиль.
system.jemalloc_statsВозвращает статистику jemalloc в одной строке и одном столбце. Эквивалентно команде SYSTEM JEMALLOC STATS.
system.kafka_consumersСистемная таблица, содержащая информацию о потребителях Kafka.
system.keywordsСодержит список всех ключевых слов, используемых в парсере ClickHouse.
system.licensesСистемная таблица, содержащая лицензии сторонних библиотек, расположенных в каталоге contrib исходного кода ClickHouse.
system.macrosСодержит список всех макросов, определённых в конфигурации сервера.
system.masking_policiesСистемная таблица, содержащая информацию обо всех политиках маскирования в системе.
system.merge_tree_settingsСистемная таблица, содержащая информацию о настройках таблиц MergeTree.
system.mergesСистемная таблица, содержащая информацию о слияниях и мутациях частей, которые в данный момент выполняются для таблиц семейства MergeTree.
system.metric_logСистемная таблица, содержащая историю значений метрик из таблиц system.metrics и system.events, которая периодически сбрасывается на диск.
system.metricsСистемная таблица с метриками, которые можно вычислить на лету или имеющими актуальное значение.
system.modelsСодержит список моделей CatBoost, загруженных в память LibraryBridge, а также время их загрузки.
system.movesСистемная таблица, содержащая информацию о текущих перемещениях частей данных таблиц MergeTree. Каждое перемещение части данных представлено одной строкой.
system.mutationsСистемная таблица, содержащая информацию о мутациях таблиц MergeTree и ходе их выполнения. Каждая команда мутации представлена одной строкой.
system.named_collectionsСодержит список всех именованных коллекций, которые были созданы с помощью SQL-запроса или считаны из файла конфигурации.
system.numbersСистемная таблица, содержащая один столбец UInt64 с именем number, в котором хранятся почти все натуральные числа, начиная с нуля.
system.numbers_mtСистемная таблица, аналогичная таблице system.numbers, но чтение из неё выполняется параллельно и числа могут возвращаться в произвольном порядке.
system.oneСистемная таблица, состоящая из одной строки с единственным столбцом dummy типа UInt8, содержащим значение 0. Аналогична таблице DUAL в других СУБД.
system.opentelemetry_span_logСистемная таблица, содержащая информацию о спанах трассировки выполненных запросов.
system.part_logСистемная таблица, содержащая информацию о событиях, происходивших с частями данных в таблицах семейства MergeTree, например при добавлении или слиянии частей.
system.part_moves_between_shardsСодержит информацию о частях, которые в данный момент перемещаются между сегментами, и о ходе этого процесса.
system.partsСистемная таблица, содержащая информацию о частях MergeTree.
system.parts_columnsСистемная таблица, содержащая информацию о частях и столбцах таблиц MergeTree.
system.predicate_statistics_logСистемная таблица, содержащая выборочную статистику селективности фильтров и индексов, собранную из конвейеров чтения MergeTree во время выполнения запросов.
system.primesСистемная таблица, содержащая один столбец UInt64 с именем prime, в котором хранятся простые числа в порядке возрастания, начиная с 2.
system.privilegesСодержит список всех доступных привилегий, которые можно предоставить пользователю или роли.
system.processesСистемная таблица, предназначенная для реализации запроса SHOW PROCESSLIST.
system.processors_profile_logСистемная таблица, содержащая информацию о профилировании на уровне процессоров конвейера (эту информацию можно увидеть в выводе EXPLAIN PIPELINE)
system.projection_partsСистемная таблица, содержащая информацию о частях проекций для таблиц семейства MergeTree.
system.projection_parts_columnsСистемная таблица, содержащая информацию о столбцах в частях проекций для таблиц семейства MergeTree
system.projectionsСистемная таблица, содержащая информацию о существующих проекциях во всех таблицах.
system.query_logСистемная таблица, содержащая информацию о выполненных запросах, например время начала, длительность выполнения и сообщения об ошибках.
system.query_metric_logСистемная таблица, содержащая историю значений использования памяти и метрик из таблицы system.events для отдельных запросов, которая периодически сбрасывается на диск.
system.query_thread_logСистемная таблица, содержащая информацию о потоках, выполняющих запросы, например имя потока, время его запуска и длительность обработки запроса.
system.query_views_logСистемная таблица, содержащая информацию о зависимых представлениях, выполнявшихся при выполнении запроса, например о типе представления и времени его выполнения.
system.query_cacheСистемная таблица, отображающая содержимое кэша запросов.
system.query_condition_cacheСистемная таблица, отображающая содержимое кэша условий запросов.
system.quota_limitsСистемная таблица, содержащая информацию о максимальных значениях для всех интервалов всех квот. Одной квоте может соответствовать любое количество строк, включая ноль.
system.quota_usageСистемная таблица, содержащая информацию об использовании QUOTA текущим USER — какая часть уже израсходована и сколько осталось.
system.quotasСистемная таблица, содержащая информацию о квотах.
system.quotas_usageСистемная таблица, содержащая информацию об использовании QUOTA всеми пользователями.
system.remote_data_pathsСистемная таблица, содержащая сведения о файлах данных, хранящихся на удалённых дисках, таких как S3 или Azure Blob Storage.
system.replicasСистемная таблица, содержащая информацию о реплицируемых таблицах и их состоянии на локальном сервере. Полезна для мониторинга.
system.replicated_fetchesСистемная таблица, содержащая информацию о фоновых операциях загрузки, выполняющихся в данный момент.
system.replicated_merge_tree_settingsСодержит список всех настроек, специфичных для движка ReplicatedMergeTree, их текущих и значений по умолчанию, а также описания. Любую из них можно изменить в разделе SETTINGS запроса CREATE.
system.replication_queueСистемная таблица, содержащая информацию о задачах из очередей репликации, хранящихся в ClickHouse Keeper или ZooKeeper, для таблиц семейства ReplicatedMergeTree.
system.resourcesСистемная таблица, содержащая информацию о ресурсах, расположенных на локальном сервере, по одной строке на каждый ресурс.
system.rocksdbСодержит список метрик, предоставляемых встроенным RocksDB.
system.role_grantsСистемная таблица, содержащая сведения о предоставлении ролей пользователям и ролям.
system.rolesСистемная таблица, содержащая сведения о настроенных ролях.
system.row_policiesСистемная таблица, содержащая фильтры для одной таблицы, а также список ролей и/или пользователей, для которых должна применяться данная ROW POLICY.
system.s3_queue_settingsСистемная таблица, содержащая информацию о настройках таблиц S3Queue. Доступна начиная с версии сервера 24.10.
system.s3queue_logСодержит записи журнала с информацией о файлах, обработанных движком S3Queue.
It is safe to truncate or drop this table at any time.
system.s3queue_metadata_cacheContains in-memory state of S3Queue metadata and currently processed rows per file.
system.schedulerSystem table containing information about and status of scheduling nodes residing on the local server.
system.schema_inference_cacheSystem table containing information about all cached file schemas.
system.server_settingsSystem table containing formation about global settings for the server, which are specified in config.xml.
system.session_logSystem table containing information about all successful and failed login and logout events.
system.settingsSystem table containing information about session settings for current user.
system.settings_changesSystem table containing information about setting changes in previous ClickHouse versions.
system.settings_profile_elementsSystem table which describes the content of the settings profile: constraints, roles and users that the setting applies to, parent settings profiles.
system.settings_profilesSystem table which contains properties of configured setting profiles.
system.stack_traceSystem table which contains stack traces of all server threads. Allows developers to introspect the server state.
system.storage_policiesSystem table containing information about storage policies and volumes which are defined in server configuration.
system.symbolsSystem table useful for C++ experts and ClickHouse engineers containing information for introspection of the clickhouse binary.
system.table_enginesSystem table containing descriptions of table engines supported by the server and the features they support.
system.table_functionsContains a list of all available table functions with their descriptions.
system.tablesSystem table containing metadata of each table that the server knows about.
system.text_logSystem table containing logging entries.
system.time_zonesSystem table containing a list of time zones that are supported by the ClickHouse server.
system.tokenizersSystem table which shows all available tokenizers.
system.trace_logSystem table containing stack traces collected by the sampling query profiler.
system.transactionsContains a list of transactions and their state.
system.transactions_info_logContains information about all transactions executed on a current server.
It is safe to truncate or drop this table at any time.
system.unicodeSystem table containing a list of Unicode characters and their properties.
system.user_defined_functionsSystem table containing loading status and configuration metadata for User-Defined Functions (UDFs).
system.user_directoriesContains the information about configured user directories - directories on the file system from which ClickHouse server is allowed to read user provided data.
system.user_processesSystem table containing information useful for an overview of memory usage and ProfileEvents of users.
system.usersSystem table containing a list of user accounts configured on the server.
system.view_refreshesSystem table containing information about Refreshable Materialized Views.
system.warningsThis table contains warning messages about clickhouse server.
system.warningsСодержит предупреждения о конфигурации сервера, которые отображаются в clickhouse-client сразу после подключения к серверу.
system.workloadsСистемная таблица, содержащая информацию о рабочих нагрузках, выполняющихся на локальном сервере.
system.zerosГенерирует неограниченное количество нематериализованных нулей.
system.zeros_mtМногопоточная версия system.zeros.
system.zookeeperСистемная таблица, которая существует только если настроены ClickHouse Keeper или ZooKeeper. Предоставляет доступ к данным кластера Keeper, заданного в конфигурации.
system.zookeeper_connectionСистемная таблица, которая существует только если ZooKeeper настроен. Показывает текущие подключения к ZooKeeper (включая вспомогательные экземпляры ZooKeeper).
system.zookeeper_connection_logПоказывает историю соединений с ZooKeeper (включая вспомогательные экземпляры ZooKeeper).
system.zookeeper_infoСистемная таблица, содержащая диагностическую информацию обо всех доступных узлах Keeper.
system.zookeeper_logСистемная таблица, содержащая информацию о параметрах запросов к серверу ZooKeeper и ответах сервера.
system.zookeeper_watchesСистемная таблица, показывающая активные в данный момент наблюдатели ZooKeeper, зарегистрированные этим сервером ClickHouse.