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 1sA7bu-007gdv-5Q for pgsql-general@arkaria.postgresql.org; Thu, 23 May 2024 12:31:55 +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 1sA7bt-00BtkJ-WE for pgsql-general@arkaria.postgresql.org; Thu, 23 May 2024 12:31:54 +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 1sA7bt-00BtkB-1j for pgsql-general@lists.postgresql.org; Thu, 23 May 2024 12:31:53 +0000 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sA7bq-001cVP-7Q for pgsql-general@lists.postgresql.org; Thu, 23 May 2024 12:31:51 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 6C6D011401B5; Thu, 23 May 2024 08:31:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 23 May 2024 08:31:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1716467508; x= 1716553908; bh=LKb9FreN08jpXc8ZPdXr5ebUX4UO9aWZL5bFAoK21TE=; b=B uZg5SDcSxUY3rQoFOa3YxERu1JNomO1XWgtge+8UkvF5szskE+/EWnUy8+T9nuYu gGq1mtrb7A1uTuxNqjo9TScZ77DEmi/++/cGVHh+sIVGufCf2c+i/aoPhZ373qB1 40gtH0nPQ6ed6GJxxGdnkNE/jccFCfYA4JjuPDJAkIs3qyq9G/Lzkj6plscvzXJT aAwcb8ANNnc/NMOHZtwP9UjpRMLq/piZo8ujH1Su6FVWXeMgdHS4baDWRrTK5AGU YQJ2x8NjfzO0A6DNTlI4BiPh2ak5Jejqu0hH96ciCNsYBkHfCKtN7mu3OdQDFU/l 9EU2IaTB2Evu0pLwb+ILA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeiiedghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 May 2024 08:31:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1716467505; bh=QBTNHnyXGLvWapMSP00KKxlBtR+81WVzEIGx76rO19I=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Lz7aVcnrUjicr3hvR25qI6gq6hFGNjVJrCFvRuqUJoBjw+FifctDBV+k/boGBJlmv 5ziEPp5w4+ucK5lTebaN5ah0m1tKE4L+4eI/PNs2AVVmZJz2CgIyTI+r3t0OQGct2+ 9mP0vwulU3e9J3O2ZMlCAjW08CncRwYIZfNpB7Fktz7V+R6ZycVD/0f/lYhtbpYiAU Xef6gwm/0oYsf0mJcuMaBEekL+Hy5Cv3cz/5nFOtF1o7AZGsJPkgls3uhXB937tv3Z Jw1d7dA2PzOAV9n8fC1JVXKNVvHjkKkCwS2Tcp/EdqKxKlUc/yGk5xsJa8cFx+qC5i ITx8cZXYZL9yg== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 0B3BEA7; Thu, 23 May 2024 14:31:45 +0200 (CEST) Date: Thu, 23 May 2024 14:31:44 +0200 From: Alvaro Herrera To: Jethish Jethish Cc: Torsten =?utf-8?Q?F=C3=B6rtsch?= , pgsql-general@lists.postgresql.org Subject: Re: Backup failure Postgres Message-ID: <202405231231.53fwifecg76g@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-May-23, Jethish Jethish wrote: > I have tried by increasing the max_standby_streaming_delay but I'm facing > lag issues on the replica server. > > When i increase the max_standby_streaming_delay even if a query runs for 2 > minutes I'm facing lag issues for 2 minutes. You could use a separate replica for backups, with a larger max delay. > Data size is 3TB I think pg_dump is not an appropriate tool for backups on an instance this size. Have you considered using pgbarman or such, instead? -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/