-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapenhancementfeature: filesystemperformance 🚀
Description
Hello, everyone.
I am using nextcloud server, and I need some features, such as sub folder search. So I decided to modify nextcloud server code, and found depth variable of nextcloud. So I set this variable -1 and it seems to behavior right. But I found that number of sql queries increased very highly. Through some research, I know nextcloud uses recursive search and every search runs some queries in subfolder search. This is too heavy.
Why doesn't nextcloud reduce the number of queries?
Please see lib/private/files/view.php and cache.php.
Here, nextcloud request and build some sql queries. I modified cache.php. So the number of queries is reduced. But one question.
Why doesn't nextcloud use this method?

Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapenhancementfeature: filesystemperformance 🚀