Re: [HACKERS] A Better External Sort?

From: "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: [HACKERS] A Better External Sort?
Date: 2005-10-06 00:12:39
Message-ID: 20051006001239.GB7856@uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On Wed, Oct 05, 2005 at 04:55:51PM -0700, Luke Lonergan wrote:
> In COPY, we found lots of libc functions like strlen() being called
> ridiculous numbers of times, in one case it was called on every
> timestamp/date attribute to get the length of TZ, which is constant. That
> one function call was in the system category, and was responsible for
> several percent of the time.

What? strlen is definitely not in the kernel, and thus won't count as system
time.

/* Steinar */
--
Homepage: http://www.sesse.net/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Yarra 2005-10-06 00:46:10 Re: [Slony1-general] Re: Slony RPM issue
Previous Message Luke Lonergan 2005-10-05 23:55:51 Re: [HACKERS] A Better External Sort?

Browse pgsql-performance by date

  From Date Subject
Next Message Thomas F. O'Connell 2005-10-06 06:39:20 Re: wal_buffers
Previous Message Luke Lonergan 2005-10-05 23:55:51 Re: [HACKERS] A Better External Sort?