Partitioning: indexes, tables and FKs

Поиск
Список
Период
Сортировка
От Vincenzo Romano
Тема Partitioning: indexes, tables and FKs
Дата
Msg-id 3eff28921002020426v15f64504l638354194abf1191@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi all.

I'd like to understand how partitioning (actually table inheritance) works when
the number of tables grows in the order of thousands.
In my case, all child tables inherit also the indexes from the master
one (as well as constraints).

1. How will change the performances in the case a relevant number of
the child tables (10%) needs to
be included in the actual query? Do the needed time and resource grow
linearly (or what)?

2. How will work a PK on the master table in regards to the child tables?

3. Will a FK reference to the master table's PK be "redirected" to the
proper child table?

--
Vincenzo Romano
NotOrAnd Information Technologies
NON QVIETIS MARIBVS NAVTA PERITVS

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

Предыдущее
От: Gavin Mu
Дата:
Сообщение: Re: Can LISTEN/NOTIFY deal with more than 100 every second?
Следующее
От: Howard Cole
Дата:
Сообщение: Re: Does PostGreSQL support SSL inbuilt?