NAV2015 upgrade step 2 Array dimensions exceeded supported range
davmac1
Member Posts: 1,283
I am upgrading a database of over 100GB. After almost 24 hours of running step 2, I received this error: Array dimensions exceeded supported range.
I can find only 1 unsolved reference to this problem. It appears like a Powershell problem where it exceeds 2GB.
Since some of you have upgraded even larger databases, have any of you run into this problem and have a solution?
I have submitted the problem to Microsoft as well, but am hoping someone on this forum has the answer.
(And yes, I know the performance is terrible. I am running someone else's supplied upgrade mods on a server which is not configured properly. It does have 32GB RAM and the SQL Server max mem is set to 22GB with the service tier and a dev client on the same server. The disk drives are allocated by VMware and it appears the amount of disk space allocated was the only consideration.)
I can find only 1 unsolved reference to this problem. It appears like a Powershell problem where it exceeds 2GB.
Since some of you have upgraded even larger databases, have any of you run into this problem and have a solution?
I have submitted the problem to Microsoft as well, but am hoping someone on this forum has the answer.
(And yes, I know the performance is terrible. I am running someone else's supplied upgrade mods on a server which is not configured properly. It does have 32GB RAM and the SQL Server max mem is set to 22GB with the service tier and a dev client on the same server. The disk drives are allocated by VMware and it appears the amount of disk space allocated was the only consideration.)
David Machanick
http://mibuso.com/blogs/davidmachanick/
http://mibuso.com/blogs/davidmachanick/
0
Comments
-
I recently ran into this error message as well(NAV 2009 -> NAV 2015, over 1TB DB size). Upgrade step 2 is hard to debug, but I assumed it could be related to the UpdateUserID function. That function updates every field related to User."User Name". It does this by using RecRef and for every user in Temp Windows Login. So if you have twenty users, it goes through every table 20 times. After getting rid of this function I never saw that error again. I streamlined a few other functions so there is a small chance it could be something else, but UpdateUserID would definitely be my first guess. You can find a smarter Version of it on larswestman.se/speeding-up-step-2-in-nav-upgrades/ and somewhere in this forum.
You should also take a look at functions like UpdatePostedSalesInvoices etc. They are faster on pure SQL than the queries NAV uses.
Good luck.0 -
Thanks - I already decided to change the updateuserid function based on the same blog.
Microsoft also confirmed this as a known problem.
I will look at the other functions you suggested as well.
When I do an upgrade offsite, I delete all the users. This one is onsite, so it is the first time I have experienced this specific problem.David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
updateuserid - I moved it to sql where it took 26 minutes. The rest of step 2 took 16 hours. The service tier went to over 21GB RAM. I had them bump the RAM up to 64GB with 32GB for SQL Server. They may not want me to spend the time to optimize further. It is possible I will have to upgrade a much larger database in the near future - if that happens I will need to optimize all the longer running processes including dimensions.David Machanick
http://mibuso.com/blogs/davidmachanick/0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions