nextcloud/core/Command
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
..
App Update php licenses 2021-06-04 22:02:41 +02:00
Background Add return value to all commands 2020-06-26 14:54:51 +02:00
Broadcast Update php licenses 2021-06-04 22:02:41 +02:00
Config Update php licenses 2021-06-04 22:02:41 +02:00
Db add a prefix index to filecache.path 2021-10-08 18:38:25 +02:00
Encryption Update php licenses 2021-06-04 22:02:41 +02:00
Group Convert command option defaults to strings 2021-06-09 13:25:31 +02:00
Integrity Make integrity commands verbose 2021-07-08 21:21:57 +02:00
L10n Update php licenses 2021-06-04 22:02:41 +02:00
Log Fix typing error 2021-06-21 14:14:37 +02:00
Maintenance Update php licenses 2021-06-04 22:02:41 +02:00
Preview Update php licenses 2021-06-04 22:02:41 +02:00
Security Move DateTime::ATOM to DateTimeInterface::ATOM 2021-06-23 15:28:07 +02:00
SystemTag Update php licenses 2021-06-04 22:02:41 +02:00
TwoFactorAuth Update php licenses 2021-06-04 22:02:41 +02:00
User use specific email getter where necessary 2021-09-09 19:23:05 +02:00
Base.php Update php licenses 2021-06-04 22:02:41 +02:00
Check.php Update php licenses 2021-06-04 22:02:41 +02:00
InterruptedException.php Update php licenses 2021-06-04 22:02:41 +02:00
Status.php Align occ status with status.php 2021-08-26 22:36:26 +02:00
Upgrade.php Update php licenses 2021-06-04 22:02:41 +02:00