database - Star Schema design from 3NF -
i'm newbie data warehousing , i've been reading articles , watching videos on principles i'm bit confused how take design below , convert star schema.
in examples i've seen fact table references dim tables, i'm assuming questionid , responseid part of fact table? advice appreciated.
i can't see image @ moment (blocked firewall @ office). i'll try give ideas.
the general idea organize measurable 'facts' called fact tables. there 3 main types of facts, topic different day (but i'd happy go if needed). each of these facts you'd see in center of typical 'star schema'. other attributes within fact tables typically fk references dimension tables.
regarding dimensions, these groups of attributes share commonality (the notable being calendar dimension). important because when you're doing analysis across multiple facts dimensions use connect them.
if consider simple example: product ordered , shipped. have 2 transaction facts (one contains qty ordered - measure, type of product ordered - dimension, , transaction date - dimension). we'd have transaction fact product shipping ( qty shipped - measure, product type - dimension, , ship date - dimension). simple schema used answer questions 'how many products product type last quarter ordered not shipped'.
hopefully helps started.
Comments
Post a Comment