dataiotech Labs
dbaguidedbaguideDBAdataxtoolsdataopsphere
Home/Field/Field Notes
Production Field Notes & Battle-Tested Advice

Practitioner Field Notes

Unwritten production survival tips, real-world war stories, and high-impact operational insights learned the hard way on multi-terabyte clusters.

Filter by Engine:
PostgreSQL
2026-08-28

Never Manually Delete Files from pg_wal!

Running `rm -rf pg_wal/*` during a disk full panic corrupts the transaction log permanently.

Production Golden Rule

Use `pg_archivecleanup` or drop unused temporary tables to allow a graceful checkpoint.

dataiotech Labs
Cheat sheet →
MySQL
2026-08-15

Use Percona pt-online-schema-change for 100M+ Row Tables

Large ALTER TABLE statements can cause Metadata Lock (MDL) queues that stall web traffic.

Production Golden Rule

Use shadow-table based online schema migration tools to migrate large datasets with negligible lock overhead.

dataiotech Labs
Cheat sheet →
sqlserver
2026-09-20

Never Leave SQL Server 'Max Server Memory' at Default Unlimited!

The default 2.1TB memory ceiling causes SQL Server to starve the Windows OS, triggering severe thread paging.

Production Golden Rule

Reserve 4GB-8GB (10-15% total RAM) for the operating system and configure explicit max server memory.

dataiotech Labs
Cheat sheet →
sqlserver
2026-09-25

Raise Cost Threshold for Parallelism from Default (5) to 40-50

Default cost threshold of 5 triggers premature query parallelism and excessive CXPACKET synchronization waits on multi-core servers.

Production Golden Rule

Set cost threshold for parallelism to 40-50 and bound MAXDOP to the physical core count of a single NUMA node.

dataiotech Labs
Cheat sheet →