December 10, 2009 – 12:44 pm
SQL Server 2008 TuningFor an OLTP workload, start with the following advanced SQL Server 2008tuning recommendations. Some are from Microsoft, others are just good practices. Run these as queries in the Microsoft SQL Server Management Studio UI:USE masterEXEC sp_configure 'show advanced options', 1RECONFIGURE WITH OVERRIDE(the above must be run first before any advanced tuning parameters can be set)sp_configure 'awe enabled', 1goRECONFIGUREgosp_configure 'cost threshold for parallelism', 5goRECONFIGUREgosp_configure 'cost threshold for parallelism', 5goRECONFIGUREgosp_configure 'fill factor', 80goRECONFIGUREgosp_configure 'index create memory',
1000goRECONFIGUREgosp_configure 'lightweight pooling', 1goRECONFIGUREgosp_configure 'locks', 10000000 /* 10 million */goRECONFIGUREgosp_configure 'max degree of parallelism', 16 /* we have 16 lcpu */goRECONFIGUREgosp_configure 'min server memory', 1000goRECONFIGUREgosp_configure 'max worker threads', 704goRECONFIGUREgosp_configure 'min memory per query', 2048goRECONFIGUREgosp_configure 'network packet size', 4096 /* to match jdbc settings */goRECONFIGUREgosp_configure 'priority boost', 1goRECONFIGUREgosp_configure 'user connections', 1000goRECONFIGUREgo.pw.
Posted in Uncategorized | No Comments »