pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma <richard.broersma@gmail.com>
To: Zintrigue <zintrigue@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: noob inheritance question
Date: Wed, 6 Jan 2010 16:00:11 -0800
Message-ID: <396486431001061600h69360a21xb7cf05677308ca26@mail.gmail.com> (raw)
In-Reply-To: <22f7878e1001061553j69b3b461hadd4633c58c5304f@mail.gmail.com>
References: <22f7878e1001061553j69b3b461hadd4633c58c5304f@mail.gmail.com>

On Wed, Jan 6, 2010 at 3:53 PM, Zintrigue <zintrigue@gmail.com> wrote:
> I'm wondering if there's any performance penalty here, analogous to the
> penalty of JOINs in a regular RDBMS (versus an ORDBMS).
> If anyone can offer in any insight as too how inheritance is actually
> executed (compared to JOINs especially), I'd be most grateful.

PostgreSQL inheritance is just a sugar coated form of horizontal table
partitioning.  So it suffers from all of the problems associated with
selection on UNION ALL queries.


-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug



view thread (5+ messages)  latest in thread

Message-ID: <396486431001061600h69360a21xb7cf05677308ca26@mail.gmail.com>
Permalink:  ../396486431001061600h69360a21xb7cf05677308ca26@mail.gmail.com/
Also on:    postgresql.org/message-id/396486431001061600h69360a21xb7cf05677308ca26@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: richard.broersma@gmail.com, zintrigue@gmail.com
  Subject: Re: noob inheritance question
  In-Reply-To: <396486431001061600h69360a21xb7cf05677308ca26@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox