SlideShare une entreprise Scribd logo
1  sur  80
Télécharger pour lire hors ligne
Azure Databases for PostgreSQL,
MySQL and MariaDB
rockPLACE DB기술2본부
PostgreSQL, MySQL and MariaDB
on Azure 소개
State of the Open-Source DBMS Market
2022년 까지
70% 이상의 신규 개발 애플리케이션은
오픈소스 DB 를 이용할 것이며
50% 이상의 기존 업무가 상용 DB 에서
이관될 전망이다.
“
Gartner | State of the Open-Source
DBMS Market, 2018
Manage risk and meet the pace of change in the cloud
Manage risk and meet the pace of change in the cloud
94%
20.6%
19.6%
18.8%
1. Vanson Bourne. “The Business Impact of the Cloud” report
DB-Engines Ranking
Trend of Relational DBMS Popularity
More choices and full integration into Azure’s ecosystem and services
Azure database services for MySQL, PostgreSQL & MariaDB
Managed
community MySQL,
PostgreSQL, and
MariaDB
Languages and
frameworks of
your choice
Scale in
seconds with
built-in high
availability*
Unparalleled
security and
compliance
Industry-
leading global
reach
Easy lift and shift Enterprise ready
T-SQL
Java
C/C++
C#/VB.NET
PHP
Node.js
Python
Ruby
*Hyperscale (Citus) on Azure Database for PostgreSQL – Horizontal scale-out deployment option for single node Postgres across hundreds of nodes (blog/tech)
Azure IaaS vs. PaaS
Different Azure Data Services give you
different levels of control and flexibility
for your data
For a high level of control including the
ability to pick SQL Server and OS
version, choose IaaS
For automated management and
administration, choose PaaS
On-premises
Threat detection,
risk management
Performance
management
Applications
Data
High availability
/DR/backups
Database provision/
patch/scaling
O/S provision
/patching
Virtualization
Hardware
Datacenter
management
SQL Server 2017
MySQL/PostgreSQL
/MariaDB
Managed by customer
Infrastructure
as a service
Threat detection,
risk management
Performance
management
Applications
Data
High availability
/DR/backups
Database provision/
patch/scaling
O/S
Virtualization
Hardware
Datacenter
management
Managed by Cloud provider
Platform
as a service
Threat detection,
risk management
Performance
management
Applications
Data
High Availability/
DR/backups
Database provision/
patch/scaling
O/S
Virtualization
Hardware
Datacenter
management
Azure SQL VMs
Azure Win/
Linux VMs
Azure SQL Database
Azure Database for
MySQL/PostgreSQL/MariaDB
Azure Database
platform differentiation
SQL Data Warehouse SQL Database PostgreSQL MySQL MariaDB
Database
Services
Platform
Intelligent: advisors, tuning, monitoring
Flexible: on-demand scaling, resource governance
Trusted: HA/DR, backup/restore, security, audit, isolation
Azure Compute
Azure Storage
Global Azure with 42 regions
Azure relational database platform
PowerBI,AppServices,DataFactory,Analytics,ML,
Cognitive,Bot…
Service tiers
Service tier Basic
Intended use case
Built for workloads with light
compute needs and variable IO
performance
vCore 1 2
Compute generation Gen 4, Gen 5
Storage
5GB – 1TB
Magnetic media
IOPS Variable
Service tiers
Service tier Basic
Intended use case
Built for workloads with light
compute needs and variable IO
performance
vCore 1 2
Compute generation Gen 4, Gen 5
Storage
5GB – 1TB
Magnetic media
IOPS Variable
General Purpose
Balanced IO and compute
Ideal for most business workloads
offering balanced and scalable
compute and storage options
2 4 8 16 32
Gen 4, Gen 5
5GB – 2TB
Remote SSD
100-6000 IOPS
Service tiers
Performance Optimized
Memory optimized
Cache more data for faster
transaction processing and higher
concurrency
2 4 8 16
Gen 5 only
5GB – 2TB
Remote SSD
100-6000 IOPS
Service tier Basic
Intended use case
Built for workloads with light
compute needs and variable IO
performance
vCore 1 2
Compute generation Gen 4, Gen 5
Storage
5GB – 1TB
Magnetic media
IOPS Variable
General Purpose
Balanced IO and compute
Ideal for most business workloads
offering balanced and scalable
compute and storage options
2 4 8 16 32
Gen 4, Gen 5
5GB – 2TB
Remote SSD
100-6000 IOPS
Supported versions
MySQL: 5.6, 5.7, 8.0 / MariaDB : 10.2, 10.3
PostgreSQL: 9.5, 9.6, 10, 11
Flexible Server (Preview)
 Simplify developer experiences
 More Server Parameter Control
 More Cost Optimization Controls
 Enable Zone Resilient & Aware
Applications
Flexible Server (Preview)
Single Server Flexible Server Preview Flexible Server GA
Compute Options
Basic,
General Purpose
Memory Optimized
Burstable
General purpose
Burstable
General Purpose
Memory Optimized
Storage Options Std and Premium storage Premium storage (remote SSD) Premium storage (remote SSD)
Pause and Resume
(Stop/Start)
Performance Variable on basic SKUs
Improved out-of-box
performance
Improved out-of-box
performance
High Availability Built-in HA (Single-AZ) Single Zone/Zone Redundant HA Single Zone/Zone Redundant HA
Compatibility with
Extensions (Postgres Only)
Subset supported Improved High
OSS Engine Version MySQL 5.7 & 8; PG11,10, 9.6, 9.5 MySQL - 5.7; PG 11&12 MySQL 5.7, 8.0; PG 11&12
VNET Integration
VNET Service Endpoints N/A N/A
Private Link N/A N/A
BYOK
Custom Maintenance
Window
Reservations
Cross region replica
PITR
Hyperscale (Citus) Architecture
Shard your PostgreSQL database
across multiple nodes to give your
application more memory, compute,
and disk storage
Easily add worker nodes to achieve
horizontal scale, while being able to
deliver parallelism even within each
node
Scale out to 100s of nodes
Coordinator
Table metadata
Each node PostgreSQL
with Citus installed
1 shard = 1 PostgreSQL table
Scaled-out aggregate
APPLICATION
SELECT
FROM
GROUP BY
company_id,
avg(spend) AS avg_campaign_spend
compaigns
company_id;
METADATA
COORDINATOR NODE
WORKER NODES
W1
W2
W3 … Wn
SELECT company_id
sum(spend),
count(spend) …
FROM
campaigns_2009 …
SELECT company_id
sum(spend),
count(spend) …
FROM
campaigns_2001 …
SELECT company_id
sum(spend),
count(spend) …
FROM
campaigns_2017 …
Aggregating data before transactions avoids rewriting each row and can save write
overhead and table bloat
Bulk aggregation avoids concurrency issues
Scale out
horizontally
Blazing
performance
Simplified
infrastructure
Stay current with
PostgreSQL innovations
Break free from the limits of
single-node Postgres & scale out
across 100s of nodes
Ingest & query your database in
real time, with sub-second
responses across billions of rows
Save time. Run both transactions
and analytics in one database.
Also, avoid the painful costs of
manual sharding
Developed as an open source
extension, leverage all your
PostgreSQL expertise and its
latest innovations
Worry-free PostgreSQL in the cloud with an architecture that is built to scale out
Hyperscale (Citus) on Azure Database for PostgreSQL
Key uses cases for Hyperscale (Citus)
Scale beyond single node
Minimize hotspots by spreading out
tenants
Rebalance data fully online
Isolate large tenants to their own
hardware
Multi-tenant & SaaS
applications
Real-time operational
analytics
Transactional/OLTP
applications
Ingest terabytes of data per day
Enable sub-second query responses
Parallelize across nodes for 100x
performance
Simplify complex ETL processes
Ensure high performance with
concurrent users
Avoid single points of failure
Distribute transaction processes across
multiple nodes
Manage high volumes of transactions
Microsoft Windows group chooses Azure Database for PostgreSQL Hyperscale
to scale its vast analytics and bring quality updates to customers
Windows was looking for a cloud-based
database that could support the volume and
velocity of transactions in its diagnostic metrics
that are displayed on a real-time analytics
dashboard which drives the quality of customer
experiences for Windows updates.
By choosing PostgreSQL Hyperscale, ship/no-ship
decisions for Windows were made based on on-
the-fly analytics on billions of JSON events with
sub-second responses. Distributed SQL with Azure
Database for PostgreSQL continues to be a game
changer for Windows.
Real-time analytics: 95% queries execute in <4s
Response times: 75% of queries are <200ms
Query volume: >6m daily
Service features
Security built in
Identity
Native authentication
AAD integration
Threat detection
Control access
Secure SSL connectivity
Server firewall rules
Virtual networks
Protect data
Built-in encryption at-rest for
data and backups
VNET service endpoint
# Creates the virtual network *myVNet* and subnet *mySubnet*
az network vnet create 
-g myRG 
-n myVNet 
--address-prefixes 10.0.0.0/16 
-l westus
# Creates the service endpoint
az network vnet subnet create 
-g myRG 
-n mySubnet 
--vnet-name myVNet 
--address-prefix 10.0.1.0/24 
--service-endpoints Microsoft.SQL
# Create a VNet rule on the sever to secure it to the subnet
az postgres vnet-rule create 
--name myRule 
--resource-group myRG 
--server mypgserver-20180111 
--subnet mySubnet
Multi-Tenant
PaaS
Customer VNET
IP ACL
IP ACL
V
N
E
T
A
C
L
V
N
E
T
A
C
L
Express Route Public Peering or internet
(Using ACLed NAT Ips) in development
VM VM
VM
VM VM
VM
GatewayVirtual Network
FrontEnd Subnet
HDI Subnet
!
!
HDInsight
BackEnd Subnet
Certifications and standards
Level 1
CSA Star
Certification
SOC 2
Type 2
Built-in high availability
Azure Storage
Data Data Data Data
Gateway
Application
Application
PostgreSQL
Client
MySQL
Client
server=server.mysql.database.azure.com
MySQL IP:3306
PGSQL IP:5432
Server
provisioning
And
management
US
West
MySQL or
PostgreSQL
ServerMySQL or
PostgreSQL
Server
Azure
Database
Management
Service
High availability and scale
= $285 vs $262 =
High-availability High-availability
High availability in AWS RDS vs. ADS
AWS RDS with a
99.95% SLA is 2x
more expensive*
than Azure
Database for
MySQL/PostgreSQL
High availability
High availability
Scale performance on the fly
MySQL/MariaDB: 3306
PostgreSQL: 5432
Azure Storage
Server
Server
Backup & restore
Monitoring & alerting
Intelligent security and performance
Server logs (MySQL and MariaDB)
• Enable slow_query_log for insights on slow
queries (disabled by default)
• Logs are available for up to seven days from
their creation. If the total size of
the available logs exceeds 7 GB, then the oldest
files are deleted until space is available.
• New log files are created every 24 hours.
• Log files are rotated after the 7 GB limit is
reached.
Built-in server logs for troubleshooting database
errors or performance issues
Server logs (PostgreSQL)
• Configure log_retention_days (3-7 days) to
define the retention period for system logs
• Configure log_statement to “ALL” for analyzing
performance issues
• log_min_duration_statement lets you specify
the minimum execution time (in milliseconds)
above which statements will be logged.
• Consumes server provisioned storage
• The log files rotate every one hour or 100 MB
size, whichever comes first.
Built-in server logs for troubleshooting database
errors or performance issues
Replication (MySQL)
Replica 1 Replica 2 Replica 3 Replica 4 BI
Read Write Read
Native MySQL Replication
Replica
OSS DBs Migration Strategy
Inventory
database assets,
and application
stack discovery
Assess workloads
and fix
recommendations
Convert the
source schema to
work in the target
environment. This
is only relevant for
heterogeneous
migrations.
Remediate
applications
Iteratively make any
necessary changes
to your applications
Run functional &
performance tests
Iteratively run
functional and
performance tests
Optimize
Based on the tests you
performed, address any
performance issues, and
then retest to confirm the
performance improvements
Pre-migration
Discover Assess Convert
Migrate the source
schema, and then
migrate the source
data to the target
Sync your target
schema and data
with the source. This
is only relevant for
minimal-downtime
migrations
Cut over from the
source to the target
environment. This is
only relevant for
minimal-downtime
migrations
Migrate schema,
data & objects
Data sync Cutover
Migration
Post-migration
Migration | Migrating a database
Details on migration phase
Activity Exit criteria Customer involvement MSFT involvement Partner? timelines
Premigration
Discover Inventory of the DBs with their hardware specs and
versioning. Application dependencies with downstream
and upstream identified
Access to the infra, Business
attestation
Provide partner tools to be
executed
Need basis – unifycloud,
movere
2-3 days
Assess Identified App architecture. Defined RTO, RPO. DB
Features identified with Business reason. Resource
utilization, concurrent users etc details identified
Business, App and DB team
interview. High Level
architecture to be provided
Provide questionnaires,
reference architectures,
Case studies
Need basis. Application
vendor needed for app
details
1-2 days
Schema
Assess and
convert
Schema Objects, Data types and feature identified with
target types. Converted the schema and remediate issues
DB team None if partner involved,
else Provide resources to
execute
None if being done by
own self or with MS
support
1 week
Migration
Migrate
Objects &
Data
Migrated data and programming objects like procedures,
functions etc.
DB team None if partner involved,
else Provide resources to
execute
None if being done by
own self or with MS
support
1 week
Data Sync Decide Offline or Online migration and data sync
procedure identified
DB team Data migration service Striim, attunity 1-2 days
setup
cutover Application changed to target DB. Smoke testing done.
Data validation and checksum done.
DB team, App team If applicable If applicable 1 day
PostMigration
Remediate
Application
s
App code has better or same performance and efficiency DB team, App team Product team needed for
service related
If applicable 2-3 days
Testing Business testing done and UAT signoff given End Users, DB team, App team Product team needed for
service related
If applicable 2-3 days
Optimize Bugs and issues resolved, improve and utilize features in
the target DB like extensions,partitioning or indexes
End Users, DB team, App team Product team needed for
service related
If applicable 2-3 days
DB 이행 전략 제시
# 분석(Assessment) 단계에서 As-Is 및 To-Be 환경에
대한 분석을 통해 DB 이행에 대한 비즈니스 요구
사항을 산출하는 작업을 진행
# 진단 및 계획 단계에서 DB 이행에 대한
호환성 체크 및 M/M를 산출하는 작업을 진행
# 이행(Migration) 단계에서 DBMS에 대한 스키마 /
데이터 및 오브젝트 들에 대하여 전환 작업을 수행
# 성능 및 기능 검증 및 튜닝 단계에서 이행을 통한
데이터의 정합성을 확보하고 이행된 데이터에
대하여 튜닝 작업을 수행
# 기능 테스트 성능테스트
# Migration 사항에 대한 교육 및 기술이전
Migration Process Overview
1) 환경 분석
진단 및 계획 마이그레이션 교육 및 기술이전환경분석
기존환경분석
TO-BE 구성
* 이행 대상시스템
환경 구축
* DBMS 현황 분석
* 현황 분석을 통한 이행
접근 방법 수립
* 데이터 이행 요건 정의
AS-IS 분석
검증 및 튜닝
Migration Process Overview
2) 진단 및 계획
마이그레이션 검증 및 튜닝 교육 및 기술이전
계획 수립
평가 및 계획
* 영향도 평가
* 위험요소 진단 및
계획 수립
* 서비스 분석
* 스키마 / 데이터
* DB 오브젝트
진단
진단 및 계획
* 단계별 계획 수립
환경분석
Migration Process Overview
2) 진단 및 계획
마이그레이션 교육 및 기술이전
계획 수립
평가 및 계획
* 영향도 평가
* 위험요소 진단 및
계획 수립
* 서비스 분석
* 스키마 / 데이터
* DB 오브젝트
진단
진단 및 계획
* 단계별 계획 수립
환경분석
오브젝트 수 개수 난이도
테이블 350
함수 200
프로시저 200
뷰 60
패키지 3
시퀀스 40
합계 835
오브젝트 수 기준으로 한 산정 (경험치)
검증 및 튜닝
Migration Process Overview
3) 마이그레이션
스키마 & 데이터 이관
TOOL
* Mysqldump/pump
* Workbench
* Pgdump
* Ora2pg
* Sqlines
* Azure DMS
* 스키마 변환
* DB 오브젝트 변환
* 데이터 이관
변환 및 이관
마이그레이션
1) 기존 Connection Method 변경
# Old Connection
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con =
DriverManager.getConnection("jdbc:oracle:thin:@localhost:
1521:xe”,”scott”,”tiger”);
# New Connection
Class.forName("com.edb.Driver");
Connection con =
DriverManager.getConnection("jdbc:edb://localhost:
5444/edb“,"enterprisedb","enterprisedb");
2) 비호환 SQL문 처리
1) Schema Migration 4) Migration Fail
* Migration Toolkit 데이터 처리
2) 비호환 문법 처리 5) Data & Objects 비교
* Migration log file
3) Data Migration
* Migration Toolkit
* dblink_ora_copy
Migration Process Overview
4) 검증 및 튜닝
마이그레이션 교육 및 기술이전
튜닝, 성능시험
튜닝
* 애플리케이션
* WEB / WAS
* DBMS
* 기능/성능 테스트
검증
* 성능 리포트
환경분석 검증 및 튜닝진단 및 계획
Migration Process Overview
5) 교육 및 기술이전
마이그레이션
교육
산출물
* 운영 가이드
* 개발 가이드
* 프로젝트 결과보고서
* 프로젝트 진행시
작성되는 Working
산출물
* 마이그레이션 교육을
통한 기술 이전
교육 내용
환경분석 진단 및 계획 검증 및 튜닝 교육 및 기술이전
Migration methods
MySQL dump and PG dump
Native commands, no additional setup
Migration wizard
Native or 3rd party tools
Replication
Attunity, near-zero down time migration
Azure Database Migration Service
here
©Microsoft Corporation
Azure
Pre-migration
CloudPilot 을 이용한 Assessment
Cloud 적합도 코드 변경사항 비용
어플리케이션
데이타베이스
Modernization Option: 1) VM, 2) Container, 3) App Service 활용 방식에 대해 Cloud 적합도, 필요 코드 변경사항, 비용 분석
DB Modernization Option: 1) Oracle DB To AzurePostgre, 2) SQL DB to 3 Cases (Azure SQL, SQL VM, SQL Managed Instance),
3) MySQL to AzureMySQL 활용 방식에 대해 Cloud 적합도, 필요 코드 변경사항, 비용 분석
Modernization 사전 평가 항목
 어플리케이션 상관도 분석 및 Dashboard 제시
절차 및 소요일정
 고객사 Needs 및 일정에 따라 App 및 DB 진단을 동시 혹은 선택적으로 진행가능
 CloudPilot Client 설치 필요
(CloudRecon TCO 추가 분석시 AzureMigate로 데이터 수집 필요)
 국내 전문 파트너사와 함께 진단결과 및 App/DB
Modernization 방안 제언
 진단을 위한 환경 준비 및 분석 어플리케이션 개수/DB
Schema 등에 따라 소요일정은 유동적이나 리포트 공유 및
제언까지 평균 2주 정도 소요 예상
XML for App Scan
JSON for DB Scan
고객 준비 사항
CloudRecon (Inventory Collection via Azure Migrate appliance) CloudPilot (DB assessment)
H/W
3 Options available
- Physical machine : 80 GB / 32GB of RAM / CPU(8 cores) / 외부가상스위치
- VMware : 80GB(OVA 11.6GB) / 32GB of RAM / CPU(8 cores) / 외부가상스위치
- Hyper-V : 80GB (VHD 10.4 GB) / 16GB of RAM / CPU(8 cores) / 외부가상스위치
8GB of RAM, CPU (2 cores)
OS and Pre-requisite
OS : Windows Server 2016, Physical machine에 설치시 Powershell script 실행 필요
상관도 분석
- 각 서버에 MMA (Microsoft Monitoring Agent) 설치 필요
- Vmware는 Agentless 방식으로 설치 필요치 않음
OS : Windows 8 & above
필수 설치 software
- PowerShell v5.0 이상
- .NET Framework v4.5 이상
Oracle DB의 경우 필요 S/W
- Ora2PG(v20 이후 버전)
- Strawberry Perl(v5.30.11 이후 버전)
- Oracle Database 19c Client (19.3)
CloudRecon (Inventory Collection via Azure Migrate appliance) CloudPilot (DB assessment)
사용 계정 Azure Global admin (Project 생성) DB administrator or Sysadmin 권한이 있는 계정
필요 정보
Assessment 대상 DB server 정보
- OS type (windows / Linux)
- FQDN or IP 주소
- 관리자 계정 (administrator or root) : Domain join된 경우 Domain admin 계정 사용
가능
Assessment 대상 DB server 정보
- FQDN or IP 주소
- DB administrator (sysadm) credential
HW, OS 및 필수
소프트웨어
계정 및
필요정보
네트워크 포트
참조) CloudRecon과 CloudPilot 의 OS & 필수 소프트웨어 충족시 1대의 H/W에서 동시 사용 가능
 내/외부
 HTTP/SSL 443 (inbound / outbound data transfer)
평가 항목 및 결과 상세 - APP
 어플리케이션의 VMs, Containers, PaaS (AppService)로의 마이그레이션 적합도
평가 항목 및 결과 상세 - APP
 어플리케이션의 VMs, Containers, PaaS (AppService)로의 마이그레이션시 변경필요 코드 및 공수
평가 항목 및 결과 상세 - APP
 어플리케이션의 VMs, Containers, PaaS (AppService)로의 마이그레이션시 코드 변경 가이드 제시
평가 항목 및 결과 상세 - APP
 어플리케이션의 VMs, Containers, PaaS (AppService)로의 마이그레이션시 비용 비교
평가 항목 및 결과 상세 – DB (SQL to Azure SQL)
 데이터베이스의 Azure 로의 마이그레이션 시 적합도 및 비용 제시
평가 항목 및 결과 상세 – DB (SQL to Azure SQL)
 데이터베이스의 Azure PaaS로의 마이그레이션 시 상세 가이드 제시
평가 항목 및 결과 상세 – DB (Oracle to Azure PostgreSQL)
 데이터베이스의 Azure PaaS로의 마이그레이션 시 적합도 및 비용 제시
평가 항목 및 결과 상세 – DB (Oracle to Azure PostgreSQL)
 데이터베이스의 Azure PaaS로의 마이그레이션 시 상세 가이드 제시
평가 항목 및 결과 상세 – DB (Oracle to Azure PostgreSQL)
 데이터베이스의 Azure PaaS로의 마이그레이션 시 상세 가이드 제시 (Best Practices, Detailed Recommendation)
평가 항목 및 결과 상세 – DB (Oracle to Azure PostgreSQL)
 TCO 분석
©Microsoft Corporation
Azure
Migration
Migrate PostgreSQL to Azure Database for PostgreSQL
덤프 내보내기 가져오기 Azure Database Migration Service
- 데이터 동기화를 위해 기존 테이블에 기본
키 필요
- 대상 스키마에서 외래키 제거
- 대상 PostgreSQL 에서 트리거 사용 안 함
1. Pg_dump를 이용한 on-premise db백업
2. Pg_restore 를 이용한 Azure로 복원
1. Pg_dump 유틸리티를 사용하여 스키마 마이그레이션
2. Azure DMS 인스턴스 생성
3. Azure DMS 프로젝트 생성
4. 마이그레이션 실행
5. 마이그레이션 모니터링 6. 마이그레이션 컷오버 수행
- DB 정합성을 위해 서비스 중지 필요
- 특정 table만 마이그레이션 가능
- 복원 속도 향상을 위해 백업 시 -Fc 옵션 사용
On-premise
PostgreSQL
Azure for
PostgreSQL
특징 및 주의사항특징 및 주의사항
- Azure Database Migration Service는 온라인 마이그레이션만 지원
- As-is 와 To-be의 상위 버전은 동일 해야함
- Azure Database for PostgreSQL 지원버전(9.5, 9.6, 10, 11)
Migrate Oracle to Azure Database for PostgreSQL
Ora2pg Azure Database Migration Service (Preview)
- On-premise Oracle 과 Azure의 PostgreSQL을 동기화
- Oracle Archive Mode 설정 필요
- Oracle Supplemental Logging 설정 필요
1. Ora2pg 도구를 이용한 Assessment
2. Ora2pg 도구를 이용한 스키마 마이그레이션
3. Ora2pg 도구를 이용한 데이터 마이그레이션
1. Ora2pg 도구를 사용하여 스키마 마이그레이션
2. Azure DMS 인스턴스 생성
3. Azure DMS 프로젝트 생성
4. 마이그레이션 실행
5. 마이그레이션 모니터링 6. 마이그레이션 컷오버 수행
- 사전 준비사항 : Oracle Client, Perl 5.10이상, DBI Perl
module, DBD::Oracle Perl
- PL/SQL to PL/pgSQL 변환
On-premise
Oracle
Azure for
PostgreSQL
특징 및 주의사항특징 및 주의사항
- Windows 또는 Linux 에 ora2pg 를 다운로드 하고 설치
- Ora2pg 설치하기 전에 Oracle, PostgreSQL 드라이버 설치 필요
- 성능 향상을 위해 Oracle 서버에서 통계정보 수집 필요
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate Oracle to Azure Database for PostgreSQL (DMS)
Migrate MySQL to Azure Database for MySQL
덤프 내보내기 가져오기 Azure Database Migration Service
- On-premise와 Azure의 DB를 동기화
- 가동 중지 시간의 최소화
- MySQL 8.0 으로의 마이그레이션은 지원되지 않음
1. mysqldump를 이용한 on-premise db백업
2. mysql를 이용한 Azure로 복원
1. Mysqldump or Workbench 도구 사용하여 스키마 마이그레이션
2. Azure DMS 인스턴스 생성
3. Azure DMS 프로젝트 생성
4. 마이그레이션 실행
5. 마이그레이션 컷오버 수행
- DB 정합성을 위해 서비스 중지 필요
- 특정 table만 마이그레이션 가능
On-premise
MySQL
Azure for
MySQL
특징 및 주의사항특징 및 주의사항
- Azure Database for MySQL 은 InnoDB 엔진만 지원
- As-is 와 To-be의 상위 버전은 동일해야함
- Azure Database for MySQL 지원버전(5.6, 5.7, 8.0)
Oracle to PostgreSQL | Cost of Ownership
Oracle Database
Cloud Service
Enterprise Edition
Oracle Database
Cloud Service
Enterprise Edition High
Performance
Oracle Enterprise
Edition
Azure Database for
PostgreSQL
Database $9,599 / month $19,801 / month $47,500* / per CPU $2,046.34 / month
Virtual Private
Database
Included Included Included Row level security
Partitioning Not included Included $11,500* / per CPU Included
Data Guard Not included Not included $11,500* / per CPU Included
Spatial Not included Included $17,500* / per CPU Included
Diagnostics Included Included $7,500* / per CPU Included
Tuning Pack Included Included $5,000* / per CPU Included
Lifecycle
Management Pack
Not included Included $12,000* / per CPU
Included as part of
OSS tool suite
Total Capex $0 $0 $1,800,000* $0
Annual Support /
Maintenance per
Server (Opex)
Included Included $396,000** Included
Total 3 Year Cost
of Ownership
$345,564 $712,836 $3,294,000*** $73,668
Savings with Azure
(approx.)
80% 90% 95% NA
Customers migrate from
Oracle to Azure database
for PostgreSQL to reduce
overall cost of ownership by
up to 95% in savings*
Configuration is based on a 4 socket, 32 core x86 processer
Oracle Cloud Service editions are based on virtual machines
• *Oracle licensing for Enterprise Edition is based on number of
processors which is derived by multiplying the number of cores
by a factor. In the case of this example it is 32 cores multiplied by
.5 for x86 resulting in 16 processors.
• **Annual maintenance and support for Oracle is 22% of the
annual license cost.
• ***Oracle standard terms for Enterprise Edition is 50% of list
pricing for 3 years. This example accounts for the 50% list pricing
for 3 years in the total.
Project Size? > $200K ADS in FY20-21
Estimates Only
*See Notes Section
Your data journey to Azure
Source
Assessment
Azure Migrate,
CloudPilot,CloudRecon
Migration
Azure Database
Migration Service
Microsoft Azure
Seamless, end-to-end solution | Near-zero downtime | Resilient | Migrate at-scale from multiple sources
Azure migration center
Provides guidance and tools in context of your migration scenario
Enables you to:
Build a business case, find case studies
Identify the right migration strategies
Download Microsoft assessment and migration tools
Connects you to Microsoft experts
Guides you to FastTrack for Azure, Azure Migration
Program, or sales/partner rep
Azure.com/Migration
© Copyright Microsoft Corporation. All rights reserved.
Thank you for joining us

Contenu connexe

Tendances

Azure Cosmos DB Pricing 101 Infographic
Azure Cosmos DB Pricing 101 InfographicAzure Cosmos DB Pricing 101 Infographic
Azure Cosmos DB Pricing 101 InfographicNicholas Vossburg
 
Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Mohamed Tawfik
 
Designing big data analytics solutions on azure
Designing big data analytics solutions on azureDesigning big data analytics solutions on azure
Designing big data analytics solutions on azureMohamed Tawfik
 
SQL to Azure Migrations
SQL to Azure MigrationsSQL to Azure Migrations
SQL to Azure MigrationsDatavail
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed InstanceJames Serra
 
Data weekender4.2 azure purview erwin de kreuk
Data weekender4.2  azure purview erwin de kreukData weekender4.2  azure purview erwin de kreuk
Data weekender4.2 azure purview erwin de kreukErwin de Kreuk
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure Antonios Chatzipavlis
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overviewJames Serra
 
AWS Partner Webcast - Hadoop in the Cloud: Unlocking the Potential of Big Dat...
AWS Partner Webcast - Hadoop in the Cloud: Unlocking the Potential of Big Dat...AWS Partner Webcast - Hadoop in the Cloud: Unlocking the Potential of Big Dat...
AWS Partner Webcast - Hadoop in the Cloud: Unlocking the Potential of Big Dat...Amazon Web Services
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseJames Serra
 
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)Trivadis
 
Azure SQL Data Warehouse for beginners
Azure SQL Data Warehouse for beginnersAzure SQL Data Warehouse for beginners
Azure SQL Data Warehouse for beginnersMichaela Murray
 
Deep Learning Technical Pitch Deck
Deep Learning Technical Pitch DeckDeep Learning Technical Pitch Deck
Deep Learning Technical Pitch DeckNicholas Vossburg
 
DataMinds 2022 Azure Purview Erwin de Kreuk
DataMinds 2022 Azure Purview Erwin de KreukDataMinds 2022 Azure Purview Erwin de Kreuk
DataMinds 2022 Azure Purview Erwin de KreukErwin de Kreuk
 
[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...
[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...
[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...Insight Technology, Inc.
 
Big Data on Azure Tutorial
Big Data on Azure TutorialBig Data on Azure Tutorial
Big Data on Azure Tutorialrustd
 
Microsoft Azure Data Warehouse Overview
Microsoft Azure Data Warehouse OverviewMicrosoft Azure Data Warehouse Overview
Microsoft Azure Data Warehouse OverviewJustin Munsters
 

Tendances (20)

Azure Cosmos DB Pricing 101 Infographic
Azure Cosmos DB Pricing 101 InfographicAzure Cosmos DB Pricing 101 Infographic
Azure Cosmos DB Pricing 101 Infographic
 
Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services
 
Designing big data analytics solutions on azure
Designing big data analytics solutions on azureDesigning big data analytics solutions on azure
Designing big data analytics solutions on azure
 
SQL to Azure Migrations
SQL to Azure MigrationsSQL to Azure Migrations
SQL to Azure Migrations
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed Instance
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
 
Data weekender4.2 azure purview erwin de kreuk
Data weekender4.2  azure purview erwin de kreukData weekender4.2  azure purview erwin de kreuk
Data weekender4.2 azure purview erwin de kreuk
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
 
AWS Partner Webcast - Hadoop in the Cloud: Unlocking the Potential of Big Dat...
AWS Partner Webcast - Hadoop in the Cloud: Unlocking the Potential of Big Dat...AWS Partner Webcast - Hadoop in the Cloud: Unlocking the Potential of Big Dat...
AWS Partner Webcast - Hadoop in the Cloud: Unlocking the Potential of Big Dat...
 
Azure Comsos DB Use Cases
Azure Comsos DB Use CasesAzure Comsos DB Use Cases
Azure Comsos DB Use Cases
 
Azure Cosmos DB
Azure Cosmos DBAzure Cosmos DB
Azure Cosmos DB
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data Warehouse
 
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
Azure Days 2019: Grösser und Komplexer ist nicht immer besser (Meinrad Weiss)
 
Azure SQL Data Warehouse for beginners
Azure SQL Data Warehouse for beginnersAzure SQL Data Warehouse for beginners
Azure SQL Data Warehouse for beginners
 
Deep Learning Technical Pitch Deck
Deep Learning Technical Pitch DeckDeep Learning Technical Pitch Deck
Deep Learning Technical Pitch Deck
 
DataMinds 2022 Azure Purview Erwin de Kreuk
DataMinds 2022 Azure Purview Erwin de KreukDataMinds 2022 Azure Purview Erwin de Kreuk
DataMinds 2022 Azure Purview Erwin de Kreuk
 
[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...
[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...
[db tech showcase Tokyo 2017] C37: MariaDB ColumnStore analytics engine : use...
 
Big Data on Azure Tutorial
Big Data on Azure TutorialBig Data on Azure Tutorial
Big Data on Azure Tutorial
 
Microsoft Azure Data Warehouse Overview
Microsoft Azure Data Warehouse OverviewMicrosoft Azure Data Warehouse Overview
Microsoft Azure Data Warehouse Overview
 

Similaire à Azure Databases for PostgreSQL, MySQL and MariaDB on Azure

OSS DB on Azure
OSS DB on AzureOSS DB on Azure
OSS DB on Azurerockplace
 
Migrate or modernize your database applications using Azure SQL Database Mana...
Migrate or modernize your database applications using Azure SQL Database Mana...Migrate or modernize your database applications using Azure SQL Database Mana...
Migrate or modernize your database applications using Azure SQL Database Mana...ALI ANWAR, OCP®
 
Azure SQL Database
Azure SQL DatabaseAzure SQL Database
Azure SQL Databaserockplace
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmurTobias Koprowski
 
3. ami big data hadoop on ucs seminar may 2013
3. ami big data hadoop on ucs seminar may 20133. ami big data hadoop on ucs seminar may 2013
3. ami big data hadoop on ucs seminar may 2013Taldor Group
 
Azure Database Services for MySQL PostgreSQL and MariaDB
Azure Database Services for MySQL PostgreSQL and MariaDBAzure Database Services for MySQL PostgreSQL and MariaDB
Azure Database Services for MySQL PostgreSQL and MariaDBNicholas Vossburg
 
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on AzureGlobal Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on AzureKarim Vaes
 
Cepta The Future of Data with Power BI
Cepta The Future of Data with Power BICepta The Future of Data with Power BI
Cepta The Future of Data with Power BIKellyn Pot'Vin-Gorman
 
Data Estate Modernization
Data Estate ModernizationData Estate Modernization
Data Estate ModernizationKarina Matos
 
Windowsazureplatform Overviewlatest
Windowsazureplatform OverviewlatestWindowsazureplatform Overviewlatest
Windowsazureplatform Overviewlatestrajramab
 
TechWiseTV Workshop: Cisco HyperFlex Systems
TechWiseTV Workshop: Cisco HyperFlex SystemsTechWiseTV Workshop: Cisco HyperFlex Systems
TechWiseTV Workshop: Cisco HyperFlex SystemsRobb Boyd
 
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...Mydbops
 
Building Analytic Apps for SaaS: “Analytics as a Service”
Building Analytic Apps for SaaS: “Analytics as a Service”Building Analytic Apps for SaaS: “Analytics as a Service”
Building Analytic Apps for SaaS: “Analytics as a Service”Amazon Web Services
 
Datasheet - Pivot3 - HCI Family
Datasheet - Pivot3 - HCI FamilyDatasheet - Pivot3 - HCI Family
Datasheet - Pivot3 - HCI FamilyGrant Aitken
 
Streaming Real-time Data to Azure Data Lake Storage Gen 2
Streaming Real-time Data to Azure Data Lake Storage Gen 2Streaming Real-time Data to Azure Data Lake Storage Gen 2
Streaming Real-time Data to Azure Data Lake Storage Gen 2Carole Gunst
 
Megha_Osi my sql productroadmap
Megha_Osi my sql productroadmapMegha_Osi my sql productroadmap
Megha_Osi my sql productroadmapOpenSourceIndia
 
Return on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & DataReturn on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & DataMSDEVMTL
 
Webinar Slides: Geo-Scale MySQL in AWS
Webinar Slides: Geo-Scale MySQL in AWSWebinar Slides: Geo-Scale MySQL in AWS
Webinar Slides: Geo-Scale MySQL in AWSContinuent
 

Similaire à Azure Databases for PostgreSQL, MySQL and MariaDB on Azure (20)

OSS DB on Azure
OSS DB on AzureOSS DB on Azure
OSS DB on Azure
 
Migrate or modernize your database applications using Azure SQL Database Mana...
Migrate or modernize your database applications using Azure SQL Database Mana...Migrate or modernize your database applications using Azure SQL Database Mana...
Migrate or modernize your database applications using Azure SQL Database Mana...
 
Azure SQL Database
Azure SQL DatabaseAzure SQL Database
Azure SQL Database
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
 
3. ami big data hadoop on ucs seminar may 2013
3. ami big data hadoop on ucs seminar may 20133. ami big data hadoop on ucs seminar may 2013
3. ami big data hadoop on ucs seminar may 2013
 
Azure Database Services for MySQL PostgreSQL and MariaDB
Azure Database Services for MySQL PostgreSQL and MariaDBAzure Database Services for MySQL PostgreSQL and MariaDB
Azure Database Services for MySQL PostgreSQL and MariaDB
 
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on AzureGlobal Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
 
Cepta The Future of Data with Power BI
Cepta The Future of Data with Power BICepta The Future of Data with Power BI
Cepta The Future of Data with Power BI
 
Data Estate Modernization
Data Estate ModernizationData Estate Modernization
Data Estate Modernization
 
Windowsazureplatform Overviewlatest
Windowsazureplatform OverviewlatestWindowsazureplatform Overviewlatest
Windowsazureplatform Overviewlatest
 
TechWiseTV Workshop: Cisco HyperFlex Systems
TechWiseTV Workshop: Cisco HyperFlex SystemsTechWiseTV Workshop: Cisco HyperFlex Systems
TechWiseTV Workshop: Cisco HyperFlex Systems
 
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...
Choosing the Right Database: Exploring MySQL Alternatives for Modern Applicat...
 
Building Analytic Apps for SaaS: “Analytics as a Service”
Building Analytic Apps for SaaS: “Analytics as a Service”Building Analytic Apps for SaaS: “Analytics as a Service”
Building Analytic Apps for SaaS: “Analytics as a Service”
 
Datasheet - Pivot3 - HCI Family
Datasheet - Pivot3 - HCI FamilyDatasheet - Pivot3 - HCI Family
Datasheet - Pivot3 - HCI Family
 
Azure IaaS Feb 23 2016 Let's Dev This Cloud
Azure IaaS Feb 23 2016 Let's Dev This CloudAzure IaaS Feb 23 2016 Let's Dev This Cloud
Azure IaaS Feb 23 2016 Let's Dev This Cloud
 
Streaming Real-time Data to Azure Data Lake Storage Gen 2
Streaming Real-time Data to Azure Data Lake Storage Gen 2Streaming Real-time Data to Azure Data Lake Storage Gen 2
Streaming Real-time Data to Azure Data Lake Storage Gen 2
 
Megha_Osi my sql productroadmap
Megha_Osi my sql productroadmapMegha_Osi my sql productroadmap
Megha_Osi my sql productroadmap
 
Database as a Service - Tutorial @ICDE 2010
Database as a Service - Tutorial @ICDE 2010Database as a Service - Tutorial @ICDE 2010
Database as a Service - Tutorial @ICDE 2010
 
Return on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & DataReturn on Ignite 2019: Azure, .NET, A.I. & Data
Return on Ignite 2019: Azure, .NET, A.I. & Data
 
Webinar Slides: Geo-Scale MySQL in AWS
Webinar Slides: Geo-Scale MySQL in AWSWebinar Slides: Geo-Scale MySQL in AWS
Webinar Slides: Geo-Scale MySQL in AWS
 

Plus de rockplace

MySQL InnoDB Cluster 소개
MySQL InnoDB Cluster 소개MySQL InnoDB Cluster 소개
MySQL InnoDB Cluster 소개rockplace
 
락플레이스 OpenShift Q&A 토크쇼 발표자료
락플레이스 OpenShift Q&A 토크쇼 발표자료락플레이스 OpenShift Q&A 토크쇼 발표자료
락플레이스 OpenShift Q&A 토크쇼 발표자료rockplace
 
JBoss EAP on Azure Workshop
JBoss EAP on Azure Workshop JBoss EAP on Azure Workshop
JBoss EAP on Azure Workshop rockplace
 
MySQL operator for_kubernetes
MySQL operator for_kubernetesMySQL operator for_kubernetes
MySQL operator for_kubernetesrockplace
 
JBoss EAP on Azure
JBoss EAP on Azure JBoss EAP on Azure
JBoss EAP on Azure rockplace
 
[락플레이스] RHEL8.4 웨비나 발표자료
[락플레이스] RHEL8.4 웨비나 발표자료 [락플레이스] RHEL8.4 웨비나 발표자료
[락플레이스] RHEL8.4 웨비나 발표자료 rockplace
 
DB Migration to Azure Database for PostgreSQL
DB Migration to Azure Database for PostgreSQLDB Migration to Azure Database for PostgreSQL
DB Migration to Azure Database for PostgreSQLrockplace
 
DB Migration to Azure Database for MySQL
DB Migration to Azure Database for MySQLDB Migration to Azure Database for MySQL
DB Migration to Azure Database for MySQLrockplace
 
Azure Databases for PostgreSQL MYSQL and MariaDB
Azure Databases for PostgreSQL MYSQL and MariaDBAzure Databases for PostgreSQL MYSQL and MariaDB
Azure Databases for PostgreSQL MYSQL and MariaDBrockplace
 
Jenkins를 활용한 Openshift CI/CD 구성
Jenkins를 활용한 Openshift CI/CD 구성 Jenkins를 활용한 Openshift CI/CD 구성
Jenkins를 활용한 Openshift CI/CD 구성 rockplace
 
DB Migration to Azure Database for PostgreSQL
DB Migration to Azure Database for PostgreSQLDB Migration to Azure Database for PostgreSQL
DB Migration to Azure Database for PostgreSQLrockplace
 
Azure Database for MySQL
Azure Database for MySQLAzure Database for MySQL
Azure Database for MySQLrockplace
 
Azure databases for PostgreSQL, MySQL and MariaDB
Azure databases for PostgreSQL, MySQL and MariaDB Azure databases for PostgreSQL, MySQL and MariaDB
Azure databases for PostgreSQL, MySQL and MariaDB rockplace
 
Red Hat Openshift Container Platform
Red Hat Openshift Container Platform Red Hat Openshift Container Platform
Red Hat Openshift Container Platform rockplace
 
Azure Red Hat OpenShift 를 통한 더 빠르고 쉬운 애플리케이션 구축
Azure Red Hat OpenShift 를 통한 더 빠르고 쉬운 애플리케이션 구축Azure Red Hat OpenShift 를 통한 더 빠르고 쉬운 애플리케이션 구축
Azure Red Hat OpenShift 를 통한 더 빠르고 쉬운 애플리케이션 구축rockplace
 
SQL Server to Azure SQL Database Migration
SQL Server to Azure SQL Database MigrationSQL Server to Azure SQL Database Migration
SQL Server to Azure SQL Database Migrationrockplace
 
Migration to Azure Database for MySQL
Migration to Azure Database for MySQLMigration to Azure Database for MySQL
Migration to Azure Database for MySQLrockplace
 
Openshift 활용을 위한 Application의 준비, Cloud Native
Openshift 활용을 위한 Application의 준비, Cloud NativeOpenshift 활용을 위한 Application의 준비, Cloud Native
Openshift 활용을 위한 Application의 준비, Cloud Nativerockplace
 
애플리케이션 최적화를 위한 컨테이너 인프라 구축
애플리케이션 최적화를 위한 컨테이너 인프라 구축애플리케이션 최적화를 위한 컨테이너 인프라 구축
애플리케이션 최적화를 위한 컨테이너 인프라 구축rockplace
 
RHEL8의 새로운 기술, 그리고 SQL Server 2019와 함께하는 다양한 이점
RHEL8의 새로운 기술, 그리고 SQL Server 2019와 함께하는 다양한 이점RHEL8의 새로운 기술, 그리고 SQL Server 2019와 함께하는 다양한 이점
RHEL8의 새로운 기술, 그리고 SQL Server 2019와 함께하는 다양한 이점rockplace
 

Plus de rockplace (20)

MySQL InnoDB Cluster 소개
MySQL InnoDB Cluster 소개MySQL InnoDB Cluster 소개
MySQL InnoDB Cluster 소개
 
락플레이스 OpenShift Q&A 토크쇼 발표자료
락플레이스 OpenShift Q&A 토크쇼 발표자료락플레이스 OpenShift Q&A 토크쇼 발표자료
락플레이스 OpenShift Q&A 토크쇼 발표자료
 
JBoss EAP on Azure Workshop
JBoss EAP on Azure Workshop JBoss EAP on Azure Workshop
JBoss EAP on Azure Workshop
 
MySQL operator for_kubernetes
MySQL operator for_kubernetesMySQL operator for_kubernetes
MySQL operator for_kubernetes
 
JBoss EAP on Azure
JBoss EAP on Azure JBoss EAP on Azure
JBoss EAP on Azure
 
[락플레이스] RHEL8.4 웨비나 발표자료
[락플레이스] RHEL8.4 웨비나 발표자료 [락플레이스] RHEL8.4 웨비나 발표자료
[락플레이스] RHEL8.4 웨비나 발표자료
 
DB Migration to Azure Database for PostgreSQL
DB Migration to Azure Database for PostgreSQLDB Migration to Azure Database for PostgreSQL
DB Migration to Azure Database for PostgreSQL
 
DB Migration to Azure Database for MySQL
DB Migration to Azure Database for MySQLDB Migration to Azure Database for MySQL
DB Migration to Azure Database for MySQL
 
Azure Databases for PostgreSQL MYSQL and MariaDB
Azure Databases for PostgreSQL MYSQL and MariaDBAzure Databases for PostgreSQL MYSQL and MariaDB
Azure Databases for PostgreSQL MYSQL and MariaDB
 
Jenkins를 활용한 Openshift CI/CD 구성
Jenkins를 활용한 Openshift CI/CD 구성 Jenkins를 활용한 Openshift CI/CD 구성
Jenkins를 활용한 Openshift CI/CD 구성
 
DB Migration to Azure Database for PostgreSQL
DB Migration to Azure Database for PostgreSQLDB Migration to Azure Database for PostgreSQL
DB Migration to Azure Database for PostgreSQL
 
Azure Database for MySQL
Azure Database for MySQLAzure Database for MySQL
Azure Database for MySQL
 
Azure databases for PostgreSQL, MySQL and MariaDB
Azure databases for PostgreSQL, MySQL and MariaDB Azure databases for PostgreSQL, MySQL and MariaDB
Azure databases for PostgreSQL, MySQL and MariaDB
 
Red Hat Openshift Container Platform
Red Hat Openshift Container Platform Red Hat Openshift Container Platform
Red Hat Openshift Container Platform
 
Azure Red Hat OpenShift 를 통한 더 빠르고 쉬운 애플리케이션 구축
Azure Red Hat OpenShift 를 통한 더 빠르고 쉬운 애플리케이션 구축Azure Red Hat OpenShift 를 통한 더 빠르고 쉬운 애플리케이션 구축
Azure Red Hat OpenShift 를 통한 더 빠르고 쉬운 애플리케이션 구축
 
SQL Server to Azure SQL Database Migration
SQL Server to Azure SQL Database MigrationSQL Server to Azure SQL Database Migration
SQL Server to Azure SQL Database Migration
 
Migration to Azure Database for MySQL
Migration to Azure Database for MySQLMigration to Azure Database for MySQL
Migration to Azure Database for MySQL
 
Openshift 활용을 위한 Application의 준비, Cloud Native
Openshift 활용을 위한 Application의 준비, Cloud NativeOpenshift 활용을 위한 Application의 준비, Cloud Native
Openshift 활용을 위한 Application의 준비, Cloud Native
 
애플리케이션 최적화를 위한 컨테이너 인프라 구축
애플리케이션 최적화를 위한 컨테이너 인프라 구축애플리케이션 최적화를 위한 컨테이너 인프라 구축
애플리케이션 최적화를 위한 컨테이너 인프라 구축
 
RHEL8의 새로운 기술, 그리고 SQL Server 2019와 함께하는 다양한 이점
RHEL8의 새로운 기술, 그리고 SQL Server 2019와 함께하는 다양한 이점RHEL8의 새로운 기술, 그리고 SQL Server 2019와 함께하는 다양한 이점
RHEL8의 새로운 기술, 그리고 SQL Server 2019와 함께하는 다양한 이점
 

Dernier

Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 

Dernier (20)

Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 

Azure Databases for PostgreSQL, MySQL and MariaDB on Azure

  • 1. Azure Databases for PostgreSQL, MySQL and MariaDB rockPLACE DB기술2본부
  • 2. PostgreSQL, MySQL and MariaDB on Azure 소개
  • 3. State of the Open-Source DBMS Market 2022년 까지 70% 이상의 신규 개발 애플리케이션은 오픈소스 DB 를 이용할 것이며 50% 이상의 기존 업무가 상용 DB 에서 이관될 전망이다. “ Gartner | State of the Open-Source DBMS Market, 2018
  • 4. Manage risk and meet the pace of change in the cloud Manage risk and meet the pace of change in the cloud 94% 20.6% 19.6% 18.8% 1. Vanson Bourne. “The Business Impact of the Cloud” report
  • 6. Trend of Relational DBMS Popularity
  • 7. More choices and full integration into Azure’s ecosystem and services Azure database services for MySQL, PostgreSQL & MariaDB Managed community MySQL, PostgreSQL, and MariaDB Languages and frameworks of your choice Scale in seconds with built-in high availability* Unparalleled security and compliance Industry- leading global reach Easy lift and shift Enterprise ready T-SQL Java C/C++ C#/VB.NET PHP Node.js Python Ruby *Hyperscale (Citus) on Azure Database for PostgreSQL – Horizontal scale-out deployment option for single node Postgres across hundreds of nodes (blog/tech)
  • 8. Azure IaaS vs. PaaS Different Azure Data Services give you different levels of control and flexibility for your data For a high level of control including the ability to pick SQL Server and OS version, choose IaaS For automated management and administration, choose PaaS On-premises Threat detection, risk management Performance management Applications Data High availability /DR/backups Database provision/ patch/scaling O/S provision /patching Virtualization Hardware Datacenter management SQL Server 2017 MySQL/PostgreSQL /MariaDB Managed by customer Infrastructure as a service Threat detection, risk management Performance management Applications Data High availability /DR/backups Database provision/ patch/scaling O/S Virtualization Hardware Datacenter management Managed by Cloud provider Platform as a service Threat detection, risk management Performance management Applications Data High Availability/ DR/backups Database provision/ patch/scaling O/S Virtualization Hardware Datacenter management Azure SQL VMs Azure Win/ Linux VMs Azure SQL Database Azure Database for MySQL/PostgreSQL/MariaDB Azure Database platform differentiation
  • 9. SQL Data Warehouse SQL Database PostgreSQL MySQL MariaDB Database Services Platform Intelligent: advisors, tuning, monitoring Flexible: on-demand scaling, resource governance Trusted: HA/DR, backup/restore, security, audit, isolation Azure Compute Azure Storage Global Azure with 42 regions Azure relational database platform PowerBI,AppServices,DataFactory,Analytics,ML, Cognitive,Bot…
  • 10. Service tiers Service tier Basic Intended use case Built for workloads with light compute needs and variable IO performance vCore 1 2 Compute generation Gen 4, Gen 5 Storage 5GB – 1TB Magnetic media IOPS Variable
  • 11. Service tiers Service tier Basic Intended use case Built for workloads with light compute needs and variable IO performance vCore 1 2 Compute generation Gen 4, Gen 5 Storage 5GB – 1TB Magnetic media IOPS Variable General Purpose Balanced IO and compute Ideal for most business workloads offering balanced and scalable compute and storage options 2 4 8 16 32 Gen 4, Gen 5 5GB – 2TB Remote SSD 100-6000 IOPS
  • 12. Service tiers Performance Optimized Memory optimized Cache more data for faster transaction processing and higher concurrency 2 4 8 16 Gen 5 only 5GB – 2TB Remote SSD 100-6000 IOPS Service tier Basic Intended use case Built for workloads with light compute needs and variable IO performance vCore 1 2 Compute generation Gen 4, Gen 5 Storage 5GB – 1TB Magnetic media IOPS Variable General Purpose Balanced IO and compute Ideal for most business workloads offering balanced and scalable compute and storage options 2 4 8 16 32 Gen 4, Gen 5 5GB – 2TB Remote SSD 100-6000 IOPS Supported versions MySQL: 5.6, 5.7, 8.0 / MariaDB : 10.2, 10.3 PostgreSQL: 9.5, 9.6, 10, 11
  • 13.
  • 14.
  • 15. Flexible Server (Preview)  Simplify developer experiences  More Server Parameter Control  More Cost Optimization Controls  Enable Zone Resilient & Aware Applications
  • 16. Flexible Server (Preview) Single Server Flexible Server Preview Flexible Server GA Compute Options Basic, General Purpose Memory Optimized Burstable General purpose Burstable General Purpose Memory Optimized Storage Options Std and Premium storage Premium storage (remote SSD) Premium storage (remote SSD) Pause and Resume (Stop/Start) Performance Variable on basic SKUs Improved out-of-box performance Improved out-of-box performance High Availability Built-in HA (Single-AZ) Single Zone/Zone Redundant HA Single Zone/Zone Redundant HA Compatibility with Extensions (Postgres Only) Subset supported Improved High OSS Engine Version MySQL 5.7 & 8; PG11,10, 9.6, 9.5 MySQL - 5.7; PG 11&12 MySQL 5.7, 8.0; PG 11&12 VNET Integration VNET Service Endpoints N/A N/A Private Link N/A N/A BYOK Custom Maintenance Window Reservations Cross region replica PITR
  • 17. Hyperscale (Citus) Architecture Shard your PostgreSQL database across multiple nodes to give your application more memory, compute, and disk storage Easily add worker nodes to achieve horizontal scale, while being able to deliver parallelism even within each node Scale out to 100s of nodes Coordinator Table metadata Each node PostgreSQL with Citus installed 1 shard = 1 PostgreSQL table
  • 18. Scaled-out aggregate APPLICATION SELECT FROM GROUP BY company_id, avg(spend) AS avg_campaign_spend compaigns company_id; METADATA COORDINATOR NODE WORKER NODES W1 W2 W3 … Wn SELECT company_id sum(spend), count(spend) … FROM campaigns_2009 … SELECT company_id sum(spend), count(spend) … FROM campaigns_2001 … SELECT company_id sum(spend), count(spend) … FROM campaigns_2017 … Aggregating data before transactions avoids rewriting each row and can save write overhead and table bloat Bulk aggregation avoids concurrency issues
  • 19. Scale out horizontally Blazing performance Simplified infrastructure Stay current with PostgreSQL innovations Break free from the limits of single-node Postgres & scale out across 100s of nodes Ingest & query your database in real time, with sub-second responses across billions of rows Save time. Run both transactions and analytics in one database. Also, avoid the painful costs of manual sharding Developed as an open source extension, leverage all your PostgreSQL expertise and its latest innovations Worry-free PostgreSQL in the cloud with an architecture that is built to scale out Hyperscale (Citus) on Azure Database for PostgreSQL
  • 20. Key uses cases for Hyperscale (Citus) Scale beyond single node Minimize hotspots by spreading out tenants Rebalance data fully online Isolate large tenants to their own hardware Multi-tenant & SaaS applications Real-time operational analytics Transactional/OLTP applications Ingest terabytes of data per day Enable sub-second query responses Parallelize across nodes for 100x performance Simplify complex ETL processes Ensure high performance with concurrent users Avoid single points of failure Distribute transaction processes across multiple nodes Manage high volumes of transactions
  • 21. Microsoft Windows group chooses Azure Database for PostgreSQL Hyperscale to scale its vast analytics and bring quality updates to customers Windows was looking for a cloud-based database that could support the volume and velocity of transactions in its diagnostic metrics that are displayed on a real-time analytics dashboard which drives the quality of customer experiences for Windows updates. By choosing PostgreSQL Hyperscale, ship/no-ship decisions for Windows were made based on on- the-fly analytics on billions of JSON events with sub-second responses. Distributed SQL with Azure Database for PostgreSQL continues to be a game changer for Windows. Real-time analytics: 95% queries execute in <4s Response times: 75% of queries are <200ms Query volume: >6m daily
  • 23. Security built in Identity Native authentication AAD integration Threat detection Control access Secure SSL connectivity Server firewall rules Virtual networks Protect data Built-in encryption at-rest for data and backups
  • 24. VNET service endpoint # Creates the virtual network *myVNet* and subnet *mySubnet* az network vnet create -g myRG -n myVNet --address-prefixes 10.0.0.0/16 -l westus # Creates the service endpoint az network vnet subnet create -g myRG -n mySubnet --vnet-name myVNet --address-prefix 10.0.1.0/24 --service-endpoints Microsoft.SQL # Create a VNet rule on the sever to secure it to the subnet az postgres vnet-rule create --name myRule --resource-group myRG --server mypgserver-20180111 --subnet mySubnet Multi-Tenant PaaS Customer VNET IP ACL IP ACL V N E T A C L V N E T A C L Express Route Public Peering or internet (Using ACLed NAT Ips) in development VM VM VM VM VM VM GatewayVirtual Network FrontEnd Subnet HDI Subnet ! ! HDInsight BackEnd Subnet
  • 25. Certifications and standards Level 1 CSA Star Certification SOC 2 Type 2
  • 26. Built-in high availability Azure Storage Data Data Data Data Gateway Application Application PostgreSQL Client MySQL Client server=server.mysql.database.azure.com MySQL IP:3306 PGSQL IP:5432 Server provisioning And management US West MySQL or PostgreSQL ServerMySQL or PostgreSQL Server Azure Database Management Service
  • 27. High availability and scale = $285 vs $262 = High-availability High-availability
  • 28. High availability in AWS RDS vs. ADS AWS RDS with a 99.95% SLA is 2x more expensive* than Azure Database for MySQL/PostgreSQL High availability High availability
  • 29. Scale performance on the fly MySQL/MariaDB: 3306 PostgreSQL: 5432 Azure Storage Server Server
  • 33. Server logs (MySQL and MariaDB) • Enable slow_query_log for insights on slow queries (disabled by default) • Logs are available for up to seven days from their creation. If the total size of the available logs exceeds 7 GB, then the oldest files are deleted until space is available. • New log files are created every 24 hours. • Log files are rotated after the 7 GB limit is reached. Built-in server logs for troubleshooting database errors or performance issues
  • 34. Server logs (PostgreSQL) • Configure log_retention_days (3-7 days) to define the retention period for system logs • Configure log_statement to “ALL” for analyzing performance issues • log_min_duration_statement lets you specify the minimum execution time (in milliseconds) above which statements will be logged. • Consumes server provisioned storage • The log files rotate every one hour or 100 MB size, whichever comes first. Built-in server logs for troubleshooting database errors or performance issues
  • 35. Replication (MySQL) Replica 1 Replica 2 Replica 3 Replica 4 BI Read Write Read Native MySQL Replication Replica
  • 36. OSS DBs Migration Strategy
  • 37. Inventory database assets, and application stack discovery Assess workloads and fix recommendations Convert the source schema to work in the target environment. This is only relevant for heterogeneous migrations. Remediate applications Iteratively make any necessary changes to your applications Run functional & performance tests Iteratively run functional and performance tests Optimize Based on the tests you performed, address any performance issues, and then retest to confirm the performance improvements Pre-migration Discover Assess Convert Migrate the source schema, and then migrate the source data to the target Sync your target schema and data with the source. This is only relevant for minimal-downtime migrations Cut over from the source to the target environment. This is only relevant for minimal-downtime migrations Migrate schema, data & objects Data sync Cutover Migration Post-migration Migration | Migrating a database
  • 38. Details on migration phase Activity Exit criteria Customer involvement MSFT involvement Partner? timelines Premigration Discover Inventory of the DBs with their hardware specs and versioning. Application dependencies with downstream and upstream identified Access to the infra, Business attestation Provide partner tools to be executed Need basis – unifycloud, movere 2-3 days Assess Identified App architecture. Defined RTO, RPO. DB Features identified with Business reason. Resource utilization, concurrent users etc details identified Business, App and DB team interview. High Level architecture to be provided Provide questionnaires, reference architectures, Case studies Need basis. Application vendor needed for app details 1-2 days Schema Assess and convert Schema Objects, Data types and feature identified with target types. Converted the schema and remediate issues DB team None if partner involved, else Provide resources to execute None if being done by own self or with MS support 1 week Migration Migrate Objects & Data Migrated data and programming objects like procedures, functions etc. DB team None if partner involved, else Provide resources to execute None if being done by own self or with MS support 1 week Data Sync Decide Offline or Online migration and data sync procedure identified DB team Data migration service Striim, attunity 1-2 days setup cutover Application changed to target DB. Smoke testing done. Data validation and checksum done. DB team, App team If applicable If applicable 1 day PostMigration Remediate Application s App code has better or same performance and efficiency DB team, App team Product team needed for service related If applicable 2-3 days Testing Business testing done and UAT signoff given End Users, DB team, App team Product team needed for service related If applicable 2-3 days Optimize Bugs and issues resolved, improve and utilize features in the target DB like extensions,partitioning or indexes End Users, DB team, App team Product team needed for service related If applicable 2-3 days
  • 39. DB 이행 전략 제시 # 분석(Assessment) 단계에서 As-Is 및 To-Be 환경에 대한 분석을 통해 DB 이행에 대한 비즈니스 요구 사항을 산출하는 작업을 진행 # 진단 및 계획 단계에서 DB 이행에 대한 호환성 체크 및 M/M를 산출하는 작업을 진행 # 이행(Migration) 단계에서 DBMS에 대한 스키마 / 데이터 및 오브젝트 들에 대하여 전환 작업을 수행 # 성능 및 기능 검증 및 튜닝 단계에서 이행을 통한 데이터의 정합성을 확보하고 이행된 데이터에 대하여 튜닝 작업을 수행 # 기능 테스트 성능테스트 # Migration 사항에 대한 교육 및 기술이전
  • 40. Migration Process Overview 1) 환경 분석 진단 및 계획 마이그레이션 교육 및 기술이전환경분석 기존환경분석 TO-BE 구성 * 이행 대상시스템 환경 구축 * DBMS 현황 분석 * 현황 분석을 통한 이행 접근 방법 수립 * 데이터 이행 요건 정의 AS-IS 분석 검증 및 튜닝
  • 41. Migration Process Overview 2) 진단 및 계획 마이그레이션 검증 및 튜닝 교육 및 기술이전 계획 수립 평가 및 계획 * 영향도 평가 * 위험요소 진단 및 계획 수립 * 서비스 분석 * 스키마 / 데이터 * DB 오브젝트 진단 진단 및 계획 * 단계별 계획 수립 환경분석
  • 42. Migration Process Overview 2) 진단 및 계획 마이그레이션 교육 및 기술이전 계획 수립 평가 및 계획 * 영향도 평가 * 위험요소 진단 및 계획 수립 * 서비스 분석 * 스키마 / 데이터 * DB 오브젝트 진단 진단 및 계획 * 단계별 계획 수립 환경분석 오브젝트 수 개수 난이도 테이블 350 함수 200 프로시저 200 뷰 60 패키지 3 시퀀스 40 합계 835 오브젝트 수 기준으로 한 산정 (경험치) 검증 및 튜닝
  • 43. Migration Process Overview 3) 마이그레이션 스키마 & 데이터 이관 TOOL * Mysqldump/pump * Workbench * Pgdump * Ora2pg * Sqlines * Azure DMS * 스키마 변환 * DB 오브젝트 변환 * 데이터 이관 변환 및 이관 마이그레이션 1) 기존 Connection Method 변경 # Old Connection Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost: 1521:xe”,”scott”,”tiger”); # New Connection Class.forName("com.edb.Driver"); Connection con = DriverManager.getConnection("jdbc:edb://localhost: 5444/edb“,"enterprisedb","enterprisedb"); 2) 비호환 SQL문 처리 1) Schema Migration 4) Migration Fail * Migration Toolkit 데이터 처리 2) 비호환 문법 처리 5) Data & Objects 비교 * Migration log file 3) Data Migration * Migration Toolkit * dblink_ora_copy
  • 44. Migration Process Overview 4) 검증 및 튜닝 마이그레이션 교육 및 기술이전 튜닝, 성능시험 튜닝 * 애플리케이션 * WEB / WAS * DBMS * 기능/성능 테스트 검증 * 성능 리포트 환경분석 검증 및 튜닝진단 및 계획
  • 45. Migration Process Overview 5) 교육 및 기술이전 마이그레이션 교육 산출물 * 운영 가이드 * 개발 가이드 * 프로젝트 결과보고서 * 프로젝트 진행시 작성되는 Working 산출물 * 마이그레이션 교육을 통한 기술 이전 교육 내용 환경분석 진단 및 계획 검증 및 튜닝 교육 및 기술이전
  • 46. Migration methods MySQL dump and PG dump Native commands, no additional setup Migration wizard Native or 3rd party tools Replication Attunity, near-zero down time migration Azure Database Migration Service here
  • 48. CloudPilot 을 이용한 Assessment Cloud 적합도 코드 변경사항 비용 어플리케이션 데이타베이스 Modernization Option: 1) VM, 2) Container, 3) App Service 활용 방식에 대해 Cloud 적합도, 필요 코드 변경사항, 비용 분석 DB Modernization Option: 1) Oracle DB To AzurePostgre, 2) SQL DB to 3 Cases (Azure SQL, SQL VM, SQL Managed Instance), 3) MySQL to AzureMySQL 활용 방식에 대해 Cloud 적합도, 필요 코드 변경사항, 비용 분석
  • 49. Modernization 사전 평가 항목  어플리케이션 상관도 분석 및 Dashboard 제시
  • 50. 절차 및 소요일정  고객사 Needs 및 일정에 따라 App 및 DB 진단을 동시 혹은 선택적으로 진행가능  CloudPilot Client 설치 필요 (CloudRecon TCO 추가 분석시 AzureMigate로 데이터 수집 필요)  국내 전문 파트너사와 함께 진단결과 및 App/DB Modernization 방안 제언  진단을 위한 환경 준비 및 분석 어플리케이션 개수/DB Schema 등에 따라 소요일정은 유동적이나 리포트 공유 및 제언까지 평균 2주 정도 소요 예상 XML for App Scan JSON for DB Scan
  • 51. 고객 준비 사항 CloudRecon (Inventory Collection via Azure Migrate appliance) CloudPilot (DB assessment) H/W 3 Options available - Physical machine : 80 GB / 32GB of RAM / CPU(8 cores) / 외부가상스위치 - VMware : 80GB(OVA 11.6GB) / 32GB of RAM / CPU(8 cores) / 외부가상스위치 - Hyper-V : 80GB (VHD 10.4 GB) / 16GB of RAM / CPU(8 cores) / 외부가상스위치 8GB of RAM, CPU (2 cores) OS and Pre-requisite OS : Windows Server 2016, Physical machine에 설치시 Powershell script 실행 필요 상관도 분석 - 각 서버에 MMA (Microsoft Monitoring Agent) 설치 필요 - Vmware는 Agentless 방식으로 설치 필요치 않음 OS : Windows 8 & above 필수 설치 software - PowerShell v5.0 이상 - .NET Framework v4.5 이상 Oracle DB의 경우 필요 S/W - Ora2PG(v20 이후 버전) - Strawberry Perl(v5.30.11 이후 버전) - Oracle Database 19c Client (19.3) CloudRecon (Inventory Collection via Azure Migrate appliance) CloudPilot (DB assessment) 사용 계정 Azure Global admin (Project 생성) DB administrator or Sysadmin 권한이 있는 계정 필요 정보 Assessment 대상 DB server 정보 - OS type (windows / Linux) - FQDN or IP 주소 - 관리자 계정 (administrator or root) : Domain join된 경우 Domain admin 계정 사용 가능 Assessment 대상 DB server 정보 - FQDN or IP 주소 - DB administrator (sysadm) credential HW, OS 및 필수 소프트웨어 계정 및 필요정보 네트워크 포트 참조) CloudRecon과 CloudPilot 의 OS & 필수 소프트웨어 충족시 1대의 H/W에서 동시 사용 가능  내/외부  HTTP/SSL 443 (inbound / outbound data transfer)
  • 52. 평가 항목 및 결과 상세 - APP  어플리케이션의 VMs, Containers, PaaS (AppService)로의 마이그레이션 적합도
  • 53. 평가 항목 및 결과 상세 - APP  어플리케이션의 VMs, Containers, PaaS (AppService)로의 마이그레이션시 변경필요 코드 및 공수
  • 54. 평가 항목 및 결과 상세 - APP  어플리케이션의 VMs, Containers, PaaS (AppService)로의 마이그레이션시 코드 변경 가이드 제시
  • 55. 평가 항목 및 결과 상세 - APP  어플리케이션의 VMs, Containers, PaaS (AppService)로의 마이그레이션시 비용 비교
  • 56. 평가 항목 및 결과 상세 – DB (SQL to Azure SQL)  데이터베이스의 Azure 로의 마이그레이션 시 적합도 및 비용 제시
  • 57. 평가 항목 및 결과 상세 – DB (SQL to Azure SQL)  데이터베이스의 Azure PaaS로의 마이그레이션 시 상세 가이드 제시
  • 58. 평가 항목 및 결과 상세 – DB (Oracle to Azure PostgreSQL)  데이터베이스의 Azure PaaS로의 마이그레이션 시 적합도 및 비용 제시
  • 59. 평가 항목 및 결과 상세 – DB (Oracle to Azure PostgreSQL)  데이터베이스의 Azure PaaS로의 마이그레이션 시 상세 가이드 제시
  • 60. 평가 항목 및 결과 상세 – DB (Oracle to Azure PostgreSQL)  데이터베이스의 Azure PaaS로의 마이그레이션 시 상세 가이드 제시 (Best Practices, Detailed Recommendation)
  • 61. 평가 항목 및 결과 상세 – DB (Oracle to Azure PostgreSQL)  TCO 분석
  • 63. Migrate PostgreSQL to Azure Database for PostgreSQL 덤프 내보내기 가져오기 Azure Database Migration Service - 데이터 동기화를 위해 기존 테이블에 기본 키 필요 - 대상 스키마에서 외래키 제거 - 대상 PostgreSQL 에서 트리거 사용 안 함 1. Pg_dump를 이용한 on-premise db백업 2. Pg_restore 를 이용한 Azure로 복원 1. Pg_dump 유틸리티를 사용하여 스키마 마이그레이션 2. Azure DMS 인스턴스 생성 3. Azure DMS 프로젝트 생성 4. 마이그레이션 실행 5. 마이그레이션 모니터링 6. 마이그레이션 컷오버 수행 - DB 정합성을 위해 서비스 중지 필요 - 특정 table만 마이그레이션 가능 - 복원 속도 향상을 위해 백업 시 -Fc 옵션 사용 On-premise PostgreSQL Azure for PostgreSQL 특징 및 주의사항특징 및 주의사항 - Azure Database Migration Service는 온라인 마이그레이션만 지원 - As-is 와 To-be의 상위 버전은 동일 해야함 - Azure Database for PostgreSQL 지원버전(9.5, 9.6, 10, 11)
  • 64. Migrate Oracle to Azure Database for PostgreSQL Ora2pg Azure Database Migration Service (Preview) - On-premise Oracle 과 Azure의 PostgreSQL을 동기화 - Oracle Archive Mode 설정 필요 - Oracle Supplemental Logging 설정 필요 1. Ora2pg 도구를 이용한 Assessment 2. Ora2pg 도구를 이용한 스키마 마이그레이션 3. Ora2pg 도구를 이용한 데이터 마이그레이션 1. Ora2pg 도구를 사용하여 스키마 마이그레이션 2. Azure DMS 인스턴스 생성 3. Azure DMS 프로젝트 생성 4. 마이그레이션 실행 5. 마이그레이션 모니터링 6. 마이그레이션 컷오버 수행 - 사전 준비사항 : Oracle Client, Perl 5.10이상, DBI Perl module, DBD::Oracle Perl - PL/SQL to PL/pgSQL 변환 On-premise Oracle Azure for PostgreSQL 특징 및 주의사항특징 및 주의사항 - Windows 또는 Linux 에 ora2pg 를 다운로드 하고 설치 - Ora2pg 설치하기 전에 Oracle, PostgreSQL 드라이버 설치 필요 - 성능 향상을 위해 Oracle 서버에서 통계정보 수집 필요
  • 65. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 66. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 67. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 68. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 69. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 70. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 71. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 72. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 73. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 74. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 75. Migrate Oracle to Azure Database for PostgreSQL (DMS)
  • 76. Migrate MySQL to Azure Database for MySQL 덤프 내보내기 가져오기 Azure Database Migration Service - On-premise와 Azure의 DB를 동기화 - 가동 중지 시간의 최소화 - MySQL 8.0 으로의 마이그레이션은 지원되지 않음 1. mysqldump를 이용한 on-premise db백업 2. mysql를 이용한 Azure로 복원 1. Mysqldump or Workbench 도구 사용하여 스키마 마이그레이션 2. Azure DMS 인스턴스 생성 3. Azure DMS 프로젝트 생성 4. 마이그레이션 실행 5. 마이그레이션 컷오버 수행 - DB 정합성을 위해 서비스 중지 필요 - 특정 table만 마이그레이션 가능 On-premise MySQL Azure for MySQL 특징 및 주의사항특징 및 주의사항 - Azure Database for MySQL 은 InnoDB 엔진만 지원 - As-is 와 To-be의 상위 버전은 동일해야함 - Azure Database for MySQL 지원버전(5.6, 5.7, 8.0)
  • 77. Oracle to PostgreSQL | Cost of Ownership Oracle Database Cloud Service Enterprise Edition Oracle Database Cloud Service Enterprise Edition High Performance Oracle Enterprise Edition Azure Database for PostgreSQL Database $9,599 / month $19,801 / month $47,500* / per CPU $2,046.34 / month Virtual Private Database Included Included Included Row level security Partitioning Not included Included $11,500* / per CPU Included Data Guard Not included Not included $11,500* / per CPU Included Spatial Not included Included $17,500* / per CPU Included Diagnostics Included Included $7,500* / per CPU Included Tuning Pack Included Included $5,000* / per CPU Included Lifecycle Management Pack Not included Included $12,000* / per CPU Included as part of OSS tool suite Total Capex $0 $0 $1,800,000* $0 Annual Support / Maintenance per Server (Opex) Included Included $396,000** Included Total 3 Year Cost of Ownership $345,564 $712,836 $3,294,000*** $73,668 Savings with Azure (approx.) 80% 90% 95% NA Customers migrate from Oracle to Azure database for PostgreSQL to reduce overall cost of ownership by up to 95% in savings* Configuration is based on a 4 socket, 32 core x86 processer Oracle Cloud Service editions are based on virtual machines • *Oracle licensing for Enterprise Edition is based on number of processors which is derived by multiplying the number of cores by a factor. In the case of this example it is 32 cores multiplied by .5 for x86 resulting in 16 processors. • **Annual maintenance and support for Oracle is 22% of the annual license cost. • ***Oracle standard terms for Enterprise Edition is 50% of list pricing for 3 years. This example accounts for the 50% list pricing for 3 years in the total. Project Size? > $200K ADS in FY20-21 Estimates Only *See Notes Section
  • 78. Your data journey to Azure Source Assessment Azure Migrate, CloudPilot,CloudRecon Migration Azure Database Migration Service Microsoft Azure Seamless, end-to-end solution | Near-zero downtime | Resilient | Migrate at-scale from multiple sources
  • 79. Azure migration center Provides guidance and tools in context of your migration scenario Enables you to: Build a business case, find case studies Identify the right migration strategies Download Microsoft assessment and migration tools Connects you to Microsoft experts Guides you to FastTrack for Azure, Azure Migration Program, or sales/partner rep Azure.com/Migration
  • 80. © Copyright Microsoft Corporation. All rights reserved. Thank you for joining us