Statistics: How PostgreSQL Counts Without Counting
- Part 1: A bird's-eye view into PostgreSQL statistics
- Part 2 coming soon!
Just run start.sh
. It starts a PostgreSQL Docker container using docker compose
, and then runs the tutorial on it.
start.sh
to connect to your favorite PostgreSQL server,
but this is NOT RECOMMENDED unless you have a playground instance. This is because the scripts drop and recreate
some objects such as the public
schema!
The scripts display images using viu. To render the images properly, use a terminal with native support for graphics protocol (e.g., iTerm2 and Kitty), like this: