Advanced options
Enable and show advanced options
Section titled “Enable and show advanced options”Exec sp_configure 'show advanced options' ,1RECONFIGUREGO-- Show all configuresp_configureEnable backup compression default
Section titled “Enable backup compression default”Exec sp_configure 'backup compression default',1GORECONFIGURE;Enable cmd permission
Section titled “Enable cmd permission”EXEC sp_configure 'xp_cmdshell', 1GORECONFIGURESet default fill factor percent
Section titled “Set default fill factor percent”sp_configure 'fill factor', 100;GORECONFIGURE;The server must be restarted before the change can take effect.
Set system recovery interval
Section titled “Set system recovery interval”USE master;GO-- Set recovery every 3 minEXEC sp_configure 'recovery interval', '3';RECONFIGURE WITH OVERRIDE;Set max server memory size
Section titled “Set max server memory size”USE masterEXEC sp_configure 'max server memory (MB)', 64RECONFIGURE WITH OVERRIDESet number of checkpoint tasks
Section titled “Set number of checkpoint tasks”EXEC sp_configure "number of checkpoint tasks", 4