XWH Lab

Systems & Data Engineering Notes

Short field notes on Linux operations, PostgreSQL query tuning, reproducible builds, and static web tooling.

PostgreSQL 2026-11-18

Covering Indexes vs. Composite B-Tree Scans on Time-Series Tables

Using INCLUDE columns on append-only event tables keeps index-only scans predictable when vacuum runs on an aggressive autovacuum scale factor.

Linux 2026-11-04

Replacing Legacy Cron Scripts with Persistent systemd Timers

Pairing OnCalendar with RandomizedDelaySec and structured journald output makes nightly maintenance jobs far easier to audit.

Frontend 2026-10-21

Zero-Dependency Static Layouts with Native CSS Custom Properties

Modern container queries and prefers-color-scheme eliminate most build-step boilerplate for documentation sites and lightweight dashboards.