From: Tom Lane <tgl@sss.pgh.pa.us>
To: s d <s.d.sauron@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: QP Problem
Date: Sat, 19 May 2007 19:20:34 -0400
Message-ID: <19410.1179616834@sss.pgh.pa.us> (raw)
In-Reply-To: <24b53fa00705191508i36fbf192me7152c79bf2ec50f@mail.gmail.com>
References: <24b53fa00705191508i36fbf192me7152c79bf2ec50f@mail.gmail.com>
"s d" <s.d.sauron@gmail.com> writes:
> I have about 6 tables that inherit from one table. They all have the
> exact same indexes but when i try to query all by a row (which is
> indexed, btree) the QP decides to do sequential scan for some of them
> (the bigger tables) rather than use the index.
Please show the details: the table definitions, exact query, and plan.
regards, tom lane
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: tgl@sss.pgh.pa.us, s.d.sauron@gmail.com
Subject: Re: QP Problem
In-Reply-To: <19410.1179616834@sss.pgh.pa.us>
* 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