From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Cc: J@planeti.biz
Subject: Re: Multiple Order By Criteria
Date: Tue, 17 Jan 2006 14:25:38 -0800
Message-ID: <200601171425.38772.josh@agliodbs.com> (raw)
In-Reply-To: <05c301c61bb1$d88c6a00$681e140a@fatchubby>
References: <05c301c61bb1$d88c6a00$681e140a@fatchubby>
J,
> I have an index built for each of these columns in my order by clause.
> This query takes an unacceptable amount of time to execute. Here are the
> results of the explain:
You need a single index which has all five columns, in order.
--
--Josh
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, J@planeti.biz
Subject: Re: Multiple Order By Criteria
In-Reply-To: <200601171425.38772.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