Thumbnail db
Moderators: XnTriq, helmut, xnview
Thumbnail db
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?
Re: Thumbnail db
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?
Re: Thumbnail db
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?
Pierre.
Re: Thumbnail db
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?
Re: Thumbnail db
Pierre
Hello !
“obelisk” wrote
Claude
Clo
Hello !
“obelisk” wrote
• 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.
KRThumbnailPrealloc=100000
¤ Sets number of bytes to pre-allocate when creating the thumbnails database to avoid fragmentation.
…
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
Re: Thumbnail db
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?
Pierre.
Re: Thumbnail db
No not yet, what does optimise do? I thought it just removes deletes files, which I don't have any of.
-
- Posts: 251
- Joined: Sat Nov 17, 2007 7:53 am
- Location: Germany
Re: Thumbnail db
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...
Re: Thumbnail db
2pic_viewer
Wow! That Defraggler thing is very useful! Thanks for pointing it out!
Wow! That Defraggler thing is very useful! Thanks for pointing it out!
John
Re: Thumbnail db
defrag does nothing to the speed. I do it every 2wks anyway due to this stuff.
Re: Thumbnail db
Every tiny little bit adds up, over time, even if you can't detect improvement of a single instance
John
Re: Thumbnail 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.
How many files do you have in the DB?
Pierre.
Re: Thumbnail db
[offtopic]
As an alternative here for Defraggler, I would recommend Sysinternals (Microsoft) Contig command line file defragmenter.
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!
As an alternative here for Defraggler, I would recommend Sysinternals (Microsoft) Contig command line file defragmenter.
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- Posts: 251
- Joined: Sat Nov 17, 2007 7:53 am
- Location: Germany
Re: Thumbnail db
Of course there were versions of Defraggler that made problems. Same for every software, including XnView. Check the history listing. The current version is more than stable and includes lots of features that a command line version will never have.
Re: Thumbnail db
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.
Tried the optimize on db, it still takes almost 10s to switch to a dir of raw files. Dir of jpg takes a little less. I have about 12k files in db.