Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query Speed & 'PacketSize'
Message
From
19/11/2001 12:05:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Query Speed & 'PacketSize'
Miscellaneous
Thread ID:
00583544
Message ID:
00583544
Views:
50
Hi All,

I am trying to get better speed out of a query. On my station it takes about 1-2 seconds to retrieve the data from my local test database. But over the network it takes about 40-60 seconds. The query is not very complicated, but I will be retrieving about 400 records for a report. 25 fields from 2 tables with 1 join and 3 conditions.

I tried looking at the:

* Set PacketSize
nSet=SQLSETPROP(nHandle, "PacketSize", 2048 ) && No # worked here

But this gives an error. ??? I copied the code from the MSDN library.

Any ideas? I am going through the VFP ODBC driver to a VFP database. Using VFP 6 SP5

TIA
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform