Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

Next:From: Marty ScholesDate: 2005-01-21 18:18:00
Subject: Re: PostgreSQL clustering VS MySQL clustering
Previous:From: Christopher Kings-LynneDate: 2005-01-21 18:15:16
Subject: Re: inheritance performance

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group