Re: Database Locks , Performance Issues and How to Resolve?

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: soumik(dot)bhattacharjee(at)kpn(dot)com
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Database Locks , Performance Issues and How to Resolve?
Date: 2020-01-02 19:37:33
Message-ID: CAMkU=1woEXPgJ-O8DrA-TS7vJrp=H044eWqHZMHfFbUSM0kTJg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jan 2, 2020 at 5:35 AM <soumik(dot)bhattacharjee(at)kpn(dot)com> wrote:

> - *I want to know if below is true in case of
> Postgres ? Then it’s a problem as all coding needs to be done manually and
> not by JPA.*
>
>
>
> *By default in Java Spring boot autocommit set to true. It means all the
> SQL statements consider as a transactions (include Select statement).*
>
> *Automatically Begin and commit will execute only successful execution of
> each statement.*
>

Well, was it "idle in transaction"? If so, the either the query came in
through something other than Spring Boot, or someone overrode the default.
There is no grand answer here, you have to figure out what actually
happened.

Cheers,

Jeff

>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Shrikant Bhende 2020-01-07 09:28:36 Alter command getting stuck on a table
Previous Message soumik.bhattacharjee 2020-01-02 10:35:46 RE: Database Locks , Performance Issues and How to Resolve?