CodeChain-io / CodeChain-io/codechain-indexer
Use cluster for blocks and transactions
- 主要言語
- TypeScript
- スター
- 21
- フォーク
- 15
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
No files or tests are identified in the issue. Start by locating the block and transaction tables and the queries that return records by block number, then review PostgreSQL CLUSTER behavior and its operational requirements. Done means the relevant tables use clustering where appropriate and insertion and block-number-ordered reads are verified to improve.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- postgresql, typescript
- 領域
- databases
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100