mibuso.com

Microsoft Business Solutions online community
It is currently Thu May 23, 2013 8:58 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Navision 3.7 database cleanup
PostPosted: Thu May 10, 2012 9:40 am 
Offline

Joined: Mon Sep 26, 2011 9:40 am
Posts: 38
Location: Nijmegen
Country: Netherlands (nl)
Savatage wrote:
This doesn't really tell us what you tried.


I meant that I tried to delete a record from the table Item. There are lots of items which our client does not use anymore, so I wanted to delete those records. But when I try, Navision tells me to go do things to myself which I'd rather not do [-X

Savatage wrote:
Note: you will NOT be able to clear out "entries" like item ledger entries, customer ledger entries, vendor ledger entries, general ledger entries. These will go on growing forever and eventually all the cleaning of posted documents (Tables 110, 112, 114, 120, 122, 124 , etc) won't be enough.


I guess where pretty much up to an impossible task. The tables suggested above have the following size:
    110 - 1,05 GB
    112 - 0.97 GB
    114 - 0.14 GB
    120 - 0.19 GB
    122 - 0.13 GB
    124 - 7 MB

But when I look at the five largest tables in the database we see "entries":
    G/L Entry - 56.35 GB
    Item Ledger Entry - 24.61 GB
    Value Entry - 20.85 GB
    Stock Entry - 15.50 GB
    Item Application Entry - 10.6 GB

Even if we would be able to half the size of the posted documents tables it would gain us 4 or 5 GB free database space. That is not a lot on the 188 GB (after optimizing) of the database. ](*,)


Top
 Profile E-mail  
 
 Post subject: Re: Navision 3.7 database cleanup
PostPosted: Thu May 10, 2012 5:14 pm 
Offline
MVP Microsoft Dynamics NAV
Site Supporter

Joined: Fri Jun 06, 2003 9:01 pm
Posts: 6979
Location: L.I., New York
Country: United States (us)
Ploeg wrote:
Even if we would be able to half the size of the posted documents tables it would gain us 4 or 5 GB free database space. That is not a lot on the 188 GB (after optimizing) of the database. ](*,)


Understood that's why I'm testing Date Compression..
Which is probably a last resort type of thing. I'm not a fan of deleting data if you can avoid it.
You never know when it will come in handy.
If your company is willing to do the SQL switch then that's the better path.

viewtopic.php?f=14&t=53099
In my first Customer ledger entry test I toook 1 customer and compressed 450,000 entries into 17.
Bringing my test databasse from 84% used to 79% used. a good start.

_________________
Harry Ruiz
http://www.cosmeticsolutions.com
http://www.autismspeaks.org


Top
 Profile E-mail WWW  
 
 Post subject: Re: Navision 3.7 database cleanup
PostPosted: Thu May 10, 2012 5:55 pm 
Online
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7496
Location: Milan
Country: Italy (it)
Ploeg wrote:
G/L Entry - 56.35 GB
Item Ledger Entry - 24.61 GB
Value Entry - 20.85 GB
Stock Entry - 15.50 GB
Item Application Entry - 10.6 GB

I would first look to the keys in those tables. How much keys do have in each table and which fields are in those keys? And how much flowfields do you have in each key?
I think you have way too many keys in those tables. Some keys will probably be double or not used anymore. Deleting (or disabling) them might help a lot (but you really have to check they are not used anymore.

_________________
Regards,Alain Krikilion
Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting


Top
 Profile  
 
 Post subject: Re: Navision 3.7 database cleanup
PostPosted: Sun May 13, 2012 2:59 am 
Offline

Joined: Mon Oct 04, 2004 7:42 pm
Posts: 101
Location: LA
Country: United States (us)
We tried compressing item ledger entries and ended up corrupted the db. I'd recommended avoiding this if possible.


Top
 Profile  
 
 Post subject: Re: Navision 3.7 database cleanup
PostPosted: Mon May 14, 2012 3:12 am 
Offline
MVP Microsoft Dynamics NAV
Site Supporter

Joined: Fri Jun 06, 2003 9:01 pm
Posts: 6979
Location: L.I., New York
Country: United States (us)
megawavez wrote:
We tried compressing item ledger entries and ended up corrupted the db. I'd recommended avoiding this if possible.


That's perfect for my date compression post. You always here about date compression problems, but actual documented issues like your is the type of detail I think people need to know if they ever decide to take the compression path.

_________________
Harry Ruiz
http://www.cosmeticsolutions.com
http://www.autismspeaks.org


Top
 Profile E-mail WWW  
 
 Post subject: Re: Navision 3.7 database cleanup
PostPosted: Mon Jul 02, 2012 7:48 am 
Offline

Joined: Mon Jul 02, 2012 7:33 am
Posts: 1
Country: Denmark (dk)
I have made several Item ledger entries date compressions with success. We are running production only and use a modified date compression routine that saves space by applying a frequent commit.

Native NAV 5 SP1 DB 2.0 Objects 3.60
220GB allocated out of Licences 320GB
Tomas


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: