pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <gogala.mladen@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: ZFS filesystem - supported ?
Date: Sat, 23 Oct 2021 13:48:56 -0400
Message-ID: <917520e4-0023-2842-db5f-2e1cbd72b004@gmail.com> (raw)
In-Reply-To: <I6YF48WTjPJw4DuktwELspDFbDUvnquzGNUUbuukjGiAYfNR3jj1sZAW4wQbs78mRxr84HBbnUjNtj36Vj98nBMk0jvGzqmu3Y5ZH9Egfuw=@protonmail.ch>
References: <49ijds_99IK_4iDOHuZH8CJsKGZw7DEVtJPf0s_oPEvUKwFewHcDQFCUnutcA9GYIkOrRfFAKRsyj0ZFN9ECAbLm-NYPR8jMxTl-RU-U3hA=@protonmail.ch>
	<1e0db1d2-6a9e-f5f7-44af-e7a1997bafcf@gmail.com>
	<I6YF48WTjPJw4DuktwELspDFbDUvnquzGNUUbuukjGiAYfNR3jj1sZAW4wQbs78mRxr84HBbnUjNtj36Vj98nBMk0jvGzqmu3Y5ZH9Egfuw=@protonmail.ch>


On 10/23/21 09:37, Laura Smith wrote:
> Hi Mladen,
>
> Yes indeed, snapshots is the primary reason, closely followed by zfssend/receive.
>
> I'm no stranger to using LVM snapshots with ext4/xfs but it requires a custom shell script to manage the whole process around backups.  I feel the whole thing could well be a lot cleaner with zfs.
>
> Thank you for the links, I will take a look.
>
> Laura

Yes, ZFS is extremely convenient. It's a volume manager and a file 
system, all rolled into one, with some additiional convenient tools. 
However, performance is a major concern. If your application is OLTP, 
ZFS might be a tad too slow for your performance requirements. On the 
other hand, snapshots can save you  a lot of time with backups, 
especially if you have some commercial backup capable of multiple 
readers. If your application is OLTP, ZFS might be a tad too slow for 
your performance requirements. The only way to find out is to test. The 
ideal tool for testing is pgio:

https://kevinclosson.net/2019/09/21/announcing-pgio-the-slob-method-for-postgresql-is-released-under...

For those who do not know, Kevin Closson was the technical architect who 
has built both Exadata and EMC XTRemIO. He is now the principal engineer 
of the Amazon RDS. This part is intended only for those who would tell 
him that "Oracle has it is not good enough" if he ever decided to post here.


-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com






view thread (37+ messages)  latest in thread

Message-ID: <917520e4-0023-2842-db5f-2e1cbd72b004@gmail.com>
Permalink:  ../917520e4-0023-2842-db5f-2e1cbd72b004@gmail.com/
Also on:    postgresql.org/message-id/917520e4-0023-2842-db5f-2e1cbd72b004@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: gogala.mladen@gmail.com
  Subject: Re: ZFS filesystem - supported ?
  In-Reply-To: <917520e4-0023-2842-db5f-2e1cbd72b004@gmail.com>
  References: <49ijds_99IK_4iDOHuZH8CJsKGZw7DEVtJPf0s_oPEvUKwFewHcDQFCUnutcA9GYIkOrRfFAKRsyj0ZFN9ECAbLm-NYPR8jMxTl-RU-U3hA=@protonmail.ch> <1e0db1d2-6a9e-f5f7-44af-e7a1997bafcf@gmail.com> <I6YF48WTjPJw4DuktwELspDFbDUvnquzGNUUbuukjGiAYfNR3jj1sZAW4wQbs78mRxr84HBbnUjNtj36Vj98nBMk0jvGzqmu3Y5ZH9Egfuw=@protonmail.ch> <917520e4-0023-2842-db5f-2e1cbd72b004@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox