logoalt Hacker News

PostgreSQL production incident caused by transaction ID wraparound

25 pointsby tcp_handshakeryesterday at 8:34 PM9 commentsview on HN

Comments

rastignackyesterday at 9:57 PM

Just monitor it and you’re done. I’ve delivered and maintained hundreds of pg instances and never faced this issue. There is so much literature about it that at some point no one even slightly skilled will face it.

show 1 reply
plasticeagleyesterday at 9:56 PM

AI;DR

Which is why it's

TL;DR

Boring shit article about obvious problem.

show 1 reply
jffryyesterday at 9:27 PM

tl;dr: autovacuum was seen to be active during an earlier incident, assumed to be at fault, and was disabled. It was never re-enabled. The long-term implications of disabling autovacuum were not actively considered.

throwatdem12311yesterday at 10:03 PM

TL;DR Don’t turn off auto vacuum and periodically tweak your write heavy tables so they are vacuumed regularly enough so this never happens.

fallpeakyesterday at 9:40 PM

TL;DR: Devs didn't know what they were doing and turned off autovacuum and eventually it broke, then the author decided to have an AI slop out an article about the incident which may or may not have actually occurred.

show 1 reply