Migration from 2.2 To SQL 2008

Toddy_Boy
Member Posts: 232
Hi
We currently have a very old 2.2 vserion of the Navision objects, nothing wrong in that, which we are moving to a SQL database. The current database size is 75000000 of which 59507360 is used.
It's a bit of a broad ask but when this is converted to SQL, what would the recommnded size of the ndf, mdf and ldf be? I've done a few test run throughs that have stuttered as the database grows. Or is it the case of let it run through once, then set the ndf, mdf and ldf to the final sizes, plus a bit for growth
Steve
We currently have a very old 2.2 vserion of the Navision objects, nothing wrong in that, which we are moving to a SQL database. The current database size is 75000000 of which 59507360 is used.
It's a bit of a broad ask but when this is converted to SQL, what would the recommnded size of the ndf, mdf and ldf be? I've done a few test run throughs that have stuttered as the database grows. Or is it the case of let it run through once, then set the ndf, mdf and ldf to the final sizes, plus a bit for growth
Steve
Life is for enjoying ... if you find yourself frowning you're doing something wrong
0
Comments
-
What is 2.2?
I know of 2.0, 2.01, 2.5, 2.6 etc.
It is a 60GB database? The SQL databasesize should not differ much.
During the conversion of native to sql the logfile wil grow a lot, you can shrink it afterwards.0 -
Hi Mark
Well spotted, it' 2.01.B
Thanks for the reply.
SteveLife is for enjoying ... if you find yourself frowning you're doing something wrong0 -
2.01B should work fine in SQL2008 if you use the latest finsql.exe binaries. I have some 1.x and 2.x customers running on SQL with larger databases than 60GB and no issues that can't be solved easily.0
-
Hi Mark
We've done a lot of testing with the converted database, the most common problem is the error "Another user has changed this record, restart your activity", this is due to poor coding in the very bespoke part of the system.
SteveLife is for enjoying ... if you find yourself frowning you're doing something wrong0 -
This error is most often caused by the change from table locking to row locking. With table locking your transactions where probably isolated before they could create this conflict.
The "easiest" way to solve this is by re-introducing the isolation by implementing a common lock on for example a setup-table or as NAV does is, using the last G/L entry.
The "toughest" way to solve it is by analysing the transaction step-by-step and try to find a way to solve the real issue.0 -
Hi Mark
I've been tackling this by making sure records are saved and re-read at the correct points, this is time consuming due to the amount of code I have to go through.
Can you elaborate on the "easiest" way
SteveLife is for enjoying ... if you find yourself frowning you're doing something wrong0 -
Mark Brummel wrote:This error is most often caused by the change from table locking to row locking. With table locking your transactions where probably isolated before they could create this conflict.
The "easiest" way to solve this is by re-introducing the isolation by implementing a common lock on for example a setup-table or as NAV does is, using the last G/L entry.
The "toughest" way to solve it is by analysing the transaction step-by-step and try to find a way to solve the real issue.
I have done this once for a customer with lots of deadlocks on the reservation table.
I created a codeunit with these 2 lines of code:GeneralLedgerSetup.LOCKTABLE; GeneralLedgerSetup.GET();
Then I put in a lot of places where I had problems this code: CODEUNIT.RUN(CODEUNIT::"Your Codeunit");
In the end, I solved the problems in a cost-effective way (I hadn't time to rewrite all the code to avoid the deadlocking).
As a positive surprise, I found out that everything worked faster than before, telling me that the deadlocking problem was even worse than I suspected.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi Kriki
I can see what you've done there, very clever, however my problem is when a record is changed in more than one place during the same transaction. This leads to SQL reporting the record has been amended elsewhere (as I understand it). So it's not a deadlock as such, just some bad coding.
SteveLife is for enjoying ... if you find yourself frowning you're doing something wrong0 -
Toddy Boy wrote:Hi Mark
We've done a lot of testing with the converted database, the most common problem is the error "Another user has changed this record, restart your activity", this is due to poor coding in the very bespoke part of the system.
Steve
Which executables are you using?David Singleton0 -
Toddy Boy wrote:Hi Kriki
I can see what you've done there, very clever, however my problem is when a record is changed in more than one place during the same transaction. This leads to SQL reporting the record has been amended elsewhere (as I understand it). So it's not a deadlock as such, just some bad coding.
SteveRegards,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