SQL Database growth
Frekie
Member Posts: 19
Hey All -
we are investigating to move a customer's native 4.00.sp1 environment to an sql server based environment.
We have used technical upgrade procedure to 5.00 and have restored the native database into sql server.
We found the sql database to have twice the size of the native database which we more or less expected but after running the optimazation within navision it has doubled again. We are now left with a database which is too large to be handled by the system.
Does any one knows how to decrease the size of the actual database ?
Thanx for any input.
Frederik Vandersteene
we are investigating to move a customer's native 4.00.sp1 environment to an sql server based environment.
We have used technical upgrade procedure to 5.00 and have restored the native database into sql server.
We found the sql database to have twice the size of the native database which we more or less expected but after running the optimazation within navision it has doubled again. We are now left with a database which is too large to be handled by the system.
Does any one knows how to decrease the size of the actual database ?
Thanx for any input.
Frederik Vandersteene
0
Comments
-
I would expect some growth when moving to SQL but not to double in size. Unless there has been a lot of Sift added to the database. My gut feeling is this database is going to require ome performance tuning.There are no bugs - only undocumented features.0
-
If you created the SQL DB and you have not changed the Recovery mode to simple (it means it is still FULL), it means that every transaction is recorded in the Transaction log. And if you are not backing up the transaction log, it will grow and grow... Switch to simple mode and Shrink the transaction log using the SQL Management Studio...0
-
Or... keep it at full and put a proper backup schedule in place.
By the way, you can check the setup of the files by running the disk usage report. In SSMS, right click your NAV database, open the Reports selection, then the Standard Reports selection and then select 'Disk Usage'. It might take a few seconds to come up, but it will show you a graphical representation of the data files of your database.0 -
I'm not sure if it is a requirement of the upgrade procedure from 4.0 to 5.0, but I would also be wary of the optimize function within Navision. It can cause problems with the SIFT tables.
http://www.mibuso.com/forum/viewtopic.php?t=244540 -
I have found the log file after conversion can be larger than the data files, so the first thing I do after a conversion is truncate the log file. If it is production, I will make a SQL backup first.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
- 329 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

