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

Fix database indices #813

Open
BenjaminPelletier opened this issue Sep 20, 2022 · 0 comments
Open

Fix database indices #813

BenjaminPelletier opened this issue Sep 20, 2022 · 0 comments
Labels
dss Relating to one of the DSS implementations feature Issue would improve software P2 Normal priority

Comments

@BenjaminPelletier
Copy link
Member

Currently, the indices we are using for many of our CockroachDB database tables are suboptimal; we should update our indices to optimize performance, storage, and probability of success.

Some indices are not used in any queries. Only one index is used when SELECTing data, but sometimes we have indices on each of the columns used in the WHERE clause. It is an anti-pattern to have an index on a sequential key like timestamps.

It is likely this will improve #742

@BenjaminPelletier BenjaminPelletier added P2 Normal priority feature Issue would improve software dss Relating to one of the DSS implementations labels Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dss Relating to one of the DSS implementations feature Issue would improve software P2 Normal priority
Projects
None yet
Development

No branches or pull requests

1 participant