-
Notifications
You must be signed in to change notification settings - Fork 212
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
[Merged by Bors] - sql: add coinbase index to atxs table #5585
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you doublecheck how fast are new atxs queries, with and without this index, before merging?
to make api read from disk you could drop kernel caches with:
echo 3 > /proc/sys/vm/drop_caches
@dshulyak it's better than before. Checked on macOS M1 With index
Without index
|
bors merge |
Build failed:
|
bors merge |
Pull request successfully merged into develop. Build succeeded: |
Description
Added index by coinbase to atxs table as the number of atxs grew significantly and we can expect that it will be frequently queried from API.