nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.46k stars 4.08k forks source link

Possible DB indexes #10926

Open rullzer opened 6 years ago

rullzer commented 6 years ago
nextcloud-bot commented 6 years ago

GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/8245 (Nextcloud DB Replication...), https://github.com/nextcloud/server/issues/1889 (Use callForSeenUsers where possible), https://github.com/nextcloud/server/issues/10602 (InvalidArgumentException: Index name), https://github.com/nextcloud/server/issues/1431 (Fulltext Search and indexing), and https://github.com/nextcloud/server/issues/4625 (Missed sql index).

J0WI commented 3 years ago

See also #8937

etam commented 2 years ago

I have a server with around 800'000 records in oc_filecache. Uploading lots of small files was causing huge load on server cpu. Adding an index on oc_filecache(parent) greatly reduced load and improved performance.