Skip to content
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

redundant index rewards_by_coinbase on table rewards #4691

Closed
neurosis69 opened this issue Jul 12, 2023 · 0 comments
Closed

redundant index rewards_by_coinbase on table rewards #4691

neurosis69 opened this issue Jul 12, 2023 · 0 comments

Comments

@neurosis69
Copy link

The table rewards is created as WITHOUT ROWID which is creating clustered index on the primary key implicitely.
To save storage and computing overhead it would make sense to remove the index rewards_by_coinbase.

CREATE INDEX rewards_by_coinbase ON rewards (coinbase, layer);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant