Talk About Network

Google





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

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

by pg@[EMAIL PROTECTED] (Dave Cramer) Feb 22, 2008 at 04:13 PM

As Kris said and I said. If your jvm crashes it's a jvm problem.

I know people that have queries that take 20 minutes or more...

Dave
On 22-Feb-08, at 3:39 PM, Andres Olarte wrote:

> 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@[EMAIL PROTECTED]
> 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
>>
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 7: You can help sup****t the PostgreSQL project by donating at
>
>                http://www.postgresql.org/about/donate


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
 




 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
localhost-V2008-12-19 Fri Jan 9 20:29:22 PST 2009.