Hi, happy new year 8)
We have an pretty large db on SQL (approx 330 gig). And after about a year of postings we are looking into either archiving (moving) or std. Date Compression i NAV.
Its now primarely the AdjustCost routine that is taking too much time...
Has anyone any suggestions about how these things are solved? ex moving data to new tables or new tables in another db or simply use std date compression.
There are not any customization on the huge tables like 17,32 and 5802. (Only index optimizing).
Best regards
ObiWan
0
Comments
I have a client who is on FIFO and they wrote adjust cost to run as SQL job. They wrote their own adjust cost as stored procedure.
We have a client with similar issue. Average costing We are planning to do similar process for them as well.
Have you split the Adjust cost and cost post to GL into separate processes?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
And yes I have split the cost posting to G/L into an separate customized version of the std. which uses same DocNos as in ValueEntry but
doing the posting "Per Posting Group". Then we still have the same link to GL but a lot less entries.
Building a routine as an SP seems smart.
That might perform a lot better, but could be somekinda time consuming.
Are the whole routine been written as an SP or only to gather data (summarize and stuff)?
I have been using LinkedObjects for gathering some of the data. Then still keeping the bizlogic inside NAV.
There are approx. 280 locations (stores) so no of records in 5802 are now just below 40.000.000.
The records that are made from Adjustments make about 25%.
I believe that we might need to do somekind of storage/compression anyway.
We`re using HP-EVA SAN as storage and HP Itanium 64 with SQL 2005 as db server.
NAV is 5.0
The application is performing quite well, but I feel that the db growth is too huge.
Maintenance Plans are beginning to take a lot of time.
Best regards
ObiWan
Curently Adjust Cost is run nightly and takes 60 to 90 minutes on a typical night. There will be some days, due to the nature and volume of activity, where adjust cost may take upwards of 3 or 4 hours. As the plant gets busier there will be less and less time to run this process. I know at some point I will likely face this same issue.