top of page


Madeira Team
Feb 2, 20123 min read
Log Shipping – As easy as 1, 2, 3
Today I want to talk about Log Shipping. Log Shipping is an easy way to implement a high availability solution. It uses SQL Server’s...
0
Madeira Team
Jan 25, 20123 min read
READPAST: what is it good for?
After my last post about monitoring deadlocks, I will now show a way to prevent deadlocks and unnecessary locks and to improve system...
0

Madeira Team
Jan 19, 20122 min read
Update Statistics and the new TraceFlag 2371
What comes first, the chicken or the egg? What happens first – update statistics or re-compilations? The Statistics life cycle As a...
0


Madeira Team
Jan 16, 20126 min read
How are VLFs created, truncated and deleted?
Today I chose to talk about Virtual Log Files or VLF in short. VLFs are the physical files that implement the log file. The log file’s...
0

Madeira Team
Jan 10, 20124 min read
Monitoring Deadlocks
In order to monitor and analyze deadlocks in your server you will first need to understand what does deadlock mean. The Books Online...
0
Madeira Team
Jan 9, 201210 min read
CASE Study
Sometimes we want to populate a table with random data, mainly for testing purposes. For example, let’s consider the following table:...
0


Madeira Team
Jan 8, 20123 min read
The table variable transaction catch
As I’ve mentioned in my previous post, there is a catch when using a table variable as a part of a transaction. It behaves differently...
0


Madeira Team
Jan 5, 20128 min read
LOOP, HASH and MERGE Join Types
Today I’ll talk about the available JOIN operator types in SQL Server (Nested Loops, Hash and Merge Joins), their differences, best...
0


Madeira Team
Jan 3, 20123 min read
Pro and Cons of Parameter Sniffing
Look at the following 3 scripts: Transact-SQL -- 1. Hardcoded SELECT * FROM Sales.Orders WHERE DateAndTime < '19900101' -- 2. Variable...
0


Madeira Team
Jan 2, 20128 min read
Staging, temp and variable tables – performance, recompilation and what’s in between
A lot of times, when creating a procedure, we need to use some kind of an empty table in order to perform all kinds of calculations. The...
0
bottom of page