Something went wrong. Try again.
A community based topic aggregation platform built on atproto
Something went wrong. Try again.
fix(db): remove redundant index and add missing record_uri index master
Database optimization changes: 1. Removed redundant idx_blocks_user_community index: - UNIQUE constraint on (user_did, community_did) already creates an index automatically - Maintaining duplicate index wastes storage and degrades write performance (every insert updates two identical indexes) 2. Added missing idx_blocks_record_uri index: - Required for GetBlockByURI() queries used in Jetstream DELETE operations - Without this index, DELETE event processing does full table scan Migration now has optimal indexes without redundancy. Addresses: Critical review comments #1 and #7
Author Bretton Date (Oct 18, 2025, 1:27 AM UTC) Commit 948d79da 948d79dafbf94bcad481817d9fadb34a80475462 Parent 71d7d8d0 71d7d8d0db93cfe8e6520a7589d1c6a11551ca67