Architecture

Tag: architecture

Understanding Left vs. Right Partition Functions (with Diagrams)

Understanding Left vs. Right Partition Functions (with Diagrams)

You’re designing table partitioning, or you want to make a change to an existing partition function. It’s critical to understand the difference between how “left” and “right” partition functions behave, but the documentation is a bit confusing on this topic.

Continue reading

Index Types: Heaps, Primary Keys, Clustered and Nonclustered Indexes (Dear SQL DBA Episode 28)

Index Types: Heaps, Primary Keys, Clustered and Nonclustered Indexes (Dear SQL DBA Episode 28)

I see HEAP tables are found even when I know those tables have a clustered index, and I see a lot of forwarded records. This happens to 5 tables in my database. I can see the clustered and in some ones the non-clustered indexes… why are some scripts reporting them as heaps?

Continue reading

Merging Boundary Points: Does a Changing Partition_Number Indicate Data Movement?

Merging Boundary Points: Does a Changing Partition_Number Indicate Data Movement?

I received a question from a reader who was testing out a partitioning architecture:

We are testing table partitioning using one filegroup per partition. When we merge a boundary point, we see that partition_number changes in sys.partitions. Does this mean that data movement is occurring?

Continue reading

Caching and Grocery Shopping

Caching and Grocery Shopping

By Kendra Little on May 25, 2011

I recently talked with @TheJudgeOfCheese (t) about design patterns and grocery shopping.

Continue reading