Re: Bulk insert slowing select in different DB?

From: Danny (istdrs_at_flash.net)
Date: 10/29/04


Date: Fri, 29 Oct 2004 11:29:00 GMT

Greg,

Thanks for responding. How would this make a difference when the two
processes run against different databases?

"Greg D. Moore (Strider)" <mooregr_deleteth1s@greenms.com> wrote in message
news:Ocjgd.339626$bp1.318672@twister.nyroc.rr.com...
>
> "Danny" <istdrs@flash.net> wrote in message
> news:uQXfd.18803$Ym1.2760@newssvr31.news.prodigy.com...
>> We have a SQL 2K standard sp3a box with 4 procs, 4GB ram, and IO on a
>> good
>> SAN. We had a situation where there were only two processes running on
>> server. Process one is a bulk insert into DB1. Process two is a simple
>> select in DB2 with join of 2000 rows with 3.5 million rows. The select
>> query plan is scan of the small table and a nested loop to an index seek
> on
>> the large table. Process two runs takes minutes where without the bulk
>> insert running takes seconds. Same query plan. CPU at 25%. Avg. Disk
>> Queue at fluctuating but averaging about 17.
>>
>> Any thoughts on how a bulk insert into a separate DB on the same server
>> could cause a 20 fold decrease in query performance?
>
> Check recovery type.
>
> Simple vs. bulk logged vs full will make a large difference.
>
>
>>
>> Thanks,
>> Danny
>>
>>
>
>



Relevant Pages

  • Bulk insert slowing select in different DB?
    ... We had a situation where there were only two processes running on ... Process one is a bulk insert into DB1. ... Same query plan. ... Any thoughts on how a bulk insert into a separate DB on the same server ...
    (microsoft.public.sqlserver)
  • Bulk Import Fails on Remote SQL Instance
    ... When using the Bulk Import cocmponent in an SSIS package, ... instance of SQL Server, fails. ...
    (microsoft.public.sqlserver.dts)
  • Re: VBA - Create a recordset with no records for inserting
    ... directly into the server, I can run a PROC that gets files from my desktop. ... The ServiceBroker will construct the dynamic SQL statement to BULK INSERT the ...
    (microsoft.public.data.ado)
  • Re: Email Help
    ... Some organizations use subdomains as an option for bulk mailing to ... IP address so if we don't run into the issue of having our main server ...
    (microsoft.public.exchange.admin)
  • Re: Access2SQL Performance Probleme
    ... >> SQL Server Schnittstelle wie bcp / BULK INSERT. ... die bereits in ODBC/DB-Library als bcp API existierte ...
    (microsoft.public.de.sqlserver)

Loading