Solved

sql server 2008 r2 tempdb- limit size

Posted on 2013-12-01
1
799 Views
Last Modified: 2013-12-08
Hi,

Running bulk operations increase sql server 2008 tempdb size a lot. Is there anyway to put a limit on its size? I dont mind opertions getting slow.
0
Comment
Question by:baberamin
1 Comment
 
LVL 9

Accepted Solution

by:
QuinnDex earned 500 total points
ID: 39688010
Set the recovery model of tempdb to SIMPLE. This model automatically reclaims log space to keep space requirements small.

to switch recovery model

Use ALTER DATABASE, as follows:

USE master;

ALTER DATABASE database_name SET RECOVERY SIMPLE;

Open in new window



thing to consider before changing to simple recovery

http://technet.microsoft.com/en-us/library/ms190203%28v=sql.105%29.aspx
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

25 Experts available now in Live!

Get 1:1 Help Now