From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | pabloa98 <pabloa98(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: is it possible to create partitioned tables using tables from different schemas |
Date: | 2019-04-18 01:41:04 |
Message-ID: | CAKJS1f9YxRY30bpNoV5pn1a3iGEAdLxux241dKb0e+j4v68rtA@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, 18 Apr 2019 at 10:56, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:
>
> Note that unless you regularly query for only-manually-inserted or
> only-automatically-inserted data, this will be useless and will make
> queries more expensive, with no upside.
Going by "Since those rows are inserted by hand, they will be lost
when the table will be reimported.", I just imagined there must be
some sort of TRUNCATE + INSERT/COPY operation going on, in which case
there would be a good upside of not having to perform a DELETE of all
automatic records instead of the TRUNCATE.
I could be wrong to assume that though.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | David Rowley | 2019-04-18 01:42:34 | Re: is it possible to create partitioned tables using tables from different schemas |
Previous Message | Souvik Bhattacherjee | 2019-04-18 00:36:23 | Re: Method to pass data between queries in a multi-statement transaction |