ER Model

Dev/Database

[Database] 4-1. Logical Database Design

3장, The Enhanced ER Model에 이어 이번 포스팅에서는 Logical Database Design에 대해서 알아본다. Logical Database Design의 단계는 그림으로 알아보자면 다음과 같다. 앞선 포스팅에서 알아보았던 2장, 3장의 주제는 Conceptual Data Modeling의 단계이다. 목차는 다음과 같다. 목차 1. Logical Database Design 2. Relational Data Model 3. Transforming from ER model to Relational model Logical Database Design Conceptual data Modeling에서는 ER Model을 이용하여 사용자 요구사항들을 표시했다. 이 과정에서는 어떻게 정확한..

Dev/Database

[Database] 3. The Enhanced E-R Model

이번 포스팅에서는 The Enhanced E-R Model에 대해서 알아본다. Enhanced E-R Model이란 기존 ER모델의 확장 및 추가 구성을 의미한다. 이 Enhanced E-R Model에서 가장 중요한 기능은 super type과 sub type 구성이다. 이 super type과 sub type이 왜 중요한지 다음의 예시를 통해 알아본다. 만약, 한 회사의 3가지 종류의 직원이 있다고 가정해보자. 시간제 직원은 EID, Name, Address, Hourly_rate 컬럼만 사용, 봉급 직원은 EID, Name, Address, Salary, Stock_option 컬럼만 사용, 계약 직원은 EID, Name, Address, Cotract_ID, Billing_rate 컬럼만 사용한다..

Dev/Database

[Database] 2. Modeling Data in the Organization

저번 포스팅에 이어 이번엔, Modeling Data in the Organization에 대해 알아본다. 목차는 다음과 같다. 목차 1. Entity-Relationship Model 2. Entity Type, Relationship type, and attribute 3. Degree, Cardinality Constraint and Participation Constraint 4. Weak Entity Type Modeling Data in the Organization Entity-Relationship Model Conceptual Data Modeling에서는 Entity-Relationship Model을 만드는 과정을 포함한다. 즉, Entity-Relationship Model은 Con..

friendshipkim97
'ER Model' 태그의 글 목록