Re: [HACKERS] A Better External Sort? - Mailing list pgsql-performance

From Steinar H. Gunderson
Subject Re: [HACKERS] A Better External Sort?
Date
Msg-id 20051006001239.GB7856@uio.no
Whole thread Raw
In response to Re: [HACKERS] A Better External Sort?  ("Luke Lonergan" <llonergan@greenplum.com>)
Responses Re: [HACKERS] A Better External Sort?  ("Luke Lonergan" <llonergan@greenplum.com>)
List 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/

pgsql-performance by date:

Previous
From: "Luke Lonergan"
Date:
Subject: Re: [HACKERS] A Better External Sort?
Next
From: "Thomas F. O'Connell"
Date:
Subject: Re: wal_buffers