Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✅ Azure Data Explorer
Note
This feature is currently in public preview. Functionality and syntax are subject to change before General Availability.
Shows detailed information about a specific graph snapshot.
Permissions
To run this command, the user needs Database viewer permissions.
Syntax
.show
graph_snapshot
GraphModelName.
SnapshotName [details
]
Parameters
Name | Type | Required | Description |
---|---|---|---|
GraphModelName | String | ✅ | The name of the graph model that the snapshot belongs to. |
SnapshotName | String | ✅ | The name of the graph snapshot to show. |
details |
String | ❌ | Optional parameter to show additional detailed information about the snapshot, including node count, edge count, and retention policy. |
Returns
This command returns a table with different columns depending on whether the details
parameter is specified.
Basic output (without details
)
Column | Type | Description |
---|---|---|
Name | String | The name of the graph snapshot. |
SnapshotTime | DateTime | The date and time when the snapshot was created. |
ModelName | String | The name of the graph model that the snapshot belongs to. |
ModelId | String | The unique identifier of the graph model. |
ModelCreationTime | DateTime | The date and time when the graph model was created. |
Detailed output (with details
)
Column | Type | Description |
---|---|---|
Name | String | The name of the graph snapshot. |
SnapshotTime | DateTime | The date and time when the snapshot was created. |
ModelName | String | The name of the graph model that the snapshot belongs to. |
ModelId | String | The unique identifier of the graph model. |
ModelCreationTime | DateTime | The date and time when the graph model was created. |
NodesCount | Long | The number of nodes in the graph snapshot. |
EdgesCount | Long | The number of edges in the graph snapshot. |
RetentionPolicy | Dynamic | A JSON object containing the retention policy settings for the snapshot. |
Examples
Show basic graph snapshot information
.show graph_snapshot SomeGraph.Latest2
Output
Name | SnapshotTime | ModelName | ModelId | ModelCreationTime |
---|---|---|---|---|
Latest2 | 2025-05-24 06:34:51.6518833 | SomeGraph | eeeeeeee-4f4f-5a5a-6b6b-777777777777 | 2025-05-21 10:47:05.8611670 |
Show detailed graph snapshot information
.show graph_snapshot SomeGraph.Latest2 details
Output
Name | SnapshotTime | ModelName | ModelId | ModelCreationTime | NodesCount | EdgesCount | RetentionPolicy |
---|---|---|---|---|---|---|---|
Latest2 | 2025-05-24 06:34:51.6518833 | SomeGraph | eeeeeeee-4f4f-5a5a-6b6b-777777777777 | 2025-05-21 10:47:05.8611670 | 2 | 1 | { "SoftDeletePeriod": "365000.00:00:00" } |
Notes
- The
.show graph_snapshot
command provides information about a specific graph snapshot. - Use the basic format to get essential snapshot information including creation time and model details.
- Use the
details
parameter to get additional information including node count, edge count, and retention policy. - The retention policy shows the soft delete period, which determines how long the snapshot is retained before being permanently deleted.