Re: Non-linear Performance

Поиск
Список
Период
Сортировка
От Peter A. Daly
Тема Re: Non-linear Performance
Дата
Msg-id 3CF6369D.9020504@ix.netcom.com
обсуждение исходный текст
Ответ на Non-linear Performance  (Curt Sampson <cjs@cynic.net>)
Ответы Re: Non-linear Performance  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:

>
>Btree index build is primarily a sort, so cannot have better than
>O(n*log(n)) performance for random data.  Not sure why you'd expect
>linearity.
>
>Increasing SORT_MEM would help the constant factor, however...
>
What is the most amount of SORT_MEM it makes sense to allocate?  Pretend
the ONLY thing I care about is BTREE index creation time.  (2 gigs of
RAM on my DB machine.)  Disk IO is not a bottleneck.

-Pete



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Non-linear Performance
Следующее
От: "Peter A. Daly"
Дата:
Сообщение: Re: Non-linear Performance