Summary: | SCAN : frequent image scans slow | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Rainer Lay <rainer.lay> |
Component: | Database-Scan | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 3.2.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.4.0 | |
Sentry Crash Report: | |||
Attachments: | log from mysqld-slow.log with queries longer one sec, while importing images |
Description
Rainer Lay
2013-08-30 19:15:05 UTC
Created attachment 82096 [details]
log from mysqld-slow.log with queries longer one sec, while importing images
So you have the MySQL on a NAS server and the network is the bottleneck? The query is done to update the timeline view, and is usually relatively fast. There is a timer defined in AlbumManager that limits this scan to be done not more frequently than every 5 sec. Unfortunately, as it takes 5 secs for you, this is ineffective. Git commit 145b25c573164111b75c1a8586b5aea50656572c by Marcel Wiesweg. Committed on 03/09/2013 at 20:08. Pushed by mwiesweg into branch 'master'. The DAlbums scan can be costly for some setup as it sends large amounts of data over the SQL connection. - reduce the timer limit to one minute - do not kill the running job if the timer fired again while the job was running. M +13 -2 digikam/album/albummanager.cpp M +1 -0 digikam/album/albummanager.h http://commits.kde.org/digikam/145b25c573164111b75c1a8586b5aea50656572c We need a fresh feedback using a recent digiKam release as last 4.2.0. Gilles Caulier With digikam 4.2., windows, the query is no longer reported as slow (>1s) query. So I suggest to close this bug. Rainer |