Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database experts, I need your advice ...
Message
De
21/08/2001 09:32:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
21/08/2001 09:09:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00546590
Message ID:
00546680
Vues:
15
>>2) For quick access, relevant totals for each order should be stored in the order header.
>
>Sorry to not agree on this point ... total can easily be calulated ! (especially when the price is in the detail lines :-)

I know they can be easily totalled. But what about the speed? In a similar system, I started calculating totals whenever they were needed. Since I found data access was too slow, I kept summaries up-to-date. Access speed became much quicker.

If this isn't currently a problem for you, well, just keep the data as it is.

You can also consider keeping a small "data warehouse": a version of data especially prepared for quick access to reports. This will have to be updated regularly with a program.

This will not only overcome potential limitations with your report system, but it may also make it easier for users to create personalized reports.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform