Re: JAVA vs PERL : PERL wins to postgreSQL

From: Barry Lind <barry(at)xythos(dot)com>
To: andy <andy(at)exkom(dot)co(dot)za>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JAVA vs PERL : PERL wins to postgreSQL
Date: 2001-09-04 04:12:40
Message-ID: 3B9454B8.8090808@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Andy,

I would be interesting in knowing what version you did this test on,
what platform, and most importantly which JDK (and if the Sun JDK which
JVM: classic, hotspot client, hotspot server).

thanks,
--Barry

andy wrote:
> Hi,
>
> I ran a few bench marks on JAVA writing to a postgreSQL table using and
> found that for the same number of records added to the table as a
> similar PERL routine the following results :
> PERL 39 seconds : JAVA 45 Seconds.
> In a similar experiment where PERL and JAVA did treir output to the
> screen and not to a table,
>
> JAVA took 3 seconds and PERL 310 Seconds.
> My conclusion is that the database driver to postgreSQL is still far
> from efficient in the JAVA implementation.
>
> Both tests were run on the same computer.
>
> I would appreciate your comments and suggestions.
> Andy Sewell
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-09-04 04:40:41 Re: Re: Unterminated quoted string error.
Previous Message Ian Wehrman 2001-09-04 03:01:17 jdbc ResultSetMetaData::isWritable()