SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Insert statement wait time
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

brusson
Starting Member

United Kingdom
1 Posts

Posted - 07/05/2012 :  10:01:23  Show Profile  Reply with Quote
Hey guys,

I'm a s/w developer and we have a client where running insert statements into a SQL Server 2008 database seems to take a long time.
To run 1955 individual insert statements takes 55 seconds on my client's SQL Server however when we move the database to a simple USB pen drive (plugged into the SQL Server) the insert statement takes 25-30 seconds. I'm at a loss as to what is causing this problem.

I've analysed the client statistics (via Management Studio) on the inserts on each database and the "Wait time on server replies" is 13 on the USB but 37 on the server HDD.

The server has the below.

2-Quad-Core E5320 CPU’s, and a Smart Array E200i RAID controller and 2 x HP 146GB 10Krpm SAS Drives in RAID/1 configuration.

Does anyone have any suggestions as to what maybe making this write process so slow?

Thanks in advance,

Ben

visakh16
Very Important crosS Applying yaK Herder

India
47040 Posts

Posted - 07/05/2012 :  10:54:55  Show Profile  Reply with Quote
check DMV os wait stats and see what causes wait

http://blog.sqlauthority.com/2011/02/03/sql-server-dmv-sys-dm_os_wait_stats-explanation-wait-type-day-3-of-28/

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000