You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/index-service/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ A Docker service for creating performance indexes on the cardano-db-sync Postgre
7
7
The index service creates additional database indexes to improve query performance. These indexes are **optional** but **recommended for production** because:
8
8
9
9
-`idx_ma_tx_mint_ident` is required for efficient asset polling (without it polls degrade from <1ms to 500ms+)
10
-
-`idx_tx_out_address` significantly speeds up payment address queries
10
+
-`idx_tx_out_address_texthash` is required for payment address / UTXO-by-address queries; without it these do a full sequential scan of `tx_out` (hundreds of millions of rows), which can saturate the connection pool under concurrent load
11
11
-`idx_asset_fingerprint` speeds up asset fingerprint lookups
12
12
13
13
Index creation is not enabled by default because:
@@ -68,7 +68,7 @@ docker compose ps index-service
68
68
| Index | Table | Speeds up |
69
69
|-------|-------|-----------|
70
70
|`idx_ma_tx_mint_ident`|`ma_tx_mint.ident`| New asset polling (critical for background service) |
0 commit comments