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

Query system fails for one million records in the database #674

Open
raghuvar-vijay opened this issue Feb 12, 2024 · 0 comments
Open

Query system fails for one million records in the database #674

raghuvar-vijay opened this issue Feb 12, 2024 · 0 comments
Assignees

Comments

@raghuvar-vijay
Copy link
Collaborator

If the number of records in the auditor database is 1 million, the query system fails to even retrieve one record.
This is due to the fact that the existing query string is not optimized and the database structure is not optimized to the use-case.

A query takes too long, approx 30-42 seconds to query a single record, such that the request is timed out.

The main problem is identified to be the scores which are stored as part of the component and the manner in which it is queried.

There is also another issue of uniformity - for meta the record id is stored in full where as for components it is referred to the id column of the accounting table.

@raghuvar-vijay raghuvar-vijay self-assigned this Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant