Re: [PERFORM] Planner doing seqscan before indexed join

2007-03-29 Thread Marc Mamin
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Harris Sent: Thursday, March 29, 2007 4:22 AM To: PostgreSQL Performance Subject: [PERFORM] Planner doing seqscan before indexed join 8.0.3 - Linux 2.6.18.. Freshly vacuumed and analyzed This database has bee

Re: [PERFORM] Planner doing seqscan before indexed join

2007-03-29 Thread Dave Dutcher
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Dan Harris > > After some digging, I've found that the planner is choosing > to apply a necessary seq scan to the table. Unfortunately, > it's scanning the whole table, when it seems that it could > have joined it to a small

[PERFORM] Planner doing seqscan before indexed join

2007-03-28 Thread Dan Harris
8.0.3 - Linux 2.6.18.. Freshly vacuumed and analyzed This database has been humming along fine for a while now, but I've got one of those sticky queries that is taking much too long to finish. After some digging, I've found that the planner is choosing to apply a necessary seq scan to the tabl