<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Can there be orphaned data files in PostgreSQL?	</title>
	<atom:link href="https://www.dbi-services.com/blog/can-there-be-orphaned-data-files-in-postgresql/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbi-services.com/blog/can-there-be-orphaned-data-files-in-postgresql/</link>
	<description></description>
	<lastBuildDate>Tue, 27 Feb 2024 22:34:54 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: jimis		</title>
		<link>https://www.dbi-services.com/blog/can-there-be-orphaned-data-files-in-postgresql/#comment-3141</link>

		<dc:creator><![CDATA[jimis]]></dc:creator>
		<pubDate>Tue, 27 Feb 2024 22:34:54 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbi-services.com/blog/can-there-be-orphaned-data-files-in-postgresql/#comment-3141</guid>

					<description><![CDATA[Thank you for this post, it&#039;s very helpful for understanding what&#039;s going on with GBs of orphaned files, after the WAL writer process died because of full disk.

However you might want to check the last 4 code segments in the post. They don&#039;t execute cleanly and they appear mixed up, for example (and I copy paste from your post):

Finally, getting the list of orphaned files:
```
postgres=# select * from pg_ls_dir ( &#039;/u02/pgdata/12/base/12724&#039; ) as file where file ~ &#039;^[0-9]*
```]]></description>
			<content:encoded><![CDATA[<p>Thank you for this post, it&#8217;s very helpful for understanding what&#8217;s going on with GBs of orphaned files, after the WAL writer process died because of full disk.</p>
<p>However you might want to check the last 4 code segments in the post. They don&#8217;t execute cleanly and they appear mixed up, for example (and I copy paste from your post):</p>
<p>Finally, getting the list of orphaned files:<br />
&#8220;`<br />
postgres=# select * from pg_ls_dir ( &#8216;/u02/pgdata/12/base/12724&#8217; ) as file where file ~ &#8216;^[0-9]*<br />
&#8220;`</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)

Served from: www.dbi-services.com @ 2026-06-07 20:58:33 by W3 Total Cache
-->