Quantcast
Channel: VBForums - Database Development
Viewing all articles
Browse latest Browse all 2918

When to denormalize?

$
0
0
I have my databased normalized like crazy and I've been thinking about histories. I already denormalize prices when a transaction occurs (store the price itself, not a reference to the price). Prices will change over time and I don't want to see sales from last year with this year's prices.

It also occurs to me that maybe I should be denomalizing other fields like the product names in case that get removed or changed in the future too. This morning I thought about just completely denormalizing everything in a table that will be basically a history - nothing in the table will change in the future anyway. If I need to get data I can work with strings etc without to much problem (just sacrifice speed).

What do you think?

Viewing all articles
Browse latest Browse all 2918

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>