To view the existing policies, see the policies informational view.
Samples
Remove all refresh policies from thecpu_view :
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Remove a refresh policy from a continuous aggregate
remove_continuous_aggregate_policy(
continuous_aggregate REGCLASS,
if_exists BOOL = NULL
) RETURNS VOID
cpu_view :
SELECT remove_continuous_aggregate_policy('cpu_view');
SELECT remove_continuous_aggregate_policy(
continuous_aggregate = '<view_name>',
if_exists = true | false
);
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
continuous_aggregate | REGCLASS | - | ✔ | Name of the the policies should be removed from |
if_exists (formerly if_not_exists) | BOOL | false | - | When true, prints a warning instead of erroring if the policy doesn’t exist. Renamed in 2.8. |