perf(db): сжать схему PostgreSQL 18 и повторно загрузить SQLite
Docker images / prepare-release (push) Successful in 10s
Docker images / backend-test (push) Successful in 2m2s
Docker images / frontend-image (push) Successful in 3m23s
Docker images / updater-image (push) Successful in 44s
Docker images / backend-image (push) Successful in 2m47s
Docker images / notify-webhook (push) Skipped
Docker images / publish-release (push) Successful in 11s
Docker images / prepare-release (push) Successful in 10s
Docker images / backend-test (push) Successful in 2m2s
Docker images / frontend-image (push) Successful in 3m23s
Docker images / updater-image (push) Successful in 44s
Docker images / backend-image (push) Successful in 2m47s
Docker images / notify-webhook (push) Skipped
Docker images / publish-release (push) Successful in 11s
При первом рестарте wipe всех таблиц и импорт из SQLite в компактную схему. Retention через DROP PARTITION, lz4 и AIO worker. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# MikrotikManager — PostgreSQL 18 runtime (overrides via `postgres -c`).
|
||||
# Не подменять целиком config_file образа: эти GUC передаются как -c в compose.
|
||||
|
||||
timezone = UTC
|
||||
listen_addresses = '*'
|
||||
max_connections = 100
|
||||
shared_buffers = 256MB
|
||||
work_mem = 16MB
|
||||
maintenance_work_mem = 128MB
|
||||
|
||||
# PG18 AIO: worker (io_uring в Docker/Alpine часто недоступен)
|
||||
io_method = worker
|
||||
io_workers = 3
|
||||
effective_io_concurrency = 200
|
||||
|
||||
# TOAST: lz4 (не zstd — для колонок только pglz/lz4)
|
||||
default_toast_compression = lz4
|
||||
wal_compression = lz4
|
||||
Reference in New Issue
Block a user