From: ChatPristi <cchristo_0899@yahoo.fr>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Slow performance with 9.3-110x JDBC 4
Date: Thu, 27 Mar 2014 13:35:34 +0000 (GMT)
Message-ID: <1395927334.64921.YahooMailNeo@web28904.mail.ir2.yahoo.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Dear All,
I have a java program that does bulk insertions (with transactions 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 comparison with postgresql-8.4-703 JDBC4 independently of postgresql version.
Time(ms) PG 8.4.7 9.3.4
Driver
8.4-703 193390 188379
9.3.1101 349404 344344
Does anybody else saw 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.
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: cchristo_0899@yahoo.fr
Subject: Re: Slow performance with 9.3-110x JDBC 4
In-Reply-To: <1395927334.64921.YahooMailNeo@web28904.mail.ir2.yahoo.com>
References: <1395927334.64921.YahooMailNeo@web28904.mail.ir2.yahoo.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