Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple Denormalized vs Normalized Example
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00308138
Message ID:
00311049
Vues:
40
Carl,

>Thread started: Does violating 3rd normal form make queries faster?

In certain situations, yes denormalizing can increase teh performance of data retreival. That is the exact reason that Chris Date discusses for denormalization. Date's Premiss is, "In a sense, the normalization discipline can be regarded as optimizing for update at the expense of retreival - a fully normalized database tends to require less processing on update but more on retreival." Relational Database Selected Writings, C. J. Date Addison-Wesley 1986.

>What is a "two table relation"? I am guessing USE a, USE b, SET RELATION...

Yes.

>Why would the location of the tables make a difference? are you saying that if they are local, one method will be faster? I would think that local tables would speed up both processes by a constant factor.

The difference in table access woudl be more pronounced on server resident tables meanign that my tests looked at only a best case scenario.

>What is "the query has to run" and "processing the records"? To me they are the same, so I have no idea what you mean.

First one needs to get teh records then one needs to process them. My test was on how fast the records could be processed.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform