Re: What needs to be done for real Partitioning? - Mailing list pgsql-performance

From Josh Berkus
Subject Re: What needs to be done for real Partitioning?
Date
Msg-id 200503210955.03083.josh@agliodbs.com
Whole thread Raw
In response to Re: What needs to be done for real Partitioning?  ("Stacy White" <harsh@computer.org>)
Responses Re: What needs to be done for real Partitioning?
Re: What needs to be done for real Partitioning?
List pgsql-performance
Stacy,

> Luckily they that had the chance to work with a truly fantastic DBA (the
> author of an Oracle Press performance tuning book even) before they could
> switch back.  He convinced them to make some of their indexes global.
> Performance dramatically improved (compared with both the unpartitioned
> schema, and the partitioned-and-locally-indexed schema), and they've since
> stayed with partitioned tables and a mix of local and global indexes.

Hmmm.  Wouldn't Greg's suggestion of a bitmap index which holds information on
what values are found in what partition also solve this?    Without 1/2 of
the overhead imposed by global indexes?

I can actually see such a bitmap as being universally useful to the
partitioning concept ... for one, it would resolve the whole "partition on
{value}" issue.

--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: What about utility to calculate planner cost constants?
Next
From: Thomas F.O'Connell
Date:
Subject: Re: What about utility to calculate planner cost constants?