pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedQP Problem
2+ messages / 2 participants
[nested] [flat]
* QP Problem
@ 2007-05-19 22:08 s d <s.d.sauron@gmail.com>
2007-05-19 23:20 ` Re: QP Problem Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: s d @ 2007-05-19 22:08 UTC (permalink / raw)
To: pgsql-performance
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: QP Problem
2007-05-19 22:08 QP Problem s d <s.d.sauron@gmail.com>
@ 2007-05-19 23:20 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2007-05-19 23:20 UTC (permalink / raw)
To: s d <s.d.sauron@gmail.com>; +Cc: pgsql-performance
"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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-05-19 23:20 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-05-19 22:08 QP Problem s d <s.d.sauron@gmail.com>
2007-05-19 23:20 ` Tom Lane <tgl@sss.pgh.pa.us>
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