codechain-indexer
codechain-indexer copied to clipboard
Use cluster for blocks and transactions
The records may be inserted in the order of the block number and many API returns the result in order of the block number. In these cases, using cluster can make the insertion and reading fast. https://www.postgresql.org/docs/9.1/sql-cluster.html