nextcloud/core
Robin Appelman abd6b354ac
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-10-08 18:38:25 +02:00
..
ajax Update php licenses 2021-06-04 22:02:41 +02:00
BackgroundJobs Update php licenses 2021-06-04 22:02:41 +02:00
Command add a prefix index to filecache.path 2021-10-08 18:38:25 +02:00
Controller Merge pull request #27733 from PhrozenByte/enhancement/noid/IURLGenerator-linkToDefaultPageUrl 2021-10-05 13:06:59 +02:00
css Add new variables for buttons 2021-09-30 09:41:43 +02:00
Data Update php licenses 2021-06-04 22:02:41 +02:00
Db Update php licenses 2021-06-04 22:02:41 +02:00
doc changed to nextcloud 2016-06-22 08:20:23 +02:00
Exception Update php licenses 2021-06-04 22:02:41 +02:00
fonts Include additional scripts in Noto fonts 2021-03-01 19:15:01 +01:00
img Replace some icons with pretty icons 2021-09-10 13:56:48 +00:00
js Bump bootstrap from 4.6.0 to 5.1.1 2021-10-05 18:29:32 +02:00
l10n [tx-robot] updated from transifex 2021-10-07 02:25:26 +00:00
Middleware Allow "TwoFactor Nextcloud Notifications" to pull the state of the 2FA again 2021-10-04 11:26:08 +02:00
Migrations add a prefix index to filecache.path 2021-10-08 18:38:25 +02:00
Notification Update php licenses 2021-06-04 22:02:41 +02:00
Service Update php licenses 2021-06-04 22:02:41 +02:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
src Migrate deprecated toolip methods 2021-09-26 22:18:20 +02:00
templates Confirm mails only per POST 2021-09-09 19:23:04 +02: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-10-08 18:38:25 +02:00
register_command.php Align occ status with status.php 2021-08-26 22:36:26 +02:00
routes.php Update php licenses 2021-06-04 22:02:41 +02:00
shipped.json Add circles as shipped app 2021-05-26 21:24:30 +02:00
strings.php core: add more strict_types 2021-04-26 12:44:37 +02:00
webpack.js Bump js licenses 2021-03-31 12:17:18 +02:00