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 1v6aFP-006pP5-1W for pgsql-general@arkaria.postgresql.org; Wed, 08 Oct 2025 19:54:51 +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 1v6aFM-00Cnhj-QY for pgsql-general@arkaria.postgresql.org; Wed, 08 Oct 2025 19:54:49 +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 1v6aFL-00CnhU-Nt for pgsql-general@lists.postgresql.org; Wed, 08 Oct 2025 19:54:49 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1v6aFJ-000j28-1Z for pgsql-general@lists.postgresql.org; Wed, 08 Oct 2025 19:54:47 +0000 Received: from phl-compute-09.internal (phl-compute-09.internal [10.202.2.49]) by mailfhigh.stl.internal (Postfix) with ESMTP id 76B497A004D; Wed, 8 Oct 2025 15:54:45 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Wed, 08 Oct 2025 15:54:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1759953285; x=1760039685; bh=9VmVzWU03KUiMQdP6hCjBAvdtTzVkPywRbRmCEP9jm4=; b= oG9zqQ/EzvQNNCjeCPbU09HDyDAbGLIL245pirEWliPm4hi0l08jstLMHuTDRMjJ 3QRahZsMaLiH4E+F0oEPb72Q74q/WySHJAT7NjV9+u16bcXRd+D2Fv5fHDY03z+v kwOJzC1bjryrquNa2vepimNO9SfhTZ58DRpnuYmZ1GOzpEWKAHJvzfb/2nCplVSj OMQCM80d79JmLgSnXZqZ3kSnBBMmoQra4xNczUg7aBnREij6yKfrHEQxG8WDzFyv lh+lJ+IMZKkgpfwPlATiqudMuRWpwEoVMinIBiGADTNHQoyvb/3wPyqhtfIyU8b+ JY9V96LPfXQj3cQG2qeMMA== 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 :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1759953285; x= 1760039685; bh=9VmVzWU03KUiMQdP6hCjBAvdtTzVkPywRbRmCEP9jm4=; b=k rQ88gc+iv+rELe3t0SMexc0Z7gW6OIR7S7i40Q0tJ61FXw9lZ8qm+unDiiF9aHGv AeR6QBze17z9hZ21OCt4OYPrwuIsCJf4yerXLbAiHD3lbXy4jffnma9l927j/j+F cfSgvrECk44qtGEOg9+y3yDmOYQuHli+sTMJRRTIu2QppS6JirncWHav0GeRDvfC JZ/vqHU8NjXlrtgzKAhSVkMy4rfeYdUYV30e0SVGw7PSBvVvbqyRvax5QebuEVFi hurBg4aTJOT2y0q4VnMjAAe+QzKquuW+rChh8fiChlA2Mr86QsmbLd6l0vse4M6l 6QdgN1GSHSP3WhO1yukOQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddutdegudelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekre dttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeejkeegtefhfe egheehkedukefhfeeihfetkedukedttdeiveejkeelheehtdetffenucffohhmrghinhep rghmrgiiohhnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgs pghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhuughsud egfeegsehgmhgrihhlrdgtohhmpdhrtghpthhtoheprhhonhhljhhohhhnshhonhhjrhes ghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsth hsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Oct 2025 15:54:44 -0400 (EDT) Message-ID: Date: Wed, 8 Oct 2025 12:54:44 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Alerting on memory use and instance crash To: sud , Ron Johnson Cc: pgsql-general References: <9f175444-6bfc-4c6e-a609-e552d85c45a1@aklaver.com> Content-Language: en-US From: Adrian Klaver 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/8/25 11:58, sud wrote: > Thank you. > My understanding may be wrong here.And my apology as I am using the > example of Oracle again even though these two are not the same. But > being worked for a long time in Oracle so trying to understand exactly > how it's different. > > In oracle RAC(real application cluster) database, we have single > databases with multiple nodes/instances/memory, which means the > underlying storage is same but the memory/cpu of each of those instances > are different and any of the instances can be down but the database > still operates routing the application traffic of the downed node to > others. Similarly even in AWS Aurora postgres also there can be multiple > instances like Writer and Reader instances/nodes and the underlying > storage being the same. So I was thinking of any such cluster level pg_* > views available by querying which we would be able to know if any one of > the nodes is down ?   Also , I don't see any such pg_* view which can > show the statistics of all the instances combinely i.e. cluster level > statistics. > > Do you mean in normal Postgres it's alway a single instance/memory and > single storage attached? then I also do not see any such cluster level > views in aws aurora postgres too? Pardon if it's a silly one to ask. > It would be helpful if you specified exactly what variety of Postgres you are using and it's version. If you are using AWS Aurora Postgres then you will need to look at pages like this: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Managing.html This list is for the community version of Postgres and it's been a long time since AWS saw fit to have someone on the list and when they where here they did not really provide answers. -- Adrian Klaver adrian.klaver@aklaver.com