<?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: PostgreSQL: Maybe we should give ZFS a chance (2) – testing	</title>
	<atom:link href="https://www.dbi-services.com/blog/postgresql-maybe-we-should-give-zfs-a-chance-2-testing/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbi-services.com/blog/postgresql-maybe-we-should-give-zfs-a-chance-2-testing/</link>
	<description></description>
	<lastBuildDate>Wed, 20 Nov 2024 10:15:40 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Daniel Westermann		</title>
		<link>https://www.dbi-services.com/blog/postgresql-maybe-we-should-give-zfs-a-chance-2-testing/#comment-3557</link>

		<dc:creator><![CDATA[Daniel Westermann]]></dc:creator>
		<pubDate>Wed, 20 Nov 2024 10:15:40 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbi-services.com/blog/?p=35692#comment-3557</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.dbi-services.com/blog/postgresql-maybe-we-should-give-zfs-a-chance-2-testing/#comment-3556&quot;&gt;Yerry&lt;/a&gt;.

Hi Yerry,

&#062; ext4, xfs are older file systems when comparing them with zfs. Zfs does a lot more and is more sophisticated and advanced. If you look only at performance then those older file systems are faster. But do you really need this in all situations?

That&#039;s why I wrote please test for yourself.

&#062; Testing postgres and zfs, you must tune some parameters, like the record size. A very good explanation is written by Klara
&#062; https://klarasystems.com/articles/5-reasons-why-your-zfs-storage-benchmarks-are-wrong/

Thanks for thehint.

&#062; An other example is checksums in zfs. Every time zfs reads data, it checks on corruption and it will repair it automatically. I do not think that ext4 wlll do that? But those actions takes iops. Maybe disable it when testing.
I&#039;ve disabled checksums in PostgreSQL for that reason.

&#062; With newer types of file storage (nvme’s, …) zfs has some performance problems. The main reason is that zfs is optimized for spinning disks. But the community is working on it. 
Thank you.

Cheers,
Daniel]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.dbi-services.com/blog/postgresql-maybe-we-should-give-zfs-a-chance-2-testing/#comment-3556">Yerry</a>.</p>
<p>Hi Yerry,</p>
<p>&gt; ext4, xfs are older file systems when comparing them with zfs. Zfs does a lot more and is more sophisticated and advanced. If you look only at performance then those older file systems are faster. But do you really need this in all situations?</p>
<p>That&#8217;s why I wrote please test for yourself.</p>
<p>&gt; Testing postgres and zfs, you must tune some parameters, like the record size. A very good explanation is written by Klara<br />
&gt; <a href="https://klarasystems.com/articles/5-reasons-why-your-zfs-storage-benchmarks-are-wrong/" rel="nofollow ugc">https://klarasystems.com/articles/5-reasons-why-your-zfs-storage-benchmarks-are-wrong/</a></p>
<p>Thanks for thehint.</p>
<p>&gt; An other example is checksums in zfs. Every time zfs reads data, it checks on corruption and it will repair it automatically. I do not think that ext4 wlll do that? But those actions takes iops. Maybe disable it when testing.<br />
I&#8217;ve disabled checksums in PostgreSQL for that reason.</p>
<p>&gt; With newer types of file storage (nvme’s, …) zfs has some performance problems. The main reason is that zfs is optimized for spinning disks. But the community is working on it.<br />
Thank you.</p>
<p>Cheers,<br />
Daniel</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yerry		</title>
		<link>https://www.dbi-services.com/blog/postgresql-maybe-we-should-give-zfs-a-chance-2-testing/#comment-3556</link>

		<dc:creator><![CDATA[Yerry]]></dc:creator>
		<pubDate>Wed, 20 Nov 2024 08:33:18 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbi-services.com/blog/?p=35692#comment-3556</guid>

					<description><![CDATA[Hi,

Comparing file systems with benchmarks tools like fio, pgbench, … is very difficult. (comparing apples and oranges)

ext4, xfs are older file systems when comparing them with zfs. Zfs does a lot more and is more sophisticated and advanced. If you look only at performance then those older file systems are faster. But do you really need this in all situations? 

Testing postgres and zfs, you must tune some parameters, like the record size. A very good explanation is written by Klara

https://klarasystems.com/articles/5-reasons-why-your-zfs-storage-benchmarks-are-wrong/

An other example is checksums in zfs. Every time zfs reads data, it checks on corruption and it will repair it automatically. I do not think that ext4 wlll do that? But those actions takes iops. Maybe disable it when testing.

Also worth reading: https://bun.uptrace.dev/postgres/tuning-zfs-aws-ebs.html

With newer types of file storage (nvme’s, …)  zfs has some performance problems. The main reason is that zfs is optimized for spinning disks. But the community is working on it. 

Regards,
Yerry]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Comparing file systems with benchmarks tools like fio, pgbench, … is very difficult. (comparing apples and oranges)</p>
<p>ext4, xfs are older file systems when comparing them with zfs. Zfs does a lot more and is more sophisticated and advanced. If you look only at performance then those older file systems are faster. But do you really need this in all situations? </p>
<p>Testing postgres and zfs, you must tune some parameters, like the record size. A very good explanation is written by Klara</p>
<p><a href="https://klarasystems.com/articles/5-reasons-why-your-zfs-storage-benchmarks-are-wrong/" rel="nofollow ugc">https://klarasystems.com/articles/5-reasons-why-your-zfs-storage-benchmarks-are-wrong/</a></p>
<p>An other example is checksums in zfs. Every time zfs reads data, it checks on corruption and it will repair it automatically. I do not think that ext4 wlll do that? But those actions takes iops. Maybe disable it when testing.</p>
<p>Also worth reading: <a href="https://bun.uptrace.dev/postgres/tuning-zfs-aws-ebs.html" rel="nofollow ugc">https://bun.uptrace.dev/postgres/tuning-zfs-aws-ebs.html</a></p>
<p>With newer types of file storage (nvme’s, …)  zfs has some performance problems. The main reason is that zfs is optimized for spinning disks. But the community is working on it. </p>
<p>Regards,<br />
Yerry</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-07-14 11:14:18 by W3 Total Cache
-->