Re: JVM crash when select count(*) on large table through JDBC

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: JVM crash when select count(*) on large table through JDBC
Дата
Msg-id Pine.BSO.4.64.0802221531070.24398@leary.csoft.net
обсуждение исходный текст
Ответ на Re: JVM crash when select count(*) on large table through JDBC  ("Andres Olarte" <olarte.andres@gmail.com>)
Ответы Re: JVM crash when select count(*) on large table through JDBC  ("Andres Olarte" <olarte.andres@gmail.com>)
Список pgsql-jdbc
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 по дате отправления:

Предыдущее
От: "Andres Olarte"
Дата:
Сообщение: Re: JVM crash when select count(*) on large table through JDBC
Следующее
От: "Andres Olarte"
Дата:
Сообщение: Re: JVM crash when select count(*) on large table through JDBC