Re: Partitioning - Mailing list pgsql-general

From John R Pierce
Subject Re: Partitioning
Date
Msg-id 54BC71EF.4050505@hogranch.com
Whole thread Raw
In response to Partitioning  (James Sewell <james.sewell@lisasoft.com>)
Responses Re: Partitioning
List pgsql-general
On 1/18/2015 5:58 PM, James Sewell wrote:
  WITH idlist as (SELECT id from othertable) 
    SELECT id from mastertable WHERE id = idlist.id);


    select mt.id, ...   from mastertable mt join othertable ot on mt.id=ot.id;

might optimize better.



-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast

pgsql-general by date:

Previous
From: James Sewell
Date:
Subject: Partitioning
Next
From: James Sewell
Date:
Subject: Re: Partitioning