本文内容
适用于:✅Azure 数据资源管理器
返回一个表,其中包含达到最终状态的数据操作。 数据操作在运行 30 天后可用。
产生添加到系统的新盘区(数据分片)的任何操作都将被视为数据操作。
必须具有数据库管理员或数据库监视者权限,才能查看在数据库上调用的任何数据操作。
任何用户都可以看到自己的数据操作。
有关详细信息,请参阅 Kusto 基于角色的访问控制。
.show
data
operations
详细了解语法约定。
此命令返回包含以下列的表:
输出参数 | 类型 | 说明 |
---|---|---|
Timestamp | datetime |
操作达到其最终状态的时间。 |
数据库 | string |
数据库名称。 |
表 | string |
表名称。 |
ClientActivityId | string |
操作客户端活动 ID。 |
OperationKind | string |
BatchIngest 、SetOrAppend 、RowStoreSeal 、MaterializedView 、QueryAcceleration 和 UpdatePolicy 之一。 |
OriginalSize | long |
所引入数据的原始大小。 |
ExtentSize | long |
盘区大小。 |
RowCount | long |
盘区中的行数。 |
ExtentCount | int |
盘区数量。 |
TotalCpu | timespan |
数据操作使用的 CPU 总时间。 |
持续时间 | timespan |
操作的持续时间。 |
主体 | string |
启动数据操作的标识。 |
属性 | dynamic |
有关数据操作的其他信息。 |
以下示例返回有关 UpdatePolicy
、BatchIngest
和 SetOrAppend
操作的信息。
.show data operations
输出
Timestamp | 数据库 | 表 | ClientActivityId | OperationKind | OriginalSize | ExtentSize | RowCount | ExtentCount | TotalCpu | 持续时间 | 主体 | 属性 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024-07-18 15:21:10.5432134 | TestLogs | UTResults | DM.IngestionExecutor;abcd1234-1234-1234-abcd-1234abcdce;1 | UpdatePolicy | 100,829 | 75,578 | 279 | 1 | 00:00:00.2656250 | 00:00:28.9101535 | aadapp=xxx | {"SourceTable": "UTLogs"} |
2024-07-18 15:21:12.9481819 | TestLogs | UTLogs | DM.IngestionExecutor;abcd1234-1234-1234-abcd-1234abcdce;1 | BatchIngest | 1,045,027,298 | 123,067,947 | 1,688,705 | 2 | 00:00:22.9843750 | 00:00:29.9745733 | aadapp=xxx | {"Format": "Csv","NumberOfInputStreams":2} |
2024-07-18 15:21:16.1095441 | KustoAuto | IncidentKustoGPTSummary | cdef12345-6789-ghij-0123-klmn45678 | SetOrAppend | 1,420 | 3,190 | 1 | 1 | 00:00:00.0156250 | 00:00:00.0638211 | aaduser=xxx |