pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Cavacas <oogly@rogers.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Good performance?
Date: Sun, 16 Feb 2003 18:23:23 -0500
Message-ID: <000e01c2d612$66b29450$6401a8c0@spook> (raw)
References: <5.2.0.9.0.20030216232710.01b40810@mail.polonium.de>

> ....
>                  pstmt.setLong(1, getUniquelongID());
>....

What is getUniquelongID()? Can you post the code for that? I would
suspect that might be your problem.

Your results point to something being wrong somewhere. Just yesterday I
was doing some benchmarking of my own, and using code similar to yours I
was inserting 10000 records in about 23 seconds.

john




view thread (11+ messages)  latest in thread

Message-ID: <000e01c2d612$66b29450$6401a8c0@spook>
Permalink:  ../000e01c2d612$66b29450$6401a8c0@spook/
Also on:    postgresql.org/message-id/000e01c2d612$66b29450$6401a8c0@spook

 · 

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-performance@postgresql.org
  Cc: oogly@rogers.com, pgsql-jdbc@postgresql.org
  Subject: Re: Good performance?
  In-Reply-To: <000e01c2d612$66b29450$6401a8c0@spook>
  References: <5.2.0.9.0.20030216232710.01b40810@mail.polonium.de> <000e01c2d612$66b29450$6401a8c0@spook>

* 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