nextcloud/core
Robin Appelman b28f0a0e94
add a prefix index to filecache.path
The reason that `filecache.path` hasn't had an index added is the mysql limitation of ~1kb for indexeded fields,
which is to small for the `path`, however mysql supports indexing only the first N bytes of a column instead of the entire column,
allowing us to add an index even if the column is to long.

Because the index doesn't cover the entire column it can't be used in all situations where a normal index would be used, but it does cover the `path like 'folder/path/%'` queries that are used in various places.

Sqlite and Postgresql don't support prefix indexes, but they also don't have the 1kb limit and DBAL handles the differences in index creation.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19 18:52:25 +01:00
..
BackgroundJobs Add a background job that checks for potential user imported SSL certificates and shows a warning in the admin settings 2020-11-03 10:06:33 +01:00
Command add a prefix index to filecache.path 2021-03-19 18:52:25 +01:00
Controller Allow admins to disable the login form 2021-03-08 15:36:47 +01: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
Exception Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Middleware Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Migrations add a prefix index to filecache.path 2021-03-19 18:52:25 +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
ajax Remove unneeded casts that were found by Psalm 2021-01-11 13:14:41 +01:00
css Merge pull request #25721 from nextcloud/do-not-target-vue-buttons 2021-03-09 20:31:57 +01:00
doc
fonts Move font from Nunito to Noto Sans 2019-06-22 11:23:44 +02:00
img Merge pull request #25299 from elsiehupp/favicon-touch-corners 2021-02-11 12:28:02 +01:00
js Fix TerserPlugin 2021-03-17 13:03:39 +01:00
l10n [tx-robot] updated from transifex 2021-03-19 02:24:56 +00:00
skeleton
src Lint fix 2021-03-17 13:03:38 +01:00
templates Directly add notifications element 2021-01-18 15:00:20 +01: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 a prefix index to filecache.path 2021-03-19 18:52:25 +01:00
register_command.php log full expection during repair step 2021-03-18 08:45:17 +01: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 Lint fix 2021-03-17 13:03:38 +01:00
webpack.test.js Lint fix 2021-03-17 13:03:38 +01:00