dbTalk Databases Forums  

RE: SQL 2000 SERVER - BIG PROBLEM WITH BIG DATABASE :-(

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss RE: SQL 2000 SERVER - BIG PROBLEM WITH BIG DATABASE :-( in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Giri
 
Posts: n/a

Default RE: SQL 2000 SERVER - BIG PROBLEM WITH BIG DATABASE :-( - 03-27-2010 , 12:05 AM






You can set Autoshrink by using following system stored procedure.
Exec Sp_dboption 'Tempdb', 'Autoshrink', 'True'

From http://www.developmentnow.com/g/95_2...-DATABASE-.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default RE: SQL 2000 SERVER - BIG PROBLEM WITH BIG DATABASE :-( - 03-27-2010 , 04:09 AM






Giri (girijesh.ipec (AT) gmail (DOT) com) writes:
Quote:
You can set Autoshrink by using following system stored procedure.
Exec Sp_dboption 'Tempdb', 'Autoshrink', 'True'
But don't do that! Autoshrink is a completely evil option. Shrinking databases should be done sparingly, and not at whim. And least of
all automatically.

This Connect item calls for deprecation of Autoshrink as well as some
more bad shrinking options.
https://connect.microsoft.com/SQLSer...tabase-options


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.