Re: Why is seq search preferred here by planner? - Mailing list pgsql-sql

From Josh Berkus
Subject Re: Why is seq search preferred here by planner?
Date
Msg-id 200304231321.06443.josh@agliodbs.com
Whole thread Raw
In response to Re: Why is seq search preferred here by planner?  (<mallah@trade-india.com>)
List pgsql-sql
Mallah,

> Got it , you mean to say userid being pkey  is affecting the method of
> implicit join being made by the update  stmt.

More to the point, the PKey index doesn't help the db retrieve the rows to
join at all.  It might if only 1,000 rows matched, but not with 150,000
matching rows.

-Josh Berkus



pgsql-sql by date:

Previous
From:
Date:
Subject: Re: Why is seq search preferred here by planner?
Next
From: Bruno Wolff III
Date:
Subject: Re: Ok,, what about cache for SEQUENCE - where? how?