mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-12-06 09:44:41 +00:00
* 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
6 lines
263 B
SQL
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);
|