SQL Server and PostgreSQL

Technical guides

Browse 48 documentation pages, handbooks, field guides, labs, and interactive resources.

1 resources

Product documentation

Setup notes and technical reference for SQL Optima resources.

9 resources

Operational handbooks

Long-form checklists and procedures for work that needs repeatability.

34 resources

Database field guides

Focused investigations for performance, reliability, migration, backup, and operations.

2026-10-04Database attack surface defense

A practical guide for DBAs, application owners, and security teams on common attack paths, control limits, detection signals, and recovery drills.

Open guide →
2026-10-01Always Encrypted in SQL Server: a practical guide

A plain-English, diagram-led guide to Always Encrypted with validated SQL, PowerShell, and C# examples.

Open guide →
2026-09-28SQL Server ransomware defense: hardening, detection, and recoverable backups

Reduce SQL Server ransomware risk with concrete hardening priorities, detection sources, isolated backups, and a restore process the business can trust.

Open guide →
2026-09-27SQL Server Wait Statistics Troubleshooting Guide

A hands-on workflow for collecting and interpreting SQL Server wait statistics without treating one wait type as an automatic diagnosis.

Open guide →
2026-09-23AI-Assisted SQL Development — From Prompting to Proof

Choose the right AI surface, write evidence-rich prompts, constrain agent behavior, and prove every SQL rewrite with plans, metrics, and result checks.

Open guide →
2026-09-07In-Memory OLTP on SQL Server 2025 — create, use, and fully undeploy

Run the two-part SQL Server 2025 lab, interpret XTP memory and undeploy status, and safely remove the final memory-optimized container.

Open guide →
2026-08-10Finding used and unused indexes before you drop anything

Pair seek/scan usage with write cost before marking an index unused.

Open guide →
2026-08-09Index maintenance that fits the maintenance window

Prefer targeted reorganize over nightly rebuild-everything jobs.

Open guide →
2026-08-08Reading index fragmentation without chasing ghosts

Fragmentation only matters when scans or range seeks read many pages.

Open guide →
2026-08-07Spotting duplicate and near-duplicate indexes

Drop the redundant cover once you prove the survivor serves the same predicates.

Open guide →
2026-08-06Catching regressed queries with Query Store

Sort by duration delta, then confirm the plan_id that actually changed.

Open guide →
2026-08-05When (and when not) to force a plan in Query Store

Force only after you can name the regression trigger and a review date.

Open guide →
2026-08-04Query rewrites that beat hint stacking

A clearer shape usually beats a forced join order on the old mess.

Open guide →
2026-08-03Always On is a 22-phase build, not a checkbox

Treat AG/WSFC as gated phases — infrastructure first, failover proof last.

Open guide →
2026-08-03Compat 160 is slow after a 2016 to 2022 restore

Keep CL 130, baseline with Query Store, then fix CE regressions before cutover.

Open guide →
2026-08-03Breaking complex logic with CTEs and temp tables

Use CTEs for clarity; materialize with temp tables when estimates go wild.

Open guide →
2026-08-03A production SQL Server install checklist that survives audits

Install once against a checklist so day-two ops is boring.

Open guide →
2026-08-03SQL Server stored procedures vs inline SQL

The real fight is disciplined parameterized SQL versus undisciplined string-built queries — not SP versus inline.

Open guide →
2026-08-02Table variables for small, known rowsets

Table variables shine for small fixed lists; skip them for large unknown sets.

Open guide →
2026-08-01Assessment reports should drive tickets

Turn findings into prioritized, assignable work.

Open guide →
2026-08-01Backup verification beats backup theater

Prove restore SLAs with scheduled verification, not just successful backup jobs.

Open guide →
2026-08-01EXISTS and CROSS APPLY instead of LEFT JOIN for existence checks

Prefer EXISTS for filters; CROSS APPLY for correlated top-N lookups.

Open guide →
2026-08-01Observability for DBAs is still SQL-shaped

Bridge app traces with database wait and plan evidence.

Open guide →
2026-07-31Using IIF for simple conditional expressions

IIF is fine for short true/false expressions; keep complex branching in CASE.

Open guide →
2026-07-30Schema drift is a reliability problem

Treat schema compare as a release gate, not a quarterly cleanup chore.

Open guide →
2026-07-29Alert fatigue destroys on-call trust

Prefer actionable alerts with clear ownership and runbooks.

Open guide →
2026-07-28Reading wait stats without drowning in noise

Focus on runnable waits that explain user-visible latency.

Open guide →
2026-07-26Cutover checklists for engine migrations

Baseline, rehearse, verify, then cut — in that order.

Open guide →
2026-07-22Postgres vacuum debt compounds quietly

Watch freeze age and dead tuples before users feel the pain.

Open guide →
2026-07-20Monitor before you migrate

Baseline latency and top queries before any engine cutover.

Open guide →
2026-07-16Parameter sniffing triage in five minutes

Confirm sniffed values before rewriting every procedure.

Open guide →
2026-07-14Blocking chains beat single-query blame

Always capture the head blocker when waits spike.

Open guide →
2026-07-08Autogrowth events are silent outages

Watch growth frequency and size before users report timeouts.

Open guide →
2026-07-05Buffer cache hit ratio is not a silver bullet

Pair cache metrics with latency and IO stall evidence.

Open guide →

4 resources

Interactive resources and labs

Static tools, guided labs, and downloadable operational resources.