Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1meL8i-00050n-UF for pgsql-general@arkaria.postgresql.org; Sat, 23 Oct 2021 17:49:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1meL8h-00074v-Jv for pgsql-general@arkaria.postgresql.org; Sat, 23 Oct 2021 17:49:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1meL8h-00074l-6y for pgsql-general@lists.postgresql.org; Sat, 23 Oct 2021 17:49:03 +0000 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1meL8e-0005X7-JO for pgsql-general@lists.postgresql.org; Sat, 23 Oct 2021 17:49:02 +0000 Received: by mail-qt1-x82b.google.com with SMTP id c28so6479430qtv.11 for ; Sat, 23 Oct 2021 10:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=iOb1M6oMYryfRzhLm9W1UxQGh1GIQzQ4qrCEnhHcKpc=; b=bheUIji68+ngJmYwRq9GMp5XpOvOztBaQSy5vBVeO0FrhL/zR0TAujOekGR+AYtO59 UCLphd3PAS7CpUVLRHBcY75Cc7UoindxkV58+/45/FFEvfnj9NEAGLh9HlsbrUkufOZ0 ynA4duaho2ePsRAiGO8NSsPPzNu0/XO2VM1IFYG1zyJGsZAte7WQceyVJEMjhvcUDtUR 9c0wrVlIP/QKabNTcvgFtP5IyPgB0d+c6C8naLJsgFlI8CqPjWdD4hvkB7y4jWHVacEa +ngEskrfLva0XCAUcOcH7PZJ1Qk3CQThDNkROXT3xt9PEmoBWmrM3ytAhXOymqjPRJzT 0UdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=iOb1M6oMYryfRzhLm9W1UxQGh1GIQzQ4qrCEnhHcKpc=; b=nzmUpVAAo8x9JW+QY0lBwymujNV+X/TF6jhM/Y/ay+JGLHkL/1yFh2g6CTtCursig7 YK8pVO5w44S2GQg+ko2SpNDqv6YDTTO3o61lHJKKcq1XN9kyTRA4RECrkd65iN3DDlWz IjjujcoF8uZRlzx8z3lCcKmWpJCu+zy7EKpncJ3q5PdqbYYg/JLzkJocjxbuB0f7U+5Q wV/YV1vWvHDCFE/YkWnx09biy4HjMGETRgQw6vrQuv3AiN9HT2ubjkJ4zsZ6jh39nzDc 9Sy6mEHZXYETVoghR5QPLbQSXigQg4ANXUzt1RAeTPNplBhPb6AqjmQYS3TF7NWYAj50 cgIQ== X-Gm-Message-State: AOAM5313OuUhHo3sAkQmvGmEQX+jcuselCEEYs7Q2wXxHnPqrtWU4f/s 9XnKjQqTmmx85Yo57efOIpNhYNhYfEKEKg== X-Google-Smtp-Source: ABdhPJy3KNZTx4bNo3LfGAoMpAGX/E+5Kij4wXphz12SeDE7n3u7hArQOBjVm4DWPzpjANZtoGd8WA== X-Received: by 2002:ac8:4349:: with SMTP id a9mr7583369qtn.163.1635011337942; Sat, 23 Oct 2021 10:48:57 -0700 (PDT) Received: from [192.168.2.100] (pool-72-79-19-93.nwrknj.east.verizon.net. [72.79.19.93]) by smtp.gmail.com with ESMTPSA id b19sm5895363qto.46.2021.10.23.10.48.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Oct 2021 10:48:57 -0700 (PDT) Message-ID: <917520e4-0023-2842-db5f-2e1cbd72b004@gmail.com> Date: Sat, 23 Oct 2021 13:48:56 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: ZFS filesystem - supported ? Content-Language: en-US To: pgsql-general@lists.postgresql.org References: <49ijds_99IK_4iDOHuZH8CJsKGZw7DEVtJPf0s_oPEvUKwFewHcDQFCUnutcA9GYIkOrRfFAKRsyj0ZFN9ECAbLm-NYPR8jMxTl-RU-U3hA=@protonmail.ch> <1e0db1d2-6a9e-f5f7-44af-e7a1997bafcf@gmail.com> From: Mladen Gogala In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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-apache-2-0-and-available-at-github/ 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