Re: idle_in_transaction_session_timeout

2021-05-08 Thread Peter J. Holzer
On 2021-05-08 15:58:27 +0530, Atul Kumar wrote: > ok, But what is the workaround of this parameter in postgres 9.5, ,I > need to increase the time of "idle in transaction" transactions. What makes you think that there is an "idle in transaction" timeout in 9.5? hp -- _ | Peter J. Ho

Re: idle_in_transaction_session_timeout

2021-05-08 Thread Avinash Kumar
On Sat, May 8, 2021 at 7:55 AM Vijaykumar Jain < vijaykumarjain.git...@gmail.com> wrote: > Why do you want to increase that timeout ? > I hope you are aware long idle in transactions connections would delay > vacuuming and result in much larger bloats and slow down the db over period > of time. >

Re: idle_in_transaction_session_timeout

2021-05-08 Thread Vijaykumar Jain
Why do you want to increase that timeout ? I hope you are aware long idle in transactions connections would delay vacuuming and result in much larger bloats and slow down the db over period of time. You need to upgrade and push using the reasons that these are not supported. asking for workarounds

Re: idle_in_transaction_session_timeout

2021-05-08 Thread Atul Kumar
ok, But what is the workaround of this parameter in postgres 9.5, ,I need to increase the time of "idle in transaction" transactions. Regards, Atul On 5/7/21, luis.robe...@siscobra.com.br wrote: > > - Mensagem original - >> De: "Atul Kumar" >> Para: "pgsql-general" >> Enviada

Re: idle_in_transaction_session_timeout

2021-05-07 Thread luis . roberto
- Mensagem original - > De: "Atul Kumar" > Para: "pgsql-general" > Enviadas: Sexta-feira, 7 de maio de 2021 3:34:44 > Assunto: idle_in_transaction_session_timeout > Hi, > I have postgres 9.5 version running on my machine. > When I am trying to find out the parameter > idle_in_transac

Re: idle_in_transaction_session_timeout not getting log in PG v12.2

2020-05-19 Thread Adrian Klaver
On 5/19/20 8:07 AM, Ishan Joshi wrote: Hi Adrian, 1) What OS and version and did it change between 11 and 12? --> it is cent os 7 an both v11.5 and v12.2 are on same server. 2) How are you starting the server and did that change?  --> through systemctl start postgresql-12 3) When did you c

Re: idle_in_transaction_session_timeout not getting log in PG v12.2

2020-05-19 Thread Adrian Klaver
- From: Adrian Klaver Sent: Tuesday, May 19, 2020 8:28 PM To: Ishan Joshi ; pgsql-gene...@postgresql.org Subject: Re: idle_in_transaction_session_timeout not getting log in PG v12.2 On 5/19/20 7:40 AM, Ishan Joshi wrote: > Yes Adrian...!!! Well then: 1) What OS and version and did it chan

RE: idle_in_transaction_session_timeout not getting log in PG v12.2

2020-05-19 Thread Ishan Joshi
19, 2020 8:28 PM To: Ishan Joshi ; pgsql-gene...@postgresql.org Subject: Re: idle_in_transaction_session_timeout not getting log in PG v12.2 On 5/19/20 7:40 AM, Ishan Joshi wrote: > Yes Adrian...!!! Well then: 1) What OS and version and did it change between 11 and 12? 2) How are you

Re: idle_in_transaction_session_timeout not getting log in PG v12.2

2020-05-19 Thread Adrian Klaver
On 5/19/20 7:40 AM, Ishan Joshi wrote: Yes Adrian...!!! Well then: 1) What OS and version and did it change between 11 and 12? 2) How are you starting the server and did that change? 3) When did you copy the 11 *.conf files over and did you restart the 12 server after? 4) What is being logg

RE: idle_in_transaction_session_timeout not getting log in PG v12.2

2020-05-19 Thread Ishan Joshi
Yes Adrian...!!! Thanks & Regards, Ishan Joshi -Original Message- From: Adrian Klaver Sent: Tuesday, May 19, 2020 7:53 PM To: Ishan Joshi ; pgsql-gene...@postgresql.org Subject: Re: idle_in_transaction_session_timeout not getting log in PG v12.2 On 5/19/20 7:12 AM, Ishan Joshi w

Re: idle_in_transaction_session_timeout not getting log in PG v12.2

2020-05-19 Thread Adrian Klaver
l Message- From: Adrian Klaver Sent: Tuesday, May 19, 2020 7:28 PM To: Ishan Joshi ; pgsql-gene...@postgresql.org Subject: Re: idle_in_transaction_session_timeout not getting log in PG v12.2 On 5/19/20 2:08 AM, Ishan Joshi wrote: > Hi Team, > > I have set idle_in_transaction_

RE: idle_in_transaction_session_timeout not getting log in PG v12.2

2020-05-19 Thread Ishan Joshi
logging_collector on Thanks & Regards, Ishan Joshi -Original Message- From: Adrian Klaver Sent: Tuesday, May 19, 2020 7:28 PM To: Ishan Joshi ; pgsql-gene...@postgresql.org Subject: Re: idle_in_transaction_session_timeout not getting log in PG v12.2 On 5/19/20 2:08 AM, Ishan Joshi w

Re: idle_in_transaction_session_timeout not getting log in PG v12.2

2020-05-19 Thread Adrian Klaver
On 5/19/20 2:08 AM, Ishan Joshi wrote: Hi Team, I have set idle_in_transaction_session_timeout on user level and it is set for 5 min. I can see after 5 min the session with “idle in transaction” state got killed and it log the details in postgresql log file with “FATAL: terminating connection

Re: idle_in_transaction_session_timeout for a set of SQL statements

2019-02-27 Thread Jeremy Finzel
> > SET lock_timeout TO '1s'; > No, my assumption is that lock_timeout does not cover my use case here. My point is actually that any one statement is not hitting lock_timeout, but as a whole the transaction takes too long. For example if I set lock_timeout to 1 second, but my migration actually

Re: idle_in_transaction_session_timeout for a set of SQL statements

2019-02-27 Thread Michael Lewis
On Wed, Feb 27, 2019 at 7:56 AM Jeremy Finzel wrote: > I was hoping to use idle_in_transaction_session_timeout to prevent schema > change migrations from running too long and thereby locking up the > application for an extended period even if any one statement in the > migration is very short. >