SlideShare a Scribd company logo
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
K O R E A | M A Y 1 1 - 1 2 , 2 0 2 1
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
서호석
클라우드 사업부/컨설팅팀 이사
영우디지탈
Oracle DB 를 AWS 로 이관하는 방법들
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
1. AWS 와 Oracle DB
2. Oracle DB 이전을 위한 사전 준비
3. Oracle DB 이관 전략
4. Oracle DB 이관 기술
5. DB 이관을 쉽게 도와주는 AWS 도구 및 서비스
6. Oracle DB 이관시 유의 사항
Agenda
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS 와 Oracle DB
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle DB 는 점유율이 가장 높은 DB 로 특히 국내 엔터프라이즈 환경에서의 도입 사
용율은 아직도 월등히 높음
Oracle DB 의 사용 비중
IDC 자료: On-Premises Database Market Share
한국 DBMS 시장의
약 60% 를 Oracle
이 점유
한국데이터산업진흥원 (Kdata) : 2019 년 데이터산업백서
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS는 전세계 24개의 리전 내에 77개의 가용 영역을 운영하면서 가장 높은 점유율을
보유하고 있는 Cloud Service Provider 로 국내 시장에서도 최고의 점유율로 클라우드
시장을 선도하고 있음
AWS 의 사용 비중
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle DB 이전을 위한 사전 준비
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
단계별 이관 계획 수립
각 단계별로 상세하게 계획을 수립함
①
✓ 소스 DB 환경에
대한 분석
• 인프라 환경
• 데이터 량
• 데이터 종류
• 연계 환경
• 요구 조건
• 영향, 리스크
② ③ ④
Assess Plan Test Execute
✓ 타겟 AWS DB 환
경에 대한 분석
✓ 데이터 용량, 이관
기간, 다운타임,
실행 난이도 등을
전체적으로 고려
하여 계획 수립
• 이관 전략
• 이관 기술
• 테스트/검증
계획
• 이행 계획
• 롤백 계획
✓ 실제 데이터로 테
스트 환경에서 이
관 테스트를 진행
• 검증
• 시간 측정
• 튜닝요소 점검
• 2~3회 테스트
권장
✓ 계획에 맞추어 DB
이관 진행
• 이관 진행
• 상황 모니터링
• 검증 진행
• 시스템 오픈
• 모니터링
• 운영 모드 진
입
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
현재환경에 대한 점검 항목
DB 서버
HW or VM 스펙
벤더, 모델(년도) / CPU 스팩 / Memory 스팩 / NIC 스
펙, 수 / 내부 Disk 스펙, 수 / 내부 Raid 구성
외장 스토리지 스펙
벤더, 모델(년도) / Memory 스팩 / 인터페이스 스펙,
수 / DIsk 스펙, 수 / Raid 구성 / 추가 기능
OS 벤더, 명, 버전
리소스(CPU, Memory,
Network, IO) 사용량
평균, 피크, 사용 패턴(그래프)
업무 및 연계 내용
DB 의 업무 구분 예: 쇼핑 상품 60%, 카탈로그 30%, 기타 10%
DB 의 업무 종류 예: OLTP 70%, 새벽 배치 처리 30%
Read/Write 비율 예: Read: 70%, Write 30%
Transaction 처리량 일단위, 시간단위
데이터 및 로그 발생량 일단위, 시간단위
연계된 모든
Application 서버
서버 수, 연계 방식, DB 관련 설정 내용(커낵션 수 등)
연계된 모든 DB 및 연
계 서버
업무 종류, 연계된 DB 및 연계 서버 스팩, 수, 연계 방법
3rd Party SW
설치된 모든 SW: 벤더, 명, 버전 (보안 SW 포함)
DBMS
DBMS 버전, 기능버전 (Ent, Std 등)
옵션기능 사용 현황 (예: Partitioning, RAC)
라이센스 현황
스키마 및 데이터 정보
스키마 정보 / 데이터 정보, 크기 / 인덱스 정보, 크기 /
아카이브 및 로그 정보, 크기 / Table 수 / Query 수
최대한 많은 점검 항목들에 대한 상세한 분석이 필요
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle DB 이관 전략
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle DB
(Standby)
Instance 2
최소한의 시간 및 작업으로 DB 를 가능한한 그대로 이관하는 전략
Re-host (Lift & Shift)
✓ 최대한 그대로 유지하는 전략으로 빠르고 쉬운 이
전이 가능
✓ (시간 및 작업 = 비용) 이 가장 적게 소요됨
✓ 클라우드 최적화에서 가장 거리가 먼 전략
✓ (운영 비효율성 = 높은 유지 비용) 으로 연결 될수
있음
장점
단점
Oracle DB
(Main)
Server 1
Oracle DB
(Standby)
Server 2
HA
Oracle DB
(Main)
Instance 1
HA
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
클라우드의 특장점을 살리면서 필요한 최소한의 App/DB 변경으로 이관하는 전략
Re-platform
✓ 비교적 빠르고 쉬운 이전이 가능
✓ (시간 및 작업 = 비용) 대비 효율성이 매우 우수함
✓ 클라우드 환경의 장점을 누릴수 있음
✓ 위의 장점들은 (우수한 운영 효율성 = 낮은 유지
비용) 으로 연결 될수 있음
✓ Re-host 방식 대비 App/DB 수정 시간 및 작업은
늘어날수 있음
✓ 클라우드의 장점을 사용하지만 기존 아키텍처에서
크게 벗어나지는 않음
장점
단점
Oracle DB
(Main)
Server 1
Oracle DB
(Standby)
Server 2
HA
HA
Amazon RDS
Instance
(Active)
Amazon RDS
Instance
(Standby)
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
회사 환경에 맞추어 최신 트렌드로 재설계하여 이관하는 전략
Re-architect (Re-factor)
✓ 클라우드의 장점뿐 아니라 확장성, 유연성 이 극
대화 될 수 있다
✓ 우수한 운영 효율성 으로 연결될 수 있다
✓ 매우 높은 개발 수준이 요구될 수 있으며 높은 개
발 난이도로 인한 실패 확률 역시 높아진다
✓ (시간 및 작업 = 비용) 이 타전략 대비 일반적으로
가장 높다
✓ 경우에 따라 높은 운영 난이도가 필요할 수 있으
며 충분한 경험이 부족할 경우 운영 효율성이 오
히려 저하 될수도 있다
장점
단점
Oracle DB
(Main)
Server 1
Oracle DB
(Standby)
Server 2
HA
Replicate
ElastiCache
for Redis
(Data Cache)
Amazon Aurora
Instance
(Write)
Amazon Aurora
Instance
(Read 1)
Amazon Aurora
Instance
(Read 2)
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle DB 이관 기술
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
OS, Oracle DB 버전 이 동일할 경우 간단하고 쉽게 이관할 수 있는 방법
Data Copy
✓ 간단한 OS 명령만을(scp, sftp 등) 사용하여 이전이
가능하다
✓ 사용이 쉽다
✓ 파일을 복사할 경우 서비스 중단이 필요하며 파일
용량에 비례한다
✓ OS/플렛폼, Oracle DB 버전, 설정 등 환경이 일치
해야 한다
✓ 파일 복사시 중간에 끊길수 있는 경우에 대한 대
비가 필요하다
장점
단점 Temp
file
Data
file
Control
file
Parameter
file
Archive
Log file
Redo
Log file
COPY
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle 의 Data Pump 기능을 사용하여 OS, DB 버전이 다른 환경으로의 이관을
행할 수 있음
Data Pump(export & import)
✓ OS/플렛폼이 서로 다른 환경에서의 이전이 가능
하다
✓ Oracle DB 버전이 달라도 이전이 가능하다
✓ 다른 character set 환경에서의 이전이 가능하다
✓ 특정 대상 테이블만 선별하여 이전이 가능하다
✓ 일반적으로 시간이 많이 소요되며 비례하여 서비
스 중단이 필요하다
✓ Oracle -> 타 DB 로의 이전에는 사용할 수 없다
✓ Oracle DB 의 버전 차이가 심한 경우 실패 확률이
증가할 수 있다
장점
단점
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
CDC 도구는 동일 DB 또는 타 DB 들간의 복제를 실시간에 가깝게 여러 다양한 방법으
로 행해줄수 있음
CDC(Change Data Capture) 도구
✓ OS/플렛폼이 서로 다른 환경에서의 이전이 가능
하다
✓ 타 DB 로의 이전이 가능하다
✓ 대용량 이전이 가능하다
✓ 제품에 따라 소스, 타겟 DB, 대상 테이블들을 여
러 형태로 선별하여 이전이 가능하다
✓ 실시간에 가까운 Ongoing 복제가 가능하며 다운
타임을 최소화 할수 있다
✓ 상용 제품일 경우 도입 비용이 비싸다
✓ 제품별로 지원되지 않는 DB 가 있을 수 있다
장점
단점
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
국내에서 널리 알려졌으며 많은 사례를 가지고 있는 CDC 도구들
CDC(Change Data Capture) 도구
AWS Database Migration
Service (AWS DMS)
Oracle
GoldenGate
Quest
SharePlex
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
DB 이관을 쉽게 도와주는
AWS 도구 및 서비스
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS SCT(Schema Conversion Tool) 은 한 데이터베이스 에서 다른 데이터베이스 의
스키마로 변환을 도와주는 도구이며 일반적으로 데이터 이관 단계전에 쓰임
AWS SCT(Schema Conversion Tool)
✓ OS/플렛폼이 서로 다른 환경에서의 스키마 변환
이 가능하다
✓ 지원하는 모든 DB 로의 스키마 변환이 가능하다
✓ 습득이 필요하다
✓ AWS 의 도구임으로 AWS 상의 타겟 DB 로의 이
전만 가능하다
장점
단점
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS DMS(Database Migration Service) 는 DB 데이터를 이기종 DB 간에도 쉽고 빠르
게 이관해주는 서비스 임
AWS DMS(Database Migration Service)
✓ OS/플렛폼이 서로 다른 환경에서의 이전이 가능
하다
✓ DMS 도구가 지원하는 모든 타 DB 로의 이전이
가능하다
✓ CDC(Change Capture Data) 기능으로 Ongoing
복제가 가능하여 서비스 중단 시간을 최소화할 수
있다
✓ 상용 CDC SW 대비 사용 비용이 저렴하다
✓ AWS 상의 타겟 DB 로의 이전만 가능하다
✓ DMS용 복제 인스턴스의 총 스토리지 용량은
30,000GB 이다
장점
단점
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Snowball 서비스는 단기간 내 초대용량 규모의 데이터 전송을 가능할수 있게 해
줌
AWS Snowball Edge
✓ 네트워크를 이용한 이전 속도 이상의 이전 속도
를 가능하게 한다
✓ 80 TB usable 까지 지원이 가능하다
✓ 빠른 전송을 위해서 물리적인 이동 수단을 이용하
게 되며 서비스 중단이 필요하다
✓ AWS 상의 타겟 DB 로의 이전만 가능하다
장점
단점
AWS Snowball
Edge Device
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle DB 이관시 유의 사항
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle RAC(Real Applications Cluster) 는 여러 Oracle DB 서버들을 하나의 클러스터
로 모두 active 상태로 운영 가능하게 해주는 고가용성 옵션 기능으로 AWS 상에서의
구현은 쉽지 않다
Oracle RAC 경우
✓ 분산구조 DB Scale-Out 이 비교적 쉽게 가능하다
✓ 노드들이 모두 Active 상태로 특정 노드 장애시
다른 노드의 빠른 Take-over 이 가능하다
✓ 쓰기 작업 경우 노드간의 Sync 를 맞추기 위한
Overhead 가 존재하며 이는 노드의 수에 비례한다
✓ 여러 노드에서 같은 테이블에 쓰기가 동시에 발생
할 경우 성능에 심각한 영향을 줄수 있다 -
Application/업무 에서의 신중한 설계가 필요하다
✓ DB 의 빠른 Take-over 이 꼭 서비스의 빠른 정상화
로 바로 연결되지는 않을수 있다
✓ 옵션 라이센스 비용이 높다
장점
단점
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle RAC 를 이전하게 될 경우 가장 쉽게 고려할 수 있는안은 Active-Standby 로 재
구성하는 안 임
Oracle RAC 대안 1
✓ 비교적 Application 의 수정이 크지 않다
✓ DB 의 수정은 거의 없으며 기존 사용하던 Oracle
의 기능들을 그대로 사용할 수 있다
✓ RAC 대비 아키텍처 및 운영이 단순해지며 쉬워진
다
✓ RAC 옵션이 필요 없어지면서 비용이 절감된다
✓ Active-Standby 모드로의 전환으로 인한 장애시
Take-over 시간은 느려질 수 있다
✓ DB Scale-Out 은 불가능하다
✓ 전환시 사이징 설계에 신중해야 한다
장점
단점
Instance
(Standby)
Oracle DB
(RAC)
Server 1
Oracle DB
(RAC)
Server 2
RAC
Instance
(Active)
HA
Amazon RDS Amazon RDS
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle DB 는 유지하는 아키텍처 수정 범위내에서 단순 Active-Standby 구조에 비해
읽기 업무에 대한 확장성을 추가로 가져가는 안
Oracle RAC 대안 2
✓ 타 DB 로의 교체 경우에 비해 Application 의 수
정이 크지 않다
✓ 기존 사용하던 Oracle 의 기능들을 그대로 사용할
수 있다
✓ Read DB 의 Scale-Out 이 가능하다
✓ Active Data Guard 비용은 RAC 대비 저렴하여 비
용이 절감된다
✓ Write DB 장애시 Take-over 시간은 느려질 수 있다
✓ Write DB 의 Scale-Out 은 불가능하다
✓ 전환시 사이징 설계에 신중해야 한다
장점
단점
Oracle DB
(RAC)
Server 1
Oracle DB
(RAC)
Server 2
RAC
(Active Data Guard)
Replicate
Amazon RDS
Instance
(Write)
Amazon RDS
Instance
(Read 1)
Amazon RDS
Instance
(Read 2)
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Re-architect 전략으로 완전히 새로운 아키텍처 로 처음부터 다시 구성하는 안
Oracle RAC 대안 3
✓ Re-architect 전략 선택시 장점들(최적화, 확장성,
유연성, 효율)을 고스란히 다 가지고 온다
✓ 여러가지 조건들 (크지 않은 데이터, 충분한 시간
등) 이 맞을 경우 충분히 진행해볼 가치는 있다
✓ Re-architect 전략 선택시 단점들(시간, 비용, 리스
크)을 고스란히 다 가지고 온다
장점
단점
Oracle DB
(RAC)
Server 1
Oracle DB
(RAC)
Server 2
RAC
Replicate
Amazon Aurora
instance
(Write)
Amazon Aurora
instance
(Read1)
Amazon Aurora
instance
(Read2)
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
반드시 RAC 가 필요한 경우 AWS Marketplace 에서 3rd party 솔루션(FlashGrid for
Oracle RAC) 으로의 구성을 고려해볼 수 있음
Oracle RAC 가 꼭 필요한 경우
✓ Oracle RAC 장점을 그대로 가지고 온다
✓ 3rd party 솔루션 사용으로 쉽게 RAC 구성이 가능
하다
✓ Oracle Linux OS 7 과 같이 설정되어 있고 Oracle
19c 만 지원된다 - 현재 사용중인 OS 와 Oracle
DB 의 버전 차이 및 호환성 여부를 반드시 확인해
야 한다. 특히 커널 버전에 민감한 보안 및 시스템
SW 의 경우 작동하지 않을수 있다
✓ 국내 사용된 레퍼런스가 부족하다
장점
단점
Oracle DB
(RAC)
Server 1
Oracle DB
(RAC)
Server 2
RAC
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Oracle DB 를 AWS 로 이관하게 될 경우 유의 사항들
기타 유의 사항
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
여러분의 소중한 피드백을 기다립니다.
강연 종료 후, 강연 평가에 참여해 주세요!
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
감사합니다
© 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot (20)

PDF
[2017 AWS Startup Day] AWS 비용 최대 90% 절감하기: 스팟 인스턴스 Deep-Dive
Amazon Web Services Korea
 
PDF
[AWS Builders] AWS 네트워크 서비스 소개 및 사용 방법 - 김기현, AWS 솔루션즈 아키텍트
Amazon Web Services Korea
 
PDF
엔터프라이즈 클라우드 마이그레이션 준비와 실행. 그리고, 클라우드 운영 모범 사례 공유-최지웅, 오픈소스컨설팅 CTO / 장진환, 스마일샤...
Amazon Web Services Korea
 
PDF
누가 내 엔터프라이즈 고객을 클라우드로 옮겼을까?-양승호, Head of Cloud Modernization,AWS::AWS 마이그레이션 ...
Amazon Web Services Korea
 
PDF
금융권 최신 AWS 도입 사례 총정리 – 신한 제주 은행, KB손해보험 사례를 중심으로 - 지성국 사업 개발 담당 이사, AWS / 정을용...
Amazon Web Services Korea
 
PDF
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
PDF
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon Web Services Korea
 
PDF
AWS 네트워크 보안을 위한 계층별 보안 구성 모범 사례 – 조이정, AWS 솔루션즈 아키텍트:: AWS 온라인 이벤트 – 클라우드 보안 특집
Amazon Web Services Korea
 
PPT
10월 웨비나 - AWS에서 Active Directory 구축 및 연동 옵션 살펴보기 (김용우 솔루션즈 아키텍트)
Amazon Web Services Korea
 
PDF
Cloud Migration 과 Modernization 을 위한 30가지 아이디어-박기흥, AWS Migrations Specialist...
Amazon Web Services Korea
 
PDF
AWS로 사용자 천만 명 서비스 만들기 (윤석찬)- 클라우드 태권 2015
Amazon Web Services Korea
 
PDF
AWS inspector_이해
ASome Cloud
 
PDF
AWS 9월 웨비나 | AWS 데이터베이스 마이그레이션 서비스 활용하기
Amazon Web Services Korea
 
PPTX
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
Amazon Web Services Korea
 
PDF
농심 그룹 메가마트 : 온프레미스 Exadata의 AWS 클라우드 환경 전환 사례 공유-김동현, NDS Cloud Innovation Ce...
Amazon Web Services Korea
 
PDF
데이터 분석가를 위한 신규 분석 서비스 - 김기영, AWS 분석 솔루션즈 아키텍트 / 변규현, 당근마켓 소프트웨어 엔지니어 :: AWS r...
Amazon Web Services Korea
 
PDF
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
Amazon Web Services Korea
 
PDF
AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저
Amazon Web Services Korea
 
PDF
서버리스 애플리케이션 구축 패턴 및 구축 사례 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
PDF
Amazon Dynamo DB 활용하기 - 강민석 :: AWS Database Modernization Day 온라인
Amazon Web Services Korea
 
[2017 AWS Startup Day] AWS 비용 최대 90% 절감하기: 스팟 인스턴스 Deep-Dive
Amazon Web Services Korea
 
[AWS Builders] AWS 네트워크 서비스 소개 및 사용 방법 - 김기현, AWS 솔루션즈 아키텍트
Amazon Web Services Korea
 
엔터프라이즈 클라우드 마이그레이션 준비와 실행. 그리고, 클라우드 운영 모범 사례 공유-최지웅, 오픈소스컨설팅 CTO / 장진환, 스마일샤...
Amazon Web Services Korea
 
누가 내 엔터프라이즈 고객을 클라우드로 옮겼을까?-양승호, Head of Cloud Modernization,AWS::AWS 마이그레이션 ...
Amazon Web Services Korea
 
금융권 최신 AWS 도입 사례 총정리 – 신한 제주 은행, KB손해보험 사례를 중심으로 - 지성국 사업 개발 담당 이사, AWS / 정을용...
Amazon Web Services Korea
 
AWS DMS를 통한 오라클 DB 마이그레이션 방법 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
Amazon RDS Proxy 집중 탐구 - 윤석찬 :: AWS Unboxing 온라인 세미나
Amazon Web Services Korea
 
AWS 네트워크 보안을 위한 계층별 보안 구성 모범 사례 – 조이정, AWS 솔루션즈 아키텍트:: AWS 온라인 이벤트 – 클라우드 보안 특집
Amazon Web Services Korea
 
10월 웨비나 - AWS에서 Active Directory 구축 및 연동 옵션 살펴보기 (김용우 솔루션즈 아키텍트)
Amazon Web Services Korea
 
Cloud Migration 과 Modernization 을 위한 30가지 아이디어-박기흥, AWS Migrations Specialist...
Amazon Web Services Korea
 
AWS로 사용자 천만 명 서비스 만들기 (윤석찬)- 클라우드 태권 2015
Amazon Web Services Korea
 
AWS inspector_이해
ASome Cloud
 
AWS 9월 웨비나 | AWS 데이터베이스 마이그레이션 서비스 활용하기
Amazon Web Services Korea
 
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
Amazon Web Services Korea
 
농심 그룹 메가마트 : 온프레미스 Exadata의 AWS 클라우드 환경 전환 사례 공유-김동현, NDS Cloud Innovation Ce...
Amazon Web Services Korea
 
데이터 분석가를 위한 신규 분석 서비스 - 김기영, AWS 분석 솔루션즈 아키텍트 / 변규현, 당근마켓 소프트웨어 엔지니어 :: AWS r...
Amazon Web Services Korea
 
AWS CLOUD 2017 - AWS 기반 하이브리드 클라우드 환경 구성 전략 (김용우 솔루션즈 아키텍트)
Amazon Web Services Korea
 
AWS 클라우드 비용 최적화를 위한 TIP - 임성은 AWS 매니저
Amazon Web Services Korea
 
서버리스 애플리케이션 구축 패턴 및 구축 사례 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
Amazon Dynamo DB 활용하기 - 강민석 :: AWS Database Modernization Day 온라인
Amazon Web Services Korea
 

Similar to Oracle DB를 AWS로 이관하는 방법들 - 서호석 클라우드 사업부/컨설팅팀 이사, 영우디지탈 :: AWS Summit Seoul 2021 (20)

PDF
SK Telecom - 망관리 프로젝트 TANGO의 오픈소스 데이터베이스 전환 여정 - 발표자 : 박승전, Project Manager, ...
Amazon Web Services Korea
 
PDF
클라우드 환경으로 데이터베이스 이전하기 - 강민석, AWS SR. Database SA
Amazon Web Services Korea
 
PDF
빠르고 안전하게 간편한 AWS로 데이터 마이그레이션 하기::최유정 (AWS 솔루션즈아키텍트)
Amazon Web Services Korea
 
PDF
엔터프라이즈 비지니스 애플리케이션 이전 및 도입사례 제주항공사례 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
PDF
[2017 Windows on AWS] AWS 를 활용한 SQL Server 최적 활용 방안
Amazon Web Services Korea
 
PDF
넥슨 글로벌 플랫폼 구축 이야기 : DB Migration case study (임현수 플랫폼인프라실 Technical Manager, 넥...
Amazon Web Services Korea
 
PPTX
강의 4. 데이터베이스:: AWSome Day Online Conference
Amazon Web Services Korea
 
PPTX
10월 웨비나 - AWS 상에서 Microsoft SQL Server 운영의 모범 사례 살펴보기 (최정욱 솔루션즈 아키텍트)
Amazon Web Services Korea
 
PDF
AWS Builders - Industry Edition: AWS가 추천하는 'App개발 및 데이터 관리, 분석 소프트웨어 서비스'_Tma...
Amazon Web Services Korea
 
PDF
나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016
Amazon Web Services Korea
 
PDF
기업 IT 담당자라면 꼭 알아야 할 Enterprise AWS 사례와 특징::김종호, 조영준 BSG Partners::AWS Summit ...
Amazon Web Services Korea
 
PDF
기업 IT 담당자라면 꼭 알아야 할 Enterprise AWS 사례와 특징::김종호, 조영준 BSG Partners::AWS Summit ...
Amazon Web Services Korea
 
PDF
실전! AWS 기반 데이터베이스 마이그레이션::최홍식::AWS Summit Seoul 2018
Amazon Web Services Korea
 
PDF
[Games on AWS 2019] AWS 입문자를 위한 초단기 레벨업 트랙 | AWS 레벨업 하기! : 데이터베이스 - 박주연 AWS 솔...
Amazon Web Services Korea
 
PPTX
폴라리스오피스 운영시스템
SANGGI CHOI
 
PDF
워크로드에 맞는 데이터베이스 찾기 - 박주연 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
Amazon Web Services Korea
 
PDF
Aws migration case_study_v1.0.1
NDSCorporation
 
PDF
AWS를 이용한 SAP 암호화 추진 방안 및 적용사레::남기웅 (ISTN Solutions), 강병수 (AWS)::제조업 이노베이션 데이 ...
Amazon Web Services Korea
 
PPTX
AWS 6월 웨비나 | AWS에서 MS SQL 서버 운영하기 (김민성 솔루션즈아키텍트)
Amazon Web Services Korea
 
PDF
성공적인 디지털 혁신을 위한 AWS 데이터베이스 서비스 선택:: 구태훈::AWS Summit Seoul 2018
Amazon Web Services Korea
 
SK Telecom - 망관리 프로젝트 TANGO의 오픈소스 데이터베이스 전환 여정 - 발표자 : 박승전, Project Manager, ...
Amazon Web Services Korea
 
클라우드 환경으로 데이터베이스 이전하기 - 강민석, AWS SR. Database SA
Amazon Web Services Korea
 
빠르고 안전하게 간편한 AWS로 데이터 마이그레이션 하기::최유정 (AWS 솔루션즈아키텍트)
Amazon Web Services Korea
 
엔터프라이즈 비지니스 애플리케이션 이전 및 도입사례 제주항공사례 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
[2017 Windows on AWS] AWS 를 활용한 SQL Server 최적 활용 방안
Amazon Web Services Korea
 
넥슨 글로벌 플랫폼 구축 이야기 : DB Migration case study (임현수 플랫폼인프라실 Technical Manager, 넥...
Amazon Web Services Korea
 
강의 4. 데이터베이스:: AWSome Day Online Conference
Amazon Web Services Korea
 
10월 웨비나 - AWS 상에서 Microsoft SQL Server 운영의 모범 사례 살펴보기 (최정욱 솔루션즈 아키텍트)
Amazon Web Services Korea
 
AWS Builders - Industry Edition: AWS가 추천하는 'App개발 및 데이터 관리, 분석 소프트웨어 서비스'_Tma...
Amazon Web Services Korea
 
나에게 맞는 AWS 데이터베이스 서비스 선택하기 :: 양승도 :: AWS Summit Seoul 2016
Amazon Web Services Korea
 
기업 IT 담당자라면 꼭 알아야 할 Enterprise AWS 사례와 특징::김종호, 조영준 BSG Partners::AWS Summit ...
Amazon Web Services Korea
 
기업 IT 담당자라면 꼭 알아야 할 Enterprise AWS 사례와 특징::김종호, 조영준 BSG Partners::AWS Summit ...
Amazon Web Services Korea
 
실전! AWS 기반 데이터베이스 마이그레이션::최홍식::AWS Summit Seoul 2018
Amazon Web Services Korea
 
[Games on AWS 2019] AWS 입문자를 위한 초단기 레벨업 트랙 | AWS 레벨업 하기! : 데이터베이스 - 박주연 AWS 솔...
Amazon Web Services Korea
 
폴라리스오피스 운영시스템
SANGGI CHOI
 
워크로드에 맞는 데이터베이스 찾기 - 박주연 솔루션즈 아키텍트, AWS :: AWS Summit Seoul 2019
Amazon Web Services Korea
 
Aws migration case_study_v1.0.1
NDSCorporation
 
AWS를 이용한 SAP 암호화 추진 방안 및 적용사레::남기웅 (ISTN Solutions), 강병수 (AWS)::제조업 이노베이션 데이 ...
Amazon Web Services Korea
 
AWS 6월 웨비나 | AWS에서 MS SQL 서버 운영하기 (김민성 솔루션즈아키텍트)
Amazon Web Services Korea
 
성공적인 디지털 혁신을 위한 AWS 데이터베이스 서비스 선택:: 구태훈::AWS Summit Seoul 2018
Amazon Web Services Korea
 
Ad

More from Amazon Web Services Korea (20)

PDF
[D3T1S01] Gen AI를 위한 Amazon Aurora 활용 사례 방법
Amazon Web Services Korea
 
PDF
[D3T1S06] Neptune Analytics with Vector Similarity Search
Amazon Web Services Korea
 
PDF
[D3T1S03] Amazon DynamoDB design puzzlers
Amazon Web Services Korea
 
PDF
[D3T1S04] Aurora PostgreSQL performance monitoring and troubleshooting by use...
Amazon Web Services Korea
 
PDF
[D3T1S07] AWS S3 - 클라우드 환경에서 데이터베이스 보호하기
Amazon Web Services Korea
 
PDF
[D3T1S05] Aurora 혼합 구성 아키텍처를 사용하여 예상치 못한 트래픽 급증 대응하기
Amazon Web Services Korea
 
PDF
[D3T1S02] Aurora Limitless Database Introduction
Amazon Web Services Korea
 
PDF
[D3T2S01] Amazon Aurora MySQL 메이저 버전 업그레이드 및 Amazon B/G Deployments 실습
Amazon Web Services Korea
 
PDF
[D3T2S03] Data&AI Roadshow 2024 - Amazon DocumentDB 실습
Amazon Web Services Korea
 
PDF
AWS Modern Infra with Storage Roadshow 2023 - Day 2
Amazon Web Services Korea
 
PDF
AWS Modern Infra with Storage Roadshow 2023 - Day 1
Amazon Web Services Korea
 
PDF
사례로 알아보는 Database Migration Service : 데이터베이스 및 데이터 이관, 통합, 분리, 분석의 도구 - 발표자: ...
Amazon Web Services Korea
 
PDF
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
Amazon Web Services Korea
 
PDF
Amazon Elasticache - Fully managed, Redis & Memcached Compatible Service (Lev...
Amazon Web Services Korea
 
PDF
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
Amazon Web Services Korea
 
PDF
[Keynote] 슬기로운 AWS 데이터베이스 선택하기 - 발표자: 강민석, Korea Database SA Manager, WWSO, A...
Amazon Web Services Korea
 
PDF
Demystify Streaming on AWS - 발표자: 이종혁, Sr Analytics Specialist, WWSO, AWS :::...
Amazon Web Services Korea
 
PDF
Amazon EMR - Enhancements on Cost/Performance, Serverless - 발표자: 김기영, Sr Anal...
Amazon Web Services Korea
 
PDF
Amazon OpenSearch - Use Cases, Security/Observability, Serverless and Enhance...
Amazon Web Services Korea
 
PDF
Enabling Agility with Data Governance - 발표자: 김성연, Analytics Specialist, WWSO,...
Amazon Web Services Korea
 
[D3T1S01] Gen AI를 위한 Amazon Aurora 활용 사례 방법
Amazon Web Services Korea
 
[D3T1S06] Neptune Analytics with Vector Similarity Search
Amazon Web Services Korea
 
[D3T1S03] Amazon DynamoDB design puzzlers
Amazon Web Services Korea
 
[D3T1S04] Aurora PostgreSQL performance monitoring and troubleshooting by use...
Amazon Web Services Korea
 
[D3T1S07] AWS S3 - 클라우드 환경에서 데이터베이스 보호하기
Amazon Web Services Korea
 
[D3T1S05] Aurora 혼합 구성 아키텍처를 사용하여 예상치 못한 트래픽 급증 대응하기
Amazon Web Services Korea
 
[D3T1S02] Aurora Limitless Database Introduction
Amazon Web Services Korea
 
[D3T2S01] Amazon Aurora MySQL 메이저 버전 업그레이드 및 Amazon B/G Deployments 실습
Amazon Web Services Korea
 
[D3T2S03] Data&AI Roadshow 2024 - Amazon DocumentDB 실습
Amazon Web Services Korea
 
AWS Modern Infra with Storage Roadshow 2023 - Day 2
Amazon Web Services Korea
 
AWS Modern Infra with Storage Roadshow 2023 - Day 1
Amazon Web Services Korea
 
사례로 알아보는 Database Migration Service : 데이터베이스 및 데이터 이관, 통합, 분리, 분석의 도구 - 발표자: ...
Amazon Web Services Korea
 
Amazon DocumentDB - Architecture 및 Best Practice (Level 200) - 발표자: 장동훈, Sr. ...
Amazon Web Services Korea
 
Amazon Elasticache - Fully managed, Redis & Memcached Compatible Service (Lev...
Amazon Web Services Korea
 
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
Amazon Web Services Korea
 
[Keynote] 슬기로운 AWS 데이터베이스 선택하기 - 발표자: 강민석, Korea Database SA Manager, WWSO, A...
Amazon Web Services Korea
 
Demystify Streaming on AWS - 발표자: 이종혁, Sr Analytics Specialist, WWSO, AWS :::...
Amazon Web Services Korea
 
Amazon EMR - Enhancements on Cost/Performance, Serverless - 발표자: 김기영, Sr Anal...
Amazon Web Services Korea
 
Amazon OpenSearch - Use Cases, Security/Observability, Serverless and Enhance...
Amazon Web Services Korea
 
Enabling Agility with Data Governance - 발표자: 김성연, Analytics Specialist, WWSO,...
Amazon Web Services Korea
 
Ad

Oracle DB를 AWS로 이관하는 방법들 - 서호석 클라우드 사업부/컨설팅팀 이사, 영우디지탈 :: AWS Summit Seoul 2021

  • 1. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. K O R E A | M A Y 1 1 - 1 2 , 2 0 2 1
  • 2. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 서호석 클라우드 사업부/컨설팅팀 이사 영우디지탈 Oracle DB 를 AWS 로 이관하는 방법들
  • 3. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 1. AWS 와 Oracle DB 2. Oracle DB 이전을 위한 사전 준비 3. Oracle DB 이관 전략 4. Oracle DB 이관 기술 5. DB 이관을 쉽게 도와주는 AWS 도구 및 서비스 6. Oracle DB 이관시 유의 사항 Agenda
  • 4. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS 와 Oracle DB
  • 5. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle DB 는 점유율이 가장 높은 DB 로 특히 국내 엔터프라이즈 환경에서의 도입 사 용율은 아직도 월등히 높음 Oracle DB 의 사용 비중 IDC 자료: On-Premises Database Market Share 한국 DBMS 시장의 약 60% 를 Oracle 이 점유 한국데이터산업진흥원 (Kdata) : 2019 년 데이터산업백서
  • 6. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS는 전세계 24개의 리전 내에 77개의 가용 영역을 운영하면서 가장 높은 점유율을 보유하고 있는 Cloud Service Provider 로 국내 시장에서도 최고의 점유율로 클라우드 시장을 선도하고 있음 AWS 의 사용 비중
  • 7. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle DB 이전을 위한 사전 준비
  • 8. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 단계별 이관 계획 수립 각 단계별로 상세하게 계획을 수립함 ① ✓ 소스 DB 환경에 대한 분석 • 인프라 환경 • 데이터 량 • 데이터 종류 • 연계 환경 • 요구 조건 • 영향, 리스크 ② ③ ④ Assess Plan Test Execute ✓ 타겟 AWS DB 환 경에 대한 분석 ✓ 데이터 용량, 이관 기간, 다운타임, 실행 난이도 등을 전체적으로 고려 하여 계획 수립 • 이관 전략 • 이관 기술 • 테스트/검증 계획 • 이행 계획 • 롤백 계획 ✓ 실제 데이터로 테 스트 환경에서 이 관 테스트를 진행 • 검증 • 시간 측정 • 튜닝요소 점검 • 2~3회 테스트 권장 ✓ 계획에 맞추어 DB 이관 진행 • 이관 진행 • 상황 모니터링 • 검증 진행 • 시스템 오픈 • 모니터링 • 운영 모드 진 입
  • 9. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 현재환경에 대한 점검 항목 DB 서버 HW or VM 스펙 벤더, 모델(년도) / CPU 스팩 / Memory 스팩 / NIC 스 펙, 수 / 내부 Disk 스펙, 수 / 내부 Raid 구성 외장 스토리지 스펙 벤더, 모델(년도) / Memory 스팩 / 인터페이스 스펙, 수 / DIsk 스펙, 수 / Raid 구성 / 추가 기능 OS 벤더, 명, 버전 리소스(CPU, Memory, Network, IO) 사용량 평균, 피크, 사용 패턴(그래프) 업무 및 연계 내용 DB 의 업무 구분 예: 쇼핑 상품 60%, 카탈로그 30%, 기타 10% DB 의 업무 종류 예: OLTP 70%, 새벽 배치 처리 30% Read/Write 비율 예: Read: 70%, Write 30% Transaction 처리량 일단위, 시간단위 데이터 및 로그 발생량 일단위, 시간단위 연계된 모든 Application 서버 서버 수, 연계 방식, DB 관련 설정 내용(커낵션 수 등) 연계된 모든 DB 및 연 계 서버 업무 종류, 연계된 DB 및 연계 서버 스팩, 수, 연계 방법 3rd Party SW 설치된 모든 SW: 벤더, 명, 버전 (보안 SW 포함) DBMS DBMS 버전, 기능버전 (Ent, Std 등) 옵션기능 사용 현황 (예: Partitioning, RAC) 라이센스 현황 스키마 및 데이터 정보 스키마 정보 / 데이터 정보, 크기 / 인덱스 정보, 크기 / 아카이브 및 로그 정보, 크기 / Table 수 / Query 수 최대한 많은 점검 항목들에 대한 상세한 분석이 필요
  • 10. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle DB 이관 전략
  • 11. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle DB (Standby) Instance 2 최소한의 시간 및 작업으로 DB 를 가능한한 그대로 이관하는 전략 Re-host (Lift & Shift) ✓ 최대한 그대로 유지하는 전략으로 빠르고 쉬운 이 전이 가능 ✓ (시간 및 작업 = 비용) 이 가장 적게 소요됨 ✓ 클라우드 최적화에서 가장 거리가 먼 전략 ✓ (운영 비효율성 = 높은 유지 비용) 으로 연결 될수 있음 장점 단점 Oracle DB (Main) Server 1 Oracle DB (Standby) Server 2 HA Oracle DB (Main) Instance 1 HA
  • 12. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 클라우드의 특장점을 살리면서 필요한 최소한의 App/DB 변경으로 이관하는 전략 Re-platform ✓ 비교적 빠르고 쉬운 이전이 가능 ✓ (시간 및 작업 = 비용) 대비 효율성이 매우 우수함 ✓ 클라우드 환경의 장점을 누릴수 있음 ✓ 위의 장점들은 (우수한 운영 효율성 = 낮은 유지 비용) 으로 연결 될수 있음 ✓ Re-host 방식 대비 App/DB 수정 시간 및 작업은 늘어날수 있음 ✓ 클라우드의 장점을 사용하지만 기존 아키텍처에서 크게 벗어나지는 않음 장점 단점 Oracle DB (Main) Server 1 Oracle DB (Standby) Server 2 HA HA Amazon RDS Instance (Active) Amazon RDS Instance (Standby)
  • 13. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 회사 환경에 맞추어 최신 트렌드로 재설계하여 이관하는 전략 Re-architect (Re-factor) ✓ 클라우드의 장점뿐 아니라 확장성, 유연성 이 극 대화 될 수 있다 ✓ 우수한 운영 효율성 으로 연결될 수 있다 ✓ 매우 높은 개발 수준이 요구될 수 있으며 높은 개 발 난이도로 인한 실패 확률 역시 높아진다 ✓ (시간 및 작업 = 비용) 이 타전략 대비 일반적으로 가장 높다 ✓ 경우에 따라 높은 운영 난이도가 필요할 수 있으 며 충분한 경험이 부족할 경우 운영 효율성이 오 히려 저하 될수도 있다 장점 단점 Oracle DB (Main) Server 1 Oracle DB (Standby) Server 2 HA Replicate ElastiCache for Redis (Data Cache) Amazon Aurora Instance (Write) Amazon Aurora Instance (Read 1) Amazon Aurora Instance (Read 2)
  • 14. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle DB 이관 기술
  • 15. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. OS, Oracle DB 버전 이 동일할 경우 간단하고 쉽게 이관할 수 있는 방법 Data Copy ✓ 간단한 OS 명령만을(scp, sftp 등) 사용하여 이전이 가능하다 ✓ 사용이 쉽다 ✓ 파일을 복사할 경우 서비스 중단이 필요하며 파일 용량에 비례한다 ✓ OS/플렛폼, Oracle DB 버전, 설정 등 환경이 일치 해야 한다 ✓ 파일 복사시 중간에 끊길수 있는 경우에 대한 대 비가 필요하다 장점 단점 Temp file Data file Control file Parameter file Archive Log file Redo Log file COPY
  • 16. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle 의 Data Pump 기능을 사용하여 OS, DB 버전이 다른 환경으로의 이관을 행할 수 있음 Data Pump(export & import) ✓ OS/플렛폼이 서로 다른 환경에서의 이전이 가능 하다 ✓ Oracle DB 버전이 달라도 이전이 가능하다 ✓ 다른 character set 환경에서의 이전이 가능하다 ✓ 특정 대상 테이블만 선별하여 이전이 가능하다 ✓ 일반적으로 시간이 많이 소요되며 비례하여 서비 스 중단이 필요하다 ✓ Oracle -> 타 DB 로의 이전에는 사용할 수 없다 ✓ Oracle DB 의 버전 차이가 심한 경우 실패 확률이 증가할 수 있다 장점 단점
  • 17. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. CDC 도구는 동일 DB 또는 타 DB 들간의 복제를 실시간에 가깝게 여러 다양한 방법으 로 행해줄수 있음 CDC(Change Data Capture) 도구 ✓ OS/플렛폼이 서로 다른 환경에서의 이전이 가능 하다 ✓ 타 DB 로의 이전이 가능하다 ✓ 대용량 이전이 가능하다 ✓ 제품에 따라 소스, 타겟 DB, 대상 테이블들을 여 러 형태로 선별하여 이전이 가능하다 ✓ 실시간에 가까운 Ongoing 복제가 가능하며 다운 타임을 최소화 할수 있다 ✓ 상용 제품일 경우 도입 비용이 비싸다 ✓ 제품별로 지원되지 않는 DB 가 있을 수 있다 장점 단점
  • 18. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 국내에서 널리 알려졌으며 많은 사례를 가지고 있는 CDC 도구들 CDC(Change Data Capture) 도구 AWS Database Migration Service (AWS DMS) Oracle GoldenGate Quest SharePlex
  • 19. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. DB 이관을 쉽게 도와주는 AWS 도구 및 서비스
  • 20. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS SCT(Schema Conversion Tool) 은 한 데이터베이스 에서 다른 데이터베이스 의 스키마로 변환을 도와주는 도구이며 일반적으로 데이터 이관 단계전에 쓰임 AWS SCT(Schema Conversion Tool) ✓ OS/플렛폼이 서로 다른 환경에서의 스키마 변환 이 가능하다 ✓ 지원하는 모든 DB 로의 스키마 변환이 가능하다 ✓ 습득이 필요하다 ✓ AWS 의 도구임으로 AWS 상의 타겟 DB 로의 이 전만 가능하다 장점 단점
  • 21. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS DMS(Database Migration Service) 는 DB 데이터를 이기종 DB 간에도 쉽고 빠르 게 이관해주는 서비스 임 AWS DMS(Database Migration Service) ✓ OS/플렛폼이 서로 다른 환경에서의 이전이 가능 하다 ✓ DMS 도구가 지원하는 모든 타 DB 로의 이전이 가능하다 ✓ CDC(Change Capture Data) 기능으로 Ongoing 복제가 가능하여 서비스 중단 시간을 최소화할 수 있다 ✓ 상용 CDC SW 대비 사용 비용이 저렴하다 ✓ AWS 상의 타겟 DB 로의 이전만 가능하다 ✓ DMS용 복제 인스턴스의 총 스토리지 용량은 30,000GB 이다 장점 단점
  • 22. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Snowball 서비스는 단기간 내 초대용량 규모의 데이터 전송을 가능할수 있게 해 줌 AWS Snowball Edge ✓ 네트워크를 이용한 이전 속도 이상의 이전 속도 를 가능하게 한다 ✓ 80 TB usable 까지 지원이 가능하다 ✓ 빠른 전송을 위해서 물리적인 이동 수단을 이용하 게 되며 서비스 중단이 필요하다 ✓ AWS 상의 타겟 DB 로의 이전만 가능하다 장점 단점 AWS Snowball Edge Device
  • 23. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle DB 이관시 유의 사항
  • 24. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle RAC(Real Applications Cluster) 는 여러 Oracle DB 서버들을 하나의 클러스터 로 모두 active 상태로 운영 가능하게 해주는 고가용성 옵션 기능으로 AWS 상에서의 구현은 쉽지 않다 Oracle RAC 경우 ✓ 분산구조 DB Scale-Out 이 비교적 쉽게 가능하다 ✓ 노드들이 모두 Active 상태로 특정 노드 장애시 다른 노드의 빠른 Take-over 이 가능하다 ✓ 쓰기 작업 경우 노드간의 Sync 를 맞추기 위한 Overhead 가 존재하며 이는 노드의 수에 비례한다 ✓ 여러 노드에서 같은 테이블에 쓰기가 동시에 발생 할 경우 성능에 심각한 영향을 줄수 있다 - Application/업무 에서의 신중한 설계가 필요하다 ✓ DB 의 빠른 Take-over 이 꼭 서비스의 빠른 정상화 로 바로 연결되지는 않을수 있다 ✓ 옵션 라이센스 비용이 높다 장점 단점
  • 25. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle RAC 를 이전하게 될 경우 가장 쉽게 고려할 수 있는안은 Active-Standby 로 재 구성하는 안 임 Oracle RAC 대안 1 ✓ 비교적 Application 의 수정이 크지 않다 ✓ DB 의 수정은 거의 없으며 기존 사용하던 Oracle 의 기능들을 그대로 사용할 수 있다 ✓ RAC 대비 아키텍처 및 운영이 단순해지며 쉬워진 다 ✓ RAC 옵션이 필요 없어지면서 비용이 절감된다 ✓ Active-Standby 모드로의 전환으로 인한 장애시 Take-over 시간은 느려질 수 있다 ✓ DB Scale-Out 은 불가능하다 ✓ 전환시 사이징 설계에 신중해야 한다 장점 단점 Instance (Standby) Oracle DB (RAC) Server 1 Oracle DB (RAC) Server 2 RAC Instance (Active) HA Amazon RDS Amazon RDS
  • 26. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle DB 는 유지하는 아키텍처 수정 범위내에서 단순 Active-Standby 구조에 비해 읽기 업무에 대한 확장성을 추가로 가져가는 안 Oracle RAC 대안 2 ✓ 타 DB 로의 교체 경우에 비해 Application 의 수 정이 크지 않다 ✓ 기존 사용하던 Oracle 의 기능들을 그대로 사용할 수 있다 ✓ Read DB 의 Scale-Out 이 가능하다 ✓ Active Data Guard 비용은 RAC 대비 저렴하여 비 용이 절감된다 ✓ Write DB 장애시 Take-over 시간은 느려질 수 있다 ✓ Write DB 의 Scale-Out 은 불가능하다 ✓ 전환시 사이징 설계에 신중해야 한다 장점 단점 Oracle DB (RAC) Server 1 Oracle DB (RAC) Server 2 RAC (Active Data Guard) Replicate Amazon RDS Instance (Write) Amazon RDS Instance (Read 1) Amazon RDS Instance (Read 2)
  • 27. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Re-architect 전략으로 완전히 새로운 아키텍처 로 처음부터 다시 구성하는 안 Oracle RAC 대안 3 ✓ Re-architect 전략 선택시 장점들(최적화, 확장성, 유연성, 효율)을 고스란히 다 가지고 온다 ✓ 여러가지 조건들 (크지 않은 데이터, 충분한 시간 등) 이 맞을 경우 충분히 진행해볼 가치는 있다 ✓ Re-architect 전략 선택시 단점들(시간, 비용, 리스 크)을 고스란히 다 가지고 온다 장점 단점 Oracle DB (RAC) Server 1 Oracle DB (RAC) Server 2 RAC Replicate Amazon Aurora instance (Write) Amazon Aurora instance (Read1) Amazon Aurora instance (Read2)
  • 28. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 반드시 RAC 가 필요한 경우 AWS Marketplace 에서 3rd party 솔루션(FlashGrid for Oracle RAC) 으로의 구성을 고려해볼 수 있음 Oracle RAC 가 꼭 필요한 경우 ✓ Oracle RAC 장점을 그대로 가지고 온다 ✓ 3rd party 솔루션 사용으로 쉽게 RAC 구성이 가능 하다 ✓ Oracle Linux OS 7 과 같이 설정되어 있고 Oracle 19c 만 지원된다 - 현재 사용중인 OS 와 Oracle DB 의 버전 차이 및 호환성 여부를 반드시 확인해 야 한다. 특히 커널 버전에 민감한 보안 및 시스템 SW 의 경우 작동하지 않을수 있다 ✓ 국내 사용된 레퍼런스가 부족하다 장점 단점 Oracle DB (RAC) Server 1 Oracle DB (RAC) Server 2 RAC
  • 29. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. Oracle DB 를 AWS 로 이관하게 될 경우 유의 사항들 기타 유의 사항
  • 30. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 여러분의 소중한 피드백을 기다립니다. 강연 종료 후, 강연 평가에 참여해 주세요! © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 31. © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved. 감사합니다 © 2021, Amazon Web Services, Inc. or its affiliates. All rights reserved.