Re: Partitioning

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Partitioning
Дата
Msg-id 54BC71EF.4050505@hogranch.com
обсуждение исходный текст
Ответ на Partitioning  (James Sewell <james.sewell@lisasoft.com>)
Ответы Re: Partitioning  (James Sewell <james.sewell@lisasoft.com>)
Список 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 по дате отправления:

Предыдущее
От: James Sewell
Дата:
Сообщение: Partitioning
Следующее
От: James Sewell
Дата:
Сообщение: Re: Partitioning