<div dir="ltr">Using debugview I can see that about half of the startup time is spent with "
Attempt to create invalid tag pair image id 129117 tag id 0" database... errors?<div><br></div><div>Any thoughts on what might be causing this or how to improve?</div><div>Thanks!</div><div><br><div>...</div><div>[10496] "SELECT DISTINCT Images.id, Images.name, Images.album, Albums.albumRoot, ImageInformation.rating, Images.category, ImageInformation.format, ImageInformation.creationDate, Images.modificationDate, Images.fileSize, ImageInformation.width, ImageInformation.height, ImageTagProperties.value, ImageTagProperties.property, ImageTagProperties.tagid FROM Images INNER JOIN ImageTagProperties ON ImageTagProperties.imageid=Images.id LEFT JOIN ImageInformation ON Images.id=ImageInformation.imageid INNER JOIN Albums ON Albums.id=Images.album WHERE Images.status=1 AND ( ( ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=? ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=? ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=? ) OR ( (ImageTagProperties.tagid=? OR ImageTagProperties.tagid IN (SELECT id FROM TagsTree WHERE pid=?)) AND ImageTagProperties.property=? ) ) );" <br>[10496] (QVariant(int, 215), QVariant(int, 215), QVariant(QString, "autodetectedPerson"), QVariant(int, 215), QVariant(int, 215), QVariant(QString, "autodetectedFace"), QVariant(int, 215), QVariant(int, 215), QVariant(QString, "ignoredFace"), QVariant(int, 215), QVariant(int, 215), QVariant(QString, "tagRegion"))<br>[10496] digikam.database: Search result: 779<br>[10496] digikam.geoiface: "ROADMAP"<br>[10496] digikam.geoiface: ----<br>[10496] digikam.geoiface: ----<br>[10496] digikam.general: One job is done<br>[10496] digikam.general: One job is done<br>[10496] digikam.general: Cancel Main Thread<br>[10496] digikam.general: One job is done</div><div><br></div><div>"errors" start</div><div><br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 132467 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 132467 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 132467 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 132467 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 132467 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 132467 tag id 0<br>[10496] digikam.geoiface: ----<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0<br>[10496] digikam.database: Attempt to create invalid tag pair image id 129117 tag id 0</div><div><br></div><div>"errors" end, rest of startup continues...</div><div><br>[10496] digikam.metaengine: ExifTool path: "C:/Program Files/digiKam/exiftool.exe"<br></div></div><div>....<br></div></div>