CS/Database

[데이터베이스] 1. Database and Database Users

공영재 2023. 12. 1. 18:15

Reference - Fundamentals of Database Systems 7th edition

 

 

Basic Definitions of DataBase

 

- Concept

 

data : 명시적으로 기록된 정보

database : 연관된 데이터의 집합

Mini-world : db에 저장되는 현실세계의 일부분

DBMS : database를 생성, 유지하기 위한 software package

Database System : DBMS 소프트웨어와 Data를 함께 지칭하는 용어

 

+Terms

query : DB에 정보를 요청하는 행위

transaction : 여러 query를 온전히 실행하도록 하는 작업 단위

entity : mini-world를 DB 상에 표현한 객체

attributes : entity를 설명하는 특성

 

- DBMS가 제공하는 기능

 

Define : 각 파일에 저장된 기록의 structure 정의, 각 기록의 데이터 요소의 type 정의, 각 데이터 요소의 constraint 정의

Constraint : 데이터를 적절한 파일에 기록, 기록들 간의 relationship 기록

manipulate : querynig, updating

그 외 sharing, protecting, maintaining 

 

- database system의 3가지 개념 모델

view level : 사용자

logical level : 데이터베이스 관리자

physical level : 실제 자료가 저장되는 물리적 공간

 

- 데이터베이스의 특징 (File System과 DB의 차이)

1. 자기 기술성 : 데이터베이스를 설명하는 메타데이터를 포함함.

2.  프로그램-데이터 간 독립 : DBMS에 접근하는 프로그램을 바꾸지 않고 데이터 구조를 바꿀 수 있음.

3. 데이터 추상화 : data model을 통해 세부 정보를 숨기고 사용자에게는 conceptual view level의 데이터만 제공

4. 다중 뷰 지원

5. 데이터 공유 및 다중 사용자 transaction 처리

 

- 데이터베이스 유저

Actors on the scene - DBA, DB designer, End users(casual, naive, sophisticated, stand-alone), system analyst and application developer

Actor behind the scene - System designer, Tool developers, Operators

 

- 데이터베이스의 장점

1. 데이터 저장의 일관성 부여

2. 데이터 접근 권한 제한

3. 백업 및 복구 서비스 제공

4. 무결성 강화

..etc

반응형
loading