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

Optimize retrieval of share-types property #26641

Closed
guruz opened this issue Nov 16, 2016 · 3 comments
Closed

Optimize retrieval of share-types property #26641

guruz opened this issue Nov 16, 2016 · 3 comments

Comments

@guruz
Copy link
Contributor

guruz commented Nov 16, 2016

It has a O(numberOfFiles) complexity when doing the PROPFIND/Discovery

See owncloud/client#5313 (comment)

@guruz guruz added this to the 9.2 milestone Nov 16, 2016
@PVince81
Copy link
Contributor

Some ideas:

  • extend the share manager API to allow specify multiple nodes and do a select ... where fileid in (...) and share_type in (...) call
  • or: join directly with the filecache table.

@DeepDiver1975 stated that share manager and filecache logic go together and if devs want to replace one they also need to replace the other.

@PVince81
Copy link
Contributor

PVince81 commented Dec 6, 2016

Actually a duplicate of #25266 which also contains some comments about how to improve it on the server side

@lock
Copy link

lock bot commented Jul 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants