From: PFC <lists@boutiquenumerique.com>
To: hubert.lubaczewski@eo.pl
Cc: pgsql-performance@postgresql.org
Subject: Re: strategies for optimizing read on rather large tables
Date: Sat, 04 Jun 2005 14:07:52 +0200
Message-ID: <op.sruhbejjth1vuj@localhost> (raw)
In-Reply-To: <op.srue0eroth1vuj@localhost>
References: <20050604081742.GA29123@eo.pl>
<op.srue0eroth1vuj@localhost>
<20050604114132.GB21031@eo.pl>
>> select advert_id from acr_cache where category_id = ? and region_id = ?
>> order by category_id, region_id, XXX limit 20;
don't forget to mention all the index columns in the order by, or the
planner won't use it.
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: lists@boutiquenumerique.com, hubert.lubaczewski@eo.pl
Subject: Re: strategies for optimizing read on rather large tables
In-Reply-To: <op.sruhbejjth1vuj@localhost>
* 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