Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance of VFP Over LAN
Message
From
29/09/2001 13:10:38
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
29/09/2001 01:45:56
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00561580
Message ID:
00562270
Views:
37
I'm aware you can use ODBC to access VFP and SQL Server data. I don't know how ODBC accessing VFP would be better than local view access. Grids are not Rushmore aware and they cause a performance problem with filtered tables. ODBC might (although I doubt it) do as you suggest. The issue IMO is that ODBC and local views both pull indexes and data across the wire because the client PC is doing all the work, whereas in SQL server the database server is doing most of the work. Grid performance is superior with a reduced dataset as would be provided by local views, remote views and probably ODBC (compared to filters on base tables).

I have ordered the book and I'll do some testing once I download the electronic version.

>Hi Mike
>
>I have just read again chapter 7 in the book, which I had glossed over in my first reading. You can use ODBC to access VFP tables, just as you would with other languages; it is not restricted to SQL server.
>There were a few references to it at Devcon, but this thread has helped to put a few thinggs in perspective. ODBC would work against you on a local machine, for sure, but once you start pulling indexes and data across a network, processing times increase by a factor of about 10, from some tests I have been doing recently.
>While I understand the general scepticism of using ODBC, I think the one place it could have a significant impact is in dealing with grids. I would expect that ODBC does not use Rushmore, and therefore scans an index sequentially, skipping filtered records, but fetching only as needed, with a lot less traffic across the wire when compared to the native behaviour of VFP. I use grids quite heavily, and the performance is extremely poor, but elsewhere, performance is quite good.
>I don't think I would want to use it extensively, but I am sure it's worth some development effort, particularly in the context of data objects.
>
>Geoff
>
>
>
>>I hope you are not taking any of this personally. Are you suggesting the SQL Server book? That book is talking about SQL Server which has to be accessed via ODBC. Please prove that VFP accessing data via ODBC will outperform VFP accessing data without ODBC.
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform