Hello every one.
Our company works on Nav by 24 h/day. All scripts (inventory costing, inventory posting, actualization of dimensions) takes about 2 hours, at normal work. If I logoff all users it takes half hour. Of course when I do scripts nobody can’t work. It is normal in nav? I can’t stop company for two hours. I’m writing about 3-6 concurrent users and 20 GB database. The same is when some one make a big report. Nobody can’t work. Can I make scripts and post invoices? I thought about mirroring or replication. It is possible to do scripts and reports on second database? Maybe some one have idea how can I solve this problem
0
Comments
Epimatic Corp.
http://www.epimatic.com
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
My first feeling is that all should work in one database ... . Just try to keep transaction as small as possible.
And may be ... try to use a very well tuned sql database.
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Hi Waldo,
Perhaps I should introduce you to my database where the Adjust Cost runs for about 5-6 days straight And trust me it is a well tuned SQL db.
Sometimes it can run a long time if you have a weird way of doing things.
To be fair we haven't run adjust cost for a month since it was never finishing in a weekend but still.
So what I did was change the routine to run by item and I am doing a batch every night.
Yes, I know, I was just pointing to the fact that in his production database (he works 24/7, so I assume that he does a lot in Item LE and Value Entry), it's unacceptable to lock tables for 2 hours ... .
It is quite a simple customization to do it item-per-item, and it might be a solution for him (and for you ).
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
http://www.mibuso.com/forum/viewtopic.php?t=18943&highlight=
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Nice job, Rashed. =D>
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
- set analysis views to update automatically
- use automatic cost posting
- use automatic inventory adjustment - I believe it's available from 4.01 or so (not sure, it could be that from just 5.0 which wasn't released for Central/Eastern Europe, unfortunately)
And one problem is, that many tools to optimize running are available just in newer versions... :?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Why I think about second database. Becouse I have about 100 items, but I have 90% selling and buying on 4 items. The rest is not important.
When I did how Miklos Hollender told one invoice post for 2 min.
Ofcourse I did optymalization on database. I thought about BA but we have BE version and before buy BA we must upgrade to AM.
I think I have only one problem locking tables when scripts working. Maby I can make some temoprtary tables? Is it posible?
Epimatic Corp.
http://www.epimatic.com
That's one of the reasons why one should upgrade .
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
we have a DB size of 65gb and item card with more than 36000 items.
and we finish our batch job in less than an hour. and we run it every night. \:D/
we worte a small CU , that runs to find out only those items used in current dates transaction. we see in ILE and VLE for the item's involved in todays transaction. and then the effective number of items come down substantially.
Navision Technical Consultant
Bangalore
anurag.atish@yahoo.com