An index slows down SELECT queries only in small ways when the plan never reads it. This post measures compile memory with twelve unused indexes, shows the plan change when a related index appears, and counts what every insert and update pays. The real bill arrives on writes.
Every Second Item Free: Pricing Promotions With ROW_NUMBER
Price every second item as free with ROW_NUMBER, expand quantities into units, and calculate basket discounts without double counting.
When was Table Accessed Last By User? – Interview Question of the Week #226
When was a table accessed last by a user? When clients say a table is rarely used, I run this report to check before we create or drop indexes.
Maximize Execution Plan Space in SSMS With Two Settings
To maximize execution plan space in SSMS, send the results to their own tab and switch to full screen mode. This post lists the two settings, the shortcuts that go with them and the zoom controls for a large plan on a small screen.
Page and Row Compression in SQL Server: Estimate, Enable, Remove
Page and row compression shrink a table or index, and each one is a single ALTER statement. This post estimates the savings first, turns each level on and off in a demo, and measures what the page rebuild costs in CPU.






