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

From Kevin Grittner
Subject Re: Question about behavior of snapshot too old feature
Date
Msg-id CACjxUsPt4MvWyaP3XfTWMM2DH3uthFbT6TV3z4eFsizmA9s5Pg@mail.gmail.com
Whole thread Raw
In response to Re: Question about behavior of snapshot too old feature  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Question about behavior of snapshot too old feature  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
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

| Useful values for production work probably range from a small
| number of hours to a few days. The setting will be coerced to a
| granularity of minutes, and small numbers (such as 0 or 1min) are
| only allowed because they may sometimes be useful for testing.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Patch: Implement failover on libpq connect level.
Next
From: Bruce Momjian
Date:
Subject: Re: Question about behavior of snapshot too old feature