October 24, 2007 at 2:19 am
I have one server running SQL 2000, it has two databases;
1) On DB1, I have a stored proc that simply adds a single record into a table (primary key is an 'identity' column). The stored proc is called from a classic ASP application using ADO, it inserts on average 100 records per hour (every hour) and take milliseconds to execute.
2) On DB2, I have a large BCP routine (4gb file, 5 million records, with a BCP batch size of 100000) inserting records into a table. This routine is run once a day and takes approx 1 hour to execute.
The problem I have is that my stored proc on DB1 will occasionally timeout (average of 5% of the time) when it is executed at the same time as the BCP routine is executing. When the BCP stops running the stored proc never experiences any timeouts.
NOTE: The stored proc and BCP routines are independent of each other, the only thing they share in common are they both operate on the same instance of SQL server.
Can anyone suggest why this is happening?
October 24, 2007 at 2:55 am
Hi
Just a guess...
Maybe sql is running out of memory or the cpu is being heavily used by the BCP statement.
"Keep Trying"
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply