Merge pull request #35969 from larry-cdn77/documentation

Documentation: update listing in system.metrics example
This commit is contained in:
Alexey Milovidov 2022-04-25 03:22:42 +03:00 committed by GitHub
commit 1040e31821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 36 deletions

View File

@ -17,18 +17,18 @@ SELECT * FROM system.metrics LIMIT 10
```
``` text
┌─metric─────────────────────┬─value─┬─description──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Query │ 1 │ Number of executing queries
│ Merge │ 0 │ Number of executing background merges
│ PartMutation │ 0 │ Number of mutations (ALTER DELETE/UPDATE)
│ ReplicatedFetch │ 0 │ Number of data parts being fetched from replicas
│ ReplicatedSend │ 0 │ Number of data parts being sent to replicas
│ ReplicatedChecks │ 0 │ Number of data parts checking for consistency
│ BackgroundPoolTask │ 0 │ Number of active tasks in BackgroundProcessingPool (merges, mutations, fetches, or replication queue bookkeeping)
│ BackgroundSchedulePoolTask │ 0 │ Number of active tasks in BackgroundSchedulePool. This pool is used for periodic ReplicatedMergeTree tasks, like cleaning old data parts, altering data parts, replica re-initialization, etc.
DiskSpaceReservedForMerge │ 0 │ Disk space reserved for currently running background merges. It is slightly more than the total size of currently merging parts.
DistributedSend │ 0 │ Number of connections to remote servers sending data that was INSERTed into Distributed tables. Both synchronous and asynchronous mode.
└────────────────────────────┴───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌─metric───────────────────────────────┬─value─┬─description────────────────────────────────────────────────────────────┐
│ Query │ 1 │ Number of executing queries │
│ Merge │ 0 │ Number of executing background merges │
│ PartMutation │ 0 │ Number of mutations (ALTER DELETE/UPDATE) │
│ ReplicatedFetch │ 0 │ Number of data parts being fetched from replicas │
│ ReplicatedSend │ 0 │ Number of data parts being sent to replicas │
│ ReplicatedChecks │ 0 │ Number of data parts checking for consistency │
│ BackgroundMergesAndMutationsPoolTask │ 0 │ Number of active merges and mutations in an associated background pool
│ BackgroundFetchesPoolTask │ 0 │ Number of active fetches in an associated background pool
BackgroundCommonPoolTask │ 0 │ Number of active tasks in an associated background pool
BackgroundMovePoolTask │ 0 │ Number of active tasks in BackgroundProcessingPool for moves
└──────────────────────────────────────┴───────┴────────────────────────────────────────────────────────────────────────┘
```
**See Also**

View File

@ -17,18 +17,18 @@ SELECT * FROM system.metrics LIMIT 10
```
``` text
┌─metric─────────────────────┬─value─┬─description──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Query │ 1 │ Number of executing queries
│ Merge │ 0 │ Number of executing background merges
│ PartMutation │ 0 │ Number of mutations (ALTER DELETE/UPDATE)
│ ReplicatedFetch │ 0 │ Number of data parts being fetched from replicas
│ ReplicatedSend │ 0 │ Number of data parts being sent to replicas
│ ReplicatedChecks │ 0 │ Number of data parts checking for consistency
│ BackgroundPoolTask │ 0 │ Number of active tasks in BackgroundProcessingPool (merges, mutations, fetches, or replication queue bookkeeping)
│ BackgroundSchedulePoolTask │ 0 │ Number of active tasks in BackgroundSchedulePool. This pool is used for periodic ReplicatedMergeTree tasks, like cleaning old data parts, altering data parts, replica re-initialization, etc.
DiskSpaceReservedForMerge │ 0 │ Disk space reserved for currently running background merges. It is slightly more than the total size of currently merging parts.
DistributedSend │ 0 │ Number of connections to remote servers sending data that was INSERTed into Distributed tables. Both synchronous and asynchronous mode.
└────────────────────────────┴───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌─metric───────────────────────────────┬─value─┬─description────────────────────────────────────────────────────────────┐
│ Query │ 1 │ Number of executing queries │
│ Merge │ 0 │ Number of executing background merges │
│ PartMutation │ 0 │ Number of mutations (ALTER DELETE/UPDATE) │
│ ReplicatedFetch │ 0 │ Number of data parts being fetched from replicas │
│ ReplicatedSend │ 0 │ Number of data parts being sent to replicas │
│ ReplicatedChecks │ 0 │ Number of data parts checking for consistency │
│ BackgroundMergesAndMutationsPoolTask │ 0 │ Number of active merges and mutations in an associated background pool
│ BackgroundFetchesPoolTask │ 0 │ Number of active fetches in an associated background pool
BackgroundCommonPoolTask │ 0 │ Number of active tasks in an associated background pool
BackgroundMovePoolTask │ 0 │ Number of active tasks in BackgroundProcessingPool for moves
└──────────────────────────────────────┴───────┴────────────────────────────────────────────────────────────────────────┘
```
**Смотрите также**

View File

@ -17,18 +17,18 @@ SELECT * FROM system.metrics LIMIT 10
```
``` text
┌─metric─────────────────────┬─value─┬─description──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Query │ 1 │ Number of executing queries
│ Merge │ 0 │ Number of executing background merges
│ PartMutation │ 0 │ Number of mutations (ALTER DELETE/UPDATE)
│ ReplicatedFetch │ 0 │ Number of data parts being fetched from replicas
│ ReplicatedSend │ 0 │ Number of data parts being sent to replicas
│ ReplicatedChecks │ 0 │ Number of data parts checking for consistency
│ BackgroundPoolTask │ 0 │ Number of active tasks in BackgroundProcessingPool (merges, mutations, fetches, or replication queue bookkeeping)
│ BackgroundSchedulePoolTask │ 0 │ Number of active tasks in BackgroundSchedulePool. This pool is used for periodic ReplicatedMergeTree tasks, like cleaning old data parts, altering data parts, replica re-initialization, etc.
DiskSpaceReservedForMerge │ 0 │ Disk space reserved for currently running background merges. It is slightly more than the total size of currently merging parts.
DistributedSend │ 0 │ Number of connections to remote servers sending data that was INSERTed into Distributed tables. Both synchronous and asynchronous mode.
└────────────────────────────┴───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
┌─metric───────────────────────────────┬─value─┬─description────────────────────────────────────────────────────────────┐
│ Query │ 1 │ Number of executing queries │
│ Merge │ 0 │ Number of executing background merges │
│ PartMutation │ 0 │ Number of mutations (ALTER DELETE/UPDATE) │
│ ReplicatedFetch │ 0 │ Number of data parts being fetched from replicas │
│ ReplicatedSend │ 0 │ Number of data parts being sent to replicas │
│ ReplicatedChecks │ 0 │ Number of data parts checking for consistency │
│ BackgroundMergesAndMutationsPoolTask │ 0 │ Number of active merges and mutations in an associated background pool
│ BackgroundFetchesPoolTask │ 0 │ Number of active fetches in an associated background pool
BackgroundCommonPoolTask │ 0 │ Number of active tasks in an associated background pool
BackgroundMovePoolTask │ 0 │ Number of active tasks in BackgroundProcessingPool for moves
└──────────────────────────────────────┴───────┴────────────────────────────────────────────────────────────────────────┘
```
**另请参阅**