INTERACT FORUM

Please login or register.

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

Author Topic: Library (database) Maintenance  (Read 2021 times)

Cmagic

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1196
  • Enjoying life with a little music....
Library (database) Maintenance
« on: April 24, 2008, 05:35:07 pm »

Hi,

Lately I spent sometime playing with MC (stacks, tagging, re-ripping) I did a lot of tests and in the process I created a lot of library entries that I soon deleted.

What I noticed was that the library size, in particular the "field (filename).jmd" size kept on growing and was not decreasing instantly after entries got deleted from the library. This brings my two questions:

1/ I assume that when an entry is deleted, it still resides in the library for sometimes and gets disposed as the result of some garbage collection at a later stage. Is my thinking right ?

2/ Is there a way to force such a garbage collection or maintain the library clean  by removing dead entries ? If not, what is the logic behind GC ?

If my memory's right, there was such a library maintenance or repair function in one of the earlier version of MC.

Thanks,

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

Bulkhead

  • Recent member
  • *
  • Posts: 21
Re: Library (database) Maintenance
« Reply #1 on: May 10, 2008, 12:38:50 am »


(polite bump)
Logged
Zed's dead baby, Zed's dead....

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Library (database) Maintenance
« Reply #2 on: May 10, 2008, 03:47:02 am »

Quote
1/ I assume that when an entry is deleted, it still resides in the library for sometimes and gets disposed as the result of some garbage collection at a later stage. Is my thinking right ?

Yes. MC should clean the file entries from its "deleted files database" on next import if also the disk files are gone, but after all the changes in MC12 (Auto-Import etc) I am not sure how exactly it works now.

Quote
2/ Is there a way to force such a garbage collection or maintain the library clean  by removing dead entries ? If not, what is the logic behind GC ?

Some threads about the "deleted files database":

http://yabb.jriver.com/interact/index.php?topic=28266.0
http://yabb.jriver.com/interact/index.php?topic=29216.0
http://yabb.jriver.com/interact/index.php?topic=30238.0

-  I still use the manual maintenance system that I described in the linked threads. It works without problems, but perhaps you should not run Auto-Importer in the background while doing such cleaning tasks manually.

Quote
If my memory's right, there was such a library maintenance or repair function in one of the earlier version of MC.

No, there wasn't. Maybe you are remembering some other program (perhaps ACDSee Photo Manager).
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755
Pages: [1]   Go Up