<div dir="ltr">Hi,<div><br></div><div>The thumbnails in digiKam are stored in a dedicated database sqlite file. Look my root collection on my host linux computer mounted on a SSD :</div><div><br></div><div><div>[gilles@localhost photos]$ pwd</div><div>/mnt/data2/photos</div><div>[gilles@localhost photos]$ ls -al</div><div>total 1332572</div><div>drwxrwxrwx  5 gilles gilles       4096 Sep 30 22:11 ./</div><div>drwxr-xr-x  6 root   root         4096 Jul  6 18:04 ../</div><div>drwxrwxr-x 55 gilles gilles       4096 Sep  5  2014 AGNES/</div><div>-rw-r--r--  1 gilles gilles   64644096 Sep 30 22:11 digikam4.db</div><div>drwxrwxrwx  4 gilles gilles       4096 Dec  4  2013 GILLES/</div><div>drwxrwxr-x 53 gilles gilles       4096 May 11 23:13 TESTS/</div><div>-rw-r--r--  1 gilles gilles 1299880960 Sep 30 22:11 thumbnails-digikam.db</div><div>[gilles@localhost photos]$ du -hs</div><div>229G    .</div></div><div><br></div><div>The thumbnails-digikam.db only store wavelets compressed thumbnails. As you can see it's huge, because i use WQHD flat screens here and I turned on the HD thumbs support (512*512 pixels instead 256*256). A DB file is used instead file-system to speedup thumbnails access in all cases : local, remote, and removable collections. For ex, if disk is not available, displaying thumbs still possible.</div><div><br></div><div>To test if DB is corrupted, you can delete/rename safely the DB file for thumbnails. There is no extra metatada in this file. It will be re-created automatically at next session, but this take a while to regenerate thumbs until there are cached in DB. You can use the Maintenance tool to recreate all thumbnails, but take a coffee and be patient.</div><div><br></div><div>Best</div><div><br></div><div>Gilles Caulier</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-01 9:04 GMT+02:00 Luca Ferrari <span dir="ltr"><<a href="mailto:fluca1978@infinito.it" target="_blank">fluca1978@infinito.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
using 4.9 I'm getting it being really slow when re-opening an album.<br>
Images in such album are jpg around 15 MB each, thumbnails have been<br>
already done in the past, but the table view still renders a small<br>
thumbnail every 2-3 seconds. Clicking on an image requires several<br>
seconds (20-30) for it to open, and once it is shown thumbnails in the<br>
neighborhood are displayed as well.<br>
Other albums are working fine, and all are on the same removable hard disk.<br>
Is there some tunable I can check to understand what is slowing down<br>
the thumbnail view?<br>
<br>
Thanks,<br>
Luca<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" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
</blockquote></div><br></div>