Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Índices
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00607641
Message ID:
00608165
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
Rodolfo:

Você sempre deve ter em conta a optimização do Rushmore quando vc. fala de índices.
Especialmente no INDEX ON DELETED() é muito importante estudar a situação. Este índice não sempre te dará mais velocidade. Algumas vezes será mais lerdo, em redes. Isto e baseado em um artigo de Chris Probst "Rushmore Queries: Less is More" - Maio 1999 - Foxpro Advisor. Ele e quem descubriou o problema que fica com o fato que si vc. tem muitos registros no indice, ele pega tudos na rede.

Temos muita informação no Wiki de Fox sovre isto (em inglés):
http://fox.wikis.com/wc.dll?Wiki~Rushmore~VFP
http://fox.wikis.com/wc.dll?Wiki~UnderstandingRushmore~VFP


>Mesmo alertado pelo Fabio Vazquez, fiz um teste em um cliente criando o seguinte índice:
>
>INDEX ON DELETED() TAG EXCLUIDOS
>
>
>Em ambiente monousuário, a velocidade fica espetacular. Já em rede o resultado é inversamente proporcional.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform