pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: gvfontenay@lbl.gov
Cc: pgsql-performance@postgresql.org
Subject: Re: Strange explain on partitioned tables
Date: Fri, 23 Jul 2010 15:16:10 -0700
Message-ID: <1279923370.9866.37.camel@jd-desktop.unknown.charter.com> (raw)
In-Reply-To: <4C4A11CB.6040800@lbl.gov>
References: <4C47F8C8.10005@edd.fr>
	<4C484874.3060609@2ndquadrant.com>
	<4C4A11CB.6040800@lbl.gov>

On Fri, 2010-07-23 at 15:03 -0700, Gerald Fontenay wrote:
> > The PostgreSQL partitioning system is aimed to support perhaps a 
> > hundred inherited tables.  You can expect to get poor performance on 
> > queries if you create 1000 of them. 
> 
> Hi,
> 
> Why is that you would expect poor performance for say 1000 or more? I 
> have a ~1000 inherited tables and I don't see any significant slowdowns. 
> I only ever access a single inherited table at a time though in this 
> situation. I suppose I am using inheritance only for organization in 
> this case...

It is variable based on workload and as I recall has to do with the
planning time. As the number of children increases, so does the planning
time.

Joshua D. Drake


-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt




view thread (11+ messages)  latest in thread

Message-ID: <1279923370.9866.37.camel@jd-desktop.unknown.charter.com>
Permalink:  ../1279923370.9866.37.camel@jd-desktop.unknown.charter.com/
Also on:    postgresql.org/message-id/1279923370.9866.37.camel@jd-desktop.unknown.charter.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: jd@commandprompt.com, gvfontenay@lbl.gov
  Subject: Re: Strange explain on partitioned tables
  In-Reply-To: <1279923370.9866.37.camel@jd-desktop.unknown.charter.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