Reputation: 969
I understand the logic behind fact tables and what it should contain. What I would like to know is how to create these fact tables.
Can these fact tables be a view or named query or does it have to be an actual table? What are the advantages/disadvantages of doing one or the other way?
Upvotes: 2
Views: 1040
Reputation: 2970
Yes, technically, a fact table can be a view or named query.
Advantages
Disadvantages
FWIW - I've build a small star-schema (3 fact tables, 10 dimensions) using views but it was simply for a proof of concept and I strongly oppose this for production use.
Upvotes: 3