pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
bug in autovacuum_analyze_scale_factor meta data
3+ messages / 2 participants
[nested] [flat]

* bug in autovacuum_analyze_scale_factor meta data
@ 2018-10-31 13:58 Szymon Lipiński <mabewlun@gmail.com>
  2018-10-31 14:06 ` Re: bug in autovacuum_analyze_scale_factor meta data Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Szymon Lipiński @ 2018-10-31 13:58 UTC (permalink / raw)
  To: pgsql-general

This is what I have in postgres 10 pg_settings table: and the documentation
has different description. What's more the default value is outside the
range of the min/max value.

-[ RECORD 2
]---+------------------------------------------------------------------------------------------
name            | autovacuum_analyze_scale_factor
setting         | 0.1
unit            | [NULL]
category        | Autovacuum
short_desc      | Number of tuple inserts, updates, or deletes prior to
analyze as a fraction of reltuples.
extra_desc      | [NULL]
context         | sighup
vartype         | real
source          | default
min_val         | 0
max_val         | 100
enumvals        | [NULL]
boot_val        | 0.1
reset_val       | 0.1
sourcefile      | [NULL]
sourceline      | [NULL]
pending_restart | f

regards,
Szymon Lipiński

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

* Re: bug in autovacuum_analyze_scale_factor meta data
  2018-10-31 13:58 bug in autovacuum_analyze_scale_factor meta data Szymon Lipiński <mabewlun@gmail.com>
@ 2018-10-31 14:06 ` Adrian Klaver <adrian.klaver@aklaver.com>
  2018-10-31 14:09   ` Re: bug in autovacuum_analyze_scale_factor meta data Szymon Lipiński <mabewlun@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Adrian Klaver @ 2018-10-31 14:06 UTC (permalink / raw)
  To: Szymon Lipiński <mabewlun@gmail.com>; pgsql-general

On 10/31/18 6:58 AM, Szymon Lipiński wrote:
> This is what I have in postgres 10 pg_settings table: and the 
> documentation has different description. What's more the default value 
> is outside the range of the min/max value.

Not seeing it:

0 < 0.1 < 100


reltuples is a measure of the sixe of the table:

https://www.postgresql.org/docs/11/static/catalog-pg-class.html

"reltuples 	float4 	  	Number of live rows in the table. This is only an 
estimate used by the planner. It is updated by VACUUM, ANALYZE, and a 
few DDL commands such as CREATE INDEX.
"


> 
> -[ RECORD 2 
> ]---+------------------------------------------------------------------------------------------
> name            | autovacuum_analyze_scale_factor
> setting         | 0.1
> unit            | [NULL]
> category        | Autovacuum
> short_desc      | Number of tuple inserts, updates, or deletes prior to 
> analyze as a fraction of reltuples.
> extra_desc      | [NULL]
> context         | sighup
> vartype         | real
> source          | default
> min_val         | 0
> max_val         | 100
> enumvals        | [NULL]
> boot_val        | 0.1
> reset_val       | 0.1
> sourcefile      | [NULL]
> sourceline      | [NULL]
> pending_restart | f
> 
> regards,
> Szymon Lipiński


-- 
Adrian Klaver
adrian.klaver@aklaver.com




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

* Re: bug in autovacuum_analyze_scale_factor meta data
  2018-10-31 13:58 bug in autovacuum_analyze_scale_factor meta data Szymon Lipiński <mabewlun@gmail.com>
  2018-10-31 14:06 ` Re: bug in autovacuum_analyze_scale_factor meta data Adrian Klaver <adrian.klaver@aklaver.com>
@ 2018-10-31 14:09   ` Szymon Lipiński <mabewlun@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Szymon Lipiński @ 2018-10-31 14:09 UTC (permalink / raw)
  To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: pgsql-general

Yep, I messed a couple of options, I'm sorry.

regards,
Szymon Lipiński

On Wed, 31 Oct 2018 at 15:07, Adrian Klaver <adrian.klaver@aklaver.com>
wrote:

> On 10/31/18 6:58 AM, Szymon Lipiński wrote:
> > This is what I have in postgres 10 pg_settings table: and the
> > documentation has different description. What's more the default value
> > is outside the range of the min/max value.
>
> Not seeing it:
>
> 0 < 0.1 < 100
>
>
> reltuples is a measure of the sixe of the table:
>
> https://www.postgresql.org/docs/11/static/catalog-pg-class.html
>
> "reltuples      float4          Number of live rows in the table. This is
> only an
> estimate used by the planner. It is updated by VACUUM, ANALYZE, and a
> few DDL commands such as CREATE INDEX.
> "
>
>
> >
> > -[ RECORD 2
> >
> ]---+------------------------------------------------------------------------------------------
> > name            | autovacuum_analyze_scale_factor
> > setting         | 0.1
> > unit            | [NULL]
> > category        | Autovacuum
> > short_desc      | Number of tuple inserts, updates, or deletes prior to
> > analyze as a fraction of reltuples.
> > extra_desc      | [NULL]
> > context         | sighup
> > vartype         | real
> > source          | default
> > min_val         | 0
> > max_val         | 100
> > enumvals        | [NULL]
> > boot_val        | 0.1
> > reset_val       | 0.1
> > sourcefile      | [NULL]
> > sourceline      | [NULL]
> > pending_restart | f
> >
> > regards,
> > Szymon Lipiński
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com
>
>

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


end of thread, other threads:[~2018-10-31 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-31 13:58 bug in autovacuum_analyze_scale_factor meta data Szymon Lipiński <mabewlun@gmail.com>
2018-10-31 14:06 ` Adrian Klaver <adrian.klaver@aklaver.com>
2018-10-31 14:09   ` Szymon Lipiński <mabewlun@gmail.com>

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