X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7E189D8E7C for ; Fri, 23 Sep 2005 06:55:26 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 11988-09 for ; Fri, 23 Sep 2005 09:55:20 +0000 (GMT) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by svr1.postgresql.org (Postfix) with ESMTP id D1329D8E04 for ; Fri, 23 Sep 2005 06:55:20 -0300 (ADT) Received: from osgiliath.mathom.us ([70.108.61.78]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IN900DO4KW67U20@vms044.mailsrvcs.net> for pgsql-performance@postgresql.org; Fri, 23 Sep 2005 04:55:18 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by osgiliath.mathom.us (Postfix) with ESMTP id D808C622500 for ; Fri, 23 Sep 2005 05:55:17 -0400 (EDT) Received: from osgiliath.mathom.us ([127.0.0.1]) by localhost (osgiliath [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10115-02-6 for ; Fri, 23 Sep 2005 05:55:17 -0400 (EDT) Received: by osgiliath.mathom.us (Postfix, from userid 1000) id ACE6E619213; Fri, 23 Sep 2005 05:55:17 -0400 (EDT) Date: Fri, 23 Sep 2005 05:55:17 -0400 From: Michael Stone Subject: Re: How to determine cause of performance problem? In-reply-to: <1127458167.2475.105.camel@Panoramix> To: pgsql-performance@postgresql.org Mail-Followup-To: pgsql-performance@postgresql.org Message-id: <20050923095517.GW14918@mathom.us> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C 84 52 84 C5 EE DF 7C 88 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at mathom.us References: <1127458167.2475.105.camel@Panoramix> User-Agent: Mutt/1.5.10i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 required=5 tests=[AWL=0.005] X-Spam-Level: X-Archive-Number: 200509/280 X-Sequence-Number: 14588 On Fri, Sep 23, 2005 at 08:49:27AM +0200, Joost Kraaijeveld wrote: >3. Can I anyhow improve the performance without replacing my hardware, >e.g. by tweaking the software? It's not clear what your object id generator does. If it's just a sequence, it's not clear that you need this program at all--just use a SELECT INTO and make the object id a SERIAL. If you do need to control the object id or do some other processing before putting the data into the new table, rewrite to use a COPY instead of an INSERT. Mike Stone