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

* Partitions child tables and analyze
@ 2020-01-09 10:59 Purchases <buy@mark.net>
  2020-01-09 16:05 ` Re: Partitions child tables and analyze Ravi Krishna <srkrishna@vivaldi.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Purchases @ 2020-01-09 10:59 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

If rows are added, deleted etc from specific child tables of a partition is it necessary when performing an analyze to analyze the entire partition or just the children that experienced the row changes?




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

* Re: Partitions child tables and analyze
  2020-01-09 10:59 Partitions child tables and analyze Purchases <buy@mark.net>
@ 2020-01-09 16:05 ` Ravi Krishna <srkrishna@vivaldi.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Ravi Krishna @ 2020-01-09 16:05 UTC (permalink / raw)
  To: Purchases <buy@mark.net>; +Cc: pgsql-general@lists.postgresql.org

> 
> If rows are added, deleted etc from specific child tables of a partition is it necessary when performing an analyze to analyze the entire partition or just the children that experienced the row changes?

Under the hood each partition is a separate table, so why is analyzing entire parent table necessary.






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


end of thread, other threads:[~2020-01-09 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 10:59 Partitions child tables and analyze Purchases <buy@mark.net>
2020-01-09 16:05 ` Ravi Krishna <srkrishna@vivaldi.net>

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