For decades, we thought the outer moons of the solar system were dead. Frozen rocks. Done. Then in 2005, the Cassini probe flew past a tiny ice ball orbiting Saturn - only 314 miles wide - and saw jets. Hundreds of them. Erupting from cracks in the southern hemisphere.
Water. Salt. Organic molecules. The kind of chemistry that, on a planet like ours, eventually decides to start building things.
So what's going on down there?
The last one walked off the job. The team is small, the deadline is yesterday, and somebody handed you a 635-gigabyte archive of raw NASA telemetry - magnetometer readings, plume velocities, image plate metadata - and asked you to figure out what's actually going on.
You'll do this with PostgreSQL. Not because anyone wants to teach you SQL. Because the data is there, and the database is the only tool that can answer what you need to ask of it.
By the time you've solved the case, you'll have shipped a working data pipeline in production-grade Postgres. You won't have noticed. That's the point.
Most database books read like a tax return. A Curious Moon reads like the journal of someone in over their head, who is also having the time of their life. You'll meet Dee Yan - your fictional taskmaster, brilliant and a little terrifying - and her team. They'll hand you problems. You'll pour another coffee.
Plain-English explanations. Real queries. Run them yourself against the data. By the end you won't just know Postgres - you'll have used it to crack a case.
"Equal parts mystery novel and Postgres tutorial. I read it on a flight and bought two more copies for my team when I landed."
"I've shipped Postgres in production for a decade and still learned things - and laughed. Twice."
"The way I always wished databases had been taught. Storytelling is a delivery mechanism for muscle memory."
"Three days in I started looking for excuses to write SELECT statements. That has never happened to me before."
"Like sitting next to a senior engineer who actually likes their job. With a really good cover."
"If you've been intimidated by SQL, this book quietly fixes that and you don't even notice."
I won't waste your time with sleep-inducing demos and examples - we're going to hit the ground running by importing millions of records into PostgreSQL right from the command line and then we're going to interrogate it for correctness. From there we put our detective hats on and get to work.
I'm Rob Conery. I've been building software for 25 years, mostly without a clue what I was doing - and definitely without a CS degree. I've worked at Microsoft, with Visa, Google, Starbucks, PayPal. I co-founded Tekpub. None of that taught me Postgres.
I learned Postgres because I had real questions and a real database in front of me. That's what works. So I sat down to write the book I wished had existed: one that gives you a problem worth solving, then hands you the database to solve it with.
Cassini was that problem for me. The data is real. The mission is real. The story I built around it isn't - but the SQL is, and that's the part you'll keep.