-
Notifications
You must be signed in to change notification settings - Fork 162
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
1887 address table migration #1888
base: master
Are you sure you want to change the base?
Conversation
This is quite slow in my case:
For me is a lot faster something like the following as it only performs an initial JOIN by
I'm testing it with a batching function to be able to see the progress and perform updates in little batches at a time:
This is an example with the full join query like in this MR (change it in the above function to test it), its quite slow.
I did not compare the full tx_out table update with one or another approach as it take +1day in my case (and had to cancel it >.<) Hope it helps. |
@infnada that's great, that was the next step to see if doing things in batches would improve speeds. But I'm fairly skeptical, I have a feeling that a new sync might be just as quick. When I next look at this PR I'll see if what you tried is better than my scrappy attempt 😅 |
Description
this fixes #1887
Just need to tests if this actually works and it doesn't deal with populating the cache as that will populate as the syncing continues.
I've also not done anything page related but can see if that makes a difference.
Checklist
fourmolu
on version 0.10.1.0 (which can be run withscripts/fourmolize.sh
)Migrations
If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.