The RW_IMPLICIT_FLUSH
configuration option controls the behavior of implicit flushes after batch operations.
FLUSH
command commits any pending data changes and forces RisingWave to persist updated data to storage, which guarantees subsequent reads can access the latest data. See details in FLUSH.
However, when the RW_IMPLICIT_FLUSH
option is enabled, explicit use of the FLUSH
command is not required in most cases, as data changes are implicitly flushed and made visible after batch operations.
RW_IMPLICIT_FLUSH
is set to true
,
INSERT
, UPDATE
, and DELETE
are implicitly flushed and made visible after batch operations.RW_IMPLICIT_FLUSH
is set to false
(default behavior),
FLUSH
explicitly after batch operations to immediately persist the changes to storage.