View Single Post
Old 04-16-2011, 04:25 AM   #33
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by Iņigo View Post
I recently discovered other problems with my DB, maybe related: it looks like some files in my SD make the DB a bit inconsistent. If I delete global.db to regenerate it, the indexing stops after 1.2MB of file size. I haven't been able to discover the file, but as the backup global.db file works is not a big issue for me.
A theory: mdbindex binary calls code in ctb, which uses metadata gathered from uds.
As I'm using dr1000's uds in a dr800 (dr800+ in fact ;-) perhaps there is some kind in incompatibility.
1) I assume you have thumbnail generation (during mdbindex) enabled, I wonder if the performance is also dependent on the number of thumbnails in the global.db file?
2) you can run mdbindex from the command line (although I only have done this in the emulator) first argument is the location of global.db, 2nd parameter determines if thumbnails will be generated. When there is a 2nd parameter no thumbnails are generated. By adding a few print you should be able to determine the file that is causing the problems.

(Have a nice holiday.:-)
Mackx is offline   Reply With Quote