Re: plan time of MASSIVE partitioning ... - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: plan time of MASSIVE partitioning ...
Date
Msg-id 1288379037-sup-1073@alvh.no-ip.org
Whole thread Raw
In response to Re: plan time of MASSIVE partitioning ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: plan time of MASSIVE partitioning ...
List pgsql-hackers
Excerpts from Tom Lane's message of vie oct 29 14:15:55 -0300 2010:
> I wrote:
> > This is going to be dominated by constraint exclusion checking.
> 
> Hmm, maybe I spoke too soon.  With 9000 child tables I get a profile
> like this:
> 
> samples  %        symbol name
> 447433   47.1553  get_tabstat_entry

Is there a reason for keeping the pgstat info in plain lists?  We could
use dynahash there too, I think.  It would have more palloc overhead
that way, though (hmm, but perhaps that can be fixed by having a smart
"alloc" function for it, preallocating a bunch of entries instead of one
by one).

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Fix for cube picksplit function
Next
From: Tom Lane
Date:
Subject: Re: plan time of MASSIVE partitioning ...