Re: is it possible to create partitioned tables using tables fromdifferent schemas

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: is it possible to create partitioned tables using tables fromdifferent schemas
Дата
Msg-id CAKJS1f9YxRY30bpNoV5pn1a3iGEAdLxux241dKb0e+j4v68rtA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: is it possible to create partitioned tables using tables fromdifferent schemas  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: is it possible to create partitioned tables using tables fromdifferent schemas
Список pgsql-general
On Thu, 18 Apr 2019 at 10:56, Alvaro Herrera <alvherre@2ndquadrant.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



В списке pgsql-general по дате отправления:

Предыдущее
От: Souvik Bhattacherjee
Дата:
Сообщение: Re: Method to pass data between queries in a multi-statement transaction
Следующее
От: David Rowley
Дата:
Сообщение: Re: is it possible to create partitioned tables using tables fromdifferent schemas