SQL Server Essentials
Indexes, isolation levels, execution plans.
Indexes — a clustered index physically orders the table (one per table, usually the PK); nonclustered indexes are separate lookup structures pointing back to the clustered key. Over-indexing slows writes; under-indexing slows reads — be ready to say you'd check the execution plan before guessing.
Isolation levels — Read Committed (SQL Server default) prevents dirty reads but allows non-repeatable reads and phantom reads. Read Committed Snapshot Isolation (RCSI) uses row versioning instead of locks for reads, common in modern OLTP setups to reduce blocking. Know Serializable exists as the strictest level (full protection, most blocking) for when you'd actually reach for it (financial reconciliation-type operations).
Execution plans — shows whether SQL Server used your index (Index Seek = good, Index/Table Scan on a large table = investigate), join strategy (Nested Loops vs Hash Match vs Merge), and estimated vs actual row counts (large divergence = stale statistics).