pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Stacy White <harsh@computer.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Stark <gsstark@mit.edu>
Cc: Alvaro Herrera <alvherre@dcc.uchile.cl>
Cc: PFC <lists@boutiquenumerique.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: What needs to be done for real Partitioning?
Date: Mon, 21 Mar 2005 09:55:03 -0800
Message-ID: <200503210955.03083.josh@agliodbs.com> (raw)
In-Reply-To: <007401c52dd8$73395450$0200a8c0@grownups>
References: <200503191202.38089.josh@agliodbs.com>
	<871xa9fyn4.fsf@stark.xeocode.com>
	<007401c52dd8$73395450$0200a8c0@grownups>

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



view thread (45+ messages)  latest in thread

Message-ID: <200503210955.03083.josh@agliodbs.com>
Permalink:  ../200503210955.03083.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200503210955.03083.josh@agliodbs.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: josh@agliodbs.com, harsh@computer.org, tgl@sss.pgh.pa.us, gsstark@mit.edu, alvherre@dcc.uchile.cl, lists@boutiquenumerique.com
  Subject: Re: What needs to be done for real Partitioning?
  In-Reply-To: <200503210955.03083.josh@agliodbs.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