X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 76E1C3A5B0E for ; Wed, 26 Jan 2005 08:18:02 +0000 (GMT) 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 85121-06 for ; Wed, 26 Jan 2005 08:17:51 +0000 (GMT) Received: from relay.imatech.net (relay.imatech.net [81.255.215.226]) by svr1.postgresql.org (Postfix) with ESMTP id 50CC13A5B01 for ; Wed, 26 Jan 2005 08:17:50 +0000 (GMT) Received: from pop.imatech.net (81.255.215.227) by relay.imatech.net with MERCUR Mailserver (v4.03.06 MTI0LTIzMDYtNjkyMw==) for ; Wed, 26 Jan 2005 09:16:15 +0100 Received: from imatech.net (81.255.215.225) by pop.imatech.net with MERCUR Mailserver (v4.03.06 ODUtMjQzNS00ODc3) for ; Wed, 26 Jan 2005 09:20:45 +0100 Received: from smtp.imatech.net ([81.255.215.236]) by imatech.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 26 Jan 2005 09:16:12 +0100 Received: from [200.200.200.185] ([195.6.193.141]) by smtp.imatech.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 26 Jan 2005 09:16:12 +0100 Received: from 127.0.0.1 (AVG SMTP 7.0.300 [265.7.4]); Wed, 26 Jan 2005 09:17:11 +0100 Message-ID: <41F75206.2030603@cerene.fr> Date: Wed, 26 Jan 2005 09:17:10 +0100 From: =?ISO-8859-1?Q?St=E9phane_RIFF?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en To: pgsql-jdbc@postgresql.org Subject: JDBC HighLoad Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed X-OriginalArrivalTime: 26 Jan 2005 08:16:12.0484 (UTC) FILETIME=[4C3EC840:01C5037F] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/262 X-Sequence-Number: 12142 Hi i have a java aplication which connect to postgresql via jdbc. This app make a lot of request per second. The problem is that i get delayed records between the moment the informations arrived via socket to java and the moment it's recorded in the database. It seems that jdbc wait before inserting/updating the db because they are to much requests. For testing i made a little app in c using libpq to see if problem persist and there no delay. So i'd like to know a way to speed up jdbc if possible ??? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/01/2005