<div>Hi Anders,</div><div><br></div>yes, thumbnails storing is probably a side effect of this huge size. I remember a thread where Francesco and Marcel speak about a problem with dedicated thumbs DB.<div><br></div><div>To resume : something have be done between 2.1 and 2.3 to store thumb in main DB instead dedicated one.</div>
<div><br></div><div>Try this : run digiKam in with a fresh account and look if thumb DB blow up size when you compute all thumbnails through dedicated batch tool (look into Tools menu). The goal is to look if this work around is always valid or if it have been fixed with 2.3.0</div>
<div><br></div><div>Best</div><div><br></div><div>Gilles Caulier<br><br><div class="gmail_quote">2011/11/9 Anders Stedtlund <span dir="ltr"><<a href="mailto:falolaf@gmail.com">falolaf@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I currently use digiKam/kipi-plugins 2.2.0. (Building 2.3.0 at the moment.)<br>
<br>
I just recently looked at the digikam4.db and can see that the size of<br>
the has suddenly been ~4 times bigger. As I have a couple of backups<br>
around it seems that when I went from v.2.0.0 to 2.1.0 the db grew<br>
from ~24MB to ~100MB. I have a history of backups which dates back<br>
almost a year and the db size has been almost the same, ~24 all the<br>
time. I have not added that many new images that could explain the<br>
size.<br>
<br>
I have looked in the tables and I have found that the:<br>
Images table contains 962 images that doens't have any Album set.<br>
ImagesTags table have 1628 rows connected to images without an Album set.<br>
<br>
The oldest image is from 2010-07-25. At least some of the images have<br>
been moved from one album to another. Haven't checked them all. Could<br>
it be stray entries related to the move? Is there a routine "clean"<br>
the db from such entries?<br>
<br>
As suggested on the mailing list I have tried this:<br>
sqlite3 -line digikam4.db 'vacuum;'<br>
<br>
Sure the db size went down but only a MB or two.<br>
<br>
Another reflection:<br>
There seems to be a new table: Thumbnails. There are 4500 thumbnails<br>
in that, about 1/3 of my total no of images. I can see that none of<br>
the latest and none of the earliest images are in there. This table<br>
could explain most of the db size I think. But is it used and for<br>
what?<br>
<br>
I would be happy if someone could enlighten me.<br>
<br>
/Anders<br>
_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
</blockquote></div><br></div>