Modifier

Partager via


.show table policy roworder command

Applies to: ✅ Microsoft FabricAzure Data Explorer

Display the table's row order policy. The row order policy is an optional policy set on tables, that suggests the desired ordering of rows in an extent (data shard). The purpose of the policy is to improve performance of queries that are known to be narrowed to a small subset of values in the ordered columns.

Permissions

You must have at least Database User, Database Viewer, or Database Monitor permissions to run this command. For more information, see role-based access control.

Syntax

.show table TableName policy roworder

Learn more about syntax conventions.

Parameters

Name Type Required Description
TableName string ✔️ The name of the table for which to show the policy details.

Returns

Returns a JSON representation of the policy.

Example

.show table events policy roworder