Kendra Little

kendra little

Adding Partitions to the Lower End of a Left Based Partition Function

Adding Partitions to the Lower End of a Left Based Partition Function

I recently got a table partitioning question from a reader:

We now need to load some historical data into the table for 2013 so I want to alter the function and schema to add monthly partitions for this. But I can’t work out how to do this using SPLIT? Every example and tutorial I’ve looked at shows how to add new partitions onto the end of a range, not split one in the middle.

Continue reading

Confused by sp_who2 (Dear SQL DBA Episode 30)

Confused by sp_who2 (Dear SQL DBA Episode 30)

This week’s ‘Dear SQL DBA’ question gets us down to the essentials: how to I tell if a transaction is hanging?

Continue reading

Bug: Incorrect modification_counter for Column Stats on Tables with a Clustered Columnstore Index

Bug: Incorrect modification_counter for Column Stats on Tables with a Clustered Columnstore Index

I don’t find bugs in SQL Server all that often. I find bugs in my own codeย all the time.

In this case I double checked, and I think it’s a real SQL Server bug.

Continue reading

Administering COTS databases (ISVs / Third Party Vendors)

Administering COTS databases (ISVs / Third Party Vendors)

I recently received a question from a vendor about databases created by software vendors.

Continue reading

Configure Fields and Predicates for Multiple X-Events

Configure Fields and Predicates for Multiple X-Events

By Kendra Little on January 5, 2017

I’m not always the best at learning to use graphical interfaces. Maybe that’s why I often don’t like them?

Continue reading

Columnstore Indexes and Computed Columns in SQL Server 2016

Columnstore Indexes and Computed Columns in SQL Server 2016

You can’t do everything with a columnstore index – but SQL Server’s optimizer can get pretty creative so it can use aย columnstore index in ways you might not expect.

Continue reading

Collecting the Blocked Process Report (XEvents and Server Side Trace)

Collecting the Blocked Process Report (XEvents and Server Side Trace)

I’m a big fan of the built-in Blocked Process Report in SQL Server. It’s come in handy for troubleshooting blocking situations for me many times.

Continue reading