nextcloud/core
Robin Appelman 3a1935b7ff
add better index for finding unindexed paths
for the following query 'SELECT "path" FROM "oc_filecache" WHERE ("storage" = $storage) AND ("size" < 0) ORDER BY "fileid" DESC LIMIT 1;'

currently the database will in some cases decide to priorize the sort by fileid over the filter when picking what index to use, resulting in a much slower query.

by creating an index that allows first sorting by fileid and also filter by storage and size this case will be greatly sped up

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-13 15:48:14 +01:00
..
ajax Do not print verbose info about app updates if there are none 2021-11-22 20:54:58 +01:00
BackgroundJobs Do not try to contact lookup server if not needed 2021-04-29 09:07:38 +02:00
Command add better index for finding unindexed paths 2022-01-13 15:48:14 +01:00
Controller Explicitly allow some routes without 2FA 2021-11-18 13:28:43 +01:00
css Fix collaborative tags styles 2021-12-02 20:01:07 +00:00
Data Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Db Update license headers 2019-12-05 15:38:45 +01:00
doc changed to nextcloud 2016-06-22 08:20:23 +02:00
Exception Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
fonts Include additional scripts in Noto fonts 2021-03-22 20:07:58 +00:00
img Improve notcreatable permissions hint 2021-07-16 09:02:36 +00:00
js Merge pull request #30590 from nextcloud/backport/30571/stable21 2022-01-11 14:15:41 +01:00
l10n [tx-robot] updated from transifex 2022-01-13 02:26:53 +00:00
Middleware Fix setting up 2FA when no providers are set up but backup codes 2021-12-13 15:59:12 +00:00
Migrations add better index for finding unindexed paths 2022-01-13 15:48:14 +01:00
Notification Improve wording 2020-12-02 21:42:32 +01:00
Service Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
src Add email addresses to contacts menu 2021-09-17 10:05:54 +02:00
templates Fix position of search bar 2021-09-03 15:06:22 +00:00
vendor Remove core.js 2019-01-09 15:02:00 +01:00
.l10nignore Add core/js/dist/ to l10nignore 2019-06-13 13:55:22 +02:00
Application.php add better index for finding unindexed paths 2022-01-13 15:48:14 +01:00
register_command.php Add OCC command to reset rendered texts 2021-03-22 20:07:59 +00:00
routes.php Add well known handlers API 2020-12-16 13:13:05 +01:00
shipped.json new weather status used in dashboard 2020-08-20 00:21:08 +02:00
strings.php Update license headers 2019-12-05 15:38:45 +01:00
webpack.js Fix unified search 2020-08-03 11:26:03 +00:00
webpack.test.js Bump webpack-merge from 4.2.2 to 5.0.9 2020-07-30 16:38:05 +02:00