Re: force the use of a particular index

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: Scott Cain <cain(at)cshl(dot)org>
Cc: Postgresql Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: force the use of a particular index
Date: 2003-07-11 18:14:45
Message-ID: 1057947284.65544.129.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> > set enable_hashjoin = false;
>
> BINGO!

I'm not so sure about that. Your dataset seems to have changed fairly
significantly since the last test.

> -> Index Scan using feature_pkey on feature f (cost=0.00..134592.43 rows=47912 width=39) (actual time=0.46..502.50 rows=431 loops=1)

Notice it only pulled out 431 rows where prior runs pulled out several
thousand (~13000). I think what really happened was something came
along and deleted a bunch of stuff, then vacuum ran.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Cain 2003-07-11 18:23:04 Re: force the use of a particular index
Previous Message Scott Cain 2003-07-11 17:20:59 Re: force the use of a particular index