Quick Note
- Data model = แบบจำลอง/แบบออกแบบ เหมือนจะอยู่ในเฟสแรกๆเลยที่จะหาว่า user ต้องการอะไร
- Database schema = สิ่งที่ implement จริงใน DBMS
- Data dictionary = metadata DBMS เก็บเกี่ยวกับ schema ที่สร้างแล้ว
primary key = unique + not null
Intro to Database system
“Information is data that have been put into
a meaningful and useful content and communicated to a recipient who uses it to made decisions”
Data - ข้อมูลเฉยๆ แบบ raw, data มันคือ fact ข้อมูล
Information - รายละเอียดข้อมูลที่ผ่านการ process data มา
Traditional file system
con:
- Redundancy - ข้อมูลซ้ำ
- Inconsistency - ข้อมูลไม่สอดคล้อง
- Lack of data integration - คาดการรวมข้อมูล
- Program dependence - โปรแกรมขึ้นกับข้อมูล
- Limited data sharing - จำกัดการใช้ร่วม
- Problem of Security - ปัญหาความปลอดภัย
database - จัดการกับ collection of data base on database management system (DBMS) โดยจะจัดการข้อมูลอย่างเป็นระบบ