SQL Server 2000.
I have a table ~8 million records. I have a clustered index on the two fields that I use for querying parameters (idNum,qtrdt) -- and the queries are nice and fast.
I have a maintenance process where I need to delete all records in the table with qtrdt='yyyy-mm-dd'.
My question is -- the delete seems to be slow -- would indexing just on qtrdt help that speed? Or is that redundant based on my clustered index?
Thanks.
I have a table ~8 million records. I have a clustered index on the two fields that I use for querying parameters (idNum,qtrdt) -- and the queries are nice and fast.
I have a maintenance process where I need to delete all records in the table with qtrdt='yyyy-mm-dd'.
My question is -- the delete seems to be slow -- would indexing just on qtrdt help that speed? Or is that redundant based on my clustered index?
Thanks.