-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Research: New validator projection running speed is too slow #669
Comments
Spotted one cause of the slow speed. It is caused by cloning the delegations table, due to a missing index. The fix is to add the missing index on the delegations table, and then the projection runs way faster than before. |
The total sync time of testnet data at 2,665,000 is around 30 hours. Less than 2 days, good 😂 . Below is during the local testing, I recorded some sync speed for the transaction.
|
Summary On Running the new projection against TestnetFinal Sync HeightLast Height Performance Logduration is in millisecond, indicates the time that operation takes. 0 means it takes less than 1 millisecond. I think this image indicates that for a normal block, the biggest cost is at Average Duration For Each Action (only counts duraion > 20 ms)Average Duration For Each Action (only counts duration > 100 ms)From both the average duration images, I think it indicates that at the moment, the DB Folder Size |
Close this as the research is done. The following action is created in #678. |
Task Details
Definition of Done
The text was updated successfully, but these errors were encountered: