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: docs/en/sql-reference/statements/system.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -580,21 +580,25 @@ SYSTEM REFRESH VIEW [db.]name
580
580
581
581
Wait for the currently running refresh to complete. If the refresh fails, throws an exception. If no refresh is running, completes immediately, throwing an exception if previous refresh failed.
Enable periodic refreshing for the given view or all refreshable views. No immediate refresh is triggered.
597
599
600
+
If the view is in a Replicated or Shared database, `START VIEW` undoes the effect of `STOP VIEW`, and`START REPLICATED VIEW` undoes the effect of `STOP REPLICATED VIEW`.
601
+
598
602
```sql
599
603
SYSTEM START VIEW [db.]name
600
604
```
@@ -604,7 +608,7 @@ SYSTEM START VIEWS
604
608
605
609
### CANCEL VIEW {#cancel-view}
606
610
607
-
If there's a refresh in progress for the given view, interrupt and cancel it. Otherwise do nothing.
611
+
If there's a refresh in progress for the given view on the current replica, interrupt and cancel it. Otherwise do nothing.
608
612
609
613
```sql
610
614
SYSTEM CANCEL VIEW [db.]name
@@ -616,6 +620,8 @@ Waits for the running refresh to complete. If no refresh is running, returns imm
616
620
617
621
Can be used right after creating a new refreshable materialized view (without EMPTY keyword) to wait for the initial refresh to complete.
618
622
623
+
If the view is in a Replicated or Shared database, and refresh is running on another replica, waits for that refresh to complete.
0 commit comments