Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating each record slow when using local view.
Message
De
15/02/2000 11:15:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Updating each record slow when using local view.
Divers
Thread ID:
00332233
Message ID:
00332233
Vues:
45
We have a table with 88,000 records. The size and description fields do not allow for a simple index expression that results in desired order so we have a maintenance function that does the sorting. Following this function we have always replaced a field, orderkey, with Recno(). Replacing each orderkey took aproximately one minute as a base table but as a local view takes 15 munutes or longer - which is unnacceptable. There is a primary key and index tag for it on the base table. We also experimented with table buffering, using one TableUpdate command upon completion of the replaces. The replaces happened very quickly but then the tableupdate command takes forever so either way this is very slow compared to our prior experience of this functionality on the base table.

For now we can use the base table but we need a remote view in the near future. Using the base table won't be an option then.

I would appeciate any suggestions regarding this problem.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform