TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Achieving a zero-downtime Postgres major version upgrade

15 点作者 mattlong5 个月前
Hey HN,<p>I put together this blog post[0] and this repository[1] with supporting resources to immortalize the decision tree and step-by-step run book I used that led to us successfully upgrading the AWS RDS Aurora Postgres database of Medplum&#x27;s hosted service from v12 to v16 without downtime. There are many write-ups out there on the topic, but just about all of them were frustratingly light on details or assumed the reader was already fluent in the technologies used. This guide and the runbook are anything but light on details and attempts to explain&#x2F;describe decisions and steps from first principles when possible.<p>As just about anyone who has worked with Postgres version upgrades and logical replication will tell you, there are many sharp edges and a steep learning curve that can only be overcome by doing. I have varying levels of experience with the tools used and by no means claim to be an expert in any of them! I&#x27;m sure there are ways this process could be improved and streamlined and would absolutely love to hear any suggestions and field questions from you either here or in the issues&#x2F;discussions&#x2F;PRs of the repository.<p>Medplum[2] relies heavily on Postgres and we only intend on deepening our relationship with it and all it has to offer as we continue to grow. That was a big part of our reasoning to justify investing the time to level-up our operational proficiency with Postgres. We&#x27;re an open source company, so it felt right to make this guide open source too!<p>[0]: <a href="https:&#x2F;&#x2F;www.medplum.com&#x2F;blog&#x2F;zero-downtime-postgres-major-version-upgrade">https:&#x2F;&#x2F;www.medplum.com&#x2F;blog&#x2F;zero-downtime-postgres-major-ve...</a> [1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;medplum&#x2F;medplum-postgres-upgrade">https:&#x2F;&#x2F;github.com&#x2F;medplum&#x2F;medplum-postgres-upgrade</a> [2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;medplum&#x2F;medplum">https:&#x2F;&#x2F;github.com&#x2F;medplum&#x2F;medplum</a>

2 条评论

gabrielruttner5 个月前
Hey - great writeup!<p>Curious how you&#x27;re planning to handle Postgres versions going forward - will v16 be a hard requirement for new OSS deployments? What&#x27;s your strategy for managing existing deployments on older versions?
评论 #42370289 未加载
brown5 个月前
Love Postgres, but major version upgrades remain the one genuine pain point. One misstep and you&#x27;re in backup-restoration hell. Solid guide.