❗️날짜별로 정리하여 복습하기를 원하기 때문에 내용이 길고 다소 정리되지 않았습니다.
💡 NoSQL → Not Only SQL
Table 이름 : 대문자
Column 이름 : 첫글자 대문자
| Application | Num of Users | Typical size(rows) |
|---|---|---|
| Sales contact manager | 1 | 2000 |
| Patient appointment (doctor, dentist) | 15 ~ 50 | 100000 |
| Customer Relationship Management (CRM) | 500 | 10 million |
| Enterprise Resource Planning(ERP) | 5000 | 10 million+ |
| E-commerce site | Possibly millions | 1 billion+ |
| Digital dashboard | 500 | 100000 |
| Data mining | 25 | 100000 ~ millions+ |
💡 하나 또는 두 개의 테이블
하나의 테이블을 두개로 쪼개는 것 : 정규화
4.Select
1.From
2.[Where]
3.[Group by [Having]]
5.[Order by]
E-R 모델(Entity-Relationship model)
→ 모델링 도구 : ERWin, DA#(EnCore)
Semantic network, semantic object model (Kroenke, 5th Ed.)
UML
SEUL model
관계 데이터 모델(logical data model): relation(table)기반, E.F.codd가 제안
→ DB2, Oracle
계층 데이터 모델(hierarchical data model) : tree 기반
→ IMS
네트워크 데이터 모델(Network data model) : graph 기반
💡 E-R 모델의 Relationship과 관계 데이터 모델의 Relational은 다른 의미
💡 관계 데이터 모델에서는 row를 tuple, column을 attribute라 함,
R={<1,a>,<2,b>…} 집합(set)으로 표현됨
A라는 attribute 가 가질 수 있는 값의 집합을 Domain이라고 함.
tuple의 수를 cardinality라고 함.
attribute의 수를 degree라고 함