1190 Database garbage collection?? [#5670]

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

1190 Database garbage collection?? [#5670]

Post by chrisjj »

When is MM supposed to remove unused records from the database?

I ask because my MM.DB file has thousands of records in Table: DeviceTracks for a Device that was long ago deleted and does not show in Table: Devices.

Thanks.
Chris
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: 1190 Database garbage collection??

Post by rovingcowboy »

when you go to menu bar >file> clean library
that should find and clear out your trash listings. :)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: 1190 Database garbage collection??

Post by nohitter151 »

rovingcowboy wrote:when you go to menu bar >file> clean library
that should find and clear out your trash listings. :)
I think RC means File | Maintain Library | Compact database

Whether or not that actually removes the entries I'm not sure.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: 1190 Database garbage collection??

Post by rovingcowboy »

nohitter151 wrote:
rovingcowboy wrote:when you go to menu bar >file> clean library
that should find and clear out your trash listings. :)
I think RC means File | Maintain Library | Compact database

Whether or not that actually removes the entries I'm not sure.
sorry for the mix up i just said what it does but it is the maintain library link like nohitter151 reminded me,
:( getting forgetful more i guess must be low on caffeine :lol:
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Re: 1190 Database garbage collection??

Post by chrisjj »

> I think RC means File | Maintain Library | Compact database

Thanks both. So MM doesn't do it's own garbase collection? Just lets garbage collect until the use discovers this command?

> Whether or not that actually removes the entries I'm not sure.

It doesn't here. I.e. it leaves DeviceTracks showing 1000-odd records fro Device 13.... though Devices shows only 1 to 11.
Chris
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: 1190 Database garbage collection??

Post by nohitter151 »

chrisjj wrote:> I think RC means File | Maintain Library | Compact database

Thanks both. So MM doesn't do it's own garbase collection? Just lets garbage collect until the use discovers this command?
Right.
> Whether or not that actually removes the entries I'm not sure.

It doesn't here. I.e. it leaves DeviceTracks showing 1000-odd records fro Device 13.... though Devices shows only 1 to 11.
Can't say I'm surprised :roll:
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Re: 1190 Database garbage collection??

Post by chrisjj »

> Right.

That's poor.

> Can't say I'm surprised

Thanks.
Chris
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: 1190 Database garbage collection??

Post by rovingcowboy »

now to be fair monkey will remove them.

you need to have the options checked in the main options panel to remove unused artists and unused albums.

then when you rescan the files monkey will remove the ones that are not used. so he does keep up with them but you need to scan either way. or use the auto organizer and have it remove the unused stuff also.

but you still got to scan or re arrange your library or scan the database to clean it up.

monkey wont' do an automatic garbage pick up. sorry you have to take it to the dump your self, but don't feel bad we're all in the same situation. :D

oh yeah i got more caffeine :) :roll: :lol: :( :D 8)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: 1190 Database garbage collection??

Post by nynaevelan »

I have to agree with Chris on this one. Although I have not had trouble with the DeviceTracks table, the PlaylistSongs table has alot of garbage left behind in it. Thanks to a script by MoDementia, I am able to keep that table clean of the junk. I won't even waste energy wondering how many other tables have the same problem. But this garbage cleanup should be something that is inherent in MM, rather than having to use scripts and sql statements to clean them up. The monkey should do a better job of keeping it's cage clean. :evil:

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Re: 1190 Database garbage collection??

Post by chrisjj »

> you need to have the options checked in the main options panel to remove unused artists and unused albums.

Uh? We're talking about orphan tracks here NH. Not unused albums or artists. Anyway, I don't want unused nodes removed.

> but you still got to scan or re arrange your library or scan the database to clean it up.

"Scan my database" is fine - how do I do that?

"Rearrange my library" is not fine... and due to the limitations of Add/Rescan, I think there is no way I can easy rescan my library, since it is an irregular clutch of locations.

> don't feel bad we're all in the same situation. :D

Thanks for the company! ;)
Chris
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: 1190 Database garbage collection??

Post by nohitter151 »

chrisjj wrote:> you need to have the options checked in the main options panel to remove unused artists and unused albums.

Uh? We're talking about orphan tracks here NH. Not unused albums or artists. Anyway, I don't want unused nodes removed.
That was RC, not me.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Re: 1190 Database garbage collection??

Post by chrisjj »

> That was RC, not me.

Oops, sorry both.
Chris
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Re: 1190 Database garbage collection??

Post by rovingcowboy »

it should not remove the nodes it should remove the unused artists and unused albums. i believe it removes the folders that are empty but still in monkeys database, which is what sounds like you are having the trouble with.
  • When is MM supposed to remove unused records from the database?

    I ask because my MM.DB file has thousands of records in Table: DeviceTracks for a Device that was long ago deleted and does not show in Table: Devices.
in scanning your database it is with the maintance link that nohitter151 pointed out i typed wrong. use his link to it and that should just scan the database file and not the folders.

re scanning the music files and re organizing the library both scan the folders..
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: 1190 Database garbage collection??

Post by nynaevelan »

I'm a little confused, Chris I thought you were questioning why the tracks were not being removed from the DeviceTracks tables that are linked to devices that no longer exist in your db? How did the subject get to unused albums/artists? These are two different things.... :o

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
chrisjj
Posts: 5007
Joined: Wed Feb 14, 2007 5:14 pm
Location: UK

Re: 1190 Database garbage collection??

Post by chrisjj »

> it should not remove the nodes it should remove the unused artists and unused albums.

Here each unused artist and unused album does appear as a node.

> i believe it removes the folders that are empty but still in monkeys database,
> which is what sounds like you are having the trouble with.

My trouble is not with folders but tracks, and tracks that are al still 'used' i.e. in the library.

> in scanning your database it is with the maintance link that nohitter151 pointed out i
> typed wrong. use his link to it and that should just scan the database file and not the folders.

OK, but that just does a compact - which normally means simply removing unwanted empty space - it does not remove these orphan records.

> re scanning the music files and re organizing the library both scan the folders..

I tried an Add/Rescan of one HD folder containing some affected tracks and it makes no improvement.

Thanks for the suggestions.
Last edited by chrisjj on Thu Oct 30, 2008 6:11 am, edited 1 time in total.
Chris
Post Reply