Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

adding space to tempdb Expand / Collapse
Author
Message
Posted Monday, January 07, 2013 7:16 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, April 18, 2013 8:27 AM
Points: 3, Visits: 25
In order to avoid any failure please add some space to tempDB database on xyz server. I am a new DBA, how to do step by step, please help!
I can't shrink the tempdb, either.
Post #1403589
Posted Monday, January 07, 2013 7:57 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, May 22, 2013 2:19 PM
Points: 2,037, Visits: 3,761
If you have more than one tempdb data file, be CERTAIN to size them the exact same size and make sure you do not have autogrowth set to ON, size them accordingly!
In Management Studio (or by right-clicking on the tempdb database in the GUI)
USE [master]
GO
ALTER DATABASE [tempdb] MODIFY FILE ( NAME = N'tempdb', SIZE = 84592640KB )
GO

The value in KB above is a value you will need to change based upon your preference and available space on the drive where your tempdb resides. Do not max out the drive space on the drive containing your tempdb


______________________________________________________________________________
"Never argue with an idiot; They'll drag you down to their level and beat you with experience"
Post #1403622
Posted Monday, January 07, 2013 7:23 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, April 18, 2013 8:27 AM
Points: 3, Visits: 25
ThanQ! This helps a great deal.
Post #1403944
Posted Tuesday, January 08, 2013 1:42 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 8:44 AM
Points: 5,204, Visits: 11,165
If you have more than one file restart the instance afterwards to kickstart the proportional fill from equal file sizes.

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1404047
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse