Re: "SELECT IN" Still Broken in 7.4b

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Winter <mike(dot)winter(at)frontlogic(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: "SELECT IN" Still Broken in 7.4b
Date: 2003-08-20 20:32:19
Message-ID: 18608.1061411539@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Mike Winter <mike(dot)winter(at)frontlogic(dot)com> writes:
> MySQL does queries of this type orders of magnitudes faster than Postgres
> on large value lists, although I have no specific algorithmic solutions to
> offer for how to make it faster.

How large is "large", and what plan type are you getting (seq scan or
multiple index scan)? Is it possible that the cost comes from planner
overhead and not execution? Checking EXPLAIN ANALYZE reported time
against actual elapsed time (cf psql's \timing option) would tell.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Aasmund Midttun Godal 2003-08-20 20:33:43 Re: Before/After Trigger User Switching
Previous Message Joe Conway 2003-08-20 20:19:53 Re: Table conversion query...