Whoops there goes more drive space

  • The mess I've inherited:

    WS2K3 / SQL Server 2K5 installed on c:

    A few pretty big databases 3 x 200GB, data on d: logs on e:

    Somehow poorly written queries seem to consume gigs of space on c: How can that be? Data is on D & E. A reboot reclaims the space.

    Sorry if this is boring stuff. I'm a programmer. I write code. I know MSSQL well enough to write some pretty dang good queries. But this DBA stuff has me baffled. Love to tackle it if I can get some time away from the burning fires and the smell of flesh.

    Any insight on my dilema, and maybe a book recommedation for me? Something along the lines of "so you wanna be dba", or "so now you own the data".

    Thanks in advance for any help you might have to offer.

    .

  • I would check for the location of the system databases, specifically tempdb. It sounds like this is on the default C drive and growing with your big queries.

    I would move it (Tempdb) if at all possible (and definitely move it's log to a different drive to it's data). ALTER DATABASE in Books on line describes the procedure for moving it.

    Mike

  • Yes I agree with Mike, tempdb might be installed in C: drive, move it to D: drive. Refer the below article for the same.

    Moving system db's

  • I would suggest to move TEMPDB on yet another separate drive. One drive for data, one for logs, one for TEMPDB, that worked best for us.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply