pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
n_mod_since_analyze
2+ messages / 2 participants
[nested] [flat]

* n_mod_since_analyze
@ 2018-12-06 15:45  Ron <ronljohnsonjr@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Ron @ 2018-12-06 15:45 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org


https://www.postgresql.org/docs/9.6/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW

Does the field n_mod_since_analyze use "mod" instead of "upd" because it 
includes inserts, updates and deletes?

Thanks

-- 
Angular momentum makes the world go 'round.




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

* Re: n_mod_since_analyze
@ 2018-12-06 17:29  Laurenz Albe <laurenz.albe@cybertec.at>
  parent: Ron <ronljohnsonjr@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2018-12-06 17:29 UTC (permalink / raw)
  To: Ron <ronljohnsonjr@gmail.com>; pgsql-general@lists.postgresql.org

Ron wrote:
> https://www.postgresql.org/docs/9.6/monitoring-stats.html#PG-STAT-ALL-TABLES-VIEW
> 
> Does the field n_mod_since_analyze use "mod" instead of "upd" because it 
> includes inserts, updates and deletes?

Yes.

It is the number that triggers autoanalyze, and all data modifications impair
the accuracy of the statistics.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com





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


end of thread, other threads:[~2018-12-06 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-12-06 15:45 n_mod_since_analyze Ron <ronljohnsonjr@gmail.com>
2018-12-06 17:29 ` Laurenz Albe <laurenz.albe@cybertec.at>

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