pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-general@postgresql.org
Subject: Re: idle in transaction, why
Date: Tue, 7 Nov 2017 07:44:59 -0700
Message-ID: <19B059B9-E4D6-41CA-AB0A-CBAB58C10EC7@gmail.com> (raw)
In-Reply-To: <otrmk6$63m$1@blaine.gmane.org>
References: <4a365db4-8608-65c8-e3dc-23524f881bc3@gmail.com>
	<CAKFQuwaOZPo6ArqXrJ=E1jVYxV-F9=YuY8uypyY+OymuZAKKsA@mail.gmail.com>
	<16893.1509999467@sss.pgh.pa.us>
	<6ed9ca9b-fb80-e505-2522-be9b5f63a759@gmail.com>
	<19493.1510000892@sss.pgh.pa.us>
	<81aa980b-fb4c-e9b4-fa82-9f14df71a2df@gmail.com>
	<CAHyXU0wbTn2pE0Mf1wtMd90xpYXRMYgwiba7Bf-fkOy+uVkVfg@mail.gmail.com>
	<5d130fce-3f5c-fb0a-4bf0-3163c14fc49a@gmail.com>
	<otrmk6$63m$1@blaine.gmane.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>



> On Nov 7, 2017, at 12:16 AM, Thomas Kellerer <spam_eater@gmx.net> wrote:
> 
> Rob Sargent schrieb am 06.11.2017 um 23:09:
>> Gosh I wish I could learn to proof-read my posts.
>> My support crew graciously set
>> 
>> idle_transaction_timeout = 1
>> 
>> Now to ponder if I need zero or some large number.
> 
> The unit of that setting is milliseconds (if no unit is specified). 
> zero disables that feature.
> 
> One millisecond seems like an awfully short period to allow a transaction to be idle. 
> 
> I would figure values in "minutes" to be more realistic depending on the workload and characteristics of the application. 
> 
> A transaction that has several seconds of "think time" between individual statements doesn't seem that unrealistic. 
> 
> 
> Thomas
> 
> 
> 
I started with the default zero and the save went through perfectly. It takes ten minutes so I’ll have a concurrency issue I imagine. 
> 
> -- 
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (16+ messages)  latest in thread

Message-ID: <19B059B9-E4D6-41CA-AB0A-CBAB58C10EC7@gmail.com>
Permalink:  ../19B059B9-E4D6-41CA-AB0A-CBAB58C10EC7@gmail.com/
Also on:    postgresql.org/message-id/19B059B9-E4D6-41CA-AB0A-CBAB58C10EC7@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com, spam_eater@gmx.net
  Subject: Re: idle in transaction, why
  In-Reply-To: <19B059B9-E4D6-41CA-AB0A-CBAB58C10EC7@gmail.com>
  References: <4a365db4-8608-65c8-e3dc-23524f881bc3@gmail.com> <CAKFQuwaOZPo6ArqXrJ=E1jVYxV-F9=YuY8uypyY+OymuZAKKsA@mail.gmail.com> <16893.1509999467@sss.pgh.pa.us> <6ed9ca9b-fb80-e505-2522-be9b5f63a759@gmail.com> <19493.1510000892@sss.pgh.pa.us> <81aa980b-fb4c-e9b4-fa82-9f14df71a2df@gmail.com> <CAHyXU0wbTn2pE0Mf1wtMd90xpYXRMYgwiba7Bf-fkOy+uVkVfg@mail.gmail.com> <5d130fce-3f5c-fb0a-4bf0-3163c14fc49a@gmail.com> <otrmk6$63m$1@blaine.gmane.org> <19B059B9-E4D6-41CA-AB0A-CBAB58C10EC7@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox