Re: JVM crash when select count(*) on large table through JDBC - Mailing list pgsql-jdbc

From Andres Olarte
Subject Re: JVM crash when select count(*) on large table through JDBC
Date
Msg-id 3fccaa690802221239t4763c8e8y7ad83e2cd1cfb2a5@mail.gmail.com
Whole thread Raw
In response to Re: JVM crash when select count(*) on large table through JDBC  (Kris Jurka <books@ejurka.com>)
Responses Re: JVM crash when select count(*) on large table through JDBC  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
I know it's the same to count 1 o 20M rows, but it takes much longer
to count 20M.  I really don't know much about the internal of the
driver, but maybe some kind of time out?

On Fri, Feb 22, 2008 at 2:33 PM, Kris Jurka <books@ejurka.com> wrote:
>
>  On Fri, 22 Feb 2008, Andres Olarte wrote:
>
>  > Just did a quick test with synthetic data (20M rows 3 columns: serial,
>  > timestamp, and text).  And it worked ok both on Java (with driver
>  > postgresql-8.1-407.jdbc3.jar)  and PgAdmin.
>  >
>  > Perhaps you could try to build a test case to expose the problem?
>
>  From a client perspective, select count(*) should be the same no matter
>  how many rows there are and what types of columns are in the table, so a
>  test case won't be helpful.  If the JVM is just up and dying, that's the
>  JVM's fault not a pg issue.
>
>  Kris Jurka
>

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: JVM crash when select count(*) on large table through JDBC
Next
From: Dave Cramer
Date:
Subject: Re: JVM crash when select count(*) on large table through JDBC