Re: Question about behavior of snapshot too old feature - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Question about behavior of snapshot too old feature
Date
Msg-id 20161019161138.GK5087@momjian.us
Whole thread Raw
In response to Re: Question about behavior of snapshot too old feature  (Kevin Grittner <kgrittn@gmail.com>)
Responses Re: Question about behavior of snapshot too old feature
List pgsql-hackers
On Wed, Oct 19, 2016 at 11:08:28AM -0500, Kevin Grittner wrote:
> On Wed, Oct 19, 2016 at 10:04 AM, Bruce Momjian <bruce@momjian.us> wrote:
> 
> > Slide 10 of this presentation has an example showing
> > old_snapshot_threshold set to '1min':
> >
> >         http://momjian.us/main/writings/pgsql/features.pdf
> 
> If the presentation is intending to show reasonable values for
> production use, that would be better as, maybe, '2h'.
> 
> As the documentation says at:
> 
> https://www.postgresql.org/docs/current/static/runtime-config-resource.html#GUC-OLD-SNAPSHOT-THRESHOLD

The example is just to illustrate the activities required to trigger it,
e.g.  pg_sleep(), VACUUM.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: Question about behavior of snapshot too old feature
Next
From: Tom Lane
Date:
Subject: Portable check for unportable macro usage