AlgoViz

Database internals on the critical path

hard 7 min

Many storage engines persist a description of a change before relying on the changed data pages.

Inspect the evidence

Read it, run it, change a line and run it again.

Loading editor…

An order service shows slow commits but normal indexed lookups. Split transaction time into lock wait, execution and commit. Correlate commit delay with WAL flush latency and competing device I/O. Disabling durability changes what a successful order means. Prefer reducing contention or batching compatible work while keeping the agreed acknowledgment guarantee.