Database Driver : QMYSQL Slow performance after canceling a large duplicate image search, even after restarting digikam constantly, doing a right click on a image takes a long time including most other functions. The only way around this is to delete $user/.kde4/share/config/digikamrc and re-add the MYSQL database & image directories... then performance is fully restored. Also I would like to see searches split into multiple threads as it takes forever to do searches in large databases... perhaps adding a number of threads to options would be great. Reproducible: Always Steps to Reproduce: 1. Do a duplicate file search on a large database 100k or more files. 2. Cancel Duplicate File search in progress. 3. Performance grinds to a halt. Actual Results: Very slow performance selecting images, right clicking etc.. Expected Results: Same performance as when the database was first created. Fuzzy & Duplicate Image search is slow please add options to add more threads and fix this bug. - Thanks
I thought I would also add after the search is canceled... the duplicate search boxed is greyed out and you can do no more searches until digikam is restarted. However performance is still sluggish until digikamrc is deleted and database/image directory is re-added.
This entry still valid using last digiKam 4.1.0 ? Gilles Caulier
This file still valid using last digiKam 5.0.0 ? Gilles Caulier
Swati, This file is relevant of Mysql backend and must be checked for 5.0.0 release... Gilles
With next 5.8.0 release Mysql support have been well improved and a lots of bugs fixed. Please test with pre release 5.8.0 bundles that we provide and give us a feedback https://files.kde.org/digikam/ Thanks in advance Gilles Caulier
Git commit 2b8021b2d95ee1ebb10b385dae2744f0339c7bd0 by Maik Qualmann. Committed on 18/12/2017 at 21:16. Pushed by mqualmann into branch 'master'. add cancel function to the duplicate image search FIXED-IN: 5.8.0 M +5 -0 libs/database/dbjobs/dbjob.cpp M +2 -0 libs/database/dbjobs/dbjob.h M +5 -0 libs/database/dbjobs/duplicatesprogressobserver.cpp M +1 -0 libs/database/dbjobs/duplicatesprogressobserver.h M +5 -0 libs/database/haar/haariface.cpp M +4 -0 libs/database/haar/haariface.h M +4 -1 utilities/maintenance/duplicatesfinder.cpp https://commits.kde.org/digikam/2b8021b2d95ee1ebb10b385dae2744f0339c7bd0