INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: Cmagic on April 24, 2008, 05:35:07 pm

Title: Library (database) Maintenance
Post by: Cmagic 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
Title: Re: Library (database) Maintenance
Post by: Bulkhead on May 10, 2008, 12:38:50 am

(polite bump)
Title: Re: Library (database) Maintenance
Post by: Alex B 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).