No space inTemp DB

  • Hello Friends,

    I am newbie to SQL server. When a procedure is run, an error is thrown as mentioned. Could anyone suggest a solution to this.

    Thanks in advance.

  • Increase the disk space of the TempDB

    right click the tempdb, go to properties

    at the data files tab,




    My Blog: http://dineshasanka.spaces.live.com/

  • You can always increase the size of TempDB but you should be asking why is it growing?

    How big is TempDB and where is it currently stored, do you have room to grow, what is this process that requiring TempDB to grow?    Right click tempdb go to property or from Query analyzer run sp_helpdb 'tempdb' .

    Regards,

    Zach

     


    John Zacharkan

  •  

    H!!,

     

    you can move tempdb to a diffrent drive with more space using the command listed below..

     

    USE master

    go

    ALTER DATABASE tempdb MODIFY FILE (NAME = tempdev, FILENAME =

    'D:\mssql\data\\tempdb.mdf')

    go

    ALTER DATABASE tempdb MODIFY FILE (NAME = templog, FILENAME =

    'E:\mssql\data\templog.ldf')

    go

    regards,

     

    Vinod (DBA)

    HTC Global Services

    Ph 09840856202

  • Moving it to another drive and increasing it's size is a workaround.  Follow Zach's advice and find out why it is growing first.  If you cant control that, you will always run out of room.

    Kindest Regards,
    David

    ** Obstacles are those frightening things that appear when we take our eyes off the goal. **

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

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