<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Robert Haas: troubleshooting</title><description>Sr. Staff Software Engineer @ Databricks, PostgreSQL Developer and Committer</description><link>https://rhaas.dev/</link><item><title>Useless Vacuuming</title><link>https://rhaas.dev/blog/2020/02/useless-vacuuming/</link><guid isPermaLink="false">tag:blogger.com,1999:blog-20038672.post-8802596788016288360</guid><description>&lt;p&gt;In &lt;a href=&quot;/blog/tags/vacuum/&quot;&gt;previous blog posts that I’ve written about VACUUM&lt;/a&gt;, and I seem to be accumulating an uncomfortable number of those, I’ve talked about various things that can go wrong with vacuum, but one that I haven’t really covered is when autovacuum seems to be running totally normally but you still have a VACUUM problem. In this blog post, I’d like to talk about how to recognize that situation, how to figure out what has caused it, how to avoid it via good monitoring, and how to recover if it happens.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://rhaas.dev/blog/2020/02/useless-vacuuming/&quot;&gt;Read more »&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 13 Feb 2020 19:13:00 GMT</pubDate><category>postgresql</category><category>troubleshooting</category><category>vacuum</category></item><item><title>Troubleshooting Database Corruption</title><link>https://rhaas.dev/blog/2014/05/troubleshooting-database-corruption/</link><guid isPermaLink="false">tag:blogger.com,1999:blog-20038672.post-5801223975538369937</guid><description>&lt;p&gt;When your database gets corrupted, one of the most important things to do is &lt;a href=&quot;/blog/2012/03/why-is-my-database-corrupted/&quot;&gt;figure out why that happened&lt;/a&gt;, so that you can try to ensure that it doesn’t happen again. After all, there’s little point in going to a lot of trouble to restore a corrupt database from backup, or in attempting to repair the damage, if it’s just going to get corrupted again. However, there are times when root cause analysis must take a back seat to getting your database back on line.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://rhaas.dev/blog/2014/05/troubleshooting-database-corruption/&quot;&gt;Read more »&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 13 May 2014 17:34:00 GMT</pubDate><category>postgresql</category><category>troubleshooting</category></item><item><title>Troubleshooting Stuck VACUUMs</title><link>https://rhaas.dev/blog/2011/03/troubleshooting-stuck-vacuums/</link><guid isPermaLink="false">tag:blogger.com,1999:blog-20038672.post-6714697268167828259</guid><description>&lt;p&gt;Over the years, I’ve occasionally encountered situations where VACUUM fails to make progress, and not fully understood why that was happening. Recently, I’ve come to a better understanding of how lock conflicts can result in VACUUM stalling out either at the beginning of the table, or part-way through. (If you’re not already familiar with the types of locks that PostgreSQL uses, you may find it helpful to read through my earlier blog post on &lt;a href=&quot;/blog/2011/01/locking-in-postgresql/&quot;&gt;locking in PostgreSQL&lt;/a&gt; before reading on.)&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://rhaas.dev/blog/2011/03/troubleshooting-stuck-vacuums/&quot;&gt;Read more »&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 01 Mar 2011 15:04:00 GMT</pubDate><category>postgresql</category><category>troubleshooting</category><category>vacuum</category></item><item><title>Troubleshooting Database Unresponsiveness</title><link>https://rhaas.dev/blog/2010/12/troubleshooting-database/</link><guid isPermaLink="false">tag:blogger.com,1999:blog-20038672.post-4966168090782304337</guid><description>&lt;p&gt;From time to time, we get complaints on the &lt;a href=&quot;https://www.postgresql.org/list/pgsql-performance/&quot;&gt;pgsql-performance&lt;/a&gt; mailing list about a &lt;a href=&quot;http://www.postgresql.org/&quot;&gt;PostgreSQL&lt;/a&gt; database that - for the most part - performs reasonably well, but every once in a while it becomes unresponsive for some number of seconds or even minutes; and then eventually recovers. What’s going on?&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://rhaas.dev/blog/2010/12/troubleshooting-database/&quot;&gt;Read more »&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 03 Dec 2010 18:15:00 GMT</pubDate><category>postgresql</category><category>troubleshooting</category></item></channel></rss>