Reputation: 145
I have to build a DW to store PO and Invoice data:
How is the recommended way to design this in star schema?
Upvotes: 0
Views: 112
Reputation: 3078
You have a problem in that you are modelling data, not process.
Star schemas are based on a business process, not an entity relationship.
What are you trying to model? What is the grain of the model?
I'll go out on a limb, and say that you're probably modelling sales. Have one fact: Sale. If you need order-specific information, consider whether it is part of an Order dimension, or if it should be carried as degenerate dimensions and/or measures in the Sale fact.
Upvotes: 1
Reputation: 967
Designing a DW involves understanding multiple aspects before having a model.
So on and so forth..
You will need to deep dive into it. Just creating tables with FK will help now, but over the time when data volume increases it will be a bottleneck.
Upvotes: 4
Reputation: 414
Hope this helps!
Upvotes: 0