Diagrams

Common software and data diagrams, drawn once and restyled by small diagram-style token files. Labels follow the EN / TH switch.

Bakery sales star schemafct_sales sits in the middle and joins date, store, product and customer dimensions one to many; dim_product is snowflaked out to dim_category.FACTfct_salesdate_keyFKstore_keyFKproduct_keyFKcustomer_keyFKqtyintamountdecDIMENSIONdim_datedate_keyPKdaydatemonthtextDIMENSIONdim_storestore_keyPKcitytextDIMENSIONdim_productproduct_keyPKnametextcategory_keyFKDIMENSIONdim_customercustomer_keyPKsegmenttextSNOWFLAKEdim_categorycategory_keyPKnametext
สคีมาแบบดาวของยอดขายร้านเบเกอรี่ตาราง fct_sales อยู่ตรงกลาง เชื่อมกับมิติวันที่ สาขา สินค้า และลูกค้าแบบหนึ่งต่อหลาย ส่วน dim_product แยกหมวดหมู่ออกไปเป็น dim_category แบบสโนว์เฟลกตารางข้อเท็จจริงfct_salesdate_keyFKstore_keyFKproduct_keyFKcustomer_keyFKqtyintamountdecมิติdim_datedate_keyPKdaydatemonthtextมิติdim_storestore_keyPKcitytextมิติdim_productproduct_keyPKnametextcategory_keyFKมิติdim_customercustomer_keyPKsegmenttextมิติย่อย (สโนว์เฟลก)dim_categorycategory_keyPKnametext
Copied!

↑ ↓ to move · Enter to open · Esc to close