From 23ba45ea5d231c04649bf2120af1d4b561330727 Mon Sep 17 00:00:00 2001 From: CJ Cobb Date: Wed, 14 Apr 2021 14:00:28 +0000 Subject: [PATCH] remove main tx hash index --- reporting/Pg.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/reporting/Pg.cpp b/reporting/Pg.cpp index 8d52622a..7dc62258 100644 --- a/reporting/Pg.cpp +++ b/reporting/Pg.cpp @@ -787,9 +787,6 @@ CREATE TABLE IF NOT EXISTS transactions ( metadata bytea NOT NULL, PRIMARY KEY(ledger_seq, hash) ) PARTITION BY RANGE(ledger_seq); --- Index for lookups by hash -CREATE INDEX IF NOT EXISTS tx_by_hash ON transactions - USING hash (hash); create table if not exists transactions1 partition of transactions for values from (0) to (10000000); create table if not exists transactions2 partition of transactions for values from (10000000) to (20000000); create table if not exists transactions3 partition of transactions for values from (20000000) to (30000000);