Click here to Skip to main content
15,898,035 members
Home / Discussions / Database
   

Database

 
QuestionSQL Perfomance severe decline, why? Pin
alexvw11-Dec-07 16:05
alexvw11-Dec-07 16:05 
GeneralRe: SQL Perfomance severe decline, why? Pin
SimulationofSai11-Dec-07 21:55
SimulationofSai11-Dec-07 21:55 
GeneralRe: SQL Perfomance severe decline, why? Pin
alexvw12-Dec-07 2:07
alexvw12-Dec-07 2:07 
GeneralRe: SQL Perfomance severe decline, why? Pin
Paddy Boyd12-Dec-07 5:39
Paddy Boyd12-Dec-07 5:39 
GeneralRe: SQL Perfomance severe decline, why? Pin
alexvw12-Dec-07 8:53
alexvw12-Dec-07 8:53 
GeneralRe: SQL Perfomance severe decline, why? Pin
Paddy Boyd12-Dec-07 21:18
Paddy Boyd12-Dec-07 21:18 
GeneralRe: SQL Perfomance severe decline, why? Pin
alexvw13-Dec-07 0:41
alexvw13-Dec-07 0:41 
GeneralRe: SQL Perfomance severe decline, why? Pin
Mike Dimmick13-Dec-07 5:08
Mike Dimmick13-Dec-07 5:08 
My guess is that you have automatic growth turned on. The stall happens when you run out of capacity in the database and the server grows the data file.

In any production server you should dedicate a disk (array) to the database, set the file to the entire size of the disk (array), and turn off automatic growth. You should then monitor the usage of the file to determine when to expand onto more disks, and to ensure that your archiving and cleanup solution - you do have one, right? - is running sufficiently frequently.

Further, you should dedicate another disk (array) to the transaction log in the same way. Ensure that no other I/Os target this drive - for best performance, you need the disk head to remain in the correct position for writing the next log record. You should ensure that you back up the transaction log regularly so that there is spare log capacity. Not backing up the log will eventually cause the database to fail as there is no more space for the log to expand into. For a production system I would advise NOT using the Simple recovery model - this model does not offer recovery to point of failure in the case of a lost or corrupted data file. If you're going to use a RAID array for failover, stick with RAID 1 (mirroring) - you get no performance benefit with striping. Particularly avoid RAID 5 which has nasty overhead.

DoEvents: Generating unexpected recursion since 1991

GeneralRe: SQL Perfomance severe decline, why? Pin
alexvw13-Dec-07 14:18
alexvw13-Dec-07 14:18 
GeneralSQL Server 2005 Tuning Book Pin
Brendan Vogt11-Dec-07 10:35
Brendan Vogt11-Dec-07 10:35 
GeneralRe: SQL Server 2005 Tuning Book Pin
John_Adams11-Dec-07 19:26
John_Adams11-Dec-07 19:26 
Generalint vs smallint Pin
Brendan Vogt11-Dec-07 10:28
Brendan Vogt11-Dec-07 10:28 
GeneralRe: int vs smallint Pin
pmarfleet11-Dec-07 11:02
pmarfleet11-Dec-07 11:02 
GeneralResults Pin
KreativeKai11-Dec-07 8:42
professionalKreativeKai11-Dec-07 8:42 
GeneralRe: Results Pin
pmarfleet11-Dec-07 9:03
pmarfleet11-Dec-07 9:03 
GeneralRe: Results Pin
KreativeKai11-Dec-07 9:27
professionalKreativeKai11-Dec-07 9:27 
GeneralRe: Results Pin
pmarfleet11-Dec-07 10:31
pmarfleet11-Dec-07 10:31 
General[T-SQL] Delete trigger. [modified] Pin
MY120111-Dec-07 2:51
MY120111-Dec-07 2:51 
GeneralRe: [T-SQL] Delete trigger. Pin
Mark J. Miller11-Dec-07 7:21
Mark J. Miller11-Dec-07 7:21 
GeneralRe: [T-SQL] Delete trigger. [modified] Pin
MY120111-Dec-07 23:18
MY120111-Dec-07 23:18 
QuestionSQL Server 2005 Default Database folder Pin
Steven J Jowett11-Dec-07 1:10
Steven J Jowett11-Dec-07 1:10 
GeneralRe: SQL Server 2005 Default Database folder Pin
Steven J Jowett11-Dec-07 1:14
Steven J Jowett11-Dec-07 1:14 
GeneralGUID - SQL Server 2005 Pin
N a v a n e e t h10-Dec-07 23:32
N a v a n e e t h10-Dec-07 23:32 
GeneralRe: GUID - SQL Server 2005 Pin
SimulationofSai11-Dec-07 0:40
SimulationofSai11-Dec-07 0:40 
GeneralRe: GUID - SQL Server 2005 Pin
Pete O'Hanlon11-Dec-07 9:25
mvePete O'Hanlon11-Dec-07 9:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.