How to increase tempdb size in MSSQL 6.5

Posted on 2006-03-22
Last Modified: 2008-01-09
I need to increase the size of tempdb to 15MB in MSSQL 6.5. What is the command and syntax to do this?

Question by:valicon
    LVL 3

    Accepted Solution

    Ensuring Sufficient TempDB Space

    If errors occur while handling Recordset objects that need processing space on Microsoft SQL Server 6.5, you may need to increase the size of the TempDB. (Some queries require temporary processing space; for example, a query with an ORDER BY clause requires a sort of the Recordset, which requires some temporary space.)

    Important   Read through this procedure before performing the actions because it isn't as easy to shrink a device once it is expanded.

    Note   By default in Microsoft SQL Server 7.0 and later, TempDB is set to automatically grow as needed. Therefore, this procedure may only be necessary on servers running versions earlier than 7.0.
    To increase the TempDB space on SQL Server 6.5

    Start Microsoft® SQL Server Enterprise Manager, open the tree for the Server, and then open the Database Devices tree.
    Select a (physical) device to expand, such as Master, and double-click the device to open the Edit Database Device dialog box.

    This dialog box shows how much space the current databases are using.

    In the Size box, increase the device to the desired amount (for example, 50 megabytes (MB) of hard disk space).
    Click Change Now to increase the amount of space to which the (logical) TempDB can expand.

    Open the Databases tree on the server, and then double-click TempDB to open the Edit Database dialog box. The Database tab lists the amount of space currently allocated to TempDB (Data Size). By default, this is 2 MB.

    Under the Size group, click Expand. The graphs show the available and allocated space on each of the physical devices. The bars in maroon color represent available space.

    Select a Log Device, such as Master, to display the available size in the Size (MB) box.

    Click Expand Now to allocate that space to the TempDB database.

    The Edit Database dialog box displays the new allocated size for TempDB.

    LVL 12

    Author Comment

    Worked like a dream!  Thanks.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    I recently came across an interesting Question In EE ( and was puzzled about how to achieve that using SSIS out of the box tasks, which was i…
    This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
    Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
    Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now