Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 22nd, 2004, 09:49 AM
Authorized User
 
Join Date: Jun 2003
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default Database Growth

Hi,

I've got a database with a client, it's not a big database around 2228 MB. They hav about 65 users entering data 5 days aweek, 8 hours a day. There are times during the day that the application using this database seems to slow down only for a few minutes and then returns to normal speed.

I was wondering if the cause of this was the filegrowth, it is currently set at 10%, unrestricted growth.

The question is what should this be set at, I seem to think that this should be at least 40%. This would allow the database to grow once maybe every couple of weeks rather than most days. Should I also apply the this to the transaction log as that is also set at 10%.

Thanks inadvance

Duncan
__________________
Duncan
 
Old November 22nd, 2004, 11:56 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

The appearance of slowing down happening at the same time everyday?
Check for automated jobs or automated process. Also check your database option for auto shrink. I could be that it goes off based on its internal schedule. If this is the case you may want schedule it when your system is not as active.

One of the best method is to profile your database to find out when and where performance is degrading.

Jaime E. Maccou
Applications Analyst
 
Old November 22nd, 2004, 12:02 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Also, check for what time of day it slows. Where I work at lunch time and 4:00 the network connection slows to a crawl.

 
Old November 22nd, 2004, 12:10 PM
Authorized User
 
Join Date: Jun 2003
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

There are no scheduled jobs running, it happens at various times, but usaully in the morning when most of the data entry work is done. Auto shrink is on, but as far as I know not sheduled to run at all.





Duncan
 
Old November 22nd, 2004, 02:20 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Duncan,

It is better to profile your database as Jemmac suggested, during when its performance is slow, to find which operation causes the slowness. That should put you on the right track.

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem to restore database in C#2005 database acmuralee MySQL 0 March 25th, 2008 04:42 AM
Microsoft JET Database Database Engine (0x80040E09 cannielynn0312 Classic ASP Professional 2 December 17th, 2007 02:50 AM
Copying Table From one Database To Anoter Database jayanth_nadig VB Databases Basics 1 June 19th, 2006 02:39 PM
Horizontal growth in Access Khalifeh Access 2 May 5th, 2004 12:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.