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!

  • Lone DBA

    Maintaining Balance

    January 24, 2018 /

    Last week, I got the chance to give my I’m It Survival Tips for the Lone DBA  in a webcast for the first time thanks to the PASS Women in Technology Virtual Chapter. This is by far my favorite session to give because it’s real life and can pertain to all us. Whether you are a Lone DBA or part of a team, we all encounter the struggles when handling a heavy work load. I always love the interactions I get from this session. It allows us to share our stories and learn from each other. As a Lone DBA you are on call 24/7. You are required to stop everything and fix things…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    SQL Server Vulnerability Assessment

    December 12, 2018

    Approximate COUNT DISTINCT

    January 3, 2019

    Free Training 24HOP

    April 18, 2018
  • Back to Basics,  Indexes

    It’s All in the Name, Index Naming Conventions

    January 10, 2018 /

    Awhile back, if you are on Twitter, you can probably recall my ranting about the 949 indexes I was reviewing. The process was to determine duplicate indexes and consolidate them or discard the unneeded ones. My ranting was not about the duplicates per se it was about the index names. It only takes a second to name an object with some name that tells what the thing is. Below I will show you some examples and give you an easy script that will help you generate your index names. Taking a little time to name things appropriately can go a long way, it can not only be time saving but…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

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

    January 17, 2018

    Synchronous VS Asynchronous Statistics Updates

    October 25, 2017

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

    November 4, 2025
  • Misc

    AHHH I need a Blog Topic!!!

    December 20, 2017 /

    One of the hardest things you can do as a blogger is to come up with a post topic. Do you make it simple for newbies, technical, or something personal?  After figuring out a topic, now you have to write.  However, there is a difference in what you say and what will people actually want to read. Blogging is not easy, but without it, all of our google searches to help solve problems would be much less fruitful.   It’s important to put your experience into written words to help others, and let’s be honest lots of us use out blog posts to remind ourselves of how we did the first…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Are My SQL Server Indexes Being Used?

    August 28, 2019

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

    October 17, 2025

    Master of None

    October 8, 2015
  • Back to Basics

    Thankful DBA

    November 22, 2017 /

    This week is Thanksgiving in the United States, so I thought it fitting to write a quick blog on what I am thankful for as a DBA. These are in no particular order and feel free to respond with something you are thankful for. I’d love to hear it. Glenn Berry’s Diagnostic Scripts- (B|T) Used these for years. Really a great set of scripts and explanations that we all should be grateful for. Ola Hallengren’s (B) Maintenance scripts. Index Optimization, Backup, and Integrity Checks for all! They have become an industry standard and continue to get better and better. RCSI (Read Committed Snapshot Isolation) –My Readers can stop blocking Writers! Thanks…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Install ALL Things SQL Server… What?

    November 26, 2019

    T-SQL Tuesday #84 – Helping New Speakers

    November 8, 2016

    SQL Server Vulnerability Assessment

    December 12, 2018
  • Back to Basics,  Posts with Scripts,  Quick and Dirty

    Quick Model Database Tidbit

    October 30, 2017 /

    Are you using your Model Database to its full potential? I am finding more and more that Database Admins are not using the Model database to its fullest potential and some not at all. What is that Model Database for? The model database is basically the default setup (template) for all other databases created on a SQL Server instance. All databases created after install will inherit the properties of this database. Why Configure It? Using the model can insure consistency within your environment and is a quick way to automate your database setups. Below is a list of things I’ve used in my environments and others. Top (in no particular…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

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

    March 28, 2022

    System-Versioned Temporal Tables

    August 30, 2017

    Caution When Dropping Unused Indexes on an Azure SQL Database

    August 12, 2020
  • Back to Basics,  Performance Tuning

    Synchronous VS Asynchronous Statistics Updates

    October 25, 2017 /

    One of the things I’ve been able to implement to help with performance is changing from Update Statistics Synchronous to Auto Update Statistics Asynchronously. It’s a simple change that can have a big impact when implemented in highly transactional OLTP environments. Notice I said OLTP not OLAP, since data in an OLAP environment tends to not be as dynamic, so it’s rare to enable this in a data warehouse. So, what’s the difference between the two and why does it help? Synchronous (defaulted as AUTO_UPDATE_STATISTICS =TRUE) By default, when Auto Update Statistics is set to True, the SQL Server Query Optimizer will automatically update statistics when data has met a threshold…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Eliminating Unnecessary DELETE Operations

    February 27, 2025

    So How Did It Go?

    September 28, 2015

    Initial SQL Server Configurations

    October 19, 2015
  • Back to Basics,  Quick and Dirty

    Does Your Code Have a Preamble?

    October 18, 2017 /

    Okay, here is a pet peeve of mine, I think every stored procedure, function, view etc. should all contain a block of code I refer to as a preamble. If yours doesn’t I strongly recommend you start adding it. It drives me crazy when I see code with no documentation of any kind telling me what it is for and when it was written or changed. Why? A preamble documents the use, need, and changes for the code. It also leaves bread crumbs as to how why and what you did. I don’t know about you but I may code something and not have to change it for two years.…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

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

    October 1, 2025

    Quick Model Database Tidbit

    October 30, 2017

    Ruh-Roh! SQL Server 2025 Finally Brings Us a Free Standard Developer Edition – Scooby Dooing Episode 2

    August 28, 2025
  • Back to Basics

    Just Check ALL the Boxes – SQL Server Installs

    September 27, 2017 /

    Today I ran into something on a client server I unfortunately see too often.  The DBA goes through the trouble of configuring and setting up alerts\operators but doesn’t really understand what the options in the configurations mean. So unfortunately, that means they take the CYA (cover your ass) approach and they check all of them. Now, not only have I seen this with alerts but also with things like security configurations as well. My advice is to always in to take a second and research what each option is before you check the little boxes, especially when it comes to security. Always follow the rule of less is more. In…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    SQL Index Creation Using DROP EXISTING= ON

    February 17, 2021

    Does Your Code Have a Preamble?

    October 18, 2017

    Quick Model Database Tidbit

    October 30, 2017
  • Back to Basics,  Performance Tuning

    VLFs the Forgotten Foe

    August 23, 2017 /

    How many of you check the amount of Virtual Log Files (VLFs) your transaction logs have? Working as a consultant now, I see this as something that is often ignored by DBAs.  This is an easy thing maintain and yet so many don’t know how to. Keeping these in check can give you a performance boost not only on startup but with your insert/update/delete as well as backup/restore operations. SQL Server performs better with a smaller number of right sized virtual log files.  I highly recommend you add this to your server reviews. What is a VLF? Every transaction log is composed of smaller segments called virtual log files. Every…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Time for a Change

    April 17, 2017

    Caution When Dropping Unused Indexes on an Azure SQL Database

    August 12, 2020

    Keep It Simple Stupid

    July 24, 2019
  • Lone DBA

    Lone DBA Podcast

    April 3, 2017 /

    I recently had the pleasure of being a guest on a Podcast episode with the SQL Data Partners Carlos Chacon (B|T) and Steve Stedman (B|T).  If you haven’t had a chance to attend one of my sessions on Survival Tips for the Lone DBA, this is great insight into it. I share via questions and answers how it is to be a Lone DBA. http://sqldatapartners.com/2017/03/28/episode-89-lone-dba/

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Keep It Simple Stupid

    July 24, 2019

    Introduction to the performance features on SQL Server on Linux

    December 4, 2019

    The New Public Speaking

    April 29, 2020
1234

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

  • Resizing Tempdb (When TEMPDB Wont Shrink)
    Resizing Tempdb (When TEMPDB Wont Shrink)
  • What’s a Key Lookup?
    What’s a Key Lookup?
  • It's All in the Name, Index Naming Conventions
    It's All in the Name, Index Naming Conventions
  • Tempdb Performance Improvements in SQL Server 2022 are Dramatic
    Tempdb Performance Improvements in SQL Server 2022 are Dramatic
  • Memory Optimized Tables in SQL Server
    Memory Optimized Tables in SQL Server
  • How to get started with Always Encrypted for Beginners Part 1
    How to get started with Always Encrypted for Beginners Part 1
  • The Mystery of the Locked-Up Database -Scooby Dooing Episode 6
    The Mystery of the Locked-Up Database -Scooby Dooing Episode 6
  • Understanding Columnstore Indexes in SQL Server Part 2
    Understanding Columnstore Indexes in SQL Server Part 2
  • The Case for Scooby-Dooing: Solving SQL Server Mysteries Like a Pro– Scooby Dooing Episode 8
    The Case for Scooby-Dooing: Solving SQL Server Mysteries Like a Pro– Scooby Dooing Episode 8
  • DMV’s for the Beginner
    DMV’s for the Beginner
Graceful Pro Theme by Optima Themes - 2026 ©
 

Loading Comments...