You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data-explorer/hot-windows.md
+1-46Lines changed: 1 addition & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,52 +39,7 @@ After changing the cache policy, the cluster automatically caches the relevant d
39
39
40
40
Now you can expect optimal performance during the use of hot windows.
41
41
42
-
## Set hot windows
43
-
44
-
Hot windows are part of the [cache policy commands syntax](/kusto/management/show-table-cache-policy-command?view=azure-data-explorer&preserve-view=true) and are set with the [`.alter policy caching` command](/kusto/management/cache-policy?view=azure-data-explorer&preserve-view=true).
45
-
46
-
> [!NOTE]
47
-
> It can take up to an hour to fully update the cluster disk cache based on the updated cache policy definition.
48
-
49
-
1. Take note of the initial caching policy by using the `.show policy caching` command.
50
-
51
-
```kusto
52
-
.show table MyDatabase.MyTable policy caching
53
-
```
54
-
55
-
1. Alter the cache policy using the following syntax. Several hot windows may be defined for a single database or table.
Run the query or queries you want over the time period specified in the hot windows.
81
-
82
-
## Revert settings
83
-
84
-
1. Use the original cache settings retrieved above in [Set hot windows](#set-hot-windows).
85
-
1. Revert the cache policy to the original settings with the [`.alter policy caching` command](/kusto/management/show-table-cache-policy-command?view=azure-data-explorer&preserve-view=true).
86
-
87
-
Since you've configured optimized autoscale for that cluster, the cluster will shrink to its original size.
Hot windows are part of the [cache policy commands syntax](/kusto/management/show-table-cache-policy-command?view=azure-data-explorer&preserve-view=true) and are set with the [`.alter policy caching` command](/kusto/management/cache-policy?view=azure-data-explorer&preserve-view=true).
9
+
10
+
> [!NOTE]
11
+
> It can take up to an hour to fully update the cluster disk cache based on the updated cache policy definition.
12
+
13
+
1. Take note of the initial caching policy by using the `.show policy caching` command.
14
+
15
+
```kusto
16
+
.show table MyDatabase.MyTable policy caching
17
+
```
18
+
19
+
1. Alter the cache policy using the following syntax. Several hot windows may be defined for a single database or table.
Run the query or queries you want over the time period specified in the hot windows.
45
+
46
+
## Revert settings
47
+
48
+
1. Use the original cache settings retrieved above in [Set hot windows](#set-hot-windows).
49
+
1. Revert the cache policy to the original settings with the [`.alter policy caching` command](/kusto/management/show-table-cache-policy-command?view=azure-data-explorer&preserve-view=true).
50
+
51
+
Since you've configured optimized autoscale for that cluster, the cluster will shrink to its original size.
0 commit comments