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 owner, file_id index to oc_photos_albums_files #2445

Open
juliushaertl opened this issue Apr 22, 2024 · 0 comments
Open

Add owner, file_id index to oc_photos_albums_files #2445

juliushaertl opened this issue Apr 22, 2024 · 0 comments
Labels
1. to develop Accepted and waiting to be taken care of performances Performances issues and optimisations

Comments

@juliushaertl
Copy link
Member

There are queries that get executed regularly on share removal which do not use an index:

Screenshot 2024-04-22 at 10 23 43

->where($query->expr()->eq("owner", $query->createNamedParameter($ownerId)))

Adding a combined index for owner, file_id should solve this

@juliushaertl juliushaertl added 1. to develop Accepted and waiting to be taken care of performances Performances issues and optimisations labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of performances Performances issues and optimisations
Projects
None yet
Development

No branches or pull requests

1 participant