Files
beacon-server/db/migrations/024_observers_channels_fillfactor.sql
MrAlders0n dba66cada7 Small tables: drop HOT-blocking indexes, channel write-through (#239)
* perf(db): drop small-table indexes that block HOT updates

* perf(db): touch known channels by id instead of upserting

* feat: preload channel ids at boot for ingest and maintenance
2026-10-19 08:28:15 -04:00

7 lines
232 B
SQL

-- Copyright 2026 Beacon Contributors
-- SPDX-License-Identifier: AGPL-3.0-or-later
-- Room on each page for HOT updates of the hottest rows.
ALTER TABLE observers SET (fillfactor = 50);
ALTER TABLE channels SET (fillfactor = 50);