Professional Documents
Culture Documents
SYSTEM
FACTS TABLE
A fact table contains the numeric measures produced by an
operational measurement event in the real world.
Holds data to be analyzed
Consist of 03 major attributes
1. Primary Key
2.Set of Foreign Keys
3. Set of Business Metrics
CÁC KHÁI NIỆM LIÊN QUAN ĐẾN RDBMS
DIMENSION TABLE
Dimensions provide the “who, what, where, when, why, and
how” context surrounding a business process event. Dimension
tables contain the descriptive attributes used by BI applications
for filtering and grouping the facts.
Contains Descriptive measures
Slice and Dice
Add meaning to measures and facts
CÁC KHÁI NIỆM LIÊN QUAN ĐẾN RDBMS
1. Dữ liệu được biểu diễn như một tập các bản ghi quan hệ
2. Mỗi một quan hệ mô tả một bảng (table)
3. Các cột là các thuộc tính (Column)
4. Các hàng (row) biểu diễn một thực thể (entity).
5. Mỗi bảng có một tập hợp các thuộc tính (columns) là khóa (key), mà giá
trị chứa trong nó xác định tính duy nhất mỗi thực thể (row).
6. Các thực thể có quan hệ với nhau thông qua các thuộc tính khóa (keys)
7. Các thuộc tính có các miền giá trị xác định.
CÁC BƯỚC TẠO RA RDBMS
N 1
Quan hệ Employee_ID Work for Department
BƯỚC 1 – THIẾT KẾ CSDL MỨC KHÁI NIỆM
PHÂN LOẠI QUAN HỆ
Quan hệ 1-N
Class Student
Quan hệ N-1
Student Get
KHÓA
1 CHÍNH –
N PRIMARY
EXAM KEY
Student_ID Subject_Code
Score
TRONG MÔ HÌNH RDBMS, CÁC THỰC THỂ
LUÔN CÓ QUAN HỆ (RELATIONSHIP) VỚI
NHAU.
KHÓA
CÁC BẢNG CÓ THIẾT KẾ LUÔN CÓ CÁC
TRƯỜNG THUỘC TÍNH CHUNG ĐỂ LIÊN NGOẠI –
KẾT VÀ BIỂU DIỄN CÁC QUAN HỆ CỦA
MÌNH FOREIGN
KHÓA NGOẠI LIÊN KẾT – FOREIGN KEY
KEYS
LÀ TẬP HỢP CÁC THUỘC TÍNH CHUNG
XUẤT HIỆN GIỮA CÁC BẢNG DỮ LIỆU ĐỂ
BIỂU DIỄN CÁC MỐI QUAN HỆ
RDBMS
LOGIC
RDBMS
LOGIC
#STANDBYDANANG
#STAYSTRONG VIETNAM
THANK YOU!