Andrew Atkinson's Avatar

Andrew Atkinson

@andyatkinson.com.bsky.social

Author of High Performance PostgreSQL for Rails, Staff Engineer, Consultant, Speaker andyatkinson.com/pgrailsbook

2,141 Followers  |  120 Following  |  288 Posts  |  Joined: 19.07.2023  |  1.9621

Latest posts by andyatkinson.com on Bluesky

Preview
Why I Love Relational Databases Software engineers believe that there is value in understanding how to make a decision. We always need to decide which decisions we’ll…

my love letter to relational databases

postgres, pls be mine: check yes or no

x86.wtf/why-i-love-r...

31.07.2025 03:44 β€” πŸ‘ 36    πŸ” 4    πŸ’¬ 2    πŸ“Œ 0
Preview
High Performance PostgreSQL for Rails: Reliable, Scalab… Build faster, more reliable Rails apps by taking the be…

πŸ“š 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...

02.08.2025 00:48 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

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...

01.08.2025 19:59 β€” πŸ‘ 8    πŸ” 6    πŸ’¬ 1    πŸ“Œ 2
Preview
PGDay Lowlands 2025 A 1-day PostgreSQL community conference in Rotterdam, Netherlands.

πŸŽ‰ 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

01.08.2025 09:44 β€” πŸ‘ 8    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0
Post image

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    πŸ“Œ 0

Great post showing a useful, practical debugging tactic, and putting the findings into the broader context.

28.07.2025 17:20 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
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?

New 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...

28.07.2025 16:24 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0

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    πŸ“Œ 0

Honored to be presenting at PGConf NYC in a couple of months! Hope to see you there. #postgresql

bsky.app/profile/pgco...

26.07.2025 21:47 β€” πŸ‘ 10    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0
Preview
Fast Tests, Clear Datasets with Oaken: for fixtures + factories + seeds. Β· Zoom Β· Luma Remember tests being fast? lol Your factories may have started easy, but now they're painful for your growing team. What about fixtures, could they save you?…

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

25.07.2025 16:57 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 0    πŸ“Œ 3

Can confirm! πŸ‘†

26.07.2025 00:57 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
RailsConf 2025 10 Costly Database Performance Mistakes (and How to Fix Them) by Andrew Atkinson
YouTube video by Ruby Central RailsConf 2025 10 Costly Database Performance Mistakes (and How to Fix Them) by Andrew Atkinson

RailsConf 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...

25.07.2025 18:00 β€” πŸ‘ 8    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

Congrats JP! πŸ‘

25.07.2025 02:47 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I 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    πŸ“Œ 0

Thanks 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.

23.07.2025 17:42 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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    πŸ“Œ 0

Tmux 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. πŸ‘Œ

22.07.2025 23:07 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I’ll bring a sweater!

22.07.2025 12:43 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Yes this is great information from the ClickHouse team.

20.07.2025 03:40 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I 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.

19.07.2025 14:06 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

A multifaceted multitude of Postgres. 🐘🐘🐘

19.07.2025 01:01 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

I'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...

18.07.2025 18:54 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

πŸ˜‚ Needs more emojis! 🎯

17.07.2025 23:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Interesting. 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    πŸ“Œ 0
How to Influence Query Planning in Postgresql - Blogomatano All about Aurora's Query Plan Management and how to use it to get Postgresql under control.

How to influence query planning in Postgresql (note: it’s about Aurora’s Query Plan Management (QPM) not community Postgres)

chriskiehl.com/article/quer...

17.07.2025 02:58 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Awesome to hang out for a bit JP!

15.07.2025 18:15 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Speaking at RailsConf 2025 Quick recap of my time at the last RailsConf in Philly

Blogged! 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...

13.07.2025 17:48 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 1

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    πŸ“Œ 0
Preview
GitHub - tmux-plugins/tmux-resurrect: Persists tmux environment across system restarts. Persists tmux environment across system restarts. Contribute to tmux-plugins/tmux-resurrect development by creating an account on GitHub.

After 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

14.07.2025 18:28 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

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.

24.11.2024 20:03 β€” πŸ‘ 20    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0

@andyatkinson.com is following 20 prominent accounts