Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Jdbc > Re: JVM crash w...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 6 Topic 1887 of 2010
Post > Topic >>

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

by olarte.andres@[EMAIL PROTECTED] ("Andres Olarte") Feb 22, 2008 at 02:19 PM

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?

On Fri, Feb 22, 2008 at 1:30 PM, Dave Cramer <pg@[EMAIL PROTECTED]
> wrote:
>
>  On 22-Feb-08, at 11:25 AM, Kai Ruhl wrote:
>
>  > Hello,
>  >
>  > I have a curious problem, which I would like to know whether somebody
>  > can reproduce this: From a JVM using JDBC, I issue
>  >
>  >       select count(*) from big_table
>  >
>  > where big table has more than 20 million entries (timestamps and
>  > numbers). Upon PreparedStatement.executeQuery(), the VM quits,
without
>  > any message.
>  >
>  It's my understanding that regardless of what a java program is doing
>  (aside from calling exit, or jni code) , it should never crash.
>
>  I would say there is a bug in your jvm.
>
>
>
>  ---------------------------(end of
broadcast)---------------------------
>  TIP 6: explain analyze is your friend
>

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org
 




 6 Posts in Topic:
JVM crash when select count(*) on large table through JDBC
k.ruhl@[EMAIL PROTECTED]   2008-02-22 17:25:15 
Re: JVM crash when select count(*) on large table through JDBC
pg@[EMAIL PROTECTED] (Da  2008-02-22 14:30:38 
Re: JVM crash when select count(*) on large table through JDBC
olarte.andres@[EMAIL PROT  2008-02-22 14:19:02 
Re: JVM crash when select count(*) on large table through
books@[EMAIL PROTECTED]   2008-02-22 15:33:44 
Re: JVM crash when select count(*) on large table through JDBC
olarte.andres@[EMAIL PROT  2008-02-22 14:39:54 
Re: JVM crash when select count(*) on large table through JDBC
pg@[EMAIL PROTECTED] (Da  2008-02-22 16:13:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 22:35:37 CDT 2008.