Re: Sort time

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Sort time
Дата
Msg-id 20021117092657.L38418-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: Sort time  (pginfo <pginfo@t1.unisoftbg.com>)
Ответы Re: Sort time  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Sort time  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-performance
On Sun, 17 Nov 2002, pginfo wrote:

> > On my not terribly powerful or memory filled box, I got a time of about
> > 16s after going through a couple iterations of raising sort_mem and
> > watching if it made temp files (which is probably a good idea to check as
> > well).  The data size ended up being in the vicinity of 100 meg in my
> > case.
>
> The time is very good!
> It is very good idea to watch the temp files.
> I started the sort_mem to 32 mb (it is 256 on the production system)
> and I see 3 temp files. The first is ~ 1.8 mb. The second is ~55 mb and the last is ~150
> mb.

As a note, the same data loaded into a non-"C" locale database took about
42 seconds on the same machine, approximately 2.5x as long.


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

Предыдущее
От: pginfo
Дата:
Сообщение: Re: Sort time
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Sort time