Files
beacon-server/db/migrations/011_node_iatas_iata_v2.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

6 lines
263 B
SQL

-- Copyright 2026 Beacon Contributors
-- SPDX-License-Identifier: AGPL-3.0-or-later
-- Region filters probe iata only; last_heard in the key made every node_iatas update non-HOT.
CREATE INDEX CONCURRENTLY idx_node_iatas_iata_v2 ON node_iatas USING btree (iata);