Sql-Server

Category: sql-server

IO Patterns for Index Seeks: There May be a Lot of Read Ahead Reads

IO Patterns for Index Seeks: There May be a Lot of Read Ahead Reads

on October 4, 2017

I received a question recently asking about disk access patterns for index seeks in SQL Server. The question suggested that index seeks would have a random read pattern.

Is this necessarily the case?

Continue reading

New Free Webcasts for November and December 2017

New Free Webcasts for November and December 2017

By Kendra Little on September 28, 2017

I’ve Just Scheduled a Whole Batch o’ Free Webcasts!

Webcasts are held on Thursdays at 9 AM Pacific / noon Eastern / 4 pm UTC.

Here’s the upcoming slate of topics:

  • Oct 5 – RCSI and Snapshot Isolation
  • Oct 19 – Pressure Testing Memory
  • Oct 26 – What’s REALLY in That Index?
  • Nov 9 – Filtered Columnstore Indexes
  • Nov 16 – Defragging: Reorg or Rebuild?
  • Nov 30 – In-Memory Indexes & Isolation
  • Dec 7 – Indexing for Windowing Functions
  • Dec 14 – Serializable & Repeatable Read

I can’t wait to put together these presentations, and I hope to see you on Thursdays!

Continue reading

SSMS Shortcuts & Secrets - Live Webcast Edition (video)

SSMS Shortcuts & Secrets - Live Webcast Edition (video)

on September 11, 2017

Category: ssms , sql-server
Tags: ssms

Last week, I had a great time giving a webcast for the terrific DBA Fundamentals Virtual Chapter. If you like free online training, check them out and sign up for future events.

Continue reading

Shortcut Update: Toggling Intellisense in SSMS

Shortcut Update: Toggling Intellisense in SSMS

By Kendra Little on September 6, 2017

I like to use the keyboard whenever I can in SQL Server Management Studio. It’s not always easy to remember every shortcut though– especially when those shortcuts change!

Since around the SQL Server 2012 era, you’ve been able to switch Intellisense on or  off on SSMS with the shortcut chord: CTRL + Q, CTRL + I. I remembered this as “Control Quacky Intellisense.”

Continue reading

Running SQL Server in a Docker Container on a Mac

Running SQL Server in a Docker Container on a Mac

A user recently asked me what a good use case might be to run SQL Server on Linux in a Docker container.

Continue reading

The COMPRESS() TSQL Function in SQL Server 2016+

The COMPRESS() TSQL Function in SQL Server 2016+

on July 31, 2017

Category: sql-server

One cool little feature in SQL Server 2016 is COMPRESS(). It’s a TSQL function available in all editions that shrinks down data using the GZIP algorithm (documentation).

Continue reading

IF Statement Branching and Parameter Sniffing

IF Statement Branching and Parameter Sniffing

on July 12, 2017

It can be tricky to remember that SQL Server doesn’t short circuit on IF statements in stored procedures. Even when you know this, sometimes it’s hard to recognize the impacts.

Continue reading