August 5, 2005 at 1:54 pm
I am pretty sure he is just suffering from heap fragmentation !!!
1 million rows is not supposed to bring the server down even with the subqueries we wrote !!!
My bet is that after he get ANY clustered index in things will change DRAMATICALLY
* Noel
August 5, 2005 at 2:01 pm
Well duh!!!
I bet more ram, faster drives and faster/more cpus could help too .
August 5, 2005 at 2:08 pm
ram, faster drives and faster/more cpus all cost $$
an index is FREE
* Noel
August 5, 2005 at 2:10 pm
FREE... but also much easier to implement, not to mention the right thing to do here .
August 5, 2005 at 2:12 pm
Sorry got caught up with other things.
Take the other index's off and maket he 1 clustered Noel?
August 5, 2005 at 2:13 pm
No just created the clustered in on those 2 fields. No need to change anything else at the moment.
August 5, 2005 at 2:15 pm
For the moment don't remove the others Just add the clustered!!
Like:
create unique clustered index IX_MY_UC on Yourtable(NumSet1,NumSet2) with fillfactor = 90
* Noel
August 5, 2005 at 2:15 pm
Running now......
August 5, 2005 at 2:16 pm
Man you are fast!!
* Noel
August 5, 2005 at 2:17 pm
Yup... leaving fast here too (1 hour early). I just I'll be able to do that when I work for you .
Ok now I'm really gone.
August 5, 2005 at 2:23 pm
Just stopped it on 10 minutes, no results, going to add the fill factor.
August 5, 2005 at 2:23 pm
Have a good weekend!!
We'll see about that!
* Noel
August 5, 2005 at 2:25 pm
How much memory do you have on the server ?
* Noel
August 5, 2005 at 2:30 pm
Going to stop and start sql services and free up some resources,
I think there is a gig, am going to go check.
August 5, 2005 at 2:43 pm
one more thing run UPDATE STATISTICS YourTableName WITH FULLSCAN
and Try again
if still slow can you post your execution plan ?
* Noel
Viewing 15 posts - 16 through 30 (of 33 total)
You must be logged in to reply to this topic. Login to reply