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.
In this article
Applies to: ✅ Azure Data Explorer
Show the table sharding policy. Use the sharding policy to manage data sharding for databases and tables.
The sharding policy defines if and how Extents (data shards) in your cluster should be sealed. When a database is created, it contains the default data sharding policy. This policy is inherited by all tables created in the database (unless the policy is explicitly overridden at the table level).
You must have at least Database User, Database Viewer, or Database Monitor permissions to run these commands. For more information, see role-based access control.
.show
table
TableName policy
sharding
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
TableName | string |
✔️ | The name of the table for which to show the policy details. A wildcard (* ) denotes all tables. |
Returns a JSON representation of the policy.
The following example shows the sharding policies for all tables:
.show table * policy sharding