ANSI/SPARC 3단계 아키텍처, 1978년
외부스키마1 외부스키마2 .... 외부스키마n ↓ ↓ ↓ 개념스키마 ↓ 내부스키마 ↓ 데이터베이스
//from Elmasri p37
the three-schema architecture
https://www.javatpoint.com/dbms-three-schema-architecture
- internal schema - DB의 physical storage structure를 기술함.
- conceptual schema - DB의 사용자 커뮤니티를 위한 구조를 기술함.
Hides the details of physical storage structures.
entities, data_types, relationships, user operations, constraints를 기술하는 데 집중함.
- external schema = user views
보통 representational data model로 구현됨
https://www.javatpoint.com/dbms-three-schema-architecture
// 2021-03-17 34m - slide 'Schemas, Instances, and Database State' 대충 번역
DB스키마
- database를 기술(describe)
- DB 디자인 도중에 그 명세가 정해짐(specified)
- 자주 바뀌지 않음 - 24h 돌아가고 있는 DB의 schema를 바꾸는 것은 쉽지 않거나 위험하다. DB schema는 처음 만들 때 잘 만들어야 한다.
- schema를 diagram으로 표시함.
- record types, data items, constraints를 가짐.
- 어떤 특정한 순간 DB에 들어있는 data를 가리킴(indicate).
- 상태는 operation(예: insertion) 순간에 바뀜.
내부스키마,internal_schema
개념 스키마conceptual schema = 논리 스키마
Up: database
개념 스키마conceptual schema = 논리 스키마
DB의 전반적인 논리 구조
데이터 전체의 구조를 정의[2]
개요 혹은 네트워크 모양의 표현 구조 같은 전체적 도식[3]
객체에 관한 정보를 활용할 수 있는 내용과 구조와 제약을 추상적으로 설명하고 정의한 것[4]
외부 스키마데이터 전체의 구조를 정의[2]
개요 혹은 네트워크 모양의 표현 구조 같은 전체적 도식[3]
객체에 관한 정보를 활용할 수 있는 내용과 구조와 제약을 추상적으로 설명하고 정의한 것[4]
Up: database
MongoDB는 문서형이라 schema가 필수가 아니고, 필드를 마음대로 추가/삭제 가능.
----
- [1] IT용어사전
- [2] IT용어사전
- [3] https://terms.naver.com/entry.naver?docId=2752289&cid=50307&categoryId=50307 국방과학기술용어사전
- [4] https://terms.naver.com/entry.naver?docId=3474531&cid=58439&categoryId=58439 지형 공간정보체계 용어사전
- [5] IT용어사전