Re: Why is seq search preferred here by planner?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: <mallah(at)trade-india(dot)com>
Cc: <mallah(at)trade-india(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Why is seq search preferred here by planner?
Date: 2003-04-23 20:21:06
Message-ID: 200304231321.06443.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bruno Wolff III 2003-04-23 20:29:26 Re: Ok,, what about cache for SEQUENCE - where? how?
Previous Message mallah 2003-04-23 20:13:29 Re: Why is seq search preferred here by planner?