Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 help! problem with updation

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-04-25 : 08:18:08
juleeus writes "Hi everyone,

I have got a table leads.dbo.auction (million record approx.)which consist a field "phone" (varchar), now i am performing an delete command with other database where i have 20 Tables named as dnc1,dnc2....dnc20 (each consist of a million record)
I have indexed both set of tables before running the deletion command, which is

delete * from leads.dbo.auction where phone in(select phone in dnc.dbo.dnc1)
delete * from leads.dbo.auction where phone in(select phone in dnc.dbo.dnc2).... dnc20

now the process is so time taking it is taking good damn time of about 4 hours

is there any way out to speed up the process?

plz help"

mr_mist
Grunnio

1870 Posts

Posted - 2005-04-25 : 08:33:38
Well what is your indexing like? Do both tables have indexes on the phone columns?

Add more processors to your SQL box, more ram, faster disks...

-------
Moo. :)
Go to Top of Page
   

- Advertisement -