Migration from 4.0 to 5 client fails

Stef-B
Member Posts: 26
We have a Database (SQL on 2005 server) with >120 Companies.
Migration to 5.0 SP1 client fails after several hours with SQL Error stating that there is not enough system memory.
Is there a way to perform the migraton process on sql-server only?
Does anyone have a tsql script, so i can split the process into several transactions?
What does the Migration process do anyway?
Migration to 5.0 SP1 client fails after several hours with SQL Error stating that there is not enough system memory.
Is there a way to perform the migraton process on sql-server only?
Does anyone have a tsql script, so i can split the process into several transactions?
What does the Migration process do anyway?
0
Comments
-
To SP1 it does a lot!
It converts all SIFT tables to indexed views.
With 120 db's it can be a total nightmare!
Since the restore still behaves like native it will create a copytable for all companies.
For 120 companies you will have 120* 700 * 2= 172000 tables.
Try the following:
Make all empty tables data per company false and restore on a x64 server with a lot of disks and RAM.
I have a customer with 2000 companies and they used XML import/export for that :?0 -
Mark Brummel wrote:...
I have a customer with 2000 companies and they used XML import/export for that :?
:shock: wow that must have been fun. sounds like a big job.David Singleton0 -
And what about making NAV backup on old version, and restore it into target database on new version in more steps (e.g. 10 companies in one step...)?0
-
kine wrote:And what about making NAV backup on old version, and restore it into target database on new version in more steps (e.g. 10 companies in one step...)?
The first 10 will go fine, then the next 10 will start to itch a little, slowly but surely it will come unmanageable...
Sharing tables really is the best approach. Make sure all SIFT is disabled, indexes etc.0 -
Is the error referring to lock memory?
Place the database in "Single User" mode and run the convert. "Single User" mode does not place locks on resources and therefore does not run out of memory. I ran into this recently on an upgrade. The server was 64 bit with 24 GB of memory. Single user mode resolved the issue.There are no bugs - only undocumented features.0 -
Mark Brummel wrote:kine wrote:And what about making NAV backup on old version, and restore it into target database on new version in more steps (e.g. 10 companies in one step...)?
The first 10 will go fine, then the next 10 will start to itch a little, slowly but surely it will come unmanageable...
Sharing tables really is the best approach. Make sure all SIFT is disabled, indexes etc.
I think this should a standard feature.
Basically based on your license NAV should create the tables SIFT/Views perCompany only based on license.0 -
There is a fix/method available for restoring a Navision database into SQL Server where there are a huge number of companies. This is especially a problem on 32 bit SQL Server 2005.
Since I got it directly from Microsoft, I suggest you contact Navision support and request it.
It does require some SQL knowledge and you have to be careful.David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
davmac1 wrote:There is a fix/method available for restoring a Navision database into SQL Server where there are a huge number of companies. This is especially a problem on 32 bit SQL Server 2005.
Since I got it directly from Microsoft, I suggest you contact Navision support and request it.
It does require some SQL knowledge and you have to be careful.
Could you provide some additional information about this fix/method? Do you have the article number?
The fix for 32 bit SQL? Install 64 bit.There are no bugs - only undocumented features.0 -
Thank you all for the suggestions. We're going to migrate the LIVE Version of the DB soon. Let's hope this works smoother.0
-
[Topic moved from Navision forum to SQL General forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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