INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: To Matt - out of curiosty: mediafiles.jmd size  (Read 1933 times)

Cmagic

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1196
  • Enjoying life with a little music....
To Matt - out of curiosty: mediafiles.jmd size
« on: July 30, 2003, 11:21:04 pm »

Hi Matt,

I just noticed that in MC9.1 the size of the mediafiles.jmd file (the main database file) has been reduced by approx 50% from its previous size in MC9.0.

Is it a side effect of better unicode management or just something else ?

Thanks and have a great day,

Christian
Logged
Until the color of a man's skin is of no more significance
than the color of his eyes.
Bob Marley (War)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: To Matt - out of curiosty: mediafiles.jmd size
« Reply #1 on: July 31, 2003, 05:46:47 am »

The database is stored (both in memory and on disk) as UTF-8 instead of UTF-16 now.  That means half the disk space and half the memory with 9.1 if you don't use many international characters.

It introduces a decoding step but since it's working with so much less memory the overall speed is still better than before.

Thanks Christian.
Logged
Matt Ashland, JRiver Media Center

Cmagic

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1196
  • Enjoying life with a little music....
Re: To Matt - out of curiosty: mediafiles.jmd size
« Reply #2 on: July 31, 2003, 08:31:25 am »

Thanks Matt,

It's good to know MC takes care of the PC ressources even if memory and disk space are quite affordable these days.

C.

Logged
Until the color of a man's skin is of no more significance
than the color of his eyes.
Bob Marley (War)

nila

  • Guest
Re: To Matt - out of curiosty: mediafiles.jmd size
« Reply #3 on: July 31, 2003, 04:32:34 pm »

Just a qu I had about the db.

Is it a totally flat db?
If I'm creating a lot of custom fields to use for some of my files but these fields are only being used by say 1% of my files (around 200 files) - is this making the db/memory useage a lot higher?
Logged

Soundman

  • Regular Member
  • World Citizen
  • ***
  • Posts: 155
  • Go Music!
Re: To Matt - out of curiosty: mediafiles.jmd size
« Reply #4 on: July 31, 2003, 06:54:55 pm »

Quote
The database is stored (both in memory and on disk) as UTF-8 instead of UTF-16 now.  That means half the disk space and half the memory with 9.1 if you don't use many international characters.


Matt, I just wanted to say, "Thank You" for this change.  I freqently copy my Library over a slow link, and this helps a lot.  Even when .ZIP'd the size has reduced by around half, more like MJ8.  Thanks!
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: To Matt - out of curiosty: mediafiles.jmd size
« Reply #5 on: July 31, 2003, 07:24:50 pm »

Quote
If I'm creating a lot of custom fields to use for some of my files but these fields are only being used by say 1% of my files (around 200 files) - is this making the db/memory useage a lot higher?


No it isn't.  The database uses memory only for real data -- not for spaces where data could go.
Logged
Matt Ashland, JRiver Media Center

nila

  • Guest
Re: To Matt - out of curiosty: mediafiles.jmd size
« Reply #6 on: August 01, 2003, 12:02:13 am »

cool cool :)
Logged
Pages: [1]   Go Up