Re: expression (functional) index use in joins

From: Richard Huxton <dev(at)archonet(dot)com>
To: Roger Ging <rging(at)paccomsys(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: expression (functional) index use in joins
Date: 2003-11-26 17:52:30
Message-ID: 200311261752.30729.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wednesday 26 November 2003 16:38, Roger Ging wrote:
> I just installed v7.4 and restored a database from v7.3.4.
[snip]

Hmm - you seem to be getting different row estimates in the plan. Can you
re-analyse both versions and post EXPLAIN ANALYSE rather than just EXPLAIN?

> -> Seq Scan on program p (cost=0.00..15192.35
> rows=4335 width=20)
>
> planner results on 7.3.4:
>
> -> Index Scan using idx_program_mri_id_no_program on program
> p (cost=0.00..3209.16 rows=870 width=20)

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2003-11-26 17:55:56 Re: Maximum Possible Insert Performance?
Previous Message Hannu Krosing 2003-11-26 17:33:08 Re: why index scan not working when using 'like'?