SQL Server Dual Processors INSERTS take long time
From: FandCDev2 (FandCDev2_at_discussions.microsoft.com)
Date: 01/13/05
- Next message: seeker53: "multiple inserted"
- Previous message: JimMc: "my SP slows after 1 minute"
- Next in thread: Ryan Hanisco: "Re: SQL Server Dual Processors INSERTS take long time"
- Reply: Ryan Hanisco: "Re: SQL Server Dual Processors INSERTS take long time"
- Reply: Andrew J. Kelly: "Re: SQL Server Dual Processors INSERTS take long time"
- Reply: Melih SARICA: "Re: SQL Server Dual Processors INSERTS take long time"
- Reply: Dan Guzman: "Re: SQL Server Dual Processors INSERTS take long time"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 Jan 2005 14:21:01 -0800
I've got a C# console app. that does around 300,000 inserts in a row. I know
this isn't the best way to do inserts, but for the app. design it is what we
need to do. I've set the Recovery Model to simple. When I run the app. on
my desktop (3Gh, 3Gig Ram, Win XP, etc..) it takes about 25min to complete.
When I run the app. on our server(Dual 3Gh, 4Gig RAM, seperate SCSI hard
drives for db(RAID 0) and OS, Windows 2000 Server) it takes over 3 hours.
I've verified every setting in SQL is configured the same, tried limiting SQL
to only 1 CPU, but haven't found anything. I've written small programs that
check file I/O times, and it is a lot faster on the server. I've tried doing
a bunch of DB SELECTS followed by DB INSERTS, and found that the SELECT
times are about par between my desktop and the server, but the INSERT times
are about 5 times higher.
- Next message: seeker53: "multiple inserted"
- Previous message: JimMc: "my SP slows after 1 minute"
- Next in thread: Ryan Hanisco: "Re: SQL Server Dual Processors INSERTS take long time"
- Reply: Ryan Hanisco: "Re: SQL Server Dual Processors INSERTS take long time"
- Reply: Andrew J. Kelly: "Re: SQL Server Dual Processors INSERTS take long time"
- Reply: Melih SARICA: "Re: SQL Server Dual Processors INSERTS take long time"
- Reply: Dan Guzman: "Re: SQL Server Dual Processors INSERTS take long time"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|