codechain-indexer icon indicating copy to clipboard operation
codechain-indexer copied to clipboard

Use cluster for blocks and transactions

Open sgkim126 opened this issue 5 years ago • 0 comments

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

sgkim126 avatar May 17 '19 08:05 sgkim126