# DBMS : 상호 연관된 data의 collection과 이에 access하기 위한 programs의 집합
# DBMS 목적 : to provide way to store&retrieve that is both convinient & efficient
# DBMS는 정보의 구조, 정보를 다루는 mechanism, 정보의 안전성 모두를 보장해야함.
# 많은 기업들은 그들의 서비스 때문이 아니라 그들이 가지고있는 "Data" 그 자체로 valuable하다.
- highly valuable
- relatively large
- accessed by multiple users at the same time
특징을 가지는 데이터 collections를 관리해야한다.
#DB를 사용하는 Application은 JDBC(DB의 API라고 할 수 있다)를 설치해야한다.
사용자, application 프로그래머가 underlying details, 즉 how data are stored & organized를 몰라도 DB를 사용할 수 있게 abstract view를 제공하는 것이 핵심 ( enterprise가 combine data of various typs into unified repository 하도록)
# DB는 단순 back-office system이었지만, 점차 발전함에 따라 enterprise의 end-users도 ui를 통해 data에 query하고, update할 수 있게 되었다.
# Today, 모든 enterprise allow its customers to interact directly with enterprise's database
# The relational model uses a colleciton of tables to represent both data & relationships among those data
# The relational model describes data at the logical & view levels, abstracting away low-level details of data storage. ( 즉, 아랫단, 깊숙한 곳에서의 data manage가 어떻게 일어나는지 몰라도 high level에서 사용자가 data를 manipulate할 수 있게 해줌)
# DB와 user간 상호작용을 위하여, DB는 query language가 request를 specify할 수 있도록 language를 지속적으로 발전시켰고,
그 basis에는 relational algebra(관계 대수)가 있다.
# Relational model은 commercial data-processing에 primary data model로 남아있는데, 이는 obejct-relational ( complex data type, stored procedure, XML data)등에 대한 지원을 끊임없이 incorporate해왔기 때문이며, 그렇게 simplicity를 제공하여 프로그래머가 할 일을 줄여주었기 때문이다.
# RDB consists of a collection of tables, each of which is assigned a unique name
# table은 set of value들의 relation을 나타낸다. 따라서 relational model에서 relation은 table을, tuple은 row를, attribute는 column을 지칭한다.
# relation instance : specific instance of relation
=> the order tuples appear in a relation is irrelevant
( set이기 때문에, 순서는 없다!!)
Database System Concepts PART3 - Introduction to SQL (0) | 2022.10.23 |
---|---|
Database System Concepts PART2 - Introduction to the Relational Model (0) | 2022.10.22 |