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

Add casted index for u64 fields that are stored as strings #122

Open
cafca opened this issue May 17, 2022 · 0 comments
Open

Add casted index for u64 fields that are stored as strings #122

cafca opened this issue May 17, 2022 · 0 comments

Comments

@cafca
Copy link
Member

cafca commented May 17, 2022

Some u64 values are stored as strings because SQLite doesn't store u64. In some queries such as SqlStorage::get_paginated_log_entries these values are cast as numeric values.

We should add an index on those casted values so they don't have to be generated for each query.

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