From 7a0e42fb4b0687f574f586d0053435e9bd18f347 Mon Sep 17 00:00:00 2001 From: "Lawrence, Rendall" Date: Sat, 13 Apr 2024 16:12:53 +0300 Subject: [PATCH] (minor) add note about 'unlogged' keyword in pg storage --- docs/storage/postgres.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/storage/postgres.md b/docs/storage/postgres.md index 06411fe..745c008 100644 --- a/docs/storage/postgres.md +++ b/docs/storage/postgres.md @@ -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