Eliminate the Data Tax Learn how to migrate from Kafka to Confluent Cloud
Model of a city landscape

Someone turned PostgreSQL into a city you can walk around in

This article was featured in the July 31, 2026, edition of the IBM Think newsletter. Get it in your inbox.

If you’ve ever sat down and tried to understand how a database works, you know the explanations usually involve lots of arrows and boxes and other unpleasantries that somehow make everything feel even more abstract.

Software engineer Nik Samokhvalov wondered if there was a better way. Instead of yet another architecture diagram, he built PGSimCity, a SimCity-inspired visualizer that turns PostgreSQL, the open-source database behind countless websites and business applications, into a place you can actually explore.

You can tour the whole thing from above, like a city builder, with gaming-style WASD keys. As you roam, you’ll see transactions move through the streets in the form of small, orderly rock-like animations, while background processes carry on their own routines in the distance. Or you can trigger different database events and watch the city respond. Samokhvalov’s GitHub lists the full set of controls, including a walk mode that drops you street-level into something closer to Blade Runner than SimCity, with data flying past at eye height.

By Samokhvalov’s own account on Hacker News, the project started as a single prompt to Claude, driven out of curiosity about what the model could do, and grew into a whopping 3.86 billion tokens of AI-assisted coding. (Not cheap!) Maybe that’s why PGSimCity’s pace is so unrelenting: a frenetic sim designed to show how databases think was itself designed by a different kind of thinking machine.

The build is open source, so theoretically it could be adapted to explain other kinds of opaque tech: one Hacker News commenter suggested Kubernetes and cloud computing. Eh, why not? We’ve spent decades trying to explain invisible software with awkward diagrams…maybe it makes more sense to build places you can wander through instead.

Antonia Davison

Staff Writer

3D render of a spiral of several icons lined up such as a camera, volume knob and a clipboard
Related solutions
IBM® watsonx.data™

Watsonx.data enables you to scale analytics and AI with all your data, wherever it resides, through an open, hybrid and governed data store.

Discover watsonx.data
Data management software and solutions

Design a data strategy that eliminates data silos, reduces complexity and improves data quality for exceptional customer and employee experiences.

Discover data management solutions
Data and AI consulting services

Successfully scale AI with the right strategy, data, security and governance in place.

Explore data and AI consulting services
Take the next step

Unify all your data for AI and analytics with IBM® watsonx.data™. Put your data to work, wherever it resides, with the hybrid, open data lakehouse for AI and analytics.

  1. Discover watsonx.data
  2. Explore data management solutions