Skip to content

Commit 74fb9ec

Browse files
n00bcrackerblinkov
andauthored
Updated partition_stats sys view according to actual scheme (#17264)
Co-authored-by: Ivan Blinkov <ivan@ydb.tech>
1 parent 1cfc7e3 commit 74fb9ec

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

ydb/docs/en/core/dev/system-views.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ Column | Description | Data type | Instant/Cumulative
2626
`OwnerId` | ID of the SchemeShard table.<br/>Key: `0`. | `Uint64` | Instant
2727
`PathId` | ID of the SchemeShard path.<br/>Key: `1`. | `Uint64` | Instant
2828
`PartIdx` | Partition sequence number.<br/>Key: `2`. | `Uint64` | Instant
29+
`FollowerId` | ID of the partition tablet [follower](../concepts/glossary.md#tablet-follower). A value of 0 means the leader.<br/>Key: `3`.| `Uint32` | Instant
2930
`DataSize` | Approximate partition size in bytes. | `Uint64` | Instant
3031
`RowCount` | Approximate number of rows. | `Uint64` | Instant
3132
`IndexSize` | Partition index size in bytes. | `Uint64` | Instant
3233
`CPUCores` | Instantaneous value of the load on the partition (the share of the CPU core time spent by the actor of the partition). | `Double` | Instant
3334
`TabletId` | ID of the partition tablet. | `Uint64` | Instant
34-
`FollowerId` | ID of the partition tablet [follower](../concepts/glossary.md#tablet-follower). A value of 0 means the leader. | `Uint32` | Instant
3535
`Path` | Full path to the table. | `Utf8` | Instant
3636
`NodeId` | ID of the partition node. | `Uint32` | Instant
3737
`StartTime` | Last time of the launch of the partition tablet. | `Timestamp` | Instant
@@ -43,10 +43,13 @@ Column | Description | Data type | Instant/Cumulative
4343
`RangeReads` | Number of range reads. | `Uint64` | Cumulative
4444
`RangeReadRows` | Number of rows read in ranges. | `Uint64` | Cumulative
4545
`InFlightTxCount` | Number of in-flight transactions. | `Uint64` | Instant
46-
`ImmediateTxCompleted` | Number of completed [single-shard transactions](../concepts/glossary.md#transactions). | `Uint64` | Cumulative
46+
`ImmediateTxCompleted` | Number of completed [single-shard transactions](../concepts/glossary.md#transactions). | `Uint32` | Cumulative
4747
`CoordinatedTxCompleted` | Number of completed [distributed transactions](../concepts/glossary.md#transactions). | `Uint64` | Cumulative
4848
`TxRejectedByOverload` | Number of transactions cancelled due to [overload](../troubleshooting/performance/queries/overloaded-errors.md). | `Uint64` | Cumulative
4949
`TxRejectedByOutOfStorage` | Number of transactions cancelled due to lack of storage space. | `Uint64` | Cumulative
50+
`LastTtlRunTime` | Launch time of the last TTL erasure procedure | `Timestamp` | Instant
51+
`LastTtlRowsProcessed` | Number of rows checked during the last TTL erasure procedure | `Uint64` | Instant
52+
`LastTtlRowsErased` | Number of rows deleted during the last TTL erasure procedure | `Uint64` | Instant
5053
`LocksAcquired` | Number of [locks](../contributor/datashard-locks-and-change-visibility.md) acquired. | `Uint64` | Cumulative
5154
`LocksWholeShard` | The number of ["whole shard" locks](../contributor/datashard-locks-and-change-visibility.md#limitations) taken. | `Uint64` | Cumulative
5255
`LocksBroken` | Number of [broken locks](../contributor/datashard-locks-and-change-visibility.md#high-level-overview). | `Uint64` | Cumulative

ydb/docs/ru/core/dev/system-views.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
`OwnerId` | Идентификатор SchemeShard таблицы.<br/>Ключ: `0`. | `Uint64` | Моментальная
2727
`PathId` | Идентификатор пути в SchemeShard.<br/>Ключ: `1`. | `Uint64` | Моментальная
2828
`PartIdx` | Порядковый номер партиции.<br/>Ключ: `2`. | `Uint64` | Моментальная
29+
`FollowerId` | Идентификатор [подписчика](../concepts/glossary.md#tablet-follower) таблетки партиции. Значение 0 означает лидера.<br/>Ключ: `3`. | `Uint32` | Моментальная
2930
`DataSize` | Приблизительный размер данных партиции в байтах. | `Uint64` | Моментальная
3031
`RowCount` | Приблизительное количество строк. | `Uint64` | Моментальная
3132
`IndexSize` | Размер индекса партиции в байтах. | `Uint64` | Моментальная
3233
`CPUCores` | Моментальное значение нагрузки на партицию (доля времени ядра процессора, затраченного актором партиции). | `Double` | Моментальная
3334
`TabletId` | Идентификатор таблетки партиции. | `Uint64` | Моментальная
34-
`FollowerId` | Идентификатор [подписчика](../concepts/glossary.md#tablet-follower) таблетки партиции. Значение 0 означает лидера. | `Uint32` | Моментальная
3535
`Path` | Полный путь к таблице. | `Utf8` | Моментальная
3636
`NodeId` | Идентификатор ноды, на которой в данный момент обслуживается партиция. | `Uint32` | Моментальная
3737
`StartTime` | Последний момент запуска таблетки партиции. | `Timestamp` | Моментальная
@@ -43,10 +43,13 @@
4343
`RangeReads` | Количество чтений по диапазону ключей. | `Uint64` | Кумулятивная
4444
`RangeReadRows` | Количество строк, прочитанных в диапазонах. | `Uint64` | Кумулятивная
4545
`InFlightTxCount` | Количество исполняющихся транзакций. | `Uint64` | Моментальная
46-
`ImmediateTxCompleted` | Количество завершившихся [одношардовых транзакций](../concepts/glossary.md#transactions). | `Uint64` | Кумулятивная
46+
`ImmediateTxCompleted` | Количество завершившихся [одношардовых транзакций](../concepts/glossary.md#transactions). | `Uint32` | Кумулятивная
4747
`CoordinatedTxCompleted` | Количество завершившихся [распределенных транзакций](../concepts/glossary.md#transactions). | `Uint64` | Кумулятивная
4848
`TxRejectedByOverload` | Количество транзакций, отменённых по причине [высокой нагрузки](../troubleshooting/performance/queries/overloaded-errors.md). | `Uint64` | Кумулятивная
4949
`TxRejectedByOutOfStorage` | Количество транзакций, отменённых из-за нехватки места в хранилище. | `Uint64` | Кумулятивная
50+
`LastTtlRunTime` | Последний момент запуска очистки партиции по TTL | `Timestamp` | Моментальная
51+
`LastTtlRowsProcessed` | Количество проверенных строк партиции при последней очистке по TTL | `Uint64` | Моментальная
52+
`LastTtlRowsErased` | Количество удалённых строк партиции при последней очистке по TTL | `Uint64` | Моментальная
5053
`LocksAcquired` | Количество установленных [блокировок](../contributor/datashard-locks-and-change-visibility.md) . | `Uint64` | Кумулятивная
5154
`LocksWholeShard` | Количество установленных [блокировок "весь шард"](../contributor/datashard-locks-and-change-visibility.md#ограничения). | `Uint64` | Кумулятивная
5255
`LocksBroken` | Количество [сломанных блокировок](../contributor/datashard-locks-and-change-visibility.md#высокоуровневая-схема-работы). | `Uint64` | Кумулятивная

0 commit comments

Comments
 (0)