Skip to content

Commit 110014e

Browse files
committed
Update sql-create-stream.md
1 parent d474284 commit 110014e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/sql-create-stream.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ SETTINGS mode='changelog_kv', version_column='i';
4545

4646
The default `version_column` is `_tp_time`. For the data with same primary key(s), Proton will use the ones with maximum value of `version_column`. So by default, it tracks the most recent data for same primary key(s). If there are late events, you can use specify other column to determine the end state for your live data.
4747

48+
### Mutable Stream
49+
50+
[CREATE MUTABLE STREAM](/sql-create-mutable-stream)
51+
4852
## SETTINGS
4953
#### mode
5054
Type: string
@@ -120,3 +124,10 @@ Type: int64
120124
Default: 120,000
121125

122126
Time in milliseconds to trigger a fsync
127+
128+
#### storage_type
129+
This is an advanced setting. Default value is `hybrid` to use both a streaming storage and a historical storage for the stream.
130+
131+
It can be:
132+
* `streaming`: Use only streaming storage, together with settings `logstore_codec`, `logstore_retention_bytes`, `logstore_retention_ms`.
133+
* `memory`: put data in memory only, mainly for testing.

0 commit comments

Comments
 (0)