nextcloud/core/Command
Robin Appelman 861fbd06a5 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-26 19:44:28 +00:00
..
App Remove the deprecated update.php 2020-11-27 13:02:59 +01:00
Background Add return value to all commands 2020-06-26 14:54:51 +02:00
Broadcast Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Config Add return value to all commands 2020-06-26 14:54:51 +02:00
Db add a prefix index to filecache.path 2021-03-26 19:44:28 +00:00
Encryption Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Group Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Integrity Add a warning when trying to run integrity:check-core on git 2021-01-18 11:32:50 +01:00
L10n Format code to a single space around binary operators 2020-10-05 20:25:24 +02:00
Log Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Maintenance Add more previous exceptions to database setup code 2021-01-07 21:04:11 +01:00
Preview Add OCC command to reset rendered texts 2021-03-22 20:07:59 +00:00
Security Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
TwoFactorAuth Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
User Command: Add app password generation 2021-01-05 13:05:17 +01:00
Base.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Check.php Add return value to all commands 2020-06-26 14:54:51 +02:00
InterruptedException.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
Status.php Add return value to all commands 2020-06-26 14:54:51 +02:00
Upgrade.php Fix markup 2021-01-18 11:32:51 +01:00