How to start SQL Server with desired size of tempdb?

  • Normally, when SQL Server start, tempdb will be re-created with default size. How to change the default size?

    Many thanks in advance.

  • Pretty sure you just set it's size in Enterprise manager:

    right click on tempdb in EM and choose properties....

    Click the Data File tab; my db was defaulted to 8meg; changed it to 80 meg.

    stopped and started the server (because tempdb is rebuilt on every start/stop)

    checked it's size: still 80 meg i defined.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Thank you so much for your input. I thought tempdb would be created always with the default size, 8 MB.

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

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