From: Josh Berkus <josh@agliodbs.com>
To: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: horizontal partition
Date: Wed, 2 Feb 2005 19:16:08 -0800
Message-ID: <200502021916.08960.josh@agliodbs.com> (raw)
In-Reply-To: <ctrtln$d0m$1@floppy.pyrenet.fr>
References: <ctp64h$l4d$1@floppy.pyrenet.fr>
<200502021209.06878.josh@agliodbs.com>
<ctrtln$d0m$1@floppy.pyrenet.fr>
Gaetano,
> I did in that way just to not use postgresql specific feature.
> I can give it a try and I let you know, however the question remain,
> why the index usage is lost if used in that way ?
Because PostgreSQL is materializing the entire UNION data set in the
subselect. What Postgres version are you using? I thought this was fixed
in 7.4, but maybe not ...
--
Josh Berkus
Aglio Database Solutions
San Francisco
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, mendola@bigfoot.com
Subject: Re: horizontal partition
In-Reply-To: <200502021916.08960.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