Article View: borland.public.cppbuilder.database.dbexpress
Article #58BUG in dbExpress ???
From: Leen Keus
Date: Tue, 15 Jun 2004 09:45
Date: Tue, 15 Jun 2004 09:45
39 lines
2066 bytes
2066 bytes
In addition to my previous topic from 7th July: I think we found a bug in dbExpress. I have tested the follow SQL query: SELECT field1, field2, field3 FROM atable WHERE field1 = :avalue; the result of the select is a set of approximately 300 records. The response time to retrieve this set is approx. 0.03 s. If I add a table alias to the query, like this: SELECT field1, field2, field3 FROM atable analias WHERE field1 = :avalue; then the response time to retrieve the same data set is approx. 3.1 s, a factor 100 slower!! Note: the querie must have a WHERE clause! (without WHERE is makes no difference). If I add a join to this querie, like: select a.field1, a.field2, a.field3 from atable a, btable b where b.field4=:avalue and a.bid=b.id; then we do not have problems with the reponse time. We use an Interbase database and I have tested these two queries in IBConsole. These tests make no difference. In both cases the response time to retrieve the data set was in milliseconds. At this moment I can not test these queries with an other database connection, so I can not find out if it is a bug in the Interbase driver of dbExpress or in dbExpress. Can anyone confirm if this really is bug?? Kind regards, Leen Keus
Technical Details
Message-ID:
<40cec57d@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb4e2,dc08ea995f32db60,start X-Google-Attributes: gidfb4e2,public From: "Leen Keus" <lj.keus@freeler.nl> Newsgroups: borland.public.cppbuilder.database.dbexpress Subject: BUG in dbExpress ??? Date: Tue, 15 Jun 2004 11:45:41 +0200 Lines: 41 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 62.177.192.202 Message-ID: <40cec57d@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1087292797 62.177.192.202 (15 Jun 2004 02:46:37 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail