Partitioning: indexes, tables and FKs - Mailing list pgsql-general

From Vincenzo Romano
Subject Partitioning: indexes, tables and FKs
Date
Msg-id 3eff28921002020426v15f64504l638354194abf1191@mail.gmail.com
Whole thread Raw
List 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 by date:

Previous
From: Gavin Mu
Date:
Subject: Re: Can LISTEN/NOTIFY deal with more than 100 every second?
Next
From: Howard Cole
Date:
Subject: Re: Does PostGreSQL support SSL inbuilt?