Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO Slow
Message
De
25/03/2008 04:12:12
Aman Bains
Jaguar Computers
Jalandhar, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
ADO Slow
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
MS SQL Server
Divers
Thread ID:
01305207
Message ID:
01305207
Vues:
61
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform