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 1tvINE-003CCi-72 for pgsql-general@arkaria.postgresql.org; Thu, 20 Mar 2025 16:04:00 +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 1tvINC-003yKP-R0 for pgsql-general@arkaria.postgresql.org; Thu, 20 Mar 2025 16:03:58 +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 1tvINC-003yK9-G7 for pgsql-general@lists.postgresql.org; Thu, 20 Mar 2025 16:03:58 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tvINA-0009oc-0b for pgsql-general@lists.postgresql.org; Thu, 20 Mar 2025 16:03:57 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-43d07ca6a80so5120615e9.1 for ; Thu, 20 Mar 2025 09:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1742486633; x=1743091433; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=rGwSP8NH8qNlt7bSFf7QNCveCJ+EGyu9j1HKl2mvF8c=; b=pRRf+qIugPMRtDxW7NdqMTaIkYTfBd1TsmComrCNLDRsgA1w1pAiL174j3YWne2yDd 9ksXv7Ew4CjcAtLjy/KqfxuPSO7vAvqdKRtEmI8/bJslrVGYhR23Z/GybH22OCTfDtnk xOT0SN0SdSdxhHpHCIUSJQ1kZMTztUx+v4s+nWr1wV+w067GsCnFO0AjUmp2Rf2D0bFF ysEdoCE+Uc3INWldXkZL1pFG6djudO9OIMZeFQy7c0Ri9Cb8jExDmlxx7otac0v+Q6vd D9huDcxPvye1HtpJ5otVMlpIuVT19kmpRtIMQy4zfCz7HQKj/sxUbq8pv0NZhEgZEflc 2iyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742486633; x=1743091433; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=rGwSP8NH8qNlt7bSFf7QNCveCJ+EGyu9j1HKl2mvF8c=; b=uZf7tnE4ycMLMkRp84H3CI5XE38N+abZH6BQmBSQvaVIEWG4ZsuDqL2aM1HGOzGAeh CMqqQIa18WFqud419DL82W15/3bRfyXEMYnl1gGdApO4EsKXy+Pzw3RWj1po6y1UY48y 8ynZm9mmLAVBGpf9AxSG4+OcL78TEVjk/spJUunRwdL+cMUqCpYFs3aNxQBBc1dHDfXy XppAujeme9pwheGUdb/A4t+2jiOx+sIQXsiSfqhWwrr5yZOx/DLOTMJoyxmm+GvhfEZd vcflcjMwyLGb++TpDPHGDRzGQgtwCUVlDZWIZY3GwkxklEeW8NpgNdLvxZXx6R2hfBoq Gp3A== X-Gm-Message-State: AOJu0YzQUlx/TYtXR8LarDqczN1FL/vT6J9B45A7+Y24kPQazOO9N8f/ QbMEGsxLIrIfBD2Szz618q+cVSA9u5ufryaSWhMumshyYrGG3QW1Im4Xk3LOTfk= X-Gm-Gg: ASbGncuUJpRFR77WMlK1FYfkVwCYNX8WzCXAXzyddW+qc2ct0GYBi/xM1zknQ39oj3N u4WTls6uCg6zofyo2k6xkzBWrlp2FXFWOE/2nJVwbhCeULnfN3pD2+Txvy2cogyEdkoNZl6qlV3 89P5uxprqisht40dZBKBBye4dIblkz5yVAITojSso/02Xyc+GqhmJKEl5gCsCat1efqL8yEGhaW jx9A3m0sQypn6kUrzHqQ2igvIgCjaNRE8KJQBKYLL6VTQIhtGD/uFXy7zDZWsRu6/kv3a1b/+Qw ZUEVw4Zj/NzIYPSTvJXceKxwh/Sl59x6YPUwNGobDXfad+w7NBjeJxsJj33OMWC2EaTvQlr0rg= = X-Google-Smtp-Source: AGHT+IExah82PTNO9gpzzq+Zndzg79pvyB+6aoaZAJ3jtYX+PhISKDb43H/SkzYY23gGP1MlYv08/g== X-Received: by 2002:a05:600c:c115:b0:43d:563:6fef with SMTP id 5b1f17b1804b1-43d43bee99emr39781095e9.21.1742486633136; Thu, 20 Mar 2025 09:03:53 -0700 (PDT) Received: from localhost.localdomain ([2001:871:5e:4a1:e980:793b:ea4c:4c10]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d3adc4488sm54963635e9.0.2025.03.20.09.03.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Mar 2025 09:03:52 -0700 (PDT) Message-ID: <1965bf0f57744c2efcb23a0a7763d652254d05bf.camel@cybertec.at> Subject: Re: Export operation efficiency in read replica From: Laurenz Albe To: Siraj G Cc: pgsql-general@lists.postgresql.org Date: Thu, 20 Mar 2025 17:03:51 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 (3.54.3-1.fc41) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2025-03-20 at 18:28 +0530, Siraj G wrote: > As per my understanding coming to a proper conclusion wrt RPO with > export operation is challenging. Eg., the export started at x and > ended at z, the time stamp here for many data sets is different. > Moreover, I do not think there is an incremental way available for export= , correct? You are talking about "pg_dump", right? A dump is always consistent, no matter how long it takes. But if you want to take a daily dump of a 1TB database, you are doing something wrong. You should change the requirements. Yours, Laurenz Albe