.show database policy caching command

Applies to: ✅ Azure Data Explorer

Show the database cache policy. To speed up queries, data is cached on processing nodes, SSD, or even in RAM. The cache policy describes the data artifacts used, so that more important data can take priority.

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 database DatabaseName policy caching

Learn more about syntax conventions.

Parameters

Name Type Required Description
DatabaseName string ✔️ The name of the database.

Returns

Returns a JSON representation of the policy.

Example

The following example shows the table caching policy:

.show database MyDatabase policy caching