Re: Really bad insert performance: what did I do wrong?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kevin White <kwhite(at)digital-ics(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Really bad insert performance: what did I do wrong?
Date: 2003-02-21 15:45:03
Message-ID: 15034.1045842303@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Kevin White <kwhite(at)digital-ics(dot)com> writes:
> My box, however, isn't a production server, so I attempted to create the
> database again on a Sun Blade:
> ...
> It took almost 2 days to load the table on this box.

Yipes. We found awhile ago that Solaris' standard qsort() really sucks,
but 7.3 should work around that --- and I don't think qsort would be
invoked during data load anyway.

Do you want to rebuild Postgres with profiling enabled, and get a gprof
trace so we can see where the time is going? You don't need to run it
for two days --- a few minutes' worth of runtime should be plenty.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Kevin White 2003-02-21 15:47:18 Re: Really bad insert performance: what did I do wrong?
Previous Message Kevin White 2003-02-21 15:32:37 Really bad insert performance: what did I do wrong?