Tool Open source

PGSimCity

PGSimCity is an independent, non-commercial educational visualization of PostgreSQL internals: an explorable 3D city that represents a PostgreSQL cluster and lets users inspect, walk through, and disrupt simulated database scenarios. It illustrates effects such as checkpoint-related latency spikes, long-running transactions that keep tables bloated, and the cost of synchronous_commit.

View repository Visit site Mentioned in 1 video ↓

Overview

The city is a scaled model rather than a PostgreSQL emulator; PostgreSQL source code does not run in the 3D scene, and its quantities are adjusted for visualization. Its optional Query flow and Machine can run PGlite, an in-memory PostgreSQL compiled to WebAssembly. The project targets PostgreSQL 18 and provides keyboard- and text-first routes for its lessons, while noting that the first-person 3D scene has no complete nonvisual equivalent.

What PGSimCity is used for

1 use taken from transcripts — each links to the moment in the video.

  • A 3D educational visualization of PostgreSQL internals as a walkable city. It lets users trigger database scenarios such as checkpoint storms and long-running transactions and observe their effects.

Videos mentioning PGSimCity

1 in the library.