pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
what is maximum allowed value of autovacuum_freeze_max_age
4+ messages / 3 participants
[nested] [flat]

* what is maximum allowed value of autovacuum_freeze_max_age
@ 2012-09-12 22:44 Radovan Jablonovsky <radovan.jablonovsky@replicon.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Radovan Jablonovsky @ 2012-09-12 22:44 UTC (permalink / raw)
  To: pgsql-admin

Hello,

In documentation
http://www.postgresql.org/docs/9.1/static/routine-vacuuming.html is this
information about autovacuum_freeze_max_age: "if autovacuum_freeze_max_age is
set to its maximum allowed value of a little less than two billion". What
is exact maximum allowed value of autovacuum_freeze_max_age?

Sincerely,
Radovan Jablonovsky

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: what is maximum allowed value of autovacuum_freeze_max_age
@ 2012-09-13 03:13 Kevin Grittner <Kevin.Grittner@wicourts.gov>
  2012-09-14 00:56 ` Re: what is maximum allowed value of autovacuum_freeze_max_age Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Kevin Grittner @ 2012-09-13 03:13 UTC (permalink / raw)
  To: pgsql-admin; radovan.jablonovsky@replicon.com

Radovan Jablonovsky  wrote:
 
> In documentation
> http://www.postgresql.org/docs/9.1/static/routine-vacuuming.html
> is this information about autovacuum_freeze_max_age: "if
> autovacuum_freeze_max_age is set to its maximum allowed value of a
> little less than two billion". What is exact maximum allowed value
> of autovacuum_freeze_max_age?
 
test=# select name, setting, min_val, max_val
test-#   from pg_settings where name = 'autovacuum_freeze_max_age';
           name            |  setting  |  min_val  |  max_val   
---------------------------+-----------+-----------+------------
 autovacuum_freeze_max_age | 200000000 | 100000000 | 2000000000
(1 row)
 
Perhaps we should drop "a little less than" from the docs.
 
-Kevin




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: what is maximum allowed value of autovacuum_freeze_max_age
  2012-09-13 03:13 Re: what is maximum allowed value of autovacuum_freeze_max_age Kevin Grittner <Kevin.Grittner@wicourts.gov>
@ 2012-09-14 00:56 ` Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Bruce Momjian @ 2012-09-14 00:56 UTC (permalink / raw)
  To: Kevin Grittner <Kevin.Grittner@wicourts.gov>; +Cc: pgsql-admin; radovan.jablonovsky@replicon.com

On Wed, Sep 12, 2012 at 10:13:38PM -0500, Kevin Grittner wrote:
> Radovan Jablonovsky  wrote:
>  
> > In documentation
> > http://www.postgresql.org/docs/9.1/static/routine-vacuuming.html
> > is this information about autovacuum_freeze_max_age: "if
> > autovacuum_freeze_max_age is set to its maximum allowed value of a
> > little less than two billion". What is exact maximum allowed value
> > of autovacuum_freeze_max_age?
>  
> test=# select name, setting, min_val, max_val
> test-#   from pg_settings where name = 'autovacuum_freeze_max_age';
>            name            |  setting  |  min_val  |  max_val   
> ---------------------------+-----------+-----------+------------
>  autovacuum_freeze_max_age | 200000000 | 100000000 | 2000000000
> (1 row)
>  
> Perhaps we should drop "a little less than" from the docs.

Agreed.  My guess it they were really talking about the 2-billion that
is a power of 2, but I think just saying 2 billlion is better.

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

  + It's impossible for everything to be true. +




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: what is maximum allowed value of autovacuum_freeze_max_age
@ 2012-09-16 17:38 Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 0 replies; 4+ messages in thread

From: Kevin Grittner @ 2012-09-16 17:38 UTC (permalink / raw)
  To: bruce@momjian.us; +Cc: pgsql-admin; radovan.jablonovsky@replicon.com

Bruce Momjian  wrote:
> On Wed, Sep 12, 2012 at 10:13:38PM -0500, Kevin Grittner wrote:
>> Radovan Jablonovsky wrote:
>>
>>> In documentation
>>> http://www.postgresql.org/docs/9.1/static/routine-vacuuming.html
>>> is this information about autovacuum_freeze_max_age: "if
>>> autovacuum_freeze_max_age is set to its maximum allowed value of
>>> a little less than two billion". What is exact maximum allowed
>>> value of autovacuum_freeze_max_age?
 
>> Perhaps we should drop "a little less than" from the docs.
> 
> Agreed.
 
Hearing no objection, done.  Back-patched to 8.3 on the basis that
this was a bug in the documentation, and one which has actually
caused end-user confusion.
 
-Kevin




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2012-09-16 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-09-12 22:44 what is maximum allowed value of autovacuum_freeze_max_age Radovan Jablonovsky <radovan.jablonovsky@replicon.com>
2012-09-13 03:13 Re: what is maximum allowed value of autovacuum_freeze_max_age Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-09-14 00:56 ` Bruce Momjian <bruce@momjian.us>
2012-09-16 17:38 Re: what is maximum allowed value of autovacuum_freeze_max_age Kevin Grittner <Kevin.Grittner@wicourts.gov>

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