Quantcast
Channel: Fighting Bad Data Modeling » Performance
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Synchronisation in .NET– Part 1: lock(), Dictionaries and Arrays

As part of our tuning efforts at Livedrive, I ran into a deceptively simple problem that beautifully illustrates some of the scale principles I have been teaching to the SQL Server community for years....

View Article



Image may be NSFW.
Clik here to view.

Synchronisation in .NET– Part 2:Unsafe Data Structures and Padding

In the previous blog post we saw how the lock() statement in .NET scales very poorly when there is a contention on a data structure. It was clear that a performance logging framework that relies on an...

View Article

Image may be NSFW.
Clik here to view.

Synchronisation in .NET– Part 3: Spin Locks and Interlocks/Atomics

In the previous instalments (Part 1 and Part 2) of this series, we have drawn some conclusions about both .NET itself and CPU architectures. Here is what we know so far: When there is contention on a...

View Article

Image may be NSFW.
Clik here to view.

Synchronisation in .NET– Part 4: Partitioned Data Structures

In this final instalment of the synchronisation series, we will look at fully scalable solutions to the problem first stated in Part 1 – adding monitoring that is scalable and minimally intrusive. Thus...

View Article

Image may be NSFW.
Clik here to view.

Clustered Index vs. Heap

At Stack Overflow the other day, I once again found myself trying to debunk a lot of the “revealed wisdom” in the SQL Server community. You can find the post here: Indexing a PK GUID in SQL Server 2012...

View Article


Image may be NSFW.
Clik here to view.

TPC-H: Schema and Indexes

The TPC-H benchmark is often used a method for customers to evaluate data warehouse products to make purchasing decisions. Because it is such a crucial benchmark, it is important to understand the...

View Article

Image may be NSFW.
Clik here to view.

Adding another transaction log file to Gain Performance

Mike West recently posted a rather active thread on LinkedIn about database with more than one transaction log file. Eventually, I realised that the full answer to the question: “When does it make...

View Article

Database Page Row Order

A few weeks ago I was asked a great question by Sam, who follows my blog. With Sam’s permission, I am reprinting the question here. Sam asks (my highlights) : We are told that we can have only one...

View Article


Running SQL Server on a Big Box–Introduction

I have previously blogged about my best practices for installing a SQL Server. This guidance applies to all the boxes I work with. However, I think that some special attention is required when it comes...

View Article


(English) Running SQL Server on a Big Box – Configuration

Zao nam je, ovaj ulaz je jedino moguc u English. The post (English) Running SQL Server on a Big Box – Configuration appeared first on Fighting Bad Data Modeling.

View Article
Browsing all 10 articles
Browse latest View live




Latest Images