Hi I've stumbled into the administration of a Legacy SQL 2000 server that has had next to no maintenance for the past 8 years (and is very slow). As I have only been doing DBA / PT for the past 2 years (I'm primarily a Developer) I don't have allot of experience on 2000. Can anyone point me in the direction of some maintenance, tuning scripts. Just figured I'd ask first before I reinvent the wheel for something I will rarely use.
Thanks Guys / Girls !
Best Answer
Only recently waved goodbye to the last SQL2K server I looked after, so have a few scripts in the toolbox still. You could also root around in the SSC scripts archive.
Here's an old index maintenance script by Kimberly Tripp:
Wait stats, the old way (not sure where this originated from):