Article View: borland.public.jbuilder.database
Article #151Jbuilder DataExpress peformance help
From: Tuong Vu
Date: Thu, 30 Mar 2006 19:17
Date: Thu, 30 Mar 2006 19:17
13 lines
1629 bytes
1629 bytes
HI everyone, I'm connecting to Progress 9D database with JBuilder 2006. -- With database pilot via jdbc. When I do a simple select statement (select * from TABLE where column like 'lala%') in this environment from a large table (1 million records) the response was instantly. --But in my Application with DataExpress object via jdbc. When I do the same query using queryDataset with the optimization applied (Metadataupdate.NONE, LOAD as needed, assign tableName, etc..) and bind it to a JdbTable. The performance here is really slow up to two minutes of waiting time. I have try every possible help to improve query performance suggested by many Jbuilder Documents, but no luck yet. How does Database Pilot get the response so fast? Does QueryDataset alter the select statement? Is there a way to bind java.sql.ResultSet into DataSet? Any help will be appreciated, Thank you.
Technical Details
Message-ID:
<442c3cdc$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1073da,977d442d5ddc2c87,start X-Google-Attributes: gid1073da,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Tuong Vu" <tuong.vu@bcso.us> Sender: "Tuong Vu" <tuong.vu@bcso.us> Reply-To: "Tuong Vu" <tuong.vu@bcso.us> Subject: Jbuilder DataExpress peformance help Newsgroups: borland.public.jbuilder.database X-User-Info: 209.149.185.243 NNTP-Posting-Host: 207.105.83.66 Message-ID: <442c3cdc$1@newsgroups.borland.com> Date: 30 Mar 2006 12:17:32 -0700 X-Trace: newsgroups.borland.com 1143749852 207.105.83.66 (30 Mar 2006 12:17:32 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail