#noindex Sub: database_transaction 데이터베이스 트랜잭션 Srch:transaction [[데이터베이스,database]]에 적용되는 [[변화,change]]s들의 한 [[집합,set]]. 집합에 포함된 모든 변화들이 적용이 되거나, 아님 안 되어야 함, ....tbw (foldoc) rel. ACID atomic atomicity - curr see [[원자,atom]]맨아래 consistent consistency - isolated isolation - indep. of other transaction(s) durable durability - https://foldoc.org/ACID Wiki:AtomicConsistentIsolatedDurable https://foldoc.org/database+transaction WpKo:데이터베이스_트랜잭션 WpEn:Database_transaction Up: [[트랜잭션,transaction]] { Sub: [[트랜잭서널메모리,transactional_memory]] - writing } [[database_normalization]] - writing [[graph_database]] Google:graph+database // DB 용어 [[shard]] or [[database_shard]] [[WpKo:샤드_(데이터베이스_아키텍처)]] [[WpEn:Shard_(database_architecture)]] <> = DB = '''데이터베이스'''란 관련된 데이터의 묶음. 데이터는 기록될 수 있고 의미가 있는 사실들. A '''database''' is a collection of related data, where data means facts that can be recorded and that have implicit meaning. (Elmasri) [[파일,file]]만으로 부족한 것 (DB가 있는 이유) * 여러 사람이 효과적으로 공유 * 실시간으로 변경하면 바로 실시간으로 조회 * 큰 부분 중에서 관심 있는 일부분만 조회 = DBS = Database system: DB에 데이터를 저장하고 관리하는 시스템 = DBMS = [[DBMS,database_management_system]] { A '''database management system (DBMS)''' is a computerized system that enables users to create and maintain a database. The DBMS is a general-purpose software system that facilitates the process of defining, constructing, manipulating, and sharing databases among various users and applications. (Elmasri) } ||네트워크 DBMS ||DB를 그래프 형태로 구성 || ||계층 DBMS ||DB를 트리 형태로 구성 || ||관계 DBMS ||DB를 테이블 형태로 구성 || ||객체지향 DBMS ||객체를 이용해 DB 구성 || ||객체관계 DBMS ||객체 DBMS + 관계 DBMS || https://foldoc.org/database+management+system = RDBMS = 관계 지향적 데이터베이스? = OODB? OODBMS? ODBMS ? chk = 객체 지향적 데이터베이스? = ORDBMS = odbms + rdbms? chk = 용어 = 스키마 schema DB에 저장되는 데이터 구조와 제약조건을 정의한 것 인스턴스 instance 스키마에 따라 DB에 실제로 저장된 값 = 언어 = 이하 참고한 곳: https://m.blog.naver.com/qbxlvnf11/221143279205 == DDL Data Definition Language 데이터정의어 == 스키마를 정의 CREATE TABLE 테이블 생성 ALTER TABLE 테이블 변경 DROP TABLE 테이블 삭제 CREATE INDEX 데이터 접근을 위해 특정 애트리뷰트 위에 인덱스를 정의 == DML Data Manipulation language 데이터조작어 == 검색/수정/삽입/삭제 + SUM, COUNT, AVG등의 내장함수 INSERT 데이터 삽입 UPDATE 데이터 수정 DELETE 데이터 삭제 SELECT 데이터 검색 == DCL Data Control Language 데이터제어어 == transaction을 명시하여 권한을 부여하거나 취소함 == TCL Transaction Control Language 트랜잭션제어어 == DCL중 Commit, rollback등을 따로 분리하여 TCL로 부르기도 함. = ER = aka 개체-관계 모델, 엔티티-관계 모델 개체(entity) - 독립된 정보 관계(relationship) - 개체들 사이의 관련성 정보 db는 독립적인 개체와 그들 사이의 관계로 구성? = 황인준 = == week 2 1 == 1970년대 관계형 DB 나타남. 뭔가를 위해 과거의 데이터를 모아놓은 것 - data warehouse 개념 ||traditional ||text(ual) and numeric (항상 둘 중 하나) || ||new face ||multimedia, GIS, image/audio, ... || Sample Company database EMPLOYEE table에서, SUPERSSN은 자기 상사의 SSN을 뜻함. PROJECT table에서, DNO, DNUM(BER)는 어느 부서에서 프로젝트를 주관하고 있는지 "find employees whose salary > 40000" In SQL(standard query language for RDB): select * from employee where salary > 40000 == week 2 2 == == week 3 1 == == week 3 2 == = 충북대 강의 = ''Moved to [[RR:OnlineLectures#s-29]]'' = 산기대 강의 = ''Moved to [[RR:OnlineLectures#s-30]]'' ---- Related: [[자료,data]] [[RR:database]] ---- TBW: [[파일시스템,filesystem]] file_system 과의 차이점 비교 ---- Twins: [[Libre:데이터베이스]] https://everything2.com/title/database https://foldoc.org/database http://fileformats.archiveteam.org/wiki/Databases Wiki:CategoryDatabase http://mlwiki.org/index.php/Database Abbr. '''DB'''