Re: Delete from takes a very, very long time
From: Steve Kass (skass_at_drew.edu)
Date: 02/16/05
- Next message: Babu M.K: "Re: How Can i Update many fields by using SQL"
- Previous message: Agnes: "Re: How Can i Update many fields by using SQL"
- In reply to: Joe: "Re: Delete from takes a very, very long time"
- Next in thread: pdxJaxon: "Re: Delete from takes a very, very long time"
- Reply: pdxJaxon: "Re: Delete from takes a very, very long time"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Feb 2005 00:13:17 -0500
Joe,
This thread is now very long, but you have yet to post
the actual query and table structures. Correct me if I'm wrong,
but I assume your table is not named mytable and your column
is not named mycol. Could you please post the actual
CREATE TABLE script for this table and any indexes or
constraints on it, along with the actual query
that is so slow, all cut and pasted into your post?
It would also help to see the CREATE statements for any
dependent objects, such as other tables with foreign key
constraints that reference this table or indexed views based
on this table.
The query plan for the DELETE query would also be
very useful to see, as would the result of running the
query after executing
SET STATISTICS IO ON
SK
Joe wrote:
>CONSTRAINT [PK_research] PRIMARY KEY CLUSTERED
>
>This is from the create script.
>
>Could it matter that I added 5 - 7 million records in one section and
>removed them in another 10-12 times?
>
>"pdxJaxon" <GregoryAJackson@Hotmail.com> wrote in message
>news:OJbA#d8EFHA.3672@TK2MSFTNGP14.phx.gbl...
>
>
>>I dont think this table has a clustered index on it
>>
>>the Scan Density doesnt make sense
>>
>>
>>GAJ
>>
>>
>>
>>
>
>
>
>
- Next message: Babu M.K: "Re: How Can i Update many fields by using SQL"
- Previous message: Agnes: "Re: How Can i Update many fields by using SQL"
- In reply to: Joe: "Re: Delete from takes a very, very long time"
- Next in thread: pdxJaxon: "Re: Delete from takes a very, very long time"
- Reply: pdxJaxon: "Re: Delete from takes a very, very long time"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|