Dynamics User Group
Since 1995 - The Microsoft Dynamics Online User Community

Performance Issue

rated by 0 users
This post has 4 Replies | 2 Followers

Not Ranked
Posts 2
Points 85
Member since 05-29-2007
himadri_blore Posted: 08-16-2007 17:10

We have implemented customized Navision application at one of our client’s place. The par day transaction is very high. The approximate estimation is as follows:

 Customer Card creation: 150-200 ,Sales Order Booking: 400 .

Initially the performance was good but now the retrieval of date and inserting the date through application is getting very slow. Client is using SQL Server 2005. Total disk space allotted for Navision Database is 97 GB, now the free disk space is only 6 GB. One log file Database_log.ldf is taking maximum disk space of 66 GB (approx.). Please help me out if anybody has any idea how to handle this situation to increase the performance issue. Can the log file be compressed / delete to increase the database space? Is there any option in SQL Server 2005 to handle this situation?

Top 10 Contributor
Male
Posts 931
Points 11,920
Member since 12-18-2000
DynamicsNAVMVP
Moderator

Hi!

Welcome to dynamicsusers.net Party!!!

Please, search the forums for "SQL Performance" and you'll see, that these issues are actually permanetly discussed. Performance Optimization of NAV on SQL Server is a complex task, and you will get "gazillions" of valuable advice!

Good Luck!

Jörg

Jörg A. Stryk
STRYK System Improvement
Performance Optimization & Troubleshooting
http://www.stryk.info

Top 50 Contributor
Male
Posts 315
Points 4,550
Member since 11-06-2005

As stated above you will find lots of information on SQL performance. If the post don't answer all your questions, or raise new ones, then post additonal questions.

 I would not consider 400 Sales Orders a day to be a very high transaction level. Unless you are talking about orders with several hundred lines.

 

Top 10 Contributor
Male
Posts 1,363
Points 17,805
Member since 01-23-2004
DynamicsNAVMVP

Slowing down databases is a classic sign that your database is not maintained. For sure you need to set up proper maintenance on your SQL Server database. There's tons of information about proper maintenance on this forum and on mibuso.com, and there are plenty of freelancers around here who will be happy to help you out for a fee.

As far as your database file... What can I say.... if your database is 97 GB and growing, and your disk space is running out, you need to expand your disc space. We could talk about possibly reducing the size of your data files by doing index tweaking and running routines to remove empty SIFT records, but that won't solve the issue of you not having enonugh disk space. Especially in the short run, you will need to increase your disc space, or have your database come to a halt when it reaches the maximum size.

As far as your log file... Transaction logs should not grow to that size (of course depending on transaction volume and frequency of backups), and it is easy to control the transaction log size by implementing proper backup plans. In simple recovery model, a full SQL Server backup truncates the transaction log, and in the other recovery models you need to run a transaction log backup to accomplish this. Also check out Books Online (Start, All Programs, SQL Server, Books Online) and search for 'truncate transaction log', and it will give you an idea of how to empty out the transaction log. Be careful though, you can really screw up your database is you don't know what you're doing.

It sounds to me though that you would be better served with a person who can help you with all of this. Get an expert into your office and have them walk you through these things, and help you understand what to do and how to do it.

Top 200 Contributor
Male
Posts 88
Points 670
Member since 04-30-2007
Moderator

Moved to the SQL Forum
Dynamics User Group Spread the word, add this snippet of code to your web site and help promote this site: Dynamics User Group, Since 1995 - the Microsoft Dynamics Online User Community Report site problems to Dynamics User
  • | Post Points: 5
Page 1 of 1 (5 items) | RSS


Copyright Dynamics User Group, 1995-2009, all rights reserved. The Dynamics User Group is not affiliated with Microsoft Corporation.