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!

  • Performance Tuning,  Quick and Dirty

    Hmmm… What’s This? Date Correlation Optimization in SQL Server

    September 20, 2017 /

    OK So, I am doing some digging and peaking around again in SQL Server and came across a database option called Date Correlation Optimization Enabled = False. Honestly, I had no clue what it did, so I took it as a learning opportunity to look into it and do a little research. Who knows, it may actual help me solve one of the many problems I run into day to day for clients. Syntax ALTER DATABASE DEMO    SET DATE_CORRELATION_OPTIMIZATION ON; So, What Does It Do? According to MSDN – The DATE_CORRELATION_OPTIMIZATION database SET option improves the performance of queries that perform an equi-join between two tables whose date or datetime columns are correlated,…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Query Predicates in SQL Server

    May 24, 2018

    How Much Will Compression Really Gain Me in SQL Server?

    October 31, 2018

    It’s All in the Name, Index Naming Conventions

    January 10, 2018
  • Back to Basics

    What does this little check box do? Query Governor SQL Database Setting

    September 13, 2017 /

    Ever wander around SQL Server properties and wonder what these little check boxes turn on? I do, and I get very tempted to check them. Here is one of those tempting little boxes that seems pretty handy, Use query governor to prevent long running queries. Syntax EXEC sp_configure 'show advanced options', 1;  GO  RECONFIGURE ;  GO  EXEC sp_configure 'query governor cost limit', 180;  GO  RECONFIGURE;  GO How Does it Work? It’s simple. This option, available in SQL Server 2008 standard and forward, will prevent long running queries based on run time measured in seconds. If I specify a value of 180 the query governor will not allow any execution of…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Can You Hear It Now?

    January 31, 2018

    SQL Server Updates Tricked Me for Years

    February 21, 2018

    Understanding Columnstore Indexes in SQL Server Part 1

    June 26, 2019
  • Back to Basics

    Please Don’t Do This! Default Index Fill Factor

    September 6, 2017 /

    Please, please, please Admins do not leave your default index fill factor at 0. This means you are telling SQL Server to fill the page 100% full when creating indexes. This also means you are forcing it to a new page when additional inserts are done. These are called PAGE SPLITS which can take time to perform and is a resource intensive operation. Having a high fill factor will cause more index fragmentation, decrease performance and increase IO. If you find that this is how your system is configured, all is not lost. You can correct this by changing the default value so that new indexes will be created with…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Memory Optimized Tables in SQL Server

    January 8, 2020

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

    November 12, 2015

    Bloggers Should Have Reach

    February 14, 2018
  • New SQL Version

    System-Versioned Temporal Tables

    August 30, 2017 /

    Every once in a while, I like to take a moment and learn something new about the latest SQL Server gizmos and gadgets. Today I came across system-versioned temporal tables and it peeked my interest, so I figured I’d investigate and share my finding with you. How many of you have need to track data changes over time? I’ve needed this many times for things like auditing, investigating data changes, data fixes, and trend analysis of values over time. Having to do this is the past has been a very daunting task at times and sometimes nearly impossible. This is where system-versioned temporal tables will really help out. They have…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Being a Woman in the SQL Community

    February 26, 2020

    Can You Hear It Now?

    January 31, 2018

    QUICK & DIRTY: Table name change for all stored procedures

    December 10, 2015
  • 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

    Solving SQL Server Mysteries with a Whole Gang of Sleuths -Scooby Dooing Episode 4

    September 10, 2025

    Being a Woman in the SQL Community

    February 26, 2020

    Sorting in Stored Procedures – Food for Thought

    January 29, 2020
  • Azure

    TIL: Microsoft Azure Part 2

    May 24, 2017 /

    Last week I started a multi-part series on Today I Learned (TIL) about Microsoft Azure.  This is part two of what I am learning in Azure. Today’s topic is simply about Tenants, Subscriptions, Subscription Roles, Resource Groups, and Tags. It’s Always Good to Start with Pictures Here is a glimpse of how these topics relate. I will define and explain each below. What is a Tenant? In simplest terms, a Tenant is container for multiple subscriptions. An example of two subscriptions would be Azure and Office 365. They would be owned by one account, an individual or a company. A very large enterprise may use multiple subscriptions to better manage…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Importance of Statistics in SQL Server

    May 30, 2018

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

    January 17, 2018

    Approximate COUNT DISTINCT

    January 3, 2019
  • Azure

    TIL: Microsoft Azure Part 1

    May 17, 2017 /

    I thought maybe it would be a good idea to start a multi-part series on Today I Learned (TIL) about Microsoft Azure. As part of my new job I am currently learning as much about Azure as possible. As I learn things, I will blog to share what I am learning. It will cover beginner level things initially and gradually progress to more advanced topics. Today’s topic is simply…. What the heck is Azure, how do I get to it, and what is the difference between IaaS, PaaS, and SaaS? What is Azure? According to Microsoft. “Microsoft Azure is a growing collection of integrated cloud services that developers and IT professionals…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    SQL Server Vulnerability Assessment

    December 12, 2018

    The Case of the Forgotten Compatibility Mode – Scooby Dooing Episode 3

    September 3, 2025

    What SQL Server Performance & Management Tools Do I Use?

    September 4, 2019
  • Performance Tuning,  Uncategorized

    Blogging at SQLPerformance.com

    April 18, 2017 /

    I am honored to be a Guest Blogger at SQLPerformance.com. As a member of the SentryOne Product Advisory Council (PAC) I will be writing occasionally for the site. You can catch my first blog post It’s Not You It’s Me (I/O Troubleshooting) through simple changes. SQLPerformance.com is about providing innovative and practical solutions for improving SQL Server performance. Whether you are running a 3rd party application database where very little can be changed, or you are a DBA at a site where getting the application developers to change anything is next to impossible, they cover both the “how” and the “why.”

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Back up Encryption for SQL Server

    September 5, 2018

    Memory Optimized Tables in SQL Server

    January 8, 2020

    It’s All in the Name, Index Naming Conventions

    January 10, 2018
  • Lone DBA

    Time for a Change

    April 17, 2017 /

    I am ecstatic to say I have joined Denny Cherry and Associates Consulting. Lone No More I am happy, excited, and nostalgic to announce that I am hanging up my Lone DBA hat and becoming a consultant. Yep, you read that correctly, I’ve decided after 16 years that I am going to change things up a bit. I am switching gears and will be helping those who are Lone DBAs and others by lending them a hand with their work loads. Don’t get me wrong, I absolutely love being a Lone DBA. So, I will continue to speak on the topic and mentor others in that boat, but it’s time…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    SQL Data Discovery and Classification in SSMS 17.5

    December 5, 2018

    Understanding Columnstore Indexes in SQL Server Part 1

    June 26, 2019

    Trace Flags That Are Now Defaulted Behaviors in SQL Server

    December 18, 2019
  • MVP

    Among Giants

    April 5, 2017 /

    Since becoming a Database Administrator I’ve always looked at Microsoft MVP’s as the giants in our field.  I never once thought I could be among them. I am very humbled to be recognized as a Microsoft Data Platform MVP for 2017. Thank you to those that deemed me worthy enough to nominate me. What is an MVP? According to Microsoft, the MVP Award is an annual award that recognizes exceptional technology community leaders worldwide who actively share their high quality, real world expertise with users and Microsoft. Microsoft MVPs represent a highly select group of experts. MVPs share a deep commitment to community and a willingness to help others. How…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    What is Automatic Tuning in Azure SQL Database

    August 28, 2018

    Quick Model Database Tidbit

    October 30, 2017

    Filtered Index Basics

    May 22, 2019
1112131415

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)
  • DMV’s for the Beginner
    DMV’s for the Beginner
  • 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
  • Scooby Dooing Episode 10: The Case of the Copy-and-Paste Consultant
    Scooby Dooing Episode 10: The Case of the Copy-and-Paste Consultant
  • Initial SQL Server Configurations
    Initial SQL Server Configurations
  • Please Don’t Do This! Default Index Fill Factor
    Please Don’t Do This! Default Index Fill Factor
  • 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
  • The Mystery of the Locked-Up Database -Scooby Dooing Episode 6
    The Mystery of the Locked-Up Database -Scooby Dooing Episode 6
  • SSRS Report Won’t Render in VS Preview
    SSRS Report Won’t Render in VS Preview
Graceful Pro Theme by Optima Themes - 2026 ©
 

Loading Comments...