Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bloated Table vs Multiple Joins ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Bloated Table vs Multiple Joins ?
Divers
Thread ID:
00676783
Message ID:
00676783
Vues:
57
I'm wondering which is "better" and/or more realistic. I mean in school, I learned you typically want to reduce redundancy within your database, so you decompose tables and elemenate dependencies withing your schema. Sure, seems like a good idea...but is it really worth it?

I mean, say I have an application, which is marketed to many different companies. They all want slightly different things (fields for their data). If you store it all in one huge table (with lots of *cringe* nulls) then you can distrubute the application to the various companies and the code is relatively simplisitc. Companies choose which fields they want and those fields show up, data is inputed into those fields and all.

Of course if you broke that huge table down into smaller tables and did joins were necessary, the representation of that data would be more compact, but would it be much better? I ask, many because the most expensive operation to do is a join.

If you keep it all in one or two big tables you are doing less joins. If you keep it all compactly in many small tables, you do many more joins.

Any thoughts?
matt
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform