mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-25 12:37:02 +03:00
913849af82
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
12 lines
755 B
SQL
12 lines
755 B
SQL
-- see https://www.cockroachlabs.com/docs/v21.2/local-testing.html#use-a-local-single-node-cluster-with-in-memory-storage
|
|
SET CLUSTER SETTING kv.raft_log.disable_synchronization_unsafe = true;
|
|
SET CLUSTER SETTING kv.range_merge.queue_interval = '50ms';
|
|
SET CLUSTER SETTING jobs.registry.interval.gc = '30s';
|
|
SET CLUSTER SETTING jobs.registry.interval.cancel = '180s';
|
|
SET CLUSTER SETTING jobs.retention_time = '15s';
|
|
--SET CLUSTER SETTING schemachanger.backfiller.buffer_increment = '128 KiB';
|
|
SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
|
|
SET CLUSTER SETTING kv.range_split.by_load_merge_delay = '5s';
|
|
ALTER RANGE default CONFIGURE ZONE USING "gc.ttlseconds" = 600;
|
|
ALTER DATABASE system CONFIGURE ZONE USING "gc.ttlseconds" = 600;
|