Skip to main content

Syntax

Parameters

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.
PREMIUM FEATUREThis is a premium feature. For a comprehensive overview of all premium features and their usage, please see RisingWave premium features.
Names and unquoted identifiers are case-insensitive. Therefore, you must double-quote any of these fields for them to be case-sensitive. See also Identifiers.

Example

Set resource group:
Set a custom barrier interval and checkpoint frequency for a database:
Create database
To change the owner, barrier interval, or checkpoint frequency of an existing database, see the ALTER DATABASE command.