Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tvco3-006TVl-7v for pgsql-general@arkaria.postgresql.org; Fri, 21 Mar 2025 13:53:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tvco1-007jtd-Fq for pgsql-general@arkaria.postgresql.org; Fri, 21 Mar 2025 13:53:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tvco1-007jrP-4l for pgsql-general@lists.postgresql.org; Fri, 21 Mar 2025 13:53:01 +0000 Received: from mail1.dalibo.net ([51.159.93.128] helo=mail.dalibo.com) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tvcnz-000KBN-1e for pgsql-general@lists.postgresql.org; Fri, 21 Mar 2025 13:53:00 +0000 Received: from [192.168.1.131] (182.109.220.81.rev.sfr.net [81.220.109.182]) by mail.dalibo.com (Postfix) with ESMTPSA id 629382694E for ; Fri, 21 Mar 2025 14:52:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1742565176; bh=tdsHWxoJ+3rS0m0jtBHI+JKmki5iwDIdsitR9ZwuYJM=; h=Date:Subject:To:References:From:In-Reply-To:From; b=h5lfr8u55YW5lwx4CBC0l1xwnl45yAiBsG35/dPCb+/FB+s8VNJ9LxfsOvxHuM04V z0xrBVWLaMpUIgsnmgvOCF/BOb3BM0ZlABHxmfAB6geYW3JkBcKn6AEmiAXWmTpYJd sRXYYWVmY+S3QtyGPrDVaxZaWpSRWHpo4X0fNMKM= Message-ID: Date: Fri, 21 Mar 2025 14:52:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Export operation efficiency in read replica To: pgsql-general@lists.postgresql.org References: <143af5f7-94c1-453b-803e-12f162780a83@aklaver.com> Content-Language: fr From: Guillaume Lelarge Organization: Dalibo In-Reply-To: <143af5f7-94c1-453b-803e-12f162780a83@aklaver.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 20/03/2025 15:04, Adrian Klaver wrote: > On 3/20/25 05:58, Siraj G wrote: >> Hello Laurenz >> >> As per my understanding coming to a proper conclusion wrt RPO > > You still have not defined what RPO is. > I guess the OP is talking about Recovery Point Objective, which is one of two important parameters WRT to disaster recovery. It's the maximum data loss you agree on with your backup solution. That mostly depends on the database context, something we can't tell. And according to how much you agree to lose (one minute of activity? one hour?), you then can choose between pg_dump or PITR backups. But with a 1TB-database, I wouldn't dare using pg_dump. PITR backup is the only option. -- Guillaume Lelarge Consultant https://dalibo.com