Re: [GENERAL] FreeBSD, Linux: select, select count(*) performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] FreeBSD, Linux: select, select count(*) performance
Дата
Msg-id 18354.1038416194@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] FreeBSD, Linux: select, select count(*) performance  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-sql
Achilleus Mantzios <achill@matrix.gatewaynet.com> writes:
> On Wed, 27 Nov 2002, Tom Lane wrote:
>> You didn't say what was *in* the table, exactly ... but I'm betting
>> there are a lot of toasted columns, and that the extra runtime
>> represents the time to fetch (and perhaps decompress) the TOAST entries.

> 278 columns of various types.
> namely,
> [snip]

Hmm, no particularly wide columns there --- but 278 columns is a lot.
I think the extra time might just be the time involved in fetching all
those column values out of the table row?

If you're interested in pursuing it, I'd suggest rebuilding the backend
with profiling enabled so you can see exactly where the time goes.

            regards, tom lane

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

Предыдущее
От: Achilleus Mantzios
Дата:
Сообщение: Re: [GENERAL] FreeBSD, Linux: select, select count(*) performance
Следующее
От: Nathan Young
Дата:
Сообщение: Re: join question