X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 66ECED6E2C for ; Mon, 7 Nov 2005 20:45:54 -0400 (AST) 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 46524-03 for ; Tue, 8 Nov 2005 00:45:50 +0000 (GMT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by svr1.postgresql.org (Postfix) with ESMTP id E5371D6805 for ; Mon, 7 Nov 2005 20:45:51 -0400 (AST) Received: by wproxy.gmail.com with SMTP id i3so35304wra for ; Mon, 07 Nov 2005 16:45:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=aElI6CTlGNNRKwZqNSMFnurCzZ0MzY79SZe8S0qJ3H3icXuyVYo+nKXwrljGyaUQz+lEuny9rUbiMHHm2lDQVA40xigGaLaEIWnC29r902qkmYfw7QunZjqWViuBM8avww9o5wNHqwt44c2GpUXgGyLAH8g7dig57hyhc1DGqpQ= Received: by 10.54.150.3 with SMTP id x3mr149396wrd; Mon, 07 Nov 2005 16:45:55 -0800 (PST) Received: by 10.54.94.20 with HTTP; Mon, 7 Nov 2005 16:45:55 -0800 (PST) Message-ID: <3fccaa690511071645t461783dfw5de9819296678a10@mail.gmail.com> Date: Mon, 7 Nov 2005 18:45:55 -0600 From: Andres Olarte To: Dave Cramer , pgsql-jdbc@postgresql.org Subject: Re: Batch with keygen? In-Reply-To: <1967C9F5-1F3C-4AEB-B757-87193EAD5207@fastcrypt.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9461_5033708.1131410755587" References: <06B12D1D68BCCA4CB1F60BB4EA509768245476@pq-exch01.actional.com> <1967C9F5-1F3C-4AEB-B757-87193EAD5207@fastcrypt.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.727 required=5 tests=[AWL=-0.219, HTML_10_20=0.945, HTML_MESSAGE=0.001] X-Spam-Score: 0.727 X-Spam-Level: X-Archive-Number: 200511/45 X-Sequence-Number: 14143 ------=_Part_9461_5033708.1131410755587 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This looks like a typical example that will benefit from a stored procedure= . Its a bit more work, but much better performace. You can then batch any ammount of inserts with very good results Creating your own keys is normally not a good idea. ------=_Part_9461_5033708.1131410755587 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
This looks like a typical example that will benefit from a stored procedure.  Its a bit more work, but much better performace.  You can then batch any ammount of inserts with very good results

Creating your own keys is normally not a good idea.

------=_Part_9461_5033708.1131410755587--