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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Understanding an outage: concurrency control and vacuuming in PostgreSQL

10 点作者 jbernardo95超过 3 年前

2 条评论

lawrjone超过 3 年前
&gt; However, if the autovacuum is running to prevent transaction ID wraparound (i.e., the autovacuum query name in the pg_stat_activity view ends with (to prevent wraparound)), the autovacuum is not automatically interrupted.<p>I had fought this many times before when building ETL processes on top of Postgres, especially back in 9.4 when there was a bug that caused quadratic growth of the multi-transaction IDs.<p>In fact, this was my only understanding of how vacuum locked interacted with other processes. I had no idea a normal autovacuum process would surrender to standard user operations, so that&#x27;s a TIL for me.<p>Thanks for the write-up!
评论 #29649177 未加载
waltfy超过 3 年前
Co-author of the post here. Super happy to answer any questions, and to hear any thoughts people may have.<p>Cheers!