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 1sEwD3-0055k0-Dg for pgsql-general@arkaria.postgresql.org; Wed, 05 Jun 2024 19:22:10 +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 1sEwD2-00Az1l-LS for pgsql-general@arkaria.postgresql.org; Wed, 05 Jun 2024 19:22:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sEwD2-00Az1d-9z for pgsql-general@lists.postgresql.org; Wed, 05 Jun 2024 19:22:08 +0000 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sEwCv-000ABb-DW for pgsql-general@lists.postgresql.org; Wed, 05 Jun 2024 19:22:06 +0000 Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-6ae12762134so902586d6.1 for ; Wed, 05 Jun 2024 12:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717615320; x=1718220120; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=59P9OUhJo8Eo44/chkGk3CCTkqvXIJGLSgeKviDQJEA=; b=XyGSmw5RzkyMxRZmPTNFeWtU6rvWJztvVsJ4LK52LaVaw8BN4oHHsNpsT4Xj1u+wiD kXc+lMKRFMVltb8fZw/VJRg24rNXUrn+UF/BScXjEvozeH3Mf0RCiJjsfApQ2sQbsEt0 PhUm/3KjmNqLzyqaCFIZ8LBBdkjq5SZLM+LaZTEfRe+EBZn/XorVZXYiA8Lz3K7HCwCD lxwYb11dTqixq4Eszt9pzGvqfxCg+wMRcF+3/oS+OLicSf1HNjOHUHvIBMrE/ty7RkWd tDiE/Rc2A8vh1HxcFNj+6K2h/8JRFJESC8fOnIzIaHwWK19UfBT8Xa9P8H6c+Sv/n9WL zamQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717615320; x=1718220120; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=59P9OUhJo8Eo44/chkGk3CCTkqvXIJGLSgeKviDQJEA=; b=W2TgmkK5IftxCGESLurZEP0CebSHIBm/Oml0kOK1MAKAvpuBHKvKmvAZpB5BPhIo/8 0tMqnx0r1edWA7CHVqh5NpVJRpbAJTbltMgRXcIGV169anvxaowIOBcjYMt/x+7DdUaw IMHVLfmNoy/RR1lUdxoXKX7swLwm0ztE+2C5pHWZhJ/gXJDiXPj+62CWo+ugzOvanJnh rCVX1wr8i7DpPMlS0PdcAgnMchE9WnhCq40ZlXUYUA4hy0T6XiJ99LpPXOUMG2c1CA/G PBUYsAChluIOE6IEao14r1oAq8f0D1TeUOjRe/EufqNDVZNfwuvrFdMvhT7hWbZu6vyf 6yBQ== X-Forwarded-Encrypted: i=1; AJvYcCWLIfl5r9JrBEitivkHhUOK8UuMSSLcuHno8tA1mygtdcROeGeRJ5tBhj4GRlJFOeO7tXSRy7m1WrBD1gh55smTfq0o/QXpo1rUj56ErPtN30iS X-Gm-Message-State: AOJu0Yy9mkKJa77icsaFJgr/+OOm03cZJGV0wbu5yLEeuTvuLjBcDiPA /7dywDRpR79Y0eFRWpzBCMBIo9bkMtBiG7KwrlA3bWUAm74I2CIKKwSvGlZh4P/Cxd8NG0OQPdM eywTgJcxh89d6v//BMMajA+/IB0A= X-Google-Smtp-Source: AGHT+IGIIozD8Cvcj1+MCaNI3zDmsEuIrou6geCl/JKcq+oK1D1+k2c/EaJ8G5Qf11MS4D+bW812JQBXfm1a2ZrqrHk= X-Received: by 2002:a05:6214:2f91:b0:6ad:650a:8551 with SMTP id 6a1803df08f44-6b030a76900mr31332796d6.56.1717615319941; Wed, 05 Jun 2024 12:21:59 -0700 (PDT) MIME-Version: 1.0 References: <891bcfec74f7358ef0212caf6565a35153dd2941.camel@cybertec.at> <56ad97911d83f721dd872e8ee68cd77d50d3eef6.camel@cybertec.at> In-Reply-To: From: yudhi s Date: Thu, 6 Jun 2024 00:51:46 +0530 Message-ID: Subject: Re: Long running query causing XID limit breach To: Laurenz Albe Cc: sud , Simon Elbaz , pgsql-general Content-Type: multipart/alternative; boundary="000000000000018b78061a297b16" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000018b78061a297b16 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 5, 2024 at 3:52=E2=80=AFPM Laurenz Albe wrote: > > There should never be a restart unless you perform one or the standby > crashes. > If you mean that you want to avoid a crash caused by a full disk on the > standby, > the answer is probably "no". Make sure that you have enough disk space a= nd > use monitoring. > > Yours, > Laurenz Albe > Is this because OP initially mentioned its RDS postgres, so in that case there is storage space restriction on 64TB(and 128TB in case of aurora postgres). So I believe this storage space combines data + WAL , so in that case as you mentioned, appropriate monitoring needs to be put in place. Or else in the worst case scenario, if the storage consumption hit that hard limit , then there will be instance restart or crash? --000000000000018b78061a297b16 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jun 5, 2024 at 3:52=E2=80=AFPM La= urenz Albe <laurenz.albe@cyb= ertec.at> wrote:

There should never be a restart unless you perform one or the standby crash= es.
If you mean that you want to avoid a crash caused by a full disk on the sta= ndby,
the answer is probably "no".=C2=A0 Make sure that you have enough= disk space and
use monitoring.

Yours,
Laurenz Albe

Is this because OP initial= ly mentioned its RDS postgres, so in that case there is storage=C2=A0space = restriction on 64TB(and 128TB in case of aurora postgres). So I believe thi= s storage space combines data=C2=A0+ WAL , so in that case as you mentioned= , appropriate=C2=A0monitoring needs to be put in place.=C2=A0
Or = else in the worst case scenario, if the storage consumption hit that hard l= imit , then there will be instance restart or crash?
--000000000000018b78061a297b16--