Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add requestkey indexes on events and transactions
As identified by @blazesal in #79, our `/txs/tx` endpoint requires a requestkey index on the events and transactions tables, otherwise each request results in a table scan. I've just tried creating these indexes manually and checking their sizes; As of now, the requestkey index on the transactions table takes up 603MB of space while the one on events takes up 879MB. For comparison, these total space occupied by these two tables is ~46GB.
- Loading branch information