Re: Non-linear Performance

From: "Peter A(dot) Daly" <petedaly(at)ix(dot)netcom(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Curt Sampson <cjs(at)cynic(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Non-linear Performance
Date: 2002-05-30 14:26:37
Message-ID: 3CF6369D.9020504@ix.netcom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter A. Daly 2002-05-30 14:37:56 Re: Non-linear Performance
Previous Message Tom Lane 2002-05-30 14:21:11 Re: Non-linear Performance