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

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Database Locks , Performance Issues and How to Resolve?
Дата
Msg-id CAMkU=1woEXPgJ-O8DrA-TS7vJrp=H044eWqHZMHfFbUSM0kTJg@mail.gmail.com
обсуждение исходный текст
Ответ на RE: Database Locks , Performance Issues and How to Resolve?  (<soumik.bhattacharjee@kpn.com>)
Список pgsql-admin
On Thu, Jan 2, 2020 at 5:35 AM <soumik.bhattacharjee@kpn.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

В списке pgsql-admin по дате отправления:

Предыдущее
От:
Дата:
Сообщение: RE: Database Locks , Performance Issues and How to Resolve?
Следующее
От: Shrikant Bhende
Дата:
Сообщение: Alter command getting stuck on a table