Skip to content

Conversation

@Chengxuan
Copy link
Contributor

@Chengxuan Chengxuan commented Jan 2, 2026

This PR adds 2 indices that helps on transaction listing when the number of transaction rows grows significantly:

  • a composite index of from,status and nonce for the transaction handler to fetch unprocessed transactions for a give "from" address
  • an index on created for time window based list queries

NOTE: for a DB with a large volume of PENDING transaction records, this new migration could take a long time to run

Signed-off-by: Chengxuan Xing <[email protected]>
@Chengxuan Chengxuan requested a review from a team as a code owner January 2, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant