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.
A PostgreSQL 18 guide to index usage, bloat, integrity checks, and safe concurrent reindexing.
Open guide →2026-09-07In-Memory OLTP lab (SQL Server 2025)Hekaton deploy and last-container removal with sys.dm_db_xtp_undeploy_status.
Open guide →2026-08-03SQL Server 2016 to 2022 Migration ChecklistInteractive P0–P8 checklist for SQL Server 2016 → 2022 migrations.
Open guide →2026-08-03SQL Server DBA Production HandbookInteractive production DBA handbook with checklists, scripts, and incident playbooks.
Open guide →2026-08-03SQL Server HADR ChecklistPhase-gated AG/WSFC checklist for production Always On deployments.
Open guide →2026-08-03SQL Server Installation ChecklistEnd-to-end SQL Server production install checklist with config and validation gates.
Open guide →2026-08-03SQL Server 2016 to 2022 Post-Migration TweaksFix CL 160 regressions after SQL Server 2016 → 2022 restore migrations.
Open guide →2026-07-24Schema Compare IntroHow to read object diffs between prod and non-prod safely.
Open guide →2026-07-10Optimizing TempDB ContentionDistinguish allocation-page pressure from metadata contention, then verify the targeted change.
Open guide →34 resources
Database field guides
Focused investigations for performance, reliability, migration, backup, and operations.
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 guideA 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 backupsReduce 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 GuideA 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 ProofChoose 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 undeployRun 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 anythingPair seek/scan usage with write cost before marking an index unused.
Open guide →2026-08-09Index maintenance that fits the maintenance windowPrefer targeted reorganize over nightly rebuild-everything jobs.
Open guide →2026-08-08Reading index fragmentation without chasing ghostsFragmentation only matters when scans or range seeks read many pages.
Open guide →2026-08-07Spotting duplicate and near-duplicate indexesDrop the redundant cover once you prove the survivor serves the same predicates.
Open guide →2026-08-06Catching regressed queries with Query StoreSort 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 StoreForce only after you can name the regression trigger and a review date.
Open guide →2026-08-04Query rewrites that beat hint stackingA 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 checkboxTreat AG/WSFC as gated phases — infrastructure first, failover proof last.
Open guide →2026-08-03Compat 160 is slow after a 2016 to 2022 restoreKeep CL 130, baseline with Query Store, then fix CE regressions before cutover.
Open guide →2026-08-03Breaking complex logic with CTEs and temp tablesUse CTEs for clarity; materialize with temp tables when estimates go wild.
Open guide →2026-08-03A production SQL Server install checklist that survives auditsInstall once against a checklist so day-two ops is boring.
Open guide →2026-08-03SQL Server stored procedures vs inline SQLThe real fight is disciplined parameterized SQL versus undisciplined string-built queries — not SP versus inline.
Open guide →2026-08-02Table variables for small, known rowsetsTable variables shine for small fixed lists; skip them for large unknown sets.
Open guide →2026-08-01Assessment reports should drive ticketsTurn findings into prioritized, assignable work.
Open guide →2026-08-01Backup verification beats backup theaterProve restore SLAs with scheduled verification, not just successful backup jobs.
Open guide →2026-08-01EXISTS and CROSS APPLY instead of LEFT JOIN for existence checksPrefer EXISTS for filters; CROSS APPLY for correlated top-N lookups.
Open guide →2026-08-01Observability for DBAs is still SQL-shapedBridge app traces with database wait and plan evidence.
Open guide →2026-07-31Using IIF for simple conditional expressionsIIF is fine for short true/false expressions; keep complex branching in CASE.
Open guide →2026-07-30Schema drift is a reliability problemTreat schema compare as a release gate, not a quarterly cleanup chore.
Open guide →2026-07-29Alert fatigue destroys on-call trustPrefer actionable alerts with clear ownership and runbooks.
Open guide →2026-07-28Reading wait stats without drowning in noiseFocus on runnable waits that explain user-visible latency.
Open guide →2026-07-26Cutover checklists for engine migrationsBaseline, rehearse, verify, then cut — in that order.
Open guide →2026-07-22Postgres vacuum debt compounds quietlyWatch freeze age and dead tuples before users feel the pain.
Open guide →2026-07-20Monitor before you migrateBaseline latency and top queries before any engine cutover.
Open guide →2026-07-16Parameter sniffing triage in five minutesConfirm sniffed values before rewriting every procedure.
Open guide →2026-07-14Blocking chains beat single-query blameAlways capture the head blocker when waits spike.
Open guide →2026-07-08Autogrowth events are silent outagesWatch growth frequency and size before users report timeouts.
Open guide →2026-07-05Buffer cache hit ratio is not a silver bulletPair cache metrics with latency and IO stall evidence.
Open guide →4 resources
Interactive resources and labs
Static tools, guided labs, and downloadable operational resources.
Interactive checklists and reference guides.
Open guide →Interactive resource2016 to 2022 migration toolkitPost-migration diagnostics, Query Store, statistics, compatibility, and baseline scripts.
Open guide →Interactive resourceCompatibility level 160 fixesTargeted checks and fixes for compatibility-level regressions.
Open guide →Interactive resourceIn-Memory OLTP SQL Server 2025 labA hands-on lab for memory-optimized data and cleanup.
Open guide →