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 1rlBa0-000dPB-CK for pgsql-general@arkaria.postgresql.org; Fri, 15 Mar 2024 17:42:52 +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 1rlBZy-00B4l3-Ve for pgsql-general@arkaria.postgresql.org; Fri, 15 Mar 2024 17:42:51 +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 1rlBZy-00B4jF-J3 for pgsql-general@lists.postgresql.org; Fri, 15 Mar 2024 17:42:51 +0000 Received: from fout2-smtp.messagingengine.com ([103.168.172.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rlBZw-004hBC-7n for pgsql-general@lists.postgresql.org; Fri, 15 Mar 2024 17:42:50 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id 5BE7C1380093; Fri, 15 Mar 2024 13:42:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 15 Mar 2024 13:42:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc: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=fm3; t=1710524566; x=1710610966; bh=MLF+fsX21h pQoe5IwSbSVMtT6idt6ZMhUX022K9YnzI=; b=i6OufY3qUBNFxTxCwRiiiYv84X s0SJRWHCbO2+PmwUphljzyPK0R7WD6rahGvDJ56cE1aZ1DMbHKjdKTymPOUDQreg mG0TykqyAWDx6GcFjpuB1pCdswuVzHC/ZWEG5UZ3JuAuGfNA3c8reBYPwahD5Cdh QhJsvpDE6mz6JkCV8hqDR7AHCzkT20kNYv+pEOE6hsjxrxaJ3FsRml9MsazTwyTf LmzViYv22/EpwBAOBjr+qeyS01ZxV0GxUBxQr0vk+qafotytpY8e73kMlPDWgSHx 2Y4EdxyWO7KbJFLIg4DyZ1YcXaBxGGGmni9WpT4dL0cIbUJZOI7NzICueQfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1710524566; x=1710610966; bh=MLF+fsX21hpQoe5IwSbSVMtT6idt 6ZMhUX022K9YnzI=; b=b9GcXcq1m1VgAf9vVsFFQND4cLEzt0+tERYwPi2avNXM OJtpOqzYKaZHeb0Ytu+qBcf+l+dzR6ga2C3TXitrFKqwXR8sIvxhWEZszq7i/p/a i5fLLfDEg/hRz7rSDQxjPI2ciycBWL4xLw8SlnbKR2vOh9HKIh7KZE3j+qUQenrA nJSr04nFyjuMbESyb1lGNlWM/2XsDsVs97ydZ/IqEOpjPA6B/GS9FGJkVtmXroE6 SORoTJU6BVQCuJB2gUyvBwq5PKX3Jg5rw3lEE+ee3RInXrffFBU2yRizOfF6WRh+ vq7JjgTCkhUUQYT1ymDCPMSGl5eWG7IfWjIcRTOdLw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrjeelgddutddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptgfkffggfgfuvfevfhfhjgesrgdtreertddvjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeejtedtvdekkeetveejtedtgeeigeejueelgeduueei heejfeeiiedvueeggfejgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 15 Mar 2024 13:42:36 -0400 (EDT) Content-Type: multipart/alternative; boundary="------------0viVeHA0mpM4gfgVzvgM0f4O" Message-ID: <48ea6606-41ad-4094-887a-466c8c827bf2@aklaver.com> Date: Fri, 15 Mar 2024 10:42:34 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Query on Postgres SQL transaction Content-Language: en-US To: "Bandi, Venkataramana - Dell Team" , "pgsql-general@lists.postgresql.org" Cc: "Kishore, Nanda - Dell Team" , "Alampalli, Kishore" References: From: Adrian Klaver In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------0viVeHA0mpM4gfgVzvgM0f4O Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/14/24 11:04 PM, Bandi, Venkataramana - Dell Team wrote: > > Hi Team, > > We are using JPA entities to persists the records into Postgres SQL DB > and its working for all the nodes but one of the node data is not > persisting and it’s not giving any DB related errors/exception. We > just want to trace out this scenario on transaction level whether > transaction is committing or not. > "... its working for all the nodes but one of the node data is not persisting ..." contradict. Generally when a record does not throw an error, but is not persisted it means the transaction was not committed and the changes did not survive the session they where done in. Without the actual code it hard to say anything more. > Could you please let us know how we can trace out this scenario and > let us know how transaction logs enabled in Postgres SQL DB. > > Regards, > > Venkat > > > Internal Use - Confidential > -- Adrian Klaver adrian.klaver@aklaver.com --------------0viVeHA0mpM4gfgVzvgM0f4O Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 3/14/24 11:04 PM, Bandi, Venkataramana - Dell Team wrote:

Hi Team,

 

We are using JPA entities to persists the records into Postgres SQL DB and its working for all the nodes but one of the node data is not persisting and it’s not giving any DB related errors/exception. We just want to trace out this scenario on transaction level whether transaction is committing or not.


"... its working for all the nodes but one of the node data is not persisting ..." contradict.

Generally when a record does not throw an error, but is not persisted it means the transaction was not committed and the changes did not survive the session they where done in. Without the actual code it hard to say anything more.

 

Could you please let us know how we can trace out this scenario and let us know how transaction logs enabled in Postgres SQL DB.

 

 

Regards,

Venkat

 


Internal Use - Confidential

-- 
Adrian Klaver
adrian.klaver@aklaver.com
--------------0viVeHA0mpM4gfgVzvgM0f4O--