Re: Partitioning

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Partitioning
Date: 2015-01-19 02:54:39
Message-ID: 54BC71EF.4050505@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 <http://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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message James Sewell 2015-01-19 03:13:37 Re: Partitioning
Previous Message James Sewell 2015-01-19 01:58:59 Partitioning