Skip to main content

Syntax

alter_option depends on the operation you want to perform on the database. For all supported clauses, see the sections below.

Clause

OWNER TO

RENAME TO

SET

Added in v2.5.0: barrier_interval_ms and checkpoint_frequency
These parameters control barrier/checkpoint timing. By default, RisingWave generates one barrier every 1 second (barrier_interval_ms = 1000) and creates one checkpoint per barrier (checkpoint_frequency = 1). Most users should keep the defaults. See Data persistence.
Alter existing database
Revert to global default

SET RESOURCE_GROUP

PREMIUM FEATUREThis is a premium feature. For a comprehensive overview of all premium features and their usage, please see RisingWave premium features.
Use this statement to change the resource group metadata for a database. The change does not take effect immediately for inherited streaming jobs. After updating the database resource group, manually trigger recovery for inherited streaming jobs to use the new database resource group.