Re: Air-traffic benchmark

Поиск
Список
Период
Сортировка
От Jochen Erwied
Тема Re: Air-traffic benchmark
Дата
Msg-id 26014999.20100107150535@erwied.eu
обсуждение исходный текст
Ответ на Re: Air-traffic benchmark  (Lefteris <lsidir@gmail.com>)
Список pgsql-performance
Thursday, January 7, 2010, 2:47:36 PM you wrote:

> so I understand from all of you that you don't consider the use of 25k
> for sorting to be the cause of the slowdown? Probably I am missing

Maybe you are reading the plan wrong:

- the sort needs only 25kB of memory, and finishes in sub-second time,
  mainly because the sort only sorts the already summarized data, and not
  the whole table
- the sequential scan takes 346 seconds, and thus is the major factor in
  time to finish!

So the total query time is 371 seconds, of which 346 are required to
completely scan the table once.

--
Jochen Erwied     |   home: jochen@erwied.eu     +49-208-38800-18, FAX: -19
Sauerbruchstr. 17 |   work: joe@mbs-software.de  +49-2151-7294-24, FAX: -50
D-45470 Muelheim  | mobile: jochen.erwied@vodafone.de       +49-173-5404164


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

Предыдущее
От: Lefteris
Дата:
Сообщение: Re: Air-traffic benchmark
Следующее
От: Ivan Voras
Дата:
Сообщение: Re: Air-traffic benchmark