pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: [HACKERS] A Better External Sort?
Date: Thu, 6 Oct 2005 02:12:39 +0200
Message-ID: <20051006001239.GB7856@uio.no> (raw)
In-Reply-To: <BF69B617.10B72%llonergan@greenplum.com>
References: <20051005153349.GZ2241@mathom.us>
	<BF69B617.10B72%llonergan@greenplum.com>

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/



view thread (112+ messages)  latest in thread

Message-ID: <20051006001239.GB7856@uio.no>
Permalink:  ../20051006001239.GB7856@uio.no/
Also on:    postgresql.org/message-id/20051006001239.GB7856@uio.no

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: sgunderson@bigfoot.com
  Subject: Re: [HACKERS] A Better External Sort?
  In-Reply-To: <20051006001239.GB7856@uio.no>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox