Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 939 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 939 Bytes

Blog post

Statistics: How PostgreSQL Counts Without Counting

How To

Just run start.sh. It starts a PostgreSQL Docker container using docker compose, and then runs the tutorial on it.

If you don't have Docker, you can adapt 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:

Key Takeaways