Conseil icon indicating copy to clipboard operation
Conseil copied to clipboard

lorre takes a very long time to sync less than 10k blocks

Open leenpaws opened this issue 4 years ago • 2 comments

Upon initial deployment, despite best efforts to lower the number of blocks that need to by sync'ed, Lorre takes upwards of 6 minutes on the following queries: SELECT COUNT(*) FROM (SELECT DISTINCT operation_group_hash FROM tezos.balance_updates) AS temp

SELECT COUNT(*) FROM (SELECT DISTINCT hash FROM tezos.operation_groups) AS temp and SELECT COUNT(*) FROM (SELECT DISTINCT signature FROM tezos.operation_groups) AS temp

leenpaws avatar Jun 30 '20 23:06 leenpaws

Adding hash as an index, adding signature as index

leenpaws avatar Jun 30 '20 23:06 leenpaws

Adding hash as an index, adding signature as index

Does this reduce the measured time?

ivanopagano avatar Jul 01 '20 14:07 ivanopagano