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 1A7BDDA26A for ; Tue, 25 Oct 2005 18:40:45 -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 35265-06 for ; Tue, 25 Oct 2005 21:40:41 +0000 (GMT) Received: from my.endian.it (unknown [62.146.87.34]) by svr1.postgresql.org (Postfix) with ESMTP id E5179D6EE1 for ; Tue, 25 Oct 2005 18:40:41 -0300 (ADT) Received: from 1006.org (localhost.localdomain [127.0.0.1]) by my.endian.it (8.11.6/8.11.6) with SMTP id j9PLa2c23558; Tue, 25 Oct 2005 23:36:02 +0200 Received: from host118-59.pool8258.interbusiness.it ([82.58.59.118]) (SquirrelMail authenticated user list@1006.org) by www.endian.it with HTTP; Tue, 25 Oct 2005 23:36:02 +0200 (CEST) Message-ID: <19128.82.58.59.118.1130276162.squirrel@www.endian.it> Date: Tue, 25 Oct 2005 23:36:02 +0200 (CEST) Subject: Re: insertion of bytea From: "Chris Mair" To: In-Reply-To: <20051025140549.GC17398@mathom.us> References: <54222.193.206.186.101.1130247876.squirrel@www.endian.it> <20051025140549.GC17398@mathom.us> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: , X-Mailer: SquirrelMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200510/373 X-Sequence-Number: 15141 >>Is there a better, faster way to do these inserts? > > COPY is generally the fastest way to do bulk inserts (see > PQputCopyData). Thanks :) I'll give that I try and report the results here later. Bye, Chris.