pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: s d <s.d.sauron@gmail.com>
To: pgsql-performance@postgresql.org
Subject: QP Problem
Date: Sat, 19 May 2007 15:08:07 -0700
Message-ID: <24b53fa00705191508i36fbf192me7152c79bf2ec50f@mail.gmail.com> (raw)

Hi,
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.
Any ideas why that may happen?
I am using postgres 8.2
Thanks,
S.



view thread (2+ messages)  latest in thread

Message-ID: <24b53fa00705191508i36fbf192me7152c79bf2ec50f@mail.gmail.com>
Permalink:  ../24b53fa00705191508i36fbf192me7152c79bf2ec50f@mail.gmail.com/
Also on:    postgresql.org/message-id/24b53fa00705191508i36fbf192me7152c79bf2ec50f@mail.gmail.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: s.d.sauron@gmail.com
  Subject: Re: QP Problem
  In-Reply-To: <24b53fa00705191508i36fbf192me7152c79bf2ec50f@mail.gmail.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