1190 Database garbage collection?? [#5670]
Moderator: Gurus
1190 Database garbage collection?? [#5670]
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.
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??
when you go to menu bar >file> clean library
that should find and clear out your trash listings.
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??
I think RC means File | Maintain Library | Compact databaserovingcowboy wrote:when you go to menu bar >file> clean library
that should find and clear out your trash listings.
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.
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??
sorry for the mix up i just said what it does but it is the maintain library link like nohitter151 reminded me,nohitter151 wrote:I think RC means File | Maintain Library | Compact databaserovingcowboy wrote:when you go to menu bar >file> clean library
that should find and clear out your trash listings.
Whether or not that actually removes the entries I'm not sure.
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.
Re: 1190 Database garbage collection??
> 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.
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??
Right.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?
Can't say I'm surprised> 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.
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.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Re: 1190 Database garbage collection??
> Right.
That's poor.
> Can't say I'm surprised
Thanks.
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??
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.
oh yeah i got more caffeine

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.
oh yeah i got more caffeine
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??
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.
Nyn
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
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Re: 1190 Database garbage collection??
> 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.
Thanks for the company!
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.
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??
That was RC, not me.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.
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.
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??
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.
re scanning the music files and re organizing the library both scan the folders..
- 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.
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??
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....
Nyn
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
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Re: 1190 Database garbage collection??
> 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.
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