Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does OleDbDataAdapter support RushMore?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB.NET 1.1
Database:
Visual FoxPro
Divers
Thread ID:
01056297
Message ID:
01056351
Vues:
16
That sure sounds like a very long time. Is the data on the same machine or is it fetched over the network?
Is there a noticable difference if you select data from a different month? What if you drop the order (you can always sort the dataset after it is populated)?

Out of curiosity how long does it take in VFP?

Einar

>There is a free VFP table containing about 0.5 million records. It is indexed and in VFP it takes a fraction of second to get a result from statement like:
>
>SELECT * from table_name where TTOC(indexed_field,1) = “200510” ORDER by 1
>
>
>The problem is that I cannot achieve the similar performance in Vb.NET where I use the code below to fill the data adapter:
>
>
>Me.OleDbSelectCommand2.CommandText = _
>"SELECT * FROM table_name WHERE (TTOC(indexed_field,1) = '200510’) ORDER by 1"
>
>Me.OleDbDataAdapter2.SelectCommand = Me.OleDbSelectCommand2
>Me.OleDbDataAdapter2.Fill(Me.DataSet21)
>
>
>It takes 1 - 2 minute to get the result. Am I missing anything here, or do I need to make specific settings somewhere?
>
>If this approach does not support Rushmore technology, then what could be the alternative way?
>
>
>Thanks in advance for your help.
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform