From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: pgsql-general@postgresql.org
Subject: Re: relkind='p' has no pg_stat_user_tables
Date: Thu, 3 May 2018 13:20:47 -0300
Message-ID: <20180503162047.37k7km4dx62i6l4d@alvherre.pgsql> (raw)
In-Reply-To: <3b48b9a9-8eec-398d-bf13-86ae8ce93237@aklaver.com>
Adrian Klaver wrote:
> and from here:
>
> https://www.postgresql.org/docs/10/static/sql-createtable.html
>
> "A partitioned table is divided into sub-tables (called partitions), which
> are created using separate CREATE TABLE commands. The partitioned table is
> itself empty. A data row inserted into the table is routed to a partition
> based on the value of columns or expressions in the partition key. ... "
Yeah, but I think Justin has a valid question from the POV of the user:
how can we figure out if we need to re-run analyze on a partitioned
table, if the time of last analyze is not stored anywhere?
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: alvherre@2ndquadrant.com, adrian.klaver@aklaver.com, pryzby@telsasoft.com
Subject: Re: relkind='p' has no pg_stat_user_tables
In-Reply-To: <20180503162047.37k7km4dx62i6l4d@alvherre.pgsql>
References: <3b48b9a9-8eec-398d-bf13-86ae8ce93237@aklaver.com> <20180503162047.37k7km4dx62i6l4d@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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