my love letter to relational databases
postgres, pls be mine: check yes or no
x86.wtf/why-i-love-r...
@andyatkinson.com.bsky.social
Author of High Performance PostgreSQL for Rails, Staff Engineer, Consultant, Speaker andyatkinson.com/pgrailsbook
my love letter to relational databases
postgres, pls be mine: check yes or no
x86.wtf/why-i-love-r...
π In the last few weeks, 3 new Goodreads ratings for High Performance PostgreSQL for Rails. Thank you!
βοΈ 23 ratings / 6 reviews β 4.78
www.goodreads.com/en/book/show...
Big news -- @jremsikjr.bsky.social of Flagrant has officially announced XO Ruby! π«
Taking place across six U.S. cities between September and October, XO Ruby is a series of traveling events that, for locals, won't require a plane ticket and hotel stay...
π For the second year in a row, we're hosting a challenge to test PostgreSQL 18 pre-releases
π§ͺ Help improve Postgres by testing the beta versions. In return, you could win a free ticket to PgDay Lowlands and earn your spot on the legendary Wall of Testers
Details: 2025.pgday.nl/testing-pg
I'm going to be speaking at @xoruby.com Atlanta on September 13th. XO Ruby is a brand-new (traveling) single-day Ruby conference. If you're a Rubyist in the southeastern US, you should check it out! (And if not, take a look at other 5 stops this fall.)
31.07.2025 18:38 β π 28 π 10 π¬ 3 π 0Great post showing a useful, practical debugging tactic, and putting the findings into the broader context.
28.07.2025 17:20 β π 1 π 0 π¬ 0 π 0New small blog post
"Measuring SELECT ... FOR UPDATE Latency in #PostgreSQL"
> Are queries slow because theyβre waiting to acquire locks, or because theyβre taking a long time to find the actual rows? :)
benoittgt.github.io/blog/postgre...
Thanks JP! Iβll be presenting on schema design, feature usage, and SQL related to building multitenancy in Postgres. Why, how, caveats, limits etc. Iβll have SQL and schema designs to share!
27.07.2025 15:03 β π 1 π 0 π¬ 1 π 0Honored to be presenting at PGConf NYC in a couple of months! Hope to see you there. #postgresql
bsky.app/profile/pgco...
Come join our free gem walkthrough next Tuesday π
You'll see a new take on fixtures + factories + seeds, and gain a new perspective on your dev and test data.
It's live over Zoom, so you can ask questions too.
lu.ma/e9927y5m
Can confirm! π
26.07.2025 00:57 β π 2 π 0 π¬ 1 π 0RailsConf talks are live. Would love your feedback!
Presentation page with more info and all the links: andyatkinson.com/10-mistakes
RailsConf 2025 10 Costly Database Performance Mistakes (and How to Fix Them) by Andrew Atkinson
www.youtube.com/watch?v=MJ8R...
Congrats JP! π
25.07.2025 02:47 β π 2 π 0 π¬ 0 π 0I donβt know the context but I like what youβre putting down here in this meme text. π
24.07.2025 16:52 β π 0 π 0 π¬ 0 π 0Thanks for being a reader! Let me know if I can help.
In this thread about temporary tables and pitfalls, I can say the book doesn't cover those, mainly because I hadn't had use cases and experience with them.
You could up the ante by having some βdeploy without a feature flag, oops your non-scalable design took production downβ whammies on this hypothetical wheel. πΉπ
22.07.2025 23:11 β π 1 π 0 π¬ 1 π 0Tmux has been a part of my local development workflow for a decade.
On remote servers when performing long running jobs (like a βcreate index concurrentlyβ on a big table), running them within screen or tmux is a must! Smooth detach and reattach. π
Iβll bring a sweater!
22.07.2025 12:43 β π 0 π 0 π¬ 0 π 0Yes this is great information from the ClickHouse team.
20.07.2025 03:40 β π 0 π 0 π¬ 0 π 0I use ORMs when writing programs, raw SQL when doing analysis, debugging, or database admin.
The problem with raw SQL queries in code is that a) they don't compose well, and b) I still need to convert rows into objects somehow.
A multifaceted multitude of Postgres. πππ
19.07.2025 01:01 β π 1 π 0 π¬ 0 π 0I'm collecting links to public Postgres-related Postmortem write-ups! (aka RCAs, Incident Reviews)
github.com/andyatkinson...
Coincidentally, one of the write-ups is from the Metronome team, and they're being interviewed about it on the latest episode of postgres.fm!
bsky.app/profile/samo...
π Needs more emojis! π―
17.07.2025 23:00 β π 0 π 0 π¬ 0 π 0Interesting. I don't have production experience with it. Did you have "bad" plans that were hard to find and "Reject" as the post mentions? Did "Accepted" plans cause unexpected problems?
17.07.2025 16:29 β π 0 π 0 π¬ 1 π 0How to influence query planning in Postgresql (note: itβs about Auroraβs Query Plan Management (QPM) not community Postgres)
chriskiehl.com/article/quer...
Awesome to hang out for a bit JP!
15.07.2025 18:15 β π 1 π 0 π¬ 0 π 0Blogged! A recap of my experience giving my first conference talk at #RailsConf2025 in Philly! Thank you to @rubycentral.org and everyone I met last week! I couldn't have asked for a better first-time speaker experience than this! β€οΈπβ¨
www.chrisfung.dev/posts/speaki...
Frame-worthy for the office for sure! Nice artifact. Gonna miss RailsConf. Thanks for helping make the last one special! π₯Ί
14.07.2025 19:29 β π 3 π 0 π¬ 0 π 0After years of using tmux and losing my session, windows, panes, etc. on restart, I'd finally got around to trying out github.com/tmux-plugins.... Works great! Very straightforward to use.
prefix + Ctrl-s - save my config. Restart.
Create new tmux session.
prefix + Ctrl-r - restore
The team that writes the code needs to deploy it and be on-call for it. Full stop. Any other setup is going to lead to resentment, unfixed or slow to fix issues.
But what about SRE? You aren't Google, so don't copy what they do. They had a specific problem to solve which you don't have.