Solved

sql server 2008 r2 tempdb- limit size

Posted on 2013-12-01
1
792 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

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.

Join & Write a Comment

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

747 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

12 Experts available now in Live!

Get 1:1 Help Now