Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO Slow
Message
From
25/03/2008 04:12:12
Aman Bains
Jaguar Computers
Jalandhar, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
ADO Slow
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01305207
Message ID:
01305207
Views:
60
I wanted to use "SQL Server CE 3.5" and "Microsoft Sync Services" to provide a distributed solution, where each client would have their own local database (No. of such users is not very high).
Brochure says "SQL Server CE 3.5" Supports ADO.NET, LINQ to SQL, LINQ to Entities and the ADO.NET Entity Framework. Does that mean VFP/ADO cannot use it?

Problem: SQL CE allows only OleDB Connection, which I guess means Cursor Adaptor with ADO has to be used, Which is very slow compared to SPT/ODBC combination. I tested by downloading a huge table with following results:-
SPT/ODBC:                 38.5 Seconds
CursorAdaptor/ADO/OleDB: 120.0 Seconds
Even Downloading a few fields only using CA by specifing SelectCmd with UseCursorSchema=.F. resulted in poor comparative performance.

Any suggestions ? IF SQL CE solution is not possible with VFP then can such a distributed solution be built using Firebird ?
Aman
-------
Lets fly away to the Land where there is Love & Peace
Next
Reply
Map
View

Click here to load this message in the networking platform