mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 23:50:00 -07:00
(minor) add note about 'unlogged' keyword in pg storage
This commit is contained in:
@@ -87,6 +87,11 @@ CREATE TABLE mo_kv
|
||||
_Note: CockroachDB currently does not support index
|
||||
over `inet` type, but it is possible to use `bytea` instead._
|
||||
|
||||
_Note 2: you can add keyword `UNLOGGED` while creating tables
|
||||
`mo_peers` and `mo_downloads` to increase speed, since these tables
|
||||
contain semi-temporary data and may be lost if DB emergency stops.
|
||||
NB: `UNLOGGED` tables not replicated across cluster._
|
||||
|
||||
```yaml
|
||||
storage:
|
||||
name: pg
|
||||
|
||||
Reference in New Issue
Block a user