Re: slow joining very large table to smaller ones - Mailing list pgsql-performance

From John A Meinel
Subject Re: slow joining very large table to smaller ones
Date
Msg-id 42D6EB31.9040909@arbash-meinel.com
Whole thread Raw
In response to Re: slow joining very large table to smaller ones  (Dan Harris <fbsd@drivefaster.net>)
List pgsql-performance
Dan Harris wrote:
>
> On Jul 14, 2005, at 9:42 AM, John A Meinel wrote:

...
Did you try doing this to see how good the planners selectivity
estimates are?

>> Well, postgres is estimating around 500 rows each, is that way off?  Try
>> just doing:
>> EXPLAIN ANALYZE SELECT incidentid FROM k_b WHERE id = 107;
>> EXPLAIN ANALYZE SELECT incidentid FROM k_r WHERE id = 94;

These should be fast queries.

John
=:->

Attachment

pgsql-performance by date:

Previous
From: Dan Harris
Date:
Subject: Re: slow joining very large table to smaller ones
Next
From: Michael Stone
Date:
Subject: Re: slow joining very large table to smaller ones