Tuesday, April 24, 2007

Care and Feeding of your MIIS SQL Server Database

So far the best presentation of the conference *sorry Brad
Highlights:
Clear out the run history of all your jobs. This can really impact your jobs if you let it get cluttered

Spedometer - Use PerfMon
MIIS Objects
For Imports Objects Read/Sec
Objects Synchronized/Sec
For Exports Objects Exported/Sec

But wait, there's a script: http://www.ilmbestpractices.com/Articles/Speed_of_Past_Runs

as tables grow - Page splits, fragmentation, more scans than seeks, growth of log and data files.

monitor with Page Splits/Sec in perf mon how do we avoid it

scan v seek you get more scans as get more fragmented indices

read entire tables versus using an index

monitor with PerfMon

Full Scans/Sec
Auto Create/Update stats are enabled

File Growth
if auto growth is enabled
clear run history script on website

http://www.ilmbestpractices.com

DBCC SHRINKDB('MicrosoftIdentityIntegrationServer', NO TRUNCATE)
maybe preset size if you can predict
Log file should be 1/4 of total data file
Transaction Log is key to performance as well


Recovery Models
Full - LOG EVERYTHING
Simple - only as good as last full or diff
Bulk Logged hardly ever used with MIIS - only good for bulk logged operations

Red Gate SQL Backup to compress backup files (compression eats CPU time but far less Disk IO

When you clear run history it will host your transaction log. Do this during a maintenance window and
a. Truncate log
b. Change to SImple Recovery Mode
c. Clear run history in small chunks
d. Then go to Full Recovery mode and Perform a Full Backup

you can also add some indices to better performance

indexdefrag on DB every month, index rebuild quarterly till SQL 2005 EE. With SQL2005EE we get to rebuild index with DB online as well as rebuild index in TempDB
http://www.sqlbestpractices.com

2 comments:

Anonymous said...

top [url=http://www.001casino.com/]online casinos[/url] coincide the latest [url=http://www.casinolasvegass.com/]free casino bonus[/url] manumitted no set aside reward at the best [url=http://www.baywatchcasino.com/]casino
[/url].

Anonymous said...

[url=http://www.realcazinoz.com]casino[/url], also known as reasonable casinos or Internet casinos, are online versions of acknowledged ("crony and mortar") casinos. Online casinos unskilful swift gamblers to assess as place in and wager on casino games in every nook the Internet.
Online casinos habitually upchuck up championing trade odds and payback percentages that are comparable to land-based casinos. Some online casinos underline on higher payback percentages as a countermeasure with a locale of upon performance gismo games, and some set in motion known payout section audits on their websites. Assuming that the online casino is using an fittingly programmed unspecific theatre-in-the-round troupe generator, itemize games like blackjack clothed an established congress edge. The payout divvy up voyage of discovery of these games are established in the future the rules of the game.
Varying online casinos haul together or embrace their software from companies like Microgaming, Realtime Gaming, Playtech, Supranational Cunning Technology and CryptoLogic Inc.