SlideShare a Scribd company logo
1 of 15
Download to read offline
NOT ONLY SQL
ebong2.org
1. 기존 RDBMS는 클러스터에 적합하지 않음
2. 비구조적 데이터의 양이 폭발적으로 증가함
(ex. SNS게시글)
3. 대부분 오픈소스임
왜 등장했을까?
 ACID의 성질을 가짐
 제한적인 Schema 구조
 수직적 확장(Scale-up) 확장에 의존
 모든 데이터가 같은 속성을 갖고 있어야 함
 튜플과 같은 단순한 형식의 데이터 저장
 BASE의 성질을 가짐
 유연한 Schema 구조(schema-less)
 수평적 확장(Scale-out) 확장 가능 (분산처리)
 데이터가 각각 다른 형식을 갖고 있어도 상관 없음
 집향 지향 (Aggregation Oriented)
 데이터 그래프 모델
차이점 비교
RDBMS NoSQL
Atomicity
Each transaction be “all or nothing”
Consistency
Transaction will bring the database from one valid state to another
Isolation
transactions were executed sequentially, one after the other
Durability
transaction has been committed, it will remain so, even
the event of power loss, crashes or errors.
ACID
Basically Available
The system does guarantee availability.
Soft-State
The state of the system may change over time, even without input.
Eventually consistency
The system will become consistent over time,
given that the system doesn’t receive input during that time.
BASE
ACID / BASE
일관성이 중요하지 않음
데이터 타입이 고정되지 않음
확장성이 좋음
빅데이터 처리에 유리
(대용량 로그 분석,
SNS 게시글,
데이터 마이닝)
CAP
Consistency
after an update operation all client see the same data
Availability
System is always on
Tolerance to network Partitions
The network will be allowed to lose arbitrarily many
messages sent from one node to another
->네트워크 장애 상황 중
일관성과 가용성 중 하나만 선택이 가능하다
PACELC
NOSQL의 모델별 분류
Key-value
Document
Column-family
Aggregate-oriented
Key-value
Document
Column-family
Grpah
AGREEGATE ORIENTED
KEY-VALUE ORIENTED
COLUMN FAMILY ORIENTED
DOCUMENT ORIENTED
데이터 모델링
참고
NoSQL에 대해서 간단히 알아보자! :http://blog.embian.com/6
AggregateOrientedDatabase : https://martinfowler.com/bliki/AggregateOrientedDatabase.html
NoSQL 데이타 모델링 #1-데이타모델과, 모델링 절차 : http://bcho.tistory.com/665
NoSQL : https://namu.wiki/w/NoSQL
NoSQL과 SQL : https://docs.microsoft.com/ko-kr/azure/documentdb/documentdb-nosql-vs-sql
CAP Theorem, 오해와 진실 : http://eincs.com/2013/07/misleading-and-truth-of-cap-theorem
NoSQL 간단한 소개: http://www.slideshare.net/WonchangSong1/no-sqlsimpleintro

More Related Content

What's hot

Mongo db로 배우는 nosql
Mongo db로 배우는 nosqlMongo db로 배우는 nosql
Mongo db로 배우는 nosqlSuwon Chae
 
No sql survey report
No sql survey reportNo sql survey report
No sql survey reportGichan Lee
 
14. no sql을 넘어
14. no sql을 넘어14. no sql을 넘어
14. no sql을 넘어kidoki
 
Memcached의 확장성 개선
Memcached의 확장성 개선Memcached의 확장성 개선
Memcached의 확장성 개선NAVER D2
 
(11th korea data_tech_seminar)using_mongo_db_4.0_and_nosql_inbum_kim(skc&c)
(11th korea data_tech_seminar)using_mongo_db_4.0_and_nosql_inbum_kim(skc&c)(11th korea data_tech_seminar)using_mongo_db_4.0_and_nosql_inbum_kim(skc&c)
(11th korea data_tech_seminar)using_mongo_db_4.0_and_nosql_inbum_kim(skc&c)InBum Kim
 
데이터베이스의 이해
데이터베이스의 이해데이터베이스의 이해
데이터베이스의 이해Byung Kook Ha
 
Scalable web architecture and distributed systems
Scalable web architecture and distributed systemsScalable web architecture and distributed systems
Scalable web architecture and distributed systems현종 김
 
From MSSQL to MariaDB
From MSSQL to MariaDBFrom MSSQL to MariaDB
From MSSQL to MariaDBI Goo Lee
 
이것이 레디스다.
이것이 레디스다.이것이 레디스다.
이것이 레디스다.Kris Jeong
 
mongodb와 mysql의 CRUD 연산의 성능 비교
mongodb와 mysql의 CRUD 연산의 성능 비교mongodb와 mysql의 CRUD 연산의 성능 비교
mongodb와 mysql의 CRUD 연산의 성능 비교Woo Yeong Choi
 
MS 빅데이터 서비스 및 게임사 PoC 사례 소개
MS 빅데이터 서비스 및 게임사 PoC 사례 소개MS 빅데이터 서비스 및 게임사 PoC 사례 소개
MS 빅데이터 서비스 및 게임사 PoC 사례 소개I Goo Lee
 
Object storage의 이해와 활용
Object storage의 이해와 활용Object storage의 이해와 활용
Object storage의 이해와 활용Seoro Kim
 
cassandra overview & spark to cassandra
cassandra overview & spark to cassandra cassandra overview & spark to cassandra
cassandra overview & spark to cassandra SuseongPark
 
윤지환 Diskless
윤지환 Diskless윤지환 Diskless
윤지환 DisklessJiHwan Yoon
 
Accelerate spring boot application with apache ignite
Accelerate spring boot application with apache igniteAccelerate spring boot application with apache ignite
Accelerate spring boot application with apache igniteYEON BOK LEE
 
2node cluster
2node cluster2node cluster
2node clustersprdd
 
Cubrid Inside 5th Session 3 Migration
Cubrid Inside 5th Session 3 MigrationCubrid Inside 5th Session 3 Migration
Cubrid Inside 5th Session 3 MigrationCUBRID
 
MySQL_MariaDB-성능개선-202201.pptx
MySQL_MariaDB-성능개선-202201.pptxMySQL_MariaDB-성능개선-202201.pptx
MySQL_MariaDB-성능개선-202201.pptxNeoClova
 

What's hot (20)

Mongo db로 배우는 nosql
Mongo db로 배우는 nosqlMongo db로 배우는 nosql
Mongo db로 배우는 nosql
 
No sql survey report
No sql survey reportNo sql survey report
No sql survey report
 
14. no sql을 넘어
14. no sql을 넘어14. no sql을 넘어
14. no sql을 넘어
 
Memcached의 확장성 개선
Memcached의 확장성 개선Memcached의 확장성 개선
Memcached의 확장성 개선
 
(11th korea data_tech_seminar)using_mongo_db_4.0_and_nosql_inbum_kim(skc&c)
(11th korea data_tech_seminar)using_mongo_db_4.0_and_nosql_inbum_kim(skc&c)(11th korea data_tech_seminar)using_mongo_db_4.0_and_nosql_inbum_kim(skc&c)
(11th korea data_tech_seminar)using_mongo_db_4.0_and_nosql_inbum_kim(skc&c)
 
데이터베이스의 이해
데이터베이스의 이해데이터베이스의 이해
데이터베이스의 이해
 
Scalable web architecture and distributed systems
Scalable web architecture and distributed systemsScalable web architecture and distributed systems
Scalable web architecture and distributed systems
 
From MSSQL to MariaDB
From MSSQL to MariaDBFrom MSSQL to MariaDB
From MSSQL to MariaDB
 
이것이 레디스다.
이것이 레디스다.이것이 레디스다.
이것이 레디스다.
 
mongodb와 mysql의 CRUD 연산의 성능 비교
mongodb와 mysql의 CRUD 연산의 성능 비교mongodb와 mysql의 CRUD 연산의 성능 비교
mongodb와 mysql의 CRUD 연산의 성능 비교
 
MS 빅데이터 서비스 및 게임사 PoC 사례 소개
MS 빅데이터 서비스 및 게임사 PoC 사례 소개MS 빅데이터 서비스 및 게임사 PoC 사례 소개
MS 빅데이터 서비스 및 게임사 PoC 사례 소개
 
Object storage의 이해와 활용
Object storage의 이해와 활용Object storage의 이해와 활용
Object storage의 이해와 활용
 
cassandra overview & spark to cassandra
cassandra overview & spark to cassandra cassandra overview & spark to cassandra
cassandra overview & spark to cassandra
 
윤지환 Diskless
윤지환 Diskless윤지환 Diskless
윤지환 Diskless
 
Accelerate spring boot application with apache ignite
Accelerate spring boot application with apache igniteAccelerate spring boot application with apache ignite
Accelerate spring boot application with apache ignite
 
Start spark
Start sparkStart spark
Start spark
 
2node cluster
2node cluster2node cluster
2node cluster
 
Cubrid Inside 5th Session 3 Migration
Cubrid Inside 5th Session 3 MigrationCubrid Inside 5th Session 3 Migration
Cubrid Inside 5th Session 3 Migration
 
MySQL_MariaDB-성능개선-202201.pptx
MySQL_MariaDB-성능개선-202201.pptxMySQL_MariaDB-성능개선-202201.pptx
MySQL_MariaDB-성능개선-202201.pptx
 
Arcus
ArcusArcus
Arcus
 

Viewers also liked

20131002 AWS Meister re:Generate - DynamoDB (Korean)
20131002 AWS Meister re:Generate - DynamoDB (Korean)20131002 AWS Meister re:Generate - DynamoDB (Korean)
20131002 AWS Meister re:Generate - DynamoDB (Korean)Amazon Web Services Korea
 
도커의 기초 - 김상필 솔루션즈 아키텍트 :: AWS Container Day
도커의 기초 - 김상필 솔루션즈 아키텍트 :: AWS Container Day도커의 기초 - 김상필 솔루션즈 아키텍트 :: AWS Container Day
도커의 기초 - 김상필 솔루션즈 아키텍트 :: AWS Container DayAmazon Web Services Korea
 
개인정보 비식별화 기술 동향 및 전망
개인정보 비식별화 기술 동향 및 전망 개인정보 비식별화 기술 동향 및 전망
개인정보 비식별화 기술 동향 및 전망 Donghan Kim
 
No sql 5장 일관성
No sql 5장   일관성No sql 5장   일관성
No sql 5장 일관성rooya85
 
[NoSQL] 2장. 집합적 데이터 모델
[NoSQL] 2장. 집합적 데이터 모델[NoSQL] 2장. 집합적 데이터 모델
[NoSQL] 2장. 집합적 데이터 모델kidoki
 
NoSQL 분석 Slamdata
NoSQL 분석 SlamdataNoSQL 분석 Slamdata
NoSQL 분석 SlamdataPikdata Inc.
 
NoSQL Database
NoSQL DatabaseNoSQL Database
NoSQL DatabaseSteve Min
 
Node Js와 Redis를 사용한 구조화된 데이터
Node Js와 Redis를 사용한 구조화된 데이터Node Js와 Redis를 사용한 구조화된 데이터
Node Js와 Redis를 사용한 구조화된 데이터jinho park
 
Do not use Django as like as SMARTSTUDY
Do not use Django as like as SMARTSTUDYDo not use Django as like as SMARTSTUDY
Do not use Django as like as SMARTSTUDYHyun-woo Park
 
Docker.소개.30 m
Docker.소개.30 mDocker.소개.30 m
Docker.소개.30 mWonchang Song
 
Maven build for 멀티프로젝트 in jenkins
Maven build for 멀티프로젝트 in jenkins Maven build for 멀티프로젝트 in jenkins
Maven build for 멀티프로젝트 in jenkins Choonghyun Yang
 
Api design for c++ ch3 pattern
Api design for c++ ch3 patternApi design for c++ ch3 pattern
Api design for c++ ch3 patternjinho park
 
NoSQL 동향
NoSQL 동향NoSQL 동향
NoSQL 동향NAVER D2
 
제2회 사내기술세미나-no sql(배표용)-d-hankim-2013-4-30
제2회 사내기술세미나-no sql(배표용)-d-hankim-2013-4-30제2회 사내기술세미나-no sql(배표용)-d-hankim-2013-4-30
제2회 사내기술세미나-no sql(배표용)-d-hankim-2013-4-30Donghan Kim
 
파이콘 한국 2017 키노트 : Back to the Basic
파이콘 한국 2017 키노트 : Back to the Basic파이콘 한국 2017 키노트 : Back to the Basic
파이콘 한국 2017 키노트 : Back to the BasicHyun-woo Park
 

Viewers also liked (20)

20131002 AWS Meister re:Generate - DynamoDB (Korean)
20131002 AWS Meister re:Generate - DynamoDB (Korean)20131002 AWS Meister re:Generate - DynamoDB (Korean)
20131002 AWS Meister re:Generate - DynamoDB (Korean)
 
도커의 기초 - 김상필 솔루션즈 아키텍트 :: AWS Container Day
도커의 기초 - 김상필 솔루션즈 아키텍트 :: AWS Container Day도커의 기초 - 김상필 솔루션즈 아키텍트 :: AWS Container Day
도커의 기초 - 김상필 솔루션즈 아키텍트 :: AWS Container Day
 
개인정보 비식별화 기술 동향 및 전망
개인정보 비식별화 기술 동향 및 전망 개인정보 비식별화 기술 동향 및 전망
개인정보 비식별화 기술 동향 및 전망
 
No sql 5장 일관성
No sql 5장   일관성No sql 5장   일관성
No sql 5장 일관성
 
Big data
Big dataBig data
Big data
 
[NoSQL] 2장. 집합적 데이터 모델
[NoSQL] 2장. 집합적 데이터 모델[NoSQL] 2장. 집합적 데이터 모델
[NoSQL] 2장. 집합적 데이터 모델
 
Express 프레임워크
Express 프레임워크Express 프레임워크
Express 프레임워크
 
NoSQL 분석 Slamdata
NoSQL 분석 SlamdataNoSQL 분석 Slamdata
NoSQL 분석 Slamdata
 
No sql 분산모델
No sql 분산모델No sql 분산모델
No sql 분산모델
 
TRIZ
TRIZTRIZ
TRIZ
 
NoSQL Database
NoSQL DatabaseNoSQL Database
NoSQL Database
 
Node Js와 Redis를 사용한 구조화된 데이터
Node Js와 Redis를 사용한 구조화된 데이터Node Js와 Redis를 사용한 구조화된 데이터
Node Js와 Redis를 사용한 구조화된 데이터
 
Do not use Django as like as SMARTSTUDY
Do not use Django as like as SMARTSTUDYDo not use Django as like as SMARTSTUDY
Do not use Django as like as SMARTSTUDY
 
Docker.소개.30 m
Docker.소개.30 mDocker.소개.30 m
Docker.소개.30 m
 
Maven build for 멀티프로젝트 in jenkins
Maven build for 멀티프로젝트 in jenkins Maven build for 멀티프로젝트 in jenkins
Maven build for 멀티프로젝트 in jenkins
 
Api design for c++ ch3 pattern
Api design for c++ ch3 patternApi design for c++ ch3 pattern
Api design for c++ ch3 pattern
 
NoSQL 동향
NoSQL 동향NoSQL 동향
NoSQL 동향
 
Git
Git Git
Git
 
제2회 사내기술세미나-no sql(배표용)-d-hankim-2013-4-30
제2회 사내기술세미나-no sql(배표용)-d-hankim-2013-4-30제2회 사내기술세미나-no sql(배표용)-d-hankim-2013-4-30
제2회 사내기술세미나-no sql(배표용)-d-hankim-2013-4-30
 
파이콘 한국 2017 키노트 : Back to the Basic
파이콘 한국 2017 키노트 : Back to the Basic파이콘 한국 2017 키노트 : Back to the Basic
파이콘 한국 2017 키노트 : Back to the Basic
 

Not only sql 정리

  • 2. 1. 기존 RDBMS는 클러스터에 적합하지 않음 2. 비구조적 데이터의 양이 폭발적으로 증가함 (ex. SNS게시글) 3. 대부분 오픈소스임 왜 등장했을까?
  • 3.  ACID의 성질을 가짐  제한적인 Schema 구조  수직적 확장(Scale-up) 확장에 의존  모든 데이터가 같은 속성을 갖고 있어야 함  튜플과 같은 단순한 형식의 데이터 저장  BASE의 성질을 가짐  유연한 Schema 구조(schema-less)  수평적 확장(Scale-out) 확장 가능 (분산처리)  데이터가 각각 다른 형식을 갖고 있어도 상관 없음  집향 지향 (Aggregation Oriented)  데이터 그래프 모델 차이점 비교 RDBMS NoSQL
  • 4. Atomicity Each transaction be “all or nothing” Consistency Transaction will bring the database from one valid state to another Isolation transactions were executed sequentially, one after the other Durability transaction has been committed, it will remain so, even the event of power loss, crashes or errors. ACID
  • 5. Basically Available The system does guarantee availability. Soft-State The state of the system may change over time, even without input. Eventually consistency The system will become consistent over time, given that the system doesn’t receive input during that time. BASE
  • 6. ACID / BASE 일관성이 중요하지 않음 데이터 타입이 고정되지 않음 확장성이 좋음 빅데이터 처리에 유리 (대용량 로그 분석, SNS 게시글, 데이터 마이닝)
  • 7. CAP Consistency after an update operation all client see the same data Availability System is always on Tolerance to network Partitions The network will be allowed to lose arbitrarily many messages sent from one node to another ->네트워크 장애 상황 중 일관성과 가용성 중 하나만 선택이 가능하다
  • 15. 참고 NoSQL에 대해서 간단히 알아보자! :http://blog.embian.com/6 AggregateOrientedDatabase : https://martinfowler.com/bliki/AggregateOrientedDatabase.html NoSQL 데이타 모델링 #1-데이타모델과, 모델링 절차 : http://bcho.tistory.com/665 NoSQL : https://namu.wiki/w/NoSQL NoSQL과 SQL : https://docs.microsoft.com/ko-kr/azure/documentdb/documentdb-nosql-vs-sql CAP Theorem, 오해와 진실 : http://eincs.com/2013/07/misleading-and-truth-of-cap-theorem NoSQL 간단한 소개: http://www.slideshare.net/WonchangSong1/no-sqlsimpleintro