A Shot of SQLEspresso

SQL Blogs by Monica Morehouse (Rathbun)

  • Home
  • Session Downloads
  • Event Calendar
  • PASS
    • Hampton Roads SQL User Group
    • SQL Saturday
    • PASS WIT VC
  • DCAC
  • Contact Me
    • Disclaimer
  • Home
  • Session Downloads
  • Event Calendar
  • PASS
    • Hampton Roads SQL User Group
    • SQL Saturday
    • PASS WIT VC
  • DCAC
  • Contact Me
    • Disclaimer

No Widgets found in the Sidebar Alt!

Scooby Dooing Episode 10: The Case of the Copy-and-Paste Consultant

read more

Scooby Dooing Episode 9: The Case of the Artificially Intelligent Villain

read more

The Case for Scooby-Dooing: Solving SQL Server Mysteries Like a Pro– Scooby Dooing Episode 8

read more

The Gang vs. Jason: Unmasking JSON’s Secrets in SQL Server 2025- Scooby Dooing Episode 7

read more

The Mystery of the Locked-Up Database -Scooby Dooing Episode 6

read more
Link 1
Azure Cloud Chronicles with Microsoft MVPs
Link 2
Data Exposed YouTube
Link 3
Paul Randals -SQL Server Wait Statistics Library
Link 4
Glenn Berry'd SQL Server Performance DMVs
Link 5
sp_whoisactive Download
  • Indexes,  New SQL Version

    New Resumable Online Index Create SQL Server 2019

    November 28, 2018 /

    SQL Server 2019 brings a very exciting new feature that, is long overdue. Resumable online index create is one of my favorite new things. This paired with the Resumable Index Rebuilds introduced with SQL Server 2017 really gives database administrators much more control over index processes. Have you ever started to build a new index on very large table only to have users call and complain their process is hung, not completing, or system is slow? That’s when you realize you’re the cause because you tried to sneak in a new index. I have many times, because creating a new index can impact performance and can be a problematic process…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    In Memory Table Indexes

    January 22, 2020

    Scooby-Doo and the Mystery of Cloud Costs (Let’s have some fun!) – Scooby Dooing Episode 1

    August 25, 2025

    Add Azure Cache for Redis to Your Azure SQL Performance Tuning Toolbox

    July 14, 2021
  • Performance Tuning

    How Much Will Compression Really Gain Me in SQL Server?

    October 31, 2018 /

    Did you know compression can gain you more than just space on a disk, it can allow you to fit more data into the buffer pool? That means queries have faster and more efficient reads which can help reduce I/O. It is a performance tool I highly recommend you consider for your environments. But how do you know how much compression savings you can gain? SQL Server gives you a handy system stored procedure sp_estimate_data_compression_savings that will help you calculate compression gains. It’s a great tool to use when trying to decide if compression is right for your environment and what type to use. This procedure allows you to estimate…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Sorting in Stored Procedures – Food for Thought

    January 29, 2020

    New Resumable Online Index Create SQL Server 2019

    November 28, 2018

    T-SQL Tuesday #84 – Helping New Speakers

    November 8, 2016
  • Performance Tuning

    Keeping Large Table Statistics Current -TF2371

    October 24, 2018 /

    Statistics are the magic ingredient that helps the query optimizer create its best guess for generating an execution plan. Keeping statistics as accurate as possible will give the optimizer the information it uses to calculate estimated costs and cardinality, which enables it to properly allocate resources such as memory grants. In this blog I am not going to go into what statistics are and how they are used. There are many great resources out there to read, I am however going to tell you about a trace flag that can help you with keeping your large table statistics up to date.  I will also explain why your statistics may not…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    November #SQLChat – How to Build your Name Recognition and SQL Network

    November 12, 2015

    Quick Tip: Remove CONVERT\CAST from your WHERE\JOIN clauses

    March 28, 2022

    Respectfully Responding

    June 14, 2018
  • Misc

    How to Start Speaking

    October 17, 2018 /

    At the last few events I attended, I’ve gotten into conversations on how to begin as a speaker. So I thought I’d share some of my advice that I provided to them. First and foremost, get your first talk scheduled. Reach out to your local user group and ask to be “penciled” in for a meeting a few months out. Giving yourself a goal and deadline is essential to putting yourself out there to speak. Next, write down ten topics you may want to speak on. Narrow down that list to five by thinking about what you would be most comfortable speaking about. Next look at your five topics and…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    T-SQL Tuesday #84 – Helping New Speakers

    November 8, 2016

    Attending Summit as a New Leader

    November 6, 2015

    SQL Server Updates Tricked Me for Years

    February 21, 2018
  • Performance Tuning

    SQL Server Data Collection and Management Data Warehouse

    October 3, 2018 /

    We all have the need to collect system and performance information regarding our SQL Servers. Some of us use third-party tools, SQL Trace, or a homegrown solution.  Did you know Microsoft has a built-in tool to help you accomplish this? It’s called Data Collection and the data it collects (collection sets) is stored in a relational Management Data Warehouse. The data collected is used to generate reports giving us in with very readable and useful insights to our servers. Not only can you get performance information, but you can also use SQL Profiler to export trace definition and create custom collection sets. This is not a new SQL Server feature,…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Invest in Yourself Stop Making Excuses

    October 22, 2019

    SQL Server Updates Tricked Me for Years

    February 21, 2018

    How to get started with Always Encrypted for Beginners Part 3: One Two Punch

    January 17, 2018
  • Back to Basics,  Configurations,  Posts with Scripts

    Cycle SQL Server Error Logs

    September 26, 2018 /

    I saw this again recently and see it too often in environments so wanted to take a second to remind everyone to cycle their error logs on a regular basis. SQL Server keeps error logs and when you reboot or restart SQL Server services the logs are cycled and a new one is created. Depending on how many logs you have configured for SQL Server to have this may include removal of the oldest log as well. Since many of pride ourselves on keeping our SQL Servers up and running, reboots may be few and far between thus our logs get large in size. When they grow out of control…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Template Explorer Gold Mine in SQL Server Management Studio

    March 27, 2018

    Save Money On Your Azure Monthly SQL Database Bill

    August 22, 2018

    It’s time to speak again!

    December 1, 2015
  • Back to Basics,  Configurations,  Performance Tuning

    Careful with your SQL Server Max Memory settings

    September 19, 2018 /

    Quite often I see database administrators set SQL Server max server memory thinking everything related to SQL Server uses this shared memory pool. This is a mistake. There are many things that rely on memory that are not part of SQL Server. Best practices state that you should leave memory allotted for the operating system. However, did you know that if you are running services like SSIS, SSAS or SSRS on the same server as the database engine that it does not use the same memory you have allocated for SQL Server? If the Max Memory setting is not configured correctly, these other serves could incur memory pressure.  While the…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    SQL Index Creation Using DROP EXISTING= ON

    February 17, 2021

    What SQL Server Performance & Management Tools Do I Use?

    September 4, 2019

    Everything is coming up ACE’s

    October 28, 2015
  • Encryption

    Back up Encryption for SQL Server

    September 5, 2018 /

    Nowadays security breaches happen way to frequently. As DBA’s we should all take extra care with sensitive data and ensure we are encrypting correctly. But some of us forget to take it a step farther and don’t encrypt our backups. For those working in an ultra data sensitive environment I highly recommend you go this extra step. As of SQL 2014, SQL Server now has the ability to encrypt your data during the backup process. Not only that but they have made the process simple. Prior to 2014, the only way to encrypt backups was Transparent Data Encryption (TDE), and that requires Enterprise Edition which made this out of reach for most. First…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Approximate COUNT DISTINCT

    January 3, 2019

    SQL Index Creation Using DROP EXISTING= ON

    February 17, 2021

    Comparing Execution Plans

    June 19, 2019
  • Azure,  Performance Tuning

    What is Automatic Tuning in Azure SQL Database

    August 28, 2018 /

    Microsoft has long given us DBA tools and suggestions to help tune databases, to fix queries with indexes, and many times they were of questionable merit. We have all seen the dreaded dta_index names in a database and rolled our eyes knowing that sometimes these indexes are not what is needed. While the Database Tuning Advisor, has gotten better over time it is still not a tool more senior DBAs use. Microsoft made big steps in helping DBAs with performance with the introduction of Query Store in both Azure SQL Database and SQL Server 2016. Query Store collects execution and run-time performance information.  Microsoft has taken an additional leap with…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    TIL: Microsoft Azure Part 1

    May 17, 2017

    Hide and Group Columns in SSRS Using a Parameter

    December 9, 2016

    Caution When Dropping Unused Indexes on an Azure SQL Database

    August 12, 2020
  • Azure

    Save Money On Your Azure Monthly SQL Database Bill

    August 22, 2018 /

    Microsoft gives you two purchasing models for your Azure SQL Databases (SQL DB), a DTU and a vCore based model (logical CPU’s). Both options allow you to scale up or down based on your compute and storage requirements. Regardless of which model you choose performance tuning can save you money using SQL DB. DTU (s) (Database Transaction Units) measure  “a blended measure of CPU, memory, and data I/O and transaction log I/O” that Microsoft uses to help estimate which DTU based Service Tier you should be using. By reducing your I/O, memory or CPU consumption you utilize less DTUs or cores and thus can step down service tiers. Stepping down service…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Understanding Columnstore Indexes in SQL Server Part 3

    July 17, 2019

    The Case for Scooby-Dooing: Solving SQL Server Mysteries Like a Pro– Scooby Dooing Episode 8

    October 8, 2025

    Change Azure SQL Database Service Level Objectives in SSMS

    August 28, 2020
7891011

About Me

Monica Morehouse (Rathbun)

Microsoft MVP, Performancing Tuning Expert, Leader Hampton Roads SQL Server User Group, Read More…

Consulting

Sessions List

Favorite Tidbits

  • Reminder to Developers

Topic Categories

  • Azure
  • Back to Basics
  • Configurations
  • Data Masking
  • DevOps
  • Encryption
  • Idera Ace
  • Important Links
  • Indexes
  • Lone DBA
  • Misc
  • MVP
  • New SQL Version
  • Performance Tuning
  • Posts with Scripts
  • Problems & Solutions
  • Quick and Dirty
  • Security
  • Speaking
  • SQL Family
  • SQLSaturday
  • SSRS
  • Summit
  • Training
  • TSQL Tuesday
  • Uncategorized

Top Posts & Pages

  • SQL Index Creation Using DROP EXISTING= ON
    SQL Index Creation Using DROP EXISTING= ON
  • It's All in the Name, Index Naming Conventions
    It's All in the Name, Index Naming Conventions
  • What’s a Key Lookup?
    What’s a Key Lookup?
  • Ruh-Roh! SQL Server 2025 Finally Brings Us a Free Standard Developer Edition -  Scooby Dooing Episode 2
    Ruh-Roh! SQL Server 2025 Finally Brings Us a Free Standard Developer Edition - Scooby Dooing Episode 2
  • Memory Optimized Tables in SQL Server
    Memory Optimized Tables in SQL Server
  • VLFs the Forgotten Foe
    VLFs the Forgotten Foe
  • Understanding Columnstore Indexes in SQL Server Part 3
    Understanding Columnstore Indexes in SQL Server Part 3
  • Back up Encryption for SQL Server
    Back up Encryption for SQL Server
  • The Mystery of SQL Server 2025’s New Tricks - Scooby Dooing Episode 5
    The Mystery of SQL Server 2025’s New Tricks - Scooby Dooing Episode 5
  • Initial SQL Server Configurations
    Initial SQL Server Configurations
Graceful Pro Theme by Optima Themes - 2026 ©
 

Loading Comments...