Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP9 - SQL and Rushmore
Message
De
04/05/2015 06:22:17
 
 
À
04/05/2015 06:12:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01619370
Message ID:
01619372
Vues:
51
Try
	SELECT Datei FROM ("DBCNAME!" + lcTabelle) ;
		WHERE UPPER(Datei) = UPPER(lcPfad) ;
		INTO CURSOR TMP_DOKNAME
>Hello,
>
>I have a perfomance problem with a simple SQL SELECT in VFP 9:
>
> SELECT Datei FROM ("DBCNAME!" + lcTabelle) ;
> WHERE Datei = UPPER(lcPfad) ;
> INTO CURSOR TMP_DOKNAME
>
>The column DATEI is defined as C(240) and has an index on UPPER(DATEI).
>
>The table has about 900.000 records. The SELECT above needs 3 seconds to finish.
>
> USE DATA\DAKDOC IN 0 ALIAS TEST
> SELECT TEST
> SET ORDER TO DATEI
> SEEK(UPPER(lcPfad))
>
>finishes in 0 seconds. That seems to indicate that Rushmore is kicking in.
>
>Why is Rushmore not used in the SELECT?
>
>TIA
>Gerhard
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform