Solved

sql server 2008 r2 tempdb- limit size

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

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…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

828 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