Re: Simply join in PostrgeSQL takes too long - Mailing list pgsql-performance

From Manfred Koizar
Subject Re: Simply join in PostrgeSQL takes too long
Date
Msg-id lkd29018sbqg8bhcr3dabfjf6u6jckib3t@email.aon.at
Whole thread Raw
In response to Re: Simply join in PostrgeSQL takes too long  (Rod Taylor <pg@rbt.ca>)
Responses Re: Simply join in PostrgeSQL takes too long  (Rod Taylor <pg@rbt.ca>)
List pgsql-performance
On Wed, 28 Apr 2004 08:23:35 -0400, Rod Taylor <pg@rbt.ca> wrote:
>The below plpgsql forces the kind of algorithm we wish the planner could
>choose. It should be fairly quick irregardless of dataset.

That reminds me of hash aggregation.  So here's another idea for Vitaly:

    SELECT book_id
      FROM ...
     WHERE ...
     GROUP BY book_id
     LIMIT ...

Servus
 Manfred

pgsql-performance by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: planner/optimizer question
Next
From: Rod Taylor
Date:
Subject: Re: Simply join in PostrgeSQL takes too long