Re: JAVA vs PERL : PERL wins to postgreSQL - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: JAVA vs PERL : PERL wins to postgreSQL
Date
Msg-id 3B9454B8.8090808@xythos.com
Whole thread Raw
In response to JAVA vs PERL : PERL wins to postgreSQL  (andy <andy@exkom.co.za>)
List 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
>
>



pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Read transactions don't work on 7.0.x db's
Next
From: Bruce Momjian
Date:
Subject: Re: Re: Unterminated quoted string error.