Re: inheritance performance

From: Greg Stark <gsstark(at)mit(dot)edu>
To: ken <southerland(at)samsixedd(dot)com>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, pgsql-performance(at)postgresql(dot)org
Subject: Re: inheritance performance
Date: 2005-01-21 18:16:09
Message-ID: 87oefi8x7a.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

ken <southerland(at)samsixedd(dot)com> writes:

> On Fri, 2005-01-21 at 08:14, Greg Stark wrote:
> > ken <southerland(at)samsixedd(dot)com> writes:
> >
> > > >From my understanding, all the data for these columns in all the child
> > > tables will be stored in this one parent table
> >
> > No, all the data is stored in the child table.
>
> So if you perform a "select * from parent" then does postgres internally
> create a union between all the child tables and return you the results
> of that?

Essentially, yes.

--
greg

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Marty Scholes 2005-01-21 18:18:00 Re: PostgreSQL clustering VS MySQL clustering
Previous Message Christopher Kings-Lynne 2005-01-21 18:15:16 Re: inheritance performance