🛒 Ebook and Paperback
- Pragmatic Programmers (Ebook only)
- Bookshop.org
- Amazon
- B&N
- Walmart
- O’Reilly learning platform (Ebook)
⭐⭐⭐⭐⭐ Ratings
- Amazon: 4.9, 13 global ratings, 9 reviews
- Goodreads: 4.70, 33 ratings, 6 reviews
- The StoryGraph: 4.33, 3 reviews
Upcoming Appearances
- September 2026 - Rails at Scale Summit
- October 2026 - Postgres Summit US
Thanks for Aura for sponsoring my trips to Austin and NYC! 🤠 🗽
Aura frames are beautifully designed digital photo frames that help people stay connected to the moments that matter.
Join our team and help build the products and infrastructure behind Aura. Explore open roles across engineering, product, mobile, and more.
Rideshare
The Rails app for the book, Rideshare, was recently updated for Postgres 18 compatibility.
📷 Reader photos
📚 Readers get their copies of “High Performance PostgreSQL for Rails”
Sellers outside the USA
Praise Quotes
Halfway through 'High Performance PostgreSQL for Rails' by @andatki.
— Andrew Mason (@andrewmcodes) January 3, 2024
As a senior Rails dev, it's rare to find a book that challenges and excites me like this one did. Perfect for those who feel they've plateaued.
If you're a #rails developer, don't sleep on this!! 🔥🔥🔥 https://t.co/lRDR46skNj
📚 Had a chance to take an early peek at "High Performance PostgreSQL for Rails" by @andatki (thanks again for that!), and it looks really great. Lots of useful advice not only for Rails folks, but for Postgres practitioners at large.https://t.co/p6LrOwFYqa https://t.co/bWhOk450fH pic.twitter.com/dFR0yTNpUY
— Gunnar Morling 🌍 (@gunnarmorling) December 29, 2023
Congratulations @andatki . High Performance PostgreSQL for Rails is really comprehensive. Great contribution. https://t.co/1gvIkv65hF
— Johann SchleierSmith (@jssmith) December 23, 2023
Two very good Ruby on Rails books released today:@palkan_tula's Layered Design for Ruby on Rails Applications
— Jason Charnes (@jmcharnes) August 31, 2023
and@andatki's High Performance PostgreSQL for Rails
I can't recommend these enough!https://t.co/gxg7AVm51Mhttps://t.co/L343cmUHrJ
Great week for #Rails books! 🛤️
— Chris Oliver (@excid3) August 31, 2023
Just picked up @palkan_tula's Layered Design for Ruby on Rails Applications and @andatki's High Performance PostgreSQL for Rails book.
Perfect timing for some traveling this weekend.
I think https://t.co/HQhb03ZkKK by @andatki is a "game-upgrader" for #Rails devs using #PostgreSQL. It covers so much ranging from ActiveRecord, SQL, bulk data, cursors, sharding, replication, partitioning, FTS...
— Mohit Sindhwani (onghu@ruby.social) (@onghu) November 25, 2023
Want Rails to scale? Gotta leverage the DB👍#programming
“If you use Rails and Postgres, this book is required reading.
— Andrew Atkinson (@andatki) June 16, 2024
If you use Postgres and a different framework, you will still get a ton of value out of it. Every section goes deep.”
Thank you @jpcamara! 🙌#postgresql #rubyonrails @pragprog https://t.co/IZRUnwHv8v
https://t.co/00jTI6GLBu by @andatki
— Franck Pachot (@FranckPachot) July 9, 2024
You will be really good at PostgreSQL and Rails at the same time
Praise and Reviews
We’re about 1/3 through this in our engineering book club, and the team is really liking it. Great pacing and accessible for folks at different levels of PostgreSQL experience. - Mike Leone, VP of Engineering at Wealthbox
I would recommend this book as a primer on PG performance in the context of Rails deployments as required reading material for most engineering teams. - Simon Chiu
The most informative and knowledge dense book I have ever read on understanding database performance, bottlenecks, and solutions. - Sean Szurko
It’s a helpful companion into the depths of Postgres functionality. If you’re looking to step out of the comfort of a Rails console and into a psql console, I recommend taking this with you. - Kevin Murphy
A book with this information would’ve allowed me to shortcut several years off of learning Postgres the hard way. - Dave Copeland
If you are a Rails engineer who always wanted to understand how to have a greater impact on your work through taking command of your database, this is the book for you! - Daniel Kaczmarczyk
Stay Informed!
Sign up for my Newsletter covering book topics, consulting, and more. Around 1x/email per month.
Citations
Community Links
- Kevin Murphy wrote about the book in 2023 Year-End Review
- Efficient Database Queries in Rails: A Practical Approach
- Top Five PostgreSQL Surprises from Rails Developers, Medium, 70 claps
- New This Week: High Performance PostgreSQL for Rails
Social Media Stats
- Print availability announcement Tweet/X 2024 33K views
- Beta announcement Tweet/X 2023 40K views
- Print unboxing Tweet/X 2024 5K views, 110 faves
- LinkedIn Unboxing 2024 23K impressions, 380 reactions
- Reddit r/rails High Performance PostgreSQL for Rails, in print, 60 upvotes, 25 comments
- Reddit r/rails Upcoming Book Launch: High Performance PostgreSQL for Rails, 75 upvotes, 20 comments
- Ruby Weekly #711 Mention
Author Profiles and Interviews
- PostgreSQL Person of the Week
- Scaling Rails & Postgres to Millions of Users at Microsoft: Lessons & Takeaways
- Mastering PostgreSQL for Rails: An Interview with Andy Atkinson
- A Passion for PostgreSQL Chat with Andrew Atkinson
- Mention from University of Minnesota
- Follow me on Amazon
- Follow me on Goodreads
Book Events and Past Appearances
- June 2026 - PG DATA 2026
- October 8-10, 2025 - PGConf NYC 2025
- July 8-10, 2025 - RailsConf 2025
- November 4-8, 2024 - PASS Data Community Summit 2024
- September 26-27, 2024 - Rails World 2024
- 2024 August: Presented at Madison+ Ruby
- 2024 July: Shipping from major retailers like Amazon.com, including being the #1 Best Seller in the Ruby Programming category
- 2024 June: In Print!
- 2024 Apr: POSETTE 2024
- 2024 Apr: RailsConf 2024
- 2024 Apr: PGDay Chicago 2024
- 2024 Mar: Sin City Ruby
- 2023 Dec: Beta content complete
- 2023 Sep: Beta Launch!
- 2023 Aug: SFPUG Partitioning Presentation
- 2023 Jun: Technical Review (first half) edits completed.
- 2023 Spring: Publication Review completed. Technical Review (first half) started.
- 2023 Winter: First Draft completed. PGDay Chicago 2023.
- 2022: Signed Book Deal with Pragmatic Programmers
- 2022: Presented at RailsConf 2022
- 2021: Presented at PGConf NYC 2021
