1201: MM.db-journal floods recycle bin

Beta Testing for Windows Products and plugins

Moderator: Gurus

Timo_Beil
Posts: 670
Joined: Thu Sep 20, 2007 1:00 pm
Location: Germany, Northern Heath

1201: MM.db-journal floods recycle bin

Post by Timo_Beil »

Your are generating a MM-db-journal, that is deleted after use.
My DB resides on a NAS with recycle bin.
I delete all the entries with a time triggered script, but...
Isnt't it better to reuse this file instead of generating and deleting it all the time?
MM 2024.0.0.3005-port-DE, Win 11 pro, I7-6700, 16GB RAM,
MoDementia
Posts: 1321
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Re: 1201: MM.db-journal floods recycle bin

Post by MoDementia »

It's not really part of MM code, it's the database it uses which generates it/them.
It also must be NAS specific as these do not end up in my recycle bin
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: 1201: MM.db-journal floods recycle bin

Post by nynaevelan »

I do not have any either.

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
Lowlander
Posts: 56646
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: 1201: MM.db-journal floods recycle bin

Post by Lowlander »

Some NAS auto add delete files to the Recycle Bin so that the user can recover them. I assume that locally the file is removed permanently.

The issue here seems that the NAS has a non-standard implementation of the Recycle Bin.
Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: 1201: MM.db-journal floods recycle bin

Post by Owyn »

Yep.
The problem would never show up for 99.99%+ of users.

SQLite (the embedded database in MM3) is not designed for network use. This is just one of the artifacts of that fact.

MM3 would have to make a major change to use something like embedded MySQL (as Amarok2 did) to properly support a networked install.

For now, I think you will have to continue to live with the, I assume, cron scripts.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Timo_Beil
Posts: 670
Joined: Thu Sep 20, 2007 1:00 pm
Location: Germany, Northern Heath

Re: 1201: MM.db-journal floods recycle bin

Post by Timo_Beil »

Ok. If it's based on the db engine, I have to continue with my del. script.
Thanks for the infos, Timo
MM 2024.0.0.3005-port-DE, Win 11 pro, I7-6700, 16GB RAM,
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: 1201: MM.db-journal floods recycle bin

Post by Teknojnky »

what kind of nas is it? I have a readynas NV+ and I am pretty sure that there is an option for the recycle bin to automatically clear itself after a some time period (days?).
Timo_Beil
Posts: 670
Joined: Thu Sep 20, 2007 1:00 pm
Location: Germany, Northern Heath

Re: 1201: MM.db-journal floods recycle bin

Post by Timo_Beil »

It's a Thecus N4100pro, a Soho type. I only have the option "Samba recycle bin enable/disable".
For the present, scheduled tasks on the XP Clients are deleting (only) the journal files.
But I will refresh my dusty Linux knowledge, so I can install a cronjob on the NAS.

Edit 2008-12-09, 8:40 GMT:
OK Owyn, I'll let it be. There exists a shell module for the NAS, but Linux isn't my daily profession so I'll make no experiments.

For those, who have a similar Problem: there are some hidden files

Code: Select all

del m:\.recycle\*.tmp /S /Q
del m:\.recycle\*.db-journal /S /Q
del m:\.recycle\*.db-stmtjrnl /A:H /S /Q
del m:\.recycle\*.MMSaTe /S /Q
Last edited by Timo_Beil on Fri Dec 12, 2008 4:46 am, edited 5 times in total.
MM 2024.0.0.3005-port-DE, Win 11 pro, I7-6700, 16GB RAM,
Owyn
Posts: 2018
Joined: Fri Mar 21, 2008 10:55 am
Location: Canada

Re: 1201: MM.db-journal floods recycle bin

Post by Owyn »

Did a quick search. Found.
http://www.thecus.com/products_over.php?cid=10&pid=77
http://diet-pc.wiki.sourceforge.net/thecus_n4100plus

While it may be possible to hack the NAS, I probably would not. The XP script does the job, leave it as is. Much less risk and little to gain unless you really want to hack the beast.
Cogito cogito ergo cogito sum. (Ambrose Bierce)
I drink therefore I am. (Monty Python)
Vista 32bit Home Premium SP2 / MM3.2.1.1297 Gold / Last.Fm 1.0.2.22 / IE8
Dell Inspiron 530 (1.8 Core2 / 2GB)
Skin: Vitreous Blue
Scripts: Add/Remove Playstat|Advanced Duplicate Find & Fix|Album Art Tagger|Backup|Batch Art Finder|Calculate Cover Size|Case&Leading Zero Fixer|DB_Audit|DB_Clean|DB_Schema|Event Logger|Genre Finder|Lyricator|Magic Nodes|MM2VLC|Monkey Rok|MusicIP Tagger|PUID Generator|RegExp Find & Replace|Right Click for Scripts|Scriptreloader|SQL Viewer|Stats(Filtered)|Tagging Inconsistencies
Post Reply