Re: multiple table scan performance

Поиск
Список
Период
Сортировка
От Claudio Freire
Тема Re: multiple table scan performance
Дата
Msg-id AANLkTikeXoo4ZRRvLjx23sR1bNSqC9bevA5Cm9iKdvcU@mail.gmail.com
обсуждение исходный текст
Ответ на multiple table scan performance  (Samuel Gendler <sgendler@ideasculptor.com>)
Список pgsql-performance
On Tue, Mar 29, 2011 at 7:16 PM, Samuel Gendler
<sgendler@ideasculptor.com> wrote:
> Is there any performance benefit to revamping the workload such that it issues
> a single:
> insert into (...) select ... UNION select ... UNION select
> as opposed to 3 separate "insert into () select ..." statements.

I wouldn't expect any difference - if you used UNION ALL (union will
be equivalent to insert into ()  select DISTINCT ...)

В списке pgsql-performance по дате отправления:

Предыдущее
От: Samuel Gendler
Дата:
Сообщение: multiple table scan performance
Следующее
От: Marti Raudsepp
Дата:
Сообщение: Re: multiple table scan performance