pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Olarte <olarte.andres@gmail.com>
To: Dave Cramer <davec@fastcrypt.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Batch with keygen?
Date: Mon, 7 Nov 2005 18:45:55 -0600
Message-ID: <3fccaa690511071645t461783dfw5de9819296678a10@mail.gmail.com> (raw)
In-Reply-To: <1967C9F5-1F3C-4AEB-B757-87193EAD5207@fastcrypt.com>
References: <06B12D1D68BCCA4CB1F60BB4EA509768245476@pq-exch01.actional.com>
	<Pine.BSO.4.61.0511071615580.17958@leary.csoft.net>
	<1967C9F5-1F3C-4AEB-B757-87193EAD5207@fastcrypt.com>

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.

view thread (6+ messages)  latest in thread

Message-ID: <3fccaa690511071645t461783dfw5de9819296678a10@mail.gmail.com>
Permalink:  ../3fccaa690511071645t461783dfw5de9819296678a10@mail.gmail.com/
Also on:    postgresql.org/message-id/3fccaa690511071645t461783dfw5de9819296678a10@mail.gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: olarte.andres@gmail.com, davec@fastcrypt.com
  Subject: Re: Batch with keygen?
  In-Reply-To: <3fccaa690511071645t461783dfw5de9819296678a10@mail.gmail.com>
  References: <06B12D1D68BCCA4CB1F60BB4EA509768245476@pq-exch01.actional.com> <Pine.BSO.4.61.0511071615580.17958@leary.csoft.net> <1967C9F5-1F3C-4AEB-B757-87193EAD5207@fastcrypt.com> <3fccaa690511071645t461783dfw5de9819296678a10@mail.gmail.com>

* 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