Skip to content

/tx API is slow when it's queried with the tracker of a transaction #311

@joojis

Description

@joojis
2019-11-11 08:59:09.620 UTC [2827] indexer-user@codechain-indexer-corgi-2 LOG:  duration: 1455.755 ms  statement: SELECT "hash", "blockNumber", "blockHash", "tracker", "transactionIndex", "type", "seq", "fee", "networkId", "sig", "signer", "errorHint", "timestamp", "isPending", "pendingTimestamp", "createdAt", "updatedAt" FROM "Transactions" AS "Transaction" W
HERE "Transaction"."tracker" = '8cb9eb73de1c2767d5914d1771cdcb8ecd526684494d94b6e7d597713e232520' AND "Transaction"."isPending" = false LIMIT 1;                                                                                                                                                                                                                          

Metadata

Metadata

Assignees

Labels

optimizationThis makes the system faster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions