Thumbnail db
Posted: Sun Aug 02, 2009 11:06 pm
Today I looked at my Thumbnail db file since my xnview takes 15s to load now. It had 1356 fragments. Is anything being done to address this?


Various discussion boards for XnView and related products
https://newsgroup.xnview.com/
That is ordinary for pants filesystem.obelisk wrote:Today I looked at my Thumbnail db file since my xnview takes 15s to load now. It had 1356 fragments. Is anything being done to address this?
15s, it's really strange? Try to rename the category.db?obelisk wrote:Today I looked at my Thumbnail db file since my xnview takes 15s to load now. It had 1356 fragments. Is anything being done to address this?
Yes but yet all other programs get around this by preallocating or other means.punter wrote: That is ordinary for pants filesystem.
It takes about 10-15s to enter any pre-cached folder of 100+ pics, even if those pics have no category set. For folders with no cached pics it's immediate.xnview wrote: 15s, it's really strange? Try to rename the category.db?
• For instance, in Total Commander we have the following INI entry :Yes but yet all other programs get around this by preallocating or other means.
ThumbnailPrealloc=100000
¤ Sets number of bytes to pre-allocate when creating the thumbnails database to avoid fragmentation.
…
15s?? Do you have tried optimise on DB?obelisk wrote:It takes about 10-15s to enter any pre-cached folder of 100+ pics, even if those pics have no category set. For folders with no cached pics it's immediate.xnview wrote: 15s, it's really strange? Try to rename the category.db?
Yes, and make a "VACUUM" command on the DB.obelisk wrote:No not yet, what does optimise do? I thought it just removes deletes files, which I don't have any of.
pic_viewer wrote:Download the freeware Defraggler from Piriform. It allows you to defragment only xnview.db file in blazing speed. Quicker than complaining here and waiting for an improvement...
I must say, Piriform tools Recuva and CCleaner are great, but Defraggler once screwed up my system to unbootable state and i'm not the only one who got problems like this with Defraggler. So just a warning.JohnFredC wrote:Wow! That Defraggler thing is very useful! Thanks for pointing it out!
Way to increase confidence. I've used 5 defrag programs since the days of Win95 and none of them ever created problems. When doing data critical software NO you should not have problems. They should be tested differently to eg xnview which won't delete your partition by mistake...pic_viewer wrote:Of course there were versions of Defraggler that made problems.