pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: mallah@trade-india.com
Cc: mallah@trade-india.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Why is seq search preferred here by planner?
Date: Wed, 23 Apr 2003 13:21:06 -0700
Message-ID: <200304231321.06443.josh@agliodbs.com> (raw)
In-Reply-To: <1386.219.65.253.85.1051128809.squirrel@mail.trade-india.com>
References: <1220.219.65.235.51.1051114881.squirrel@mail.trade-india.com>
	<200304231253.52051.josh@agliodbs.com>
	<1386.219.65.253.85.1051128809.squirrel@mail.trade-india.com>

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




view thread (10+ messages)

Message-ID: <200304231321.06443.josh@agliodbs.com>
Permalink:  ../200304231321.06443.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200304231321.06443.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, mallah@trade-india.com
  Subject: Re: Why is seq search preferred here by planner?
  In-Reply-To: <200304231321.06443.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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