GreptimeTeam/greptimedb

Allow ALTER TABLE to modify the skip_wal option dynamically

Open

#7544 aperta il 8 gen 2026

Vedi su GitHub
 (10 commenti) (0 reazioni) (0 assegnatari)Rust (495 fork)github user discovery
C-featuregood first issuehelp wanted

Metriche repository

Star
 (6332 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

What problem does the new feature solve?

Currently, we use the skip_wal option to control whether WAL is enabled (true means WAL is disabled). However, this option can only be specified when creating a table, e.g. CREATE TABLE ... WITH ('skip_wal'='true');.

We’d like to allow users to modify this option dynamically—setting it to true or false via ALTER TABLE SET <option> = <value>—so they can toggle WAL on or off at runtime.

What does the feature do?

Allow users to modify skip_wal table option dynamically

Implementation challenges

Disabling WAL likely doesn’t require special handling, but enabling it may involve WAL-related resource allocation.

@v0y4g3r may be able to provide more context about this feature.

Guida contributor