.show table sharding policy

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 the Azure Data Explorer 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).

Syntax

For a specified table

.show table TableName policy sharding

For all tables

.show table * policy sharding

Arguments

TableName - Specify the name of the table. A wildcard (*) denotes all tables.

Returns

Returns a JSON representation of the policy.

Example

The following example shows the sharding policies for all tables:

.show table * policy sharding