From: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com> |
---|---|
To: | kah_hang_ang(at)toray(dot)com(dot)my |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: [PERFORM] Performance incorporate with JReport |
Date: | 2006-05-17 19:00:01 |
Message-ID: | 20060517190000.GU26212@pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc pgsql-performance |
Moving to -jdbc.
On Wed, May 17, 2006 at 02:13:46PM +0800, kah_hang_ang(at)toray(dot)com(dot)my wrote:
> Currently I'm using postgresql v8.1.3 and the latest jdbc.
>
> I try to open a JReports' report and the time taken to completely open the
> report is 137453ms.
> Then I open the same report but this time I connect to postgresql v7.2.2
> but the completion time is even faster than connect to postgresql v8.1.3
> which took 15516ms to finish.
>
> I try many times and the result is still the same.
>
> So I think it might be compatibility problem between JReport & Postgresql
> 8.1.3 so i add in 'protocolVersion=2' in the connection string.
> Then i open the same report again and this time it just as what i expected,
> the execution time for the report become 6000ms only,
> it is 20x times faster than previous test without 'protocolVersion=2'
> option.
>
> May I know what is the reason of this?
> Is it because of the compatibility between JDBC driver with JReport?
This certainly sounds like a likely JDBC issue, so I'm moving this email
to pgsql-jdbc, since someone there is more likely to be able to help
you.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2006-05-17 19:40:59 | Re: [PERFORM] Performance incorporate with JReport |
Previous Message | Bakos Sandor | 2006-05-17 15:13:53 | connection time out |
From | Date | Subject | |
---|---|---|---|
Next Message | Jim C. Nasby | 2006-05-17 19:04:01 | Re: Speed Up Offset and Limit Clause |
Previous Message | Craig A. James | 2006-05-17 18:58:09 | Re: Optimizer: limit not taken into account |