|
|
|
Forum 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.
|
|
|
|
|
SSCrazy
      
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"
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, April 18, 2013 8:27 AM
Points: 3,
Visits: 25
|
|
| ThanQ! This helps a great deal.
|
|
|
|
|
SSCertifiable
       
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"
|
|
|
|