This past Saturday, I gave a talk on SQL Server Replication Performance Tuning and Troubleshooting. The talk went great and everyone seemed to have learned alot. The attendance was great even though Buck Woody was talking next door. Tough competition!
I have attached my powerpoint deck of my talk to this post. Other good links for my custom replication scripts are:
Microsoft has published 157 great Power Point template examples and how to create cool effects to spice up our slide decks: http://blogs.msdn.com/inside_office_online/archive/2009/10/29/watch-ppt157-everything-in-this-video-is-a-powerpoint-template.aspx
I keep a folder on all my computer systems that store cool template files that I like and would want to re-use in the future.
Ever wanted to get an email summary of subscriptions that are behind a certain amount? This script can do it! Just setup as a job on your distributor and it will send you a summary email with how many commands are yet to be delivered in a table format for easy reading. Referenced prc_internalsendmail proc can be found on this site at: http://www.sqlwebpedia.com/content/automated-mail-profile-creation-and-send-mail-procedure
This proc will monitor for errors so you don't have to monitor Replication Monitor (Replmon) constantly, nor are you forced to use the inflexible builtin alerting. Schedule it as a job on your distributor box and it will email you only when there are errors. It will provide a code segment for you to run to see all the errors if there were multiple lines of errors, which is common, but the comments column should be enough to figure it out or at least point out that there is a problem.
This is the first installment of troubleshooting techniques at SQL University. I am your host, Chuck Lathrope (@SQLGuyChuck) and will be guiding you through some techniques I use every day. In coming articles, we’ll get into real world examples from my work life as a DBA.
I am finally getting around to publishing my ultimate Microsoft SQL Server Backup scripts. All told, it is about 1600 lines of code and it can do just about anything you would need for Native or Quest Litespeed backups.
Here are some examples so you get idea of its power.
Ganesh Kaliaperumal created a script to export schema to files for us to easily compare with WinMerge. Check out the options and modify as needed.
Call from powershell command line like so:
.\GenerateScript.ps1 "Servername" "Adventureworks" "c:\scripts\powershell\"
Kevin Kline (Twitter|@KeKline) wrote up an article on SQLPASS.org about learning opportunities and opensource education couseware. This was news to me that it even existed and I know a lot about free software! There is a consortium http://www.ocwconsortium.org that has a list of the major Universities that participate, including MIT. Very cool.