Re: Terrible performance on wide selects

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Terrible performance on wide selects
Дата
Msg-id 19506.1042844812@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Terrible performance on wide selects  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-general
Steve Crawford <scrawford@pinpointresearch.com> writes:
> So the question is, does it seem reasonable that a query on fundamentally
> identical data should take 70-90 times as long when displayed as individual
> columns vs. when output as a raw array and, more imporantly, what can I do to
> get acceptable performance on this query?

There are undoubtedly some places that are O(N^2) in the number of
targetlist items.  Feel free to do some profiling to identify them.
It probably won't be real hard to fix 'em once identified.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_stat_get_backen_last_activity() ???
Следующее
От: Tom Lane
Дата:
Сообщение: Re: change in behaviour? Is this a regression in function?