Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WTAT7-0007CN-HB for pgsql-jdbc@arkaria.postgresql.org; Thu, 27 Mar 2014 13:35:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WTAT6-0002cN-Vs for pgsql-jdbc@arkaria.postgresql.org; Thu, 27 Mar 2014 13:35:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WTAT5-0002bS-PY for pgsql-jdbc@postgresql.org; Thu, 27 Mar 2014 13:35:39 +0000 Received: from nm30-vm3.bullet.mail.ir2.yahoo.com ([212.82.97.81]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WTAT2-0006XX-Ef for pgsql-jdbc@postgresql.org; Thu, 27 Mar 2014 13:35:39 +0000 Received: from [212.82.98.127] by nm30.bullet.mail.ir2.yahoo.com with NNFMP; 27 Mar 2014 13:35:34 -0000 Received: from [212.82.98.113] by tm20.bullet.mail.ir2.yahoo.com with NNFMP; 27 Mar 2014 13:35:34 -0000 Received: from [127.0.0.1] by omp1050.mail.ir2.yahoo.com with NNFMP; 27 Mar 2014 13:35:34 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 512554.74491.bm@omp1050.mail.ir2.yahoo.com Received: (qmail 51141 invoked by uid 60001); 27 Mar 2014 13:35:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1395927334; bh=tDjGZqwh4xuGty9GK6pcYZZ+UuOY45U/MP99cvE0X38=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=tCGkDMTVH6DcfAWYGdEr1X/QGa+rA0Rmf74TyBiS8JbtzegGqmv53vGT5YDxWAFk80Zg5IgSjsL20A5lJIVVTFZpoiyecfTFAnZh6BfoSkIg7Bnq61oMtTiemgUMuN/PNA5BApaBFe3sb+DCF0u0ebYeS4+8fAo/W/hh1q8CD04= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=kWYcOoG092PGrrzzMqRUAiEtEnjUtTWjfXOP14wCv38p5as2MDtQ7NSz2rNnuNGq811v1esRC/OEde+wrLIzrOLvmw2SQNIk7d1DqwaByKyRHTh/OLBJZZq7UyiaP14bLj4LeJ+lLE5HPU+IlTzrQxzuAHUBEO/0zel2oUjox1g=; X-YMail-OSG: Y_3W.TYVM1kuONEgHMibtULxvgFZ.fUN.amsZC47fyvNg.8 3O7gOhL29t32TwqyiF3_yKWHL_WAoubmVqRwOUF9eW1G4pZ_b.xu85Jmzri_ NkjncYZovWd9ui..OvUQ881Nmg84L6NrreQat5PGJTjRoAxp8x0qL9l0VzMP eI9AUYu44uKnWRnSwA33GEUQBhpukpnDXOBFMDnx2ajmSYVkz_P5NEuWD_hs O2kQ.lzl.ej9RnnFznI1tjz.5qt68anLf.kERQ5volCSQiMEpogHIjnmTYIr duN5RhVSe7m50IsTIvURBwsVxccUCbwELf7icl1MkAjjK6vlTbfR_gtwICFZ PtCJrmRVPm_sICFRhLXs0VH7182HdaCYuTrIGpZ9XD9IAXQpcQaEXPMeW70O l2YY1JldjaRg3UWl2pfroDhI6ARalIJww_ld0PorSUp0wkRG4DbHxSmYdU6U HbbZjfcenNlbNNkP2nJ7vJ7sRDgdFq5fTbOUBrk5BkNo6g3zoLU8Z0sIzBSn FYY2JM7Z_7lDRsQ8GNXW182s3FljcuSTTRSemPffLO9yl9oBEqLa_Pko- Received: from [193.51.160.62] by web28904.mail.ir2.yahoo.com via HTTP; Thu, 27 Mar 2014 13:35:34 GMT X-Rocket-MIMEInfo: 002.001, RGVhciBBbGwsCkkgaGF2ZSBhIGphdmEgcHJvZ3JhbSB0aGF0IGRvZXMgYnVsayBpbnNlcnRpb25zICh3aXRoIHRyYW5zYWN0aW9ucyBhbmQgUHJlcGFyZWRTdGF0ZW1lbnRzKSBpbiBhIHBvc3RncmVzcWwgZGF0YWJhc2UuIEkgaGF2ZSBhIHBlcmZvcm1hbmNlIGRpdmlkZWQgYmV0d2VlbiB0d28gYW5kIGZvdXIgd2hlbiB1c2luZyA5LjMtMTEwMCBKREJDNCBhbmQgOS4zLTExMDEgaW4gY29tcGFyaXNvbiB3aXRoIHBvc3RncmVzcWwtOC40LTcwMyBKREJDNCBpbmRlcGVuZGVudGx5IG9mIHBvc3RncmVzcWwgdmUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.181.645 Message-ID: <1395927334.64921.YahooMailNeo@web28904.mail.ir2.yahoo.com> Date: Thu, 27 Mar 2014 13:35:34 +0000 (GMT) From: ChatPristi Reply-To: ChatPristi Subject: Slow performance with 9.3-110x JDBC 4 To: "pgsql-jdbc@postgresql.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1142916560-1517660368-1395927334=:64921" X-Pg-Spam-Score: -0.1 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org ---1142916560-1517660368-1395927334=:64921 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Dear All,=0AI have a java program that does bulk insertions (with transacti= ons and PreparedStatements) in a postgresql database. I have a performance = divided between two and four when using 9.3-1100 JDBC4 and 9.3-1101 in comp= arison with postgresql-8.4-703 JDBC4 independently of postgresql version.= =0A=0A=A0Time(ms) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0 PG=A0=A0=A0=A0 8= .4.7=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 9.3.4=0ADriver=0A8.4-703=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 193390=A0= =A0=A0=A0=A0=A0=A0=A0 188379=0A9.3.1101=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 349404=A0=A0 =A0=A0=A0=A0 344344=0A=0A= Does anybody else saw such a difference ? What reasons can explain it ?=0A= =0AAnother point, is that the bulk insertions are prerformed by parallel pr= ocesses and 9.3-110x JDBC4 drivers appear to scale poorly.=0A=0AThanks for = any help.=0A ---1142916560-1517660368-1395927334=:64921 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Dear All,

I have a java program that= does bulk insertions (with transactions and PreparedStatements) in a postg= resql database. I have a performance divided between two and four when usin= g 9.3-1100 JDBC4 and 9.3-1101 in comparison with postgresql-8.4-703 JDBC4 i= ndependently of postgresql version.

 Time(ms) =                PG   &n= bsp; 8.4.7           = ; 9.3.4
Driver
8.4-703          &nb= sp;            =    193390    &= nbsp;    188379
9.3.1101     &nb= sp;            =        349404         344344=

Does anybody else s= aw such a difference ? What reasons can explain it ?

Another point, = is that the bulk insertions are prerformed by parallel processes and
9.3-110x JDBC4 drivers appear to = scale poorly.

Thanks for any help.
---1142916560-1517660368-1395927334=:64921--