top of page


Parameterization Part 1: Plan Caching
Many times, when I perform query tuning, the problem that causes the query to perform badly is related, one way or another, to...

Madeira Team
Aug 18, 20145 min read


Let SQL Server Write Code for You
Introduction Many times I happen to find myself in a situation where, as a DBA, I need to write some long and cumbersome code (usually...

Madeira Team
Aug 4, 201413 min read
Things You Can Find in the Plan Cache at SQLBits
On Saturday, I had the pleasure to present my session, “Things You Can Find in the Plan Cache”, at SQLBits! Thanks to everyone who...

Madeira Team
Jul 19, 20141 min read


Track Incomplete Statements
What about when incomplete statements are sitting in your server, not moving, just hogging resources? Use this script for Extended Events...

Madeira Team
Jul 16, 20141 min read


Space Used by Database Files
Retrieve data about size and space used for all the files in the current database with this script. Some tips on database file size...

Madeira Team
Jun 24, 20141 min read


The 3 Factors That Will Get You a Job You’ll Love
It’s T-SQL Tuesday time, and this month’s host, Boris Hristov (blog|twitter) chose the topic of interviews. Over the time as a SQL Server...

Madeira Team
May 13, 20143 min read
Webcast – Small Changes Can Make a World of Difference
This Thursday, 10AM GMT, I will be hosted by Dell’s Richard Douglas (blog|twitter) for a webcast. I will present my session called “Small...

Madeira Team
Mar 18, 20141 min read


Windows Azure SQL Database
Ever needed to install and configure an SQL Server instance environment, including the operating system? If you asked me to estimate the...

Madeira Team
Mar 10, 20144 min read


A Community Challenge
Earlier this week, I delivered a presentation called “Query Progress Tracking in SQL Server” to my local user group. Among other...

Madeira Team
Mar 6, 20142 min read


Last Backup Times per Database and Backup Type
This script displays the last date and time of each backup type for each database. It’s useful when you need to know quickly when a...

Madeira Team
Feb 26, 20141 min read
bottom of page
