.delete database policy sharding command
Applies to: ✅ Azure Data Explorer
Use this command to delete the database 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).
Permissions
You must have at least Database Admin permissions to run this command.
Syntax
.delete
database
DatabaseName policy
sharding
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
DatabaseName | string |
✔️ | The name of the database. |
Example
The following example deleted the sharding policy for a database:
.delete database MyDatabase policy sharding