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

DB: some missing indices #873

Open
rfc2822 opened this issue Jul 1, 2024 · 0 comments · May be fixed by #890
Open

DB: some missing indices #873

rfc2822 opened this issue Jul 1, 2024 · 0 comments · May be fixed by #890
Assignees
Labels
refactoring Internal improvement of existing functions

Comments

@rfc2822
Copy link
Member

rfc2822 commented Jul 1, 2024

 w: [ksp] /home/runner/work/davx5/davx5/app/src/main/kotlin/at/bitfire/davdroid/db/Collection.kt:42: ownerId column references a foreign key but it is not part of an index. This may trigger full table scans whenever parent table is modified so you are highly advised to create an index that covers this column.
w: [ksp] /home/runner/work/davx5/davx5/app/src/main/kotlin/at/bitfire/davdroid/db/WebDavDocument.kt:33: parentId column references a foreign key but it is not part of an index. This may trigger full table scans whenever parent table is modified so you are highly advised to create an index that covers this column.

The collection field for the push topic should also have an index (maybe it already has).

@rfc2822 rfc2822 added the refactoring Internal improvement of existing functions label Jul 1, 2024
@ArnyminerZ ArnyminerZ linked a pull request Jul 5, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Internal improvement of existing functions
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants