Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Big trouble in performance, it is critical.
Message
De
02/09/2002 13:37:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Big trouble in performance, it is critical.
Divers
Thread ID:
00695980
Message ID:
00695980
Vues:
60
Hi friends.

I'm working in a COM that, in one of its classes, there's a method which launches the following SQL code:
SELECT			 ;
	loja		,;
	data		,;
	qtd_lanca	,;
	qtd_saldo	 ;
FROM 			 ;
	g2_estmo	 ;
WHERE 		 	 ;
	g2_estmo.codigo = cCodigo  ;
        &lcFiltro                  ;
INTO TABLE                         ;
	(lcNomeArq) READWRITE
The memvars lcNomeArq,cCodigo and lcFiltro are properly initialized.

And here's my issue. This table has 1,500,000, and i'm testing the worse of the situations possible for this table: a value for cCodigo which returns me a result table of 24296 records. Testing in the same machine with the same OS in the same nethood, exactly the same SQL code with exactly the same table I get this result with the following times:

From the Command Window: 1min41secs
From the COM : 5 minutes

May someone Help me? it's is critical

TIA,
Pablo Márcio de Oliveira

Inside the scream is silent, inside it must remain
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform