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

missing SQL-Indexes since upgrade? Looking for a nice shirt :-))))) #10632

Closed
kangaroo72 opened this issue Aug 9, 2018 · 5 comments
Closed
Labels

Comments

@kangaroo72
Copy link

Hi,

I've upgraded from 13.0.5 to 14beta3, now I've got security warnings ...
Fehlender Index "parent_index" in der Tabelle "oc_share".
Fehlender Index "fs_mtime" in der Tabelle "oc_filecache"
Can someone confirm the missing SQL-Indexes since upgrade?

Regards

@kangaroo72
Copy link
Author

there's a hint to fix it with
ooc db:add-missing-indices (that's misspelled)
solved with
occ db:add-missing-indices

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #4625 (Missed sql index), #9795 (Upgrade error), #8316 (Missing styles after 12 -> 13 upgrade), #2898 (Upgrade Issue), and #8937 (*SQL table indexes for (little) performance gains).

@kangaroo72
Copy link
Author

hmm .... happened first time 12 > 13 was no problem. Let's monitor further comments

@rullzer
Copy link
Member

rullzer commented Aug 10, 2018

@kangaroo72 well we only started warning about this in 14 so it makes sense you only see them now 😉 .

The reason we don't add them automatically is that we don't know the size and setup people are running. Because if your installation is big enough adding them can take a long time.

So it seems the code is actually doing what it should :)

@rullzer rullzer closed this as completed Aug 10, 2018
@kangaroo72
Copy link
Author

okay - no shirt ... time to open an accessoire-shop ... roffffl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants