如何检查给定数据库中所有 table 的 table 级策略(例如缓存)?
How do I check table level policies (e.g. cache) for all tables in a given database?
如何使用单个命令检查给定数据库中所有 table 的 table 级策略(例如缓存)?
弄清楚了,所以发布作为答案:-
.show table * policy caching
在许多情况下,查看 有效 策略比 table 定义的 table 级策略更有用,因为后者不会考虑数据库级策略(如果已定义)
要查看有效策略,您可以使用 .show tables details
:https://docs.microsoft.com/en-us/azure/kusto/management/tables#show-table-details
如何使用单个命令检查给定数据库中所有 table 的 table 级策略(例如缓存)?
弄清楚了,所以发布作为答案:-
.show table * policy caching
在许多情况下,查看 有效 策略比 table 定义的 table 级策略更有用,因为后者不会考虑数据库级策略(如果已定义)
要查看有效策略,您可以使用 .show tables details
:https://docs.microsoft.com/en-us/azure/kusto/management/tables#show-table-details