Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is normal this Speed?
Message
From
08/05/2003 09:12:14
 
 
To
08/05/2003 08:58:48
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00784121
Message ID:
00786194
Views:
14
To do a legitimate test on this kind of issue you really have to reboot between attempts.

If you don't then you can (and will) have the OS cache the table data involved so any timings after the first are not reliable.

While it may be that you *have* identified some performance connection between SET EXACT and a query, the design intention of VFP is that SET ANSI is the one applicable to SQL queries and SET EXACT is for all ELSE.


>Tamar,
>I'm not too sure about your last statement.
>I just tested a table with 10k records with the following query from the command window:-
>sele invoice_no, invoice_date from inv_table order by 1 into cursor c_t
>Ran the query multiple times, each time shutting down VFP and restarting.
>One test involve set exact off preceding the query and the other involve exact on.
>It surprised me to find that on average, the one with set exact off averaged < 0.5 seconds while the one with exact on averaged almost 2 seconds to complete.
>Its done on VFP6SP5 on a Pentium III notebook with 64MB Ram.
>Its got indexes on the invoice_no field as well as a !deleted() tag.
>I don't really know how to explain this.
>Yau
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform