Received: from as104.tel.hr (as104.tel.hr [205.219.255.36]) by hub.org (8.10.1/8.10.1) with ESMTP id e8BBRqf15680 for ; Mon, 11 Sep 2000 07:27:52 -0400 (EDT) Received: from proxyplus.universe (ao2-m17.tel.hr [195.29.33.17]) by as104.tel.hr (0.0.0/0.0.0) with ESMTP id NAA156313; Mon, 11 Sep 2000 13:27:51 +0200 (MEST) Received: from 192.168.0.1 by Proxy+; Mon, 11 Sep 2000 10:58:52 GMT Message-Id: <4.1.20000911125539.0186e840@192.168.0.7> X-Sender: zeljko@192.168.0.7 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 11 Sep 2000 12:56:23 +0200 To: khkachn@NOSPAMtoad.net, pgsql-interfaces@postgresql.org From: Zeljko Trogrlic Subject: Re: Performance issue with JDBC In-Reply-To: <39B6BF69.E1AC723F@toad.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Archive-Number: 200009/38 There is a "Fastpath" extension made for large objects. Try that. At 00:04 7.9.2000 , Ken Kachnowich wrote: >Hi, > > I am testing a Java application with the PostgreSQL JDBC that inserts >a bunch of >records into a database. Inserting 15 - 20 records every 10 seconds I >find that >the JDBC or Postgres can not keep up so I have a couple of questions. > >1) Where can I get the latest and greatest code for the JDBC? I >downloaded > the 7.0.2 PostgreSQL release and have been using the JDBC included >there. > Have there been any patches since that may help performaance? > >2) One of the fields inserted is a serialized Java object. I am saving >it as a large > object right now because I could not figure out how to get anything >else to > work. Could this be slowing things down? Is there a better way, such >as > into a bytea or varchar? Also where might I find some sample code to >show > me how to do it? > >3) Any other performance tips that may help me? > >Thanks, > >Ken K >