Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eC57p-0004kK-Lr for pgsql-general@arkaria.postgresql.org; Tue, 07 Nov 2017 14:45:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eC57o-0007Ab-Nd for pgsql-general@arkaria.postgresql.org; Tue, 07 Nov 2017 14:45:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eC57o-0007AL-8L for pgsql-general@postgresql.org; Tue, 07 Nov 2017 14:45:12 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1eC57g-0004zO-Fy for pgsql-general@postgresql.org; Tue, 07 Nov 2017 14:45:11 +0000 Received: by mail-pf0-x241.google.com with SMTP id z11so10477660pfk.4 for ; Tue, 07 Nov 2017 06:45:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=+dZp3kcTyq/MH4AqkCmlH1xG7SxDjvH6ZrHlVGjHO9I=; b=EVWxCoSf6qS0p/ybd/0V4bRZr1BZvbtLX1EQ5n4Y/g7HnOGGD3wTcfTFG5Ug2Q5BZ9 rHXium9zwuie1uou9jJlYH4mLJBcPuwb05v6NrGm30OGuYY68ZlxKwHFEfiibazrUs8R xhNQuM34YHmOTHtFRyip71LWGRVBMvX+5fcpnEb9sg0qTz28kcK2BaAj8z8xrGQZFtHb IQZjiOJ9mq9b1Rl+RHrYDf/pOH9hco4O+ma9uTxOidkhowHsD0dN9kyYc23ZrtnjD0XL MvH2YpvXWhJEvGckNa5AV6tDE4mwWtZNeAlDphj2ngeA5NoXlgLBAc6QkSOTmYtxdsG9 +XGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=+dZp3kcTyq/MH4AqkCmlH1xG7SxDjvH6ZrHlVGjHO9I=; b=GlrhHlMMDPTnBKWqltdKBjBdIxbe+S21d8X2w9zDa844rm3TlR73imzg43WFVIMAzL riDlmqZsU80o4MZrWBzrAHbrQZAshuUg6UghZbdRPRVhJ4pb0rNb/iRC/OO/xTGX4gF1 vjk7CDPlasCIdrLxG+AIMvYhoeQvMb+TsTVYyIYUTy1ICNZOw6VUVmDDi9wE8l40XWEQ 3PcrG+crJhkE0cCwctrV196HeGCPdPGdikTY8ZJrYeovxru4wrjgG9MvO6KRHddAfgwJ euLxsxstGXhyEFwoB0LjKqezmOYFfx4c8+GBZ+03jFiNvO4GW+0e/2v3hliGwzjgZP8L vLRg== X-Gm-Message-State: AMCzsaVzTXrtfWKwVqDAWr4YvyowBYiyirPHmdSeom2cRjIORQavb3t0 vsk2XpIb3ROvp8+ThM4hCcaTDdkH X-Google-Smtp-Source: ABhQp+SDcvBVbyc5tq32qiYAblmgkfz637MArzJRyXbeDHI1hJlebkMukPRFRpPo4t+pAoH4/A5Ewg== X-Received: by 10.159.244.138 with SMTP id y10mr18254785plr.399.1510065901997; Tue, 07 Nov 2017 06:45:01 -0800 (PST) Received: from ?IPv6:2601:681:5500:1e3c:d9fe:3333:73d8:ad2c? ([2601:681:5500:1e3c:d9fe:3333:73d8:ad2c]) by smtp.gmail.com with ESMTPSA id j186sm4109209pfc.114.2017.11.07.06.45.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Nov 2017 06:45:00 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: idle in transaction, why From: Rob Sargent X-Mailer: iPhone Mail (15A432) In-Reply-To: Date: Tue, 7 Nov 2017 07:44:59 -0700 Cc: pgsql-general@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <19B059B9-E4D6-41CA-AB0A-CBAB58C10EC7@gmail.com> References: <4a365db4-8608-65c8-e3dc-23524f881bc3@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> <5d130fce-3f5c-fb0a-4bf0-3163c14fc49a@gmail.com> To: Thomas Kellerer List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org > On Nov 7, 2017, at 12:16 AM, Thomas Kellerer wrote: >=20 > 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 >>=20 >> idle_transaction_timeout =3D 1 >>=20 >> Now to ponder if I need zero or some large number. >=20 > The unit of that setting is milliseconds (if no unit is specified).=20 > zero disables that feature. >=20 > One millisecond seems like an awfully short period to allow a transaction= to be idle.=20 >=20 > I would figure values in "minutes" to be more realistic depending on the = workload and characteristics of the application.=20 >=20 > A transaction that has several seconds of "think time" between individual= statements doesn't seem that unrealistic.=20 >=20 >=20 > Thomas >=20 >=20 >=20 I started with the default zero and the save went through perfectly. It tak= es ten minutes so I=E2=80=99ll have a concurrency issue I imagine.=20 >=20 > --=20 > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general --=20 Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general