Hello
Client has 50 companies on sql. Restoring a company from Nav backup (12K) goes through the process and at the end after it deletes the tables in million range, it hangs for several hours and then finishes. Anybody has seen this or knows why this happens?
Ahmed Rashed Amini
Independent Consultant/Developer
blog:
https://dynamicsuser.net/nav/b/ara3n0
Comments
Upgrading the client with the lasted hotfixes solved that random issue
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
During the restoration, does navision create 1K tables for every company?
So If you restore 10 companies, you'll have 10K tables created and deleted?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Yep.... Sad isn't it. How about a solution where there is one database that stores Objects, and all "Common to all companies" tables, then store each company in a seperate SQL database. Then during restore, process and "commit" each company individually?
PS I did suggest that to the NAV team, but they really could not see any reason for it. Why not try again next week when you are there. The more times they hear it the more likely they are to listen.
RIS Plus, LLC
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
with multiple db for each company it can make reporting a lot easier across multiple companies. You would just write one SQL report and it could run on every company.
I'm sure that the enhanced Security model will take faster to sync. Navision will sync it for one company and then copy that role across all the other db's.
On SQL you could backup each company separately.
You could keep company independent tables in the Object database. Or you would have to write to multiple database if you keep the tables in each company.
You could separate the db in separate disk arrays so performance can be improved.
What would be the downsides?
Also how does axapta handle multiple companies.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Axapta has in every table some kind of company ID.
I heared an SQL guy at convergence complaining about this ... saying that seperate tables was much better... . I guess the backup/restore is one downside, but the fact that transactions/read spead is generally faster makes up for it
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog