Re: using inheritance in production application.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Larry White <ljw1001(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: using inheritance in production application.
Date: 2004-12-13 04:33:58
Message-ID: 200412130433.iBD4XwX12956@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Larry White wrote:
> How 'ready for prime-time' is the table inheritance feature? I've
> seen some postings about particular issues (lack of full FK support,
> for example), but would like to get an overall sense of the stability
> and robustness of the feature.
>
> Also, is there a performance hit in using inheritance? For example if
> I have a sub-table that adds a couple of columns to a base table,
> would it be slower to query that structure than it would to represent
> the extra columns as a separate table that would be joined with the
> base table?

All inheritance problems are mentioned on the TODO list, and none are
performance-related. They all revolve around the inability of an index
to span multiple tables.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2004-12-13 04:39:43 Re: Temporary tables and disk activity
Previous Message Lonni J Friedman 2004-12-13 04:25:53 Re: disabling OIDs?