SlideShare a Scribd company logo
Azure Databases for PostgreSQL,
MySQL and MariaDB
| ์†Œ์† : ๋ฝํ”Œ๋ ˆ์ด์Šค
| ๋‚ ์งœ : 2021๋…„ 06์›” 16์ผ
Agenda
Azure Databases for OSS DB
1
1
2
2
4
4
3
3
Azure Databases Service Features
OSS DBs Migration Strategy
Pre-Migration
5
5 Migration
Agenda
Azure Databases for OSS DB
1
1
2
2
4
4
3
3
Azure Databases Service Features
OSS DBs Migration Strategy
Pre-Migration
5
5 Migration
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
Azure database services for MySQL, PostgreSQL & MariaDB
More choices and full integration into Azureโ€™s ecosystem and services
T-SQL
Java
C/C++
C#/VB.NET
PHP
Node.js
Python
Ruby
Managed
community MySQL,
PostgreSQL, and
MariaDB
Languages and
frameworks of your
choice
Easy lift and shift
Scale in
seconds with
built-in high
availability*
Unparalleled
security and
compliance
Industry-
leading
global reach
Enterprise ready
*Hyperscale (Citus) on Azure Database for PostgreSQL โ€“ Horizontal scale-out deployment option for single node Postgres across hundreds of nodes (blog/tech)
SQL Server 2017
MySQL/Postgre
SQL/MariaDB
Azure SQL VMs
Azure Win/
Linux VMs
Azure laaS 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 Infrastructure
as a service
Platform
as a service
Threat detection,
risk management
Performance
management
Applications
Data
High availability
/DR/backups
Database provision/
patch/scaling
O/S provision
/patching
Virtualization
Hardware
Datacenter
management
Managed by customer
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
Threat detection,
risk management
Performance
management
Applications
Data
High Availability/
DR/backups
Database provision/
patch/scaling
O/S
Virtualization
Hardware
Datacenter
management
Azure SQL Database
Azure Database for
MySQL/PostgreSQL/MariaDB
Azure Database
platform differentiation
Azure relational database platform
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
Power
BI,
App
Services,
Data
Factory,
Analytics,
ML,
Cognitive,
Botโ€ฆ
Service tiers
Service tier Basic
Intended use case
Built for workloads with light comp
ute needs and variable IO performa
nce
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 comp
ute needs and variable IO performa
nce
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 transact
ion processing and higher concurre
ncy
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 comp
ute needs and variable IO performa
nce
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.6, 10, 11
MySQL & Postgres deployment options being anounced
Flexible Server (Preview)
๏ฌ Simplify developer experiences
๏ฌ More Server Parameter Control
๏ฌ More Cost Optimization Controls
๏ฌ Enable Zone Resilient & Aware
Applications
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
Aggregating data before transactions avoids rewriting each row and can save write
overhead and table bloat
Bulk aggregation avoids concurrency issues
APPLICATION
SELECT
FROM
GROUP BY
company_id,
avg(spend) AS avg_campaign_spend
compaigns
company_id;
METADATA
COORDINATOR NODE
WORKER NODES
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 โ€ฆ
W1
W2
W3 โ€ฆ Wn
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
Agenda
Azure Databases for OSS DB
1
1
2
2
4
4
3
3
Azure Databases Service Features
OSS DBs Migration Strategy
Pre-Migration
5
5 Migration
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
Gateway
Virtual 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
Server
MySQL 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
High availability
AWS RDS with a
99.95% SLA is 2x
more expensive*
than Azure
Database for
MySQL/PostgreSQL
High availability
Availability
Max
Downtime
99.95% 4.38 hours
99.99% 53 minutes
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
Agenda
Azure Databases for OSS DB
1
1
2
2
4
4
3
3
Azure Databases Service Features
OSS DBs Migration Strategy
Pre-Migration
5
5 Migration
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
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
์ง„๋‹จ ๋ฐ ๊ณ„ํš ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๊ฒ€์ฆ ๋ฐ ํŠœ๋‹
ํ™˜๊ฒฝ๋ถ„์„
4) ๊ต์œก ๋ฐ ๊ธฐ์ˆ ์ด์ „
๊ต์œก ๋ฐ ๊ธฐ์ˆ ์ด์ „
๊ต์œก
์‚ฐ์ถœ๋ฌผ
* ์šด์˜ ๊ฐ€์ด๋“œ
* ๊ฐœ๋ฐœ ๊ฐ€์ด๋“œ
* ํ”„๋กœ์ ํŠธ ๊ฒฐ๊ณผ๋ณด๊ณ ์„œ
* ํ”„๋กœ์ ํŠธ ์ง„ํ–‰ ์‹œ
์ž‘์„ฑ๋˜๋Š” Working
์‚ฐ์ถœ๋ฌผ
* ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๊ต์œก์„
ํ†ตํ•œ ๊ธฐ์ˆ  ์ด์ „
๊ต์œก๋‚ด์šฉ
Agenda
Azure Databases for OSS DB
1
1
2
2
4
4
3
3
Azure Databases Service Features
OSS DBs Migration Strategy
Pre-Migration
5
5 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 (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 ๋ถ„์„
Agenda
Azure Databases for OSS DB
1
1
2
2
4
4
3
3
Azure Databases Service Features
OSS DBs Migration Strategy
Pre-Migration
5
5 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.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 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
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
*See Notes Section
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 Da
tabase
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 Manage
ment 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 Azur
e (approx.)
80% 90% 95% NA
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
Thank you

More Related Content

PDF
DB Migration to Azure Database for MySQL
PPTX
Azure Database for MySQL
PPTX
DB Migration to Azure Database for PostgreSQL
PDF
Migration to Azure Database for MySQL
PDF
SQL Server to Azure SQL Database Migration
PDF
๊ณต๊ฐœ์†Œํ”„ํŠธ์›จ์–ด DBMS์— ๋Œ€ํ•œ ์ฃผ์š” ๋„์ž… ๋ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์‚ฌ๋ก€
PPTX
Azure databases for PostgreSQL, MySQL and MariaDB
PDF
DB Migration to Azure Database for PostgreSQL
DB Migration to Azure Database for MySQL
Azure Database for MySQL
DB Migration to Azure Database for PostgreSQL
Migration to Azure Database for MySQL
SQL Server to Azure SQL Database Migration
๊ณต๊ฐœ์†Œํ”„ํŠธ์›จ์–ด DBMS์— ๋Œ€ํ•œ ์ฃผ์š” ๋„์ž… ๋ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์‚ฌ๋ก€
Azure databases for PostgreSQL, MySQL and MariaDB
DB Migration to Azure Database for PostgreSQL

What's hot (19)

PDF
[124]๋„ค์ด๋ฒ„์—์„œ ์‚ฌ์šฉ๋˜๋Š” ์—ฌ๋Ÿฌ๊ฐ€์ง€ Data Platform, ๊ทธ๋ฆฌ๊ณ  MongoDB
PDF
20130716 AWS Meister re:Generate - Amazon Redshift (Korean)
PDF
[์›จ๋น„๋‚˜] ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ˆ˜ํ–‰ ์‹œ ๊ฐ€์žฅ ๋งŽ์ด ํ•˜๋Š” ์งˆ๋ฌธ Top 10!
PDF
MySQL operator for_kubernetes
PDF
๊ฒŒ์ž„ ์„œ๋น„์Šค๋ฅผ ์œ„ํ•œ AWS์ƒ์˜ ๊ณ ์„ฑ๋Šฅ SQL ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ตฌ์„ฑ (์ด์ •ํ›ˆ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ, AWS) :: Gaming on AWS 2018
PDF
20140806 AWS Meister BlackBelt - Amazon Redshift (Korean)
PDF
NetApp AI Control Plane
PDF
[์˜คํ”ˆ์†Œ์Šค์ปจ์„คํŒ…] About Storage Cloud
PDF
Kubernetes & Istio in Multi-Cloud
PDF
AWS ํ™˜๊ฒฝ์—์„œ MySQL Infra ์„ค๊ณ„ํ•˜๊ธฐ-2๋ถ€.๋ณธ๋ก 
PPTX
0222 ์‚ฌ๋‚ด์„ธ๋ฏธ๋‚˜_์˜ค์ •๋ฏผ แ„‰แ…ณแ„‘แ…ณแ„…แ…ตแ†ผแ„‹แ…ตแ†ซแ„‹แ…ขแ†จแ„‰แ…งแ†ซ
ย 
PDF
[์˜คํ”ˆ์†Œ์Šค์ปจ์„คํŒ…] 2019๋…„ ํด๋ผ์šฐ๋“œ ์ƒ์กด์ „๋žต
PDF
๋„ฅ์Šจ ๊ธ€๋กœ๋ฒŒ ํ”Œ๋žซํผ ๊ตฌ์ถ• ์ด์•ผ๊ธฐ : DB Migration case study (์ž„ํ˜„์ˆ˜ ํ”Œ๋žซํผ์ธํ”„๋ผ์‹ค Technical Manager, ๋„ฅ...
PDF
[์˜คํ”ˆ์†Œ์Šค์ปจ์„คํŒ…] AWS re:Invent 2018 ๊ธฐ๊ณ„ํ•™์Šต(ML)๋ถ€๋ถ„ ํ›„๊ธฐ
PDF
AWS Cloud Design Pattenr (Korean) - CDP Seminar in Korea
PPTX
Scalable system design patterns
PDF
ํด๋ผ์šฐ๋“œ ์ปดํ“จํŒ… ๊ธฐ๋ฐ˜ ๊ธฐ์ˆ ๊ณผ ์˜คํ”ˆ์Šคํƒ(Kvm) ๊ธฐ๋ฐ˜ Provisioning
PPTX
Scalable web architecture
PPSX
Cubrid Inside 5th Session 4 Replication
ย 
[124]๋„ค์ด๋ฒ„์—์„œ ์‚ฌ์šฉ๋˜๋Š” ์—ฌ๋Ÿฌ๊ฐ€์ง€ Data Platform, ๊ทธ๋ฆฌ๊ณ  MongoDB
20130716 AWS Meister re:Generate - Amazon Redshift (Korean)
[์›จ๋น„๋‚˜] ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ˆ˜ํ–‰ ์‹œ ๊ฐ€์žฅ ๋งŽ์ด ํ•˜๋Š” ์งˆ๋ฌธ Top 10!
MySQL operator for_kubernetes
๊ฒŒ์ž„ ์„œ๋น„์Šค๋ฅผ ์œ„ํ•œ AWS์ƒ์˜ ๊ณ ์„ฑ๋Šฅ SQL ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๊ตฌ์„ฑ (์ด์ •ํ›ˆ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ, AWS) :: Gaming on AWS 2018
20140806 AWS Meister BlackBelt - Amazon Redshift (Korean)
NetApp AI Control Plane
[์˜คํ”ˆ์†Œ์Šค์ปจ์„คํŒ…] About Storage Cloud
Kubernetes & Istio in Multi-Cloud
AWS ํ™˜๊ฒฝ์—์„œ MySQL Infra ์„ค๊ณ„ํ•˜๊ธฐ-2๋ถ€.๋ณธ๋ก 
0222 ์‚ฌ๋‚ด์„ธ๋ฏธ๋‚˜_์˜ค์ •๋ฏผ แ„‰แ…ณแ„‘แ…ณแ„…แ…ตแ†ผแ„‹แ…ตแ†ซแ„‹แ…ขแ†จแ„‰แ…งแ†ซ
ย 
[์˜คํ”ˆ์†Œ์Šค์ปจ์„คํŒ…] 2019๋…„ ํด๋ผ์šฐ๋“œ ์ƒ์กด์ „๋žต
๋„ฅ์Šจ ๊ธ€๋กœ๋ฒŒ ํ”Œ๋žซํผ ๊ตฌ์ถ• ์ด์•ผ๊ธฐ : DB Migration case study (์ž„ํ˜„์ˆ˜ ํ”Œ๋žซํผ์ธํ”„๋ผ์‹ค Technical Manager, ๋„ฅ...
[์˜คํ”ˆ์†Œ์Šค์ปจ์„คํŒ…] AWS re:Invent 2018 ๊ธฐ๊ณ„ํ•™์Šต(ML)๋ถ€๋ถ„ ํ›„๊ธฐ
AWS Cloud Design Pattenr (Korean) - CDP Seminar in Korea
Scalable system design patterns
ํด๋ผ์šฐ๋“œ ์ปดํ“จํŒ… ๊ธฐ๋ฐ˜ ๊ธฐ์ˆ ๊ณผ ์˜คํ”ˆ์Šคํƒ(Kvm) ๊ธฐ๋ฐ˜ Provisioning
Scalable web architecture
Cubrid Inside 5th Session 4 Replication
ย 
Ad

Similar to Azure Databases for PostgreSQL MYSQL and MariaDB (20)

PDF
SK Telecom - ๋ง๊ด€๋ฆฌ ํ”„๋กœ์ ํŠธ TANGO์˜ ์˜คํ”ˆ์†Œ์Šค ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ „ํ™˜ ์—ฌ์ • - ๋ฐœํ‘œ์ž : ๋ฐ•์Šน์ „, Project Manager, ...
PDF
์‹ ๊ทœ ์‹œ์žฅ ๊ฐœ์ฒ™๊ณผ ํด๋ผ์šฐ๋“œ Offering์„ ์œ„ํ•œ AWS ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค ์ดํ•ด (์ตœ์œ ์ • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ, AWS) :: ...
PDF
๋น…๋ฐ์ดํ„ฐ ์ธ๊ณต์ง€๋Šฅ ์ „๋žต ๋ฐ ๋กœ๋“œ๋งต
ย 
PDF
๋ณ€ํ™”์™€ ํ˜์‹ ์„ ์œ„ํ•œ ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ โ€“ ๊น€์ง„์šฐ AWS ์–ด์นด์šดํŠธ ๋งค๋‹ˆ์ €, ์ด์•„์˜ ๋„ค์˜ค์œ„์ฆˆ ๊ฐ€๋ฒ„๋„ˆ์ŠคํŒ€ ํŒ€์žฅ, ๋ฐ•์ฃผํฌ ์šฐ์•„ํ•œํ˜•์ œ๋“ค ์‹œ์Šคํ…œ์‹ ...
PDF
๋ฐ์ดํ„ฐ ๋ถ„์„๊ฐ€๋ฅผ ์œ„ํ•œ ์‹ ๊ทœ ๋ถ„์„ ์„œ๋น„์Šค - ๊น€๊ธฐ์˜, AWS ๋ถ„์„ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ / ๋ณ€๊ทœํ˜„, ๋‹น๊ทผ๋งˆ์ผ“ ์†Œํ”„ํŠธ์›จ์–ด ์—”์ง€๋‹ˆ์–ด :: AWS r...
PDF
SQL Server 2019 on RHEL Overview & Case Study
PDF
[Games on AWS 2019] AWS ์ž…๋ฌธ์ž๋ฅผ ์œ„ํ•œ ์ดˆ๋‹จ๊ธฐ ๋ ˆ๋ฒจ์—… ํŠธ๋ž™ | AWS ๋ ˆ๋ฒจ์—… ํ•˜๊ธฐ! : ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค - ๋ฐ•์ฃผ์—ฐ AWS ์†”...
PDF
AWS CLOUD 2017 - Amazon Redshift ๊ธฐ๋ฐ˜ DW ์™€ ๋น„์ง€๋‹ˆ์Šค ์ธํ…”๋ฆฌ์ „์Šค ๊ตฌํ˜„ ๋ฐฉ๋ฒ• (๊น€์ผํ˜ธ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ)
PDF
[Pgday.Seoul 2018] replacing oracle with edb postgres
PDF
All about Data Center Migration Session 1. <Case Study> ์˜ค๋น„๋งฅ์ฃผ ์‚ฌ๋ก€๋กœ ์•Œ์•„๋ณด๋Š” DC ๋งˆ์ด๊ทธ๋ ˆ...
PDF
์›Œํฌ๋กœ๋“œ์— ๋งž๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ฐพ๊ธฐ - ๋ฐ•์ฃผ์—ฐ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ, AWS :: AWS Summit Seoul 2019
PDF
DB๊ด€์ ์—์„œ ๋ณธ ๋น…๋ฐ์ดํ„ฐ (2019๋…„ 8์›”)
PDF
Aurora MySQL Backtrack์„ ์ด์šฉํ•œ ๋น ๋ฅธ ๋ณต๊ตฌ ๋ฐฉ๋ฒ• - ์ง„๊ต์„  :: AWS Database Modernization Day ์˜จ๋ผ์ธ
PPTX
๋งˆ์ดํฌ๋กœ์„œ๋น„์Šค ์•„ํ‚คํ…์ฒ˜๋กœ ๊ฐœ๋ฐœํ•˜๊ธฐ
PDF
[TD 2015] Microsoft Azure IaaS v2(์ตœ์ •ํ˜„)
PDF
VMware on IBM Cloud ์›จ๋น„๋‚˜ ๋ฐœํ‘œ์ž๋ฃŒ ์ž…๋‹ˆ๋‹ค.
PDF
Session 1. ๋””์ง€ํ„ธ ํŠธ๋ Œ์Šคํฌ๋ฉ”์ด์…˜์˜ ํ•ต์‹ฌ, ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ A to Z - ๋ฒ ์Šคํ•€๊ธ€๋กœ๋ฒŒ ์ด๊ทผ์šฐ ์œ„์›
PDF
์—”ํ„ฐํ”„๋ผ์ด์ฆˆ ๋น„์ง€๋‹ˆ์Šค ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ด์ „ ๋ฐ ๋„์ž…์‚ฌ๋ก€ ์ œ์ฃผํ•ญ๊ณต์‚ฌ๋ก€ - AWS Summit Seoul 2017
PDF
MariaDB ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ - ๋„ค์˜คํด๋กœ๋ฐ”
PPTX
AWS์™€ ํ•จ๊ป˜ํ•˜๋Š” ์—”ํ„ฐํ”„๋ผ์ด์ฆˆ ๋น„์ฆˆ๋‹ˆ์Šค ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋„์ž…ํ•˜๊ธฐ :: ๊น€์–‘์šฉ :: AWS Summit Seoul 2016
SK Telecom - ๋ง๊ด€๋ฆฌ ํ”„๋กœ์ ํŠธ TANGO์˜ ์˜คํ”ˆ์†Œ์Šค ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ „ํ™˜ ์—ฌ์ • - ๋ฐœํ‘œ์ž : ๋ฐ•์Šน์ „, Project Manager, ...
์‹ ๊ทœ ์‹œ์žฅ ๊ฐœ์ฒ™๊ณผ ํด๋ผ์šฐ๋“œ Offering์„ ์œ„ํ•œ AWS ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์„œ๋น„์Šค ์ดํ•ด (์ตœ์œ ์ • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ, AWS) :: ...
๋น…๋ฐ์ดํ„ฐ ์ธ๊ณต์ง€๋Šฅ ์ „๋žต ๋ฐ ๋กœ๋“œ๋งต
ย 
๋ณ€ํ™”์™€ ํ˜์‹ ์„ ์œ„ํ•œ ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ โ€“ ๊น€์ง„์šฐ AWS ์–ด์นด์šดํŠธ ๋งค๋‹ˆ์ €, ์ด์•„์˜ ๋„ค์˜ค์œ„์ฆˆ ๊ฐ€๋ฒ„๋„ˆ์ŠคํŒ€ ํŒ€์žฅ, ๋ฐ•์ฃผํฌ ์šฐ์•„ํ•œํ˜•์ œ๋“ค ์‹œ์Šคํ…œ์‹ ...
๋ฐ์ดํ„ฐ ๋ถ„์„๊ฐ€๋ฅผ ์œ„ํ•œ ์‹ ๊ทœ ๋ถ„์„ ์„œ๋น„์Šค - ๊น€๊ธฐ์˜, AWS ๋ถ„์„ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ / ๋ณ€๊ทœํ˜„, ๋‹น๊ทผ๋งˆ์ผ“ ์†Œํ”„ํŠธ์›จ์–ด ์—”์ง€๋‹ˆ์–ด :: AWS r...
SQL Server 2019 on RHEL Overview & Case Study
[Games on AWS 2019] AWS ์ž…๋ฌธ์ž๋ฅผ ์œ„ํ•œ ์ดˆ๋‹จ๊ธฐ ๋ ˆ๋ฒจ์—… ํŠธ๋ž™ | AWS ๋ ˆ๋ฒจ์—… ํ•˜๊ธฐ! : ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค - ๋ฐ•์ฃผ์—ฐ AWS ์†”...
AWS CLOUD 2017 - Amazon Redshift ๊ธฐ๋ฐ˜ DW ์™€ ๋น„์ง€๋‹ˆ์Šค ์ธํ…”๋ฆฌ์ „์Šค ๊ตฌํ˜„ ๋ฐฉ๋ฒ• (๊น€์ผํ˜ธ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ)
[Pgday.Seoul 2018] replacing oracle with edb postgres
All about Data Center Migration Session 1. <Case Study> ์˜ค๋น„๋งฅ์ฃผ ์‚ฌ๋ก€๋กœ ์•Œ์•„๋ณด๋Š” DC ๋งˆ์ด๊ทธ๋ ˆ...
์›Œํฌ๋กœ๋“œ์— ๋งž๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ฐพ๊ธฐ - ๋ฐ•์ฃผ์—ฐ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ, AWS :: AWS Summit Seoul 2019
DB๊ด€์ ์—์„œ ๋ณธ ๋น…๋ฐ์ดํ„ฐ (2019๋…„ 8์›”)
Aurora MySQL Backtrack์„ ์ด์šฉํ•œ ๋น ๋ฅธ ๋ณต๊ตฌ ๋ฐฉ๋ฒ• - ์ง„๊ต์„  :: AWS Database Modernization Day ์˜จ๋ผ์ธ
๋งˆ์ดํฌ๋กœ์„œ๋น„์Šค ์•„ํ‚คํ…์ฒ˜๋กœ ๊ฐœ๋ฐœํ•˜๊ธฐ
[TD 2015] Microsoft Azure IaaS v2(์ตœ์ •ํ˜„)
VMware on IBM Cloud ์›จ๋น„๋‚˜ ๋ฐœํ‘œ์ž๋ฃŒ ์ž…๋‹ˆ๋‹ค.
Session 1. ๋””์ง€ํ„ธ ํŠธ๋ Œ์Šคํฌ๋ฉ”์ด์…˜์˜ ํ•ต์‹ฌ, ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ A to Z - ๋ฒ ์Šคํ•€๊ธ€๋กœ๋ฒŒ ์ด๊ทผ์šฐ ์œ„์›
์—”ํ„ฐํ”„๋ผ์ด์ฆˆ ๋น„์ง€๋‹ˆ์Šค ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ด์ „ ๋ฐ ๋„์ž…์‚ฌ๋ก€ ์ œ์ฃผํ•ญ๊ณต์‚ฌ๋ก€ - AWS Summit Seoul 2017
MariaDB ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ - ๋„ค์˜คํด๋กœ๋ฐ”
AWS์™€ ํ•จ๊ป˜ํ•˜๋Š” ์—”ํ„ฐํ”„๋ผ์ด์ฆˆ ๋น„์ฆˆ๋‹ˆ์Šค ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋„์ž…ํ•˜๊ธฐ :: ๊น€์–‘์šฉ :: AWS Summit Seoul 2016
Ad

More from rockplace (20)

PDF
MySQL InnoDB Cluster ์†Œ๊ฐœ
PDF
๋ฝํ”Œ๋ ˆ์ด์Šค OpenShift Q&A ํ† ํฌ์‡ผ ๋ฐœํ‘œ์ž๋ฃŒ
PDF
JBoss EAP on Azure Workshop
PDF
JBoss EAP on Azure
PDF
[๋ฝํ”Œ๋ ˆ์ด์Šค] RHEL8.4 ์›จ๋น„๋‚˜ ๋ฐœํ‘œ์ž๋ฃŒ
PDF
Jenkins๋ฅผ ํ™œ์šฉํ•œ Openshift CI/CD ๊ตฌ์„ฑ
PDF
Red Hat Openshift Container Platform
PDF
Azure Red Hat OpenShift ๋ฅผ ํ†ตํ•œ ๋” ๋น ๋ฅด๊ณ  ์‰ฌ์šด ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ตฌ์ถ•
PDF
Azure SQL Database
PDF
Azure Databases for PostgreSQL, MySQL and MariaDB
PDF
Openshift ํ™œ์šฉ์„ ์œ„ํ•œ Application์˜ ์ค€๋น„, Cloud Native
PPTX
์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ตœ์ ํ™”๋ฅผ ์œ„ํ•œ ์ปจํ…Œ์ด๋„ˆ ์ธํ”„๋ผ ๊ตฌ์ถ•
PDF
RHEL8์˜ ์ƒˆ๋กœ์šด ๊ธฐ์ˆ , ๊ทธ๋ฆฌ๊ณ  SQL Server 2019์™€ ํ•จ๊ป˜ํ•˜๋Š” ๋‹ค์–‘ํ•œ ์ด์ 
PDF
OSS DB on Azure
PDF
Azure Red Hat OpenShift 4๋ฅผ ํ†ตํ•œ ๋” ๋น ๋ฅด๊ณ  ์‰ฌ์šด ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ตฌ์ถ•
PDF
์˜คํ”ˆ์†Œ์Šค์™€ ๊ฐœ๋ฐœํ™˜๊ฒฝ
PDF
Azure ํด๋ผ์šฐ๋“œ์—์„œ OpenShift ์‹œ์ž‘ํ•˜๊ธฐ - Azure ํด๋ผ์šฐ๋“œ ํ™˜๊ฒฝ์—์„œ OpenShift ์šด์˜ ๋ฐฉ์•ˆ
PDF
์™œ ์ปจํ…Œ์ด๋„ˆ์ธ๊ฐ€? - OpenShift ๊ตฌ์ถ• ์‚ฌ๋ก€์™€ ์ปจํ…Œ์ด๋„ˆ๋กœ ํ™˜๊ฒฝ ์ „ํ™˜ ์‹œ ๊ณ ๋ ค์‚ฌํ•ญ
PDF
๊ณต๊ฐœ์†Œํ”„ํŠธ์›จ์–ด ๊ธฐ๋ฐ˜ ํด๋ผ์šฐ๋“œ ๋„ค์ดํ‹ฐ๋ธŒ
PDF
๊ณต๊ฐœ์†Œํ”„ํŠธ์›จ์–ด ๊ธฐ๋ฐ˜ ์ฃผ์š” ํด๋ผ์šฐ๋“œ ์ „ํ™˜ ์‚ฌ๋ก€
MySQL InnoDB Cluster ์†Œ๊ฐœ
๋ฝํ”Œ๋ ˆ์ด์Šค OpenShift Q&A ํ† ํฌ์‡ผ ๋ฐœํ‘œ์ž๋ฃŒ
JBoss EAP on Azure Workshop
JBoss EAP on Azure
[๋ฝํ”Œ๋ ˆ์ด์Šค] RHEL8.4 ์›จ๋น„๋‚˜ ๋ฐœํ‘œ์ž๋ฃŒ
Jenkins๋ฅผ ํ™œ์šฉํ•œ Openshift CI/CD ๊ตฌ์„ฑ
Red Hat Openshift Container Platform
Azure Red Hat OpenShift ๋ฅผ ํ†ตํ•œ ๋” ๋น ๋ฅด๊ณ  ์‰ฌ์šด ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ตฌ์ถ•
Azure SQL Database
Azure Databases for PostgreSQL, MySQL and MariaDB
Openshift ํ™œ์šฉ์„ ์œ„ํ•œ Application์˜ ์ค€๋น„, Cloud Native
์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ตœ์ ํ™”๋ฅผ ์œ„ํ•œ ์ปจํ…Œ์ด๋„ˆ ์ธํ”„๋ผ ๊ตฌ์ถ•
RHEL8์˜ ์ƒˆ๋กœ์šด ๊ธฐ์ˆ , ๊ทธ๋ฆฌ๊ณ  SQL Server 2019์™€ ํ•จ๊ป˜ํ•˜๋Š” ๋‹ค์–‘ํ•œ ์ด์ 
OSS DB on Azure
Azure Red Hat OpenShift 4๋ฅผ ํ†ตํ•œ ๋” ๋น ๋ฅด๊ณ  ์‰ฌ์šด ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ตฌ์ถ•
์˜คํ”ˆ์†Œ์Šค์™€ ๊ฐœ๋ฐœํ™˜๊ฒฝ
Azure ํด๋ผ์šฐ๋“œ์—์„œ OpenShift ์‹œ์ž‘ํ•˜๊ธฐ - Azure ํด๋ผ์šฐ๋“œ ํ™˜๊ฒฝ์—์„œ OpenShift ์šด์˜ ๋ฐฉ์•ˆ
์™œ ์ปจํ…Œ์ด๋„ˆ์ธ๊ฐ€? - OpenShift ๊ตฌ์ถ• ์‚ฌ๋ก€์™€ ์ปจํ…Œ์ด๋„ˆ๋กœ ํ™˜๊ฒฝ ์ „ํ™˜ ์‹œ ๊ณ ๋ ค์‚ฌํ•ญ
๊ณต๊ฐœ์†Œํ”„ํŠธ์›จ์–ด ๊ธฐ๋ฐ˜ ํด๋ผ์šฐ๋“œ ๋„ค์ดํ‹ฐ๋ธŒ
๊ณต๊ฐœ์†Œํ”„ํŠธ์›จ์–ด ๊ธฐ๋ฐ˜ ์ฃผ์š” ํด๋ผ์šฐ๋“œ ์ „ํ™˜ ์‚ฌ๋ก€

Azure Databases for PostgreSQL MYSQL and MariaDB

  • 1. Azure Databases for PostgreSQL, MySQL and MariaDB | ์†Œ์† : ๋ฝํ”Œ๋ ˆ์ด์Šค | ๋‚ ์งœ : 2021๋…„ 06์›” 16์ผ
  • 2. Agenda Azure Databases for OSS DB 1 1 2 2 4 4 3 3 Azure Databases Service Features OSS DBs Migration Strategy Pre-Migration 5 5 Migration
  • 3. Agenda Azure Databases for OSS DB 1 1 2 2 4 4 3 3 Azure Databases Service Features OSS DBs Migration Strategy Pre-Migration 5 5 Migration
  • 4. State of the Open-Source DBMS Market 2022๋…„ ๊นŒ์ง€ 70% ์ด์ƒ์˜ ์‹ ๊ทœ ๊ฐœ๋ฐœ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์€ ์˜คํ”ˆ์†Œ์Šค DB ๋ฅผ ์ด์šฉํ•  ๊ฒƒ์ด๋ฉฐ 50% ์ด์ƒ์˜ ๊ธฐ์กด ์—…๋ฌด๊ฐ€ ์ƒ์šฉ DB ์—์„œ ์ด๊ด€๋  ์ „๋ง์ด๋‹ค. Gartner | State of the Open-Source DBMS Market, 2018 โ€œ
  • 5. 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
  • 7. Trend of Relational DBMS Popularity
  • 8. Azure database services for MySQL, PostgreSQL & MariaDB More choices and full integration into Azureโ€™s ecosystem and services T-SQL Java C/C++ C#/VB.NET PHP Node.js Python Ruby Managed community MySQL, PostgreSQL, and MariaDB Languages and frameworks of your choice Easy lift and shift Scale in seconds with built-in high availability* Unparalleled security and compliance Industry- leading global reach Enterprise ready *Hyperscale (Citus) on Azure Database for PostgreSQL โ€“ Horizontal scale-out deployment option for single node Postgres across hundreds of nodes (blog/tech)
  • 9. SQL Server 2017 MySQL/Postgre SQL/MariaDB Azure SQL VMs Azure Win/ Linux VMs Azure laaS 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 Infrastructure as a service Platform as a service Threat detection, risk management Performance management Applications Data High availability /DR/backups Database provision/ patch/scaling O/S provision /patching Virtualization Hardware Datacenter management Managed by customer 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 Threat detection, risk management Performance management Applications Data High Availability/ DR/backups Database provision/ patch/scaling O/S Virtualization Hardware Datacenter management Azure SQL Database Azure Database for MySQL/PostgreSQL/MariaDB Azure Database platform differentiation
  • 10. Azure relational database platform 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 Power BI, App Services, Data Factory, Analytics, ML, Cognitive, Botโ€ฆ
  • 11. Service tiers Service tier Basic Intended use case Built for workloads with light comp ute needs and variable IO performa nce vCore 1 2 Compute generation Gen 4, Gen 5 Storage 5GB โ€“ 1TB Magnetic media IOPS Variable
  • 12. Service tiers Service tier Basic Intended use case Built for workloads with light comp ute needs and variable IO performa nce 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
  • 13. Service tiers Performance Optimized Memory optimized Cache more data for faster transact ion processing and higher concurre ncy 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 comp ute needs and variable IO performa nce 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.6, 10, 11
  • 14. MySQL & Postgres deployment options being anounced
  • 15. Flexible Server (Preview) ๏ฌ Simplify developer experiences ๏ฌ More Server Parameter Control ๏ฌ More Cost Optimization Controls ๏ฌ Enable Zone Resilient & Aware Applications
  • 16. 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
  • 17. Scaled-out aggregate Aggregating data before transactions avoids rewriting each row and can save write overhead and table bloat Bulk aggregation avoids concurrency issues APPLICATION SELECT FROM GROUP BY company_id, avg(spend) AS avg_campaign_spend compaigns company_id; METADATA COORDINATOR NODE WORKER NODES 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 โ€ฆ W1 W2 W3 โ€ฆ Wn
  • 18. 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
  • 19. Agenda Azure Databases for OSS DB 1 1 2 2 4 4 3 3 Azure Databases Service Features OSS DBs Migration Strategy Pre-Migration 5 5 Migration
  • 20. 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
  • 21. 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 Gateway Virtual Network FrontEnd Subnet HDI Subnet ! ! HDInsight BackEnd Subnet
  • 22. Certifications and standards Level 1 CSA Star Certification SOC 2 Type 2
  • 23. 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 Server MySQL or PostgreSQL Server Azure Database Management Service
  • 24. High availability and scale = $285 vs $262 = High-availability High-availability
  • 25. High availability in AWS RDS vs. ADS High availability AWS RDS with a 99.95% SLA is 2x more expensive* than Azure Database for MySQL/PostgreSQL High availability Availability Max Downtime 99.95% 4.38 hours 99.99% 53 minutes
  • 26. Scale performance on the fly MySQL/MariaDB: 3306 PostgreSQL: 5432 Azure Storage Server Server
  • 30. 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
  • 31. 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
  • 32. Replication (MySQL) Replica 1 Replica 2 Replica 3 Replica 4 BI Read Write Read Native MySQL Replication Replica
  • 33. Agenda Azure Databases for OSS DB 1 1 2 2 4 4 3 3 Azure Databases Service Features OSS DBs Migration Strategy Pre-Migration 5 5 Migration
  • 34. DB ์ดํ–‰ ์ „๋žต ์ œ์‹œ # ๋ถ„์„(Assessment) ๋‹จ๊ณ„์—์„œ As-Is ๋ฐ To-Be ํ™˜๊ฒฝ์— ๋Œ€ํ•œ ๋ถ„์„์„ ํ†ตํ•ด DB ์ดํ–‰์— ๋Œ€ํ•œ ๋น„์ฆˆ๋‹ˆ์Šค ์š”๊ตฌ ์‚ฌํ•ญ์„ ์‚ฐ์ถœํ•˜๋Š” ์ž‘์—…์„ ์ง„ํ–‰ # ์ง„๋‹จ ๋ฐ ๊ณ„ํš ๋‹จ๊ณ„์—์„œ DB ์ดํ–‰์— ๋Œ€ํ•œ ํ˜ธํ™˜์„ฑ ์ฒดํฌ ๋ฐ M/M๋ฅผ ์‚ฐ์ถœํ•˜๋Š” ์ž‘์—…์„ ์ง„ํ–‰ # ์ดํ–‰(Migration) ๋‹จ๊ณ„์—์„œ DBMS์— ๋Œ€ํ•œ ์Šคํ‚ค๋งˆ / ๋ฐ์ดํ„ฐ ๋ฐ ์˜ค๋ธŒ์ ํŠธ ๋“ค์— ๋Œ€ํ•˜์—ฌ ์ „ํ™˜ ์ž‘์—…์„ ์ˆ˜ํ–‰ # ์„ฑ๋Šฅ ๋ฐ ๊ธฐ๋Šฅ ๊ฒ€์ฆ ๋ฐ ํŠœ๋‹ ๋‹จ๊ณ„์—์„œ ์ดํ–‰์„ ํ†ตํ•œ ๋ฐ์ดํ„ฐ์˜ ์ •ํ•ฉ์„ฑ์„ ํ™•๋ณดํ•˜๊ณ  ์ดํ–‰๋œ ๋ฐ์ดํ„ฐ์— ๋Œ€ํ•˜์—ฌ ํŠœ๋‹ ์ž‘์—…์„ ์ˆ˜ํ–‰ # ๊ธฐ๋Šฅ ํ…Œ์ŠคํŠธ ์„ฑ๋Šฅํ…Œ์ŠคํŠธ # Migration ์‚ฌํ•ญ์— ๋Œ€ํ•œ ๊ต์œก ๋ฐ ๊ธฐ์ˆ ์ด์ „
  • 35. Migration Process Overview 1) ํ™˜๊ฒฝ ๋ถ„์„ ์ง„๋‹จ ๋ฐ ๊ณ„ํš ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๊ต์œก ๋ฐ ๊ธฐ์ˆ ์ด์ „ ํ™˜๊ฒฝ๋ถ„์„ ๊ธฐ์กดํ™˜๊ฒฝ๋ถ„์„ TO-BE ๊ตฌ์„ฑ * ์ดํ–‰ ๋Œ€์ƒ์‹œ์Šคํ…œ ํ™˜๊ฒฝ ๊ตฌ์ถ• * DBMS ํ˜„ํ™ฉ ๋ถ„์„ * ํ˜„ํ™ฉ ๋ถ„์„์„ ํ†ตํ•œ ์ดํ–‰ ์ ‘๊ทผ ๋ฐฉ๋ฒ• ์ˆ˜๋ฆฝ * ๋ฐ์ดํ„ฐ ์ดํ–‰ ์š”๊ฑด ์ •์˜ AS-IS ๋ถ„์„ ๊ฒ€์ฆ ๋ฐ ํŠœ๋‹
  • 36. Migration Process Overview 2) ์ง„๋‹จ ๋ฐ ๊ณ„ํš ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๊ต์œก ๋ฐ ๊ธฐ์ˆ ์ด์ „ ๊ณ„ํš์ˆ˜๋ฆฝ ํ‰๊ฐ€ ๋ฐ ๊ณ„ํš * ์˜ํ–ฅ๋„ ํ‰๊ฐ€ * ์œ„ํ—˜์š”์†Œ ์ง„๋‹จ ๋ฐ ๊ณ„ํš์ˆ˜๋ฆฝ * ์„œ๋น„์Šค ๋ถ„์„ * ์Šคํ‚ค๋งˆ / ๋ฐ์ดํ„ฐ * DB ์˜ค๋ธŒ์ ํŠธ ์ง„๋‹จ ๊ฒ€์ฆ ๋ฐ ํŠœ๋‹ ํ™˜๊ฒฝ๋ถ„์„ * ๋‹จ๊ณ„๋ณ„ ๊ณ„ํš ์ˆ˜๋ฆฝ ์ง„๋‹จ ๋ฐ ๊ณ„ํš
  • 37. 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
  • 38. Migration Process Overview ์ง„๋‹จ ๋ฐ ๊ณ„ํš ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ํ™˜๊ฒฝ๋ถ„์„ 4) ๊ฒ€์ฆ ๋ฐ ํŠœ๋‹ ๊ต์œก ๋ฐ ๊ธฐ์ˆ ์ด์ „ ๊ฒ€์ฆ ๋ฐ ํŠœ๋‹ ํŠœ๋‹,์„ฑ๋Šฅ์‹œํ—˜ ํŠœ๋‹ * ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ * WEB / WAS * DBMS * ๊ธฐ๋Šฅ, ์„ฑ๋Šฅ ํ…Œ์ŠคํŠธ ๊ฒ€์ฆ * ์„ฑ๋Šฅ ๋ฆฌํฌํŠธ
  • 39. Migration Process Overview ์ง„๋‹จ ๋ฐ ๊ณ„ํš ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๊ฒ€์ฆ ๋ฐ ํŠœ๋‹ ํ™˜๊ฒฝ๋ถ„์„ 4) ๊ต์œก ๋ฐ ๊ธฐ์ˆ ์ด์ „ ๊ต์œก ๋ฐ ๊ธฐ์ˆ ์ด์ „ ๊ต์œก ์‚ฐ์ถœ๋ฌผ * ์šด์˜ ๊ฐ€์ด๋“œ * ๊ฐœ๋ฐœ ๊ฐ€์ด๋“œ * ํ”„๋กœ์ ํŠธ ๊ฒฐ๊ณผ๋ณด๊ณ ์„œ * ํ”„๋กœ์ ํŠธ ์ง„ํ–‰ ์‹œ ์ž‘์„ฑ๋˜๋Š” Working ์‚ฐ์ถœ๋ฌผ * ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๊ต์œก์„ ํ†ตํ•œ ๊ธฐ์ˆ  ์ด์ „ ๊ต์œก๋‚ด์šฉ
  • 40. Agenda Azure Databases for OSS DB 1 1 2 2 4 4 3 3 Azure Databases Service Features OSS DBs Migration Strategy Pre-Migration 5 5 Migration
  • 41. 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 ์ ํ•ฉ๋„, ํ•„์š” ์ฝ”๋“œ ๋ณ€๊ฒฝ์‚ฌํ•ญ, ๋น„์šฉ ๋ถ„์„
  • 42. Modernization ์‚ฌ์ „ ํ‰๊ฐ€ ํ•ญ๋ชฉ ๏‚ง ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ƒ๊ด€๋„ ๋ถ„์„ ๋ฐ Dashboard ์ œ์‹œ
  • 43. ์ ˆ์ฐจ ๋ฐ ์†Œ์š”์ผ์ • ๏‚ง ๊ณ ๊ฐ์‚ฌ Needs ๋ฐ ์ผ์ •์— ๋”ฐ๋ผ App ๋ฐ DB ์ง„๋‹จ์„ ๋™์‹œ ํ˜น์€ ์„ ํƒ์ ์œผ๋กœ ์ง„ํ–‰๊ฐ€๋Šฅ ๏‚ง CloudPilot Client ์„ค์น˜ ํ•„์š” (CloudRecon TCO ์ถ”๊ฐ€ ๋ถ„์„์‹œ AzureMigate๋กœ ๋ฐ์ดํ„ฐ ์ˆ˜์ง‘ ํ•„์š”) ๏‚ง ๊ตญ๋‚ด ์ „๋ฌธ ํŒŒํŠธ๋„ˆ์‚ฌ์™€ ํ•จ๊ป˜ ์ง„๋‹จ๊ฒฐ๊ณผ ๋ฐ App/DB Modernization ๋ฐฉ์•ˆ ์ œ์–ธ ๏‚ง ์ง„๋‹จ์„ ์œ„ํ•œ ํ™˜๊ฒฝ ์ค€๋น„ ๋ฐ ๋ถ„์„ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ฐœ์ˆ˜/DB Schema ๋“ฑ์— ๋”ฐ๋ผ ์†Œ์š”์ผ์ •์€ ์œ ๋™์ ์ด๋‚˜ ๋ฆฌํฌํŠธ ๊ณต์œ  ๋ฐ ์ œ์–ธ๊นŒ์ง€ ํ‰๊ท  2์ฃผ ์ •๋„ ์†Œ์š” ์˜ˆ์ƒ XML for App Scan JSON for DB Scan
  • 44. ๊ณ ๊ฐ ์ค€๋น„ ์‚ฌํ•ญ 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)
  • 45. ํ‰๊ฐ€ ํ•ญ๋ชฉ ๋ฐ ๊ฒฐ๊ณผ ์ƒ์„ธ - APP ๏‚ง ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ VMs, Containers, PaaS (AppService)๋กœ์˜ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ ํ•ฉ๋„
  • 46. ํ‰๊ฐ€ ํ•ญ๋ชฉ ๋ฐ ๊ฒฐ๊ณผ ์ƒ์„ธ - APP ๏‚ง ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ VMs, Containers, PaaS (AppService)๋กœ์˜ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์‹œ ๋ณ€๊ฒฝํ•„์š” ์ฝ”๋“œ ๋ฐ ๊ณต์ˆ˜
  • 47. ํ‰๊ฐ€ ํ•ญ๋ชฉ ๋ฐ ๊ฒฐ๊ณผ ์ƒ์„ธ - APP ๏‚ง ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ VMs, Containers, PaaS (AppService)๋กœ์˜ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์‹œ ์ฝ”๋“œ ๋ณ€๊ฒฝ ๊ฐ€์ด๋“œ ์ œ์‹œ
  • 48. ํ‰๊ฐ€ ํ•ญ๋ชฉ ๋ฐ ๊ฒฐ๊ณผ ์ƒ์„ธ - APP ๏‚ง ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ VMs, Containers, PaaS (AppService)๋กœ์˜ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์‹œ ๋น„์šฉ ๋น„๊ต
  • 49. ํ‰๊ฐ€ ํ•ญ๋ชฉ ๋ฐ ๊ฒฐ๊ณผ ์ƒ์„ธ โ€“ DB (Oracle to Azure PostgreSQL) ๏‚ง ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ Azure PaaS ๋กœ์˜ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์‹œ ์ƒ์„ธ ๊ฐ€์ด๋“œ ์ œ์‹œ
  • 50. ํ‰๊ฐ€ ํ•ญ๋ชฉ ๋ฐ ๊ฒฐ๊ณผ ์ƒ์„ธ โ€“ DB (Oracle to Azure PostgreSQL) ๏‚ง ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ Azure PaaS ๋กœ์˜ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์‹œ ์ƒ์„ธ ๊ฐ€์ด๋“œ ์ œ์‹œ
  • 51. ํ‰๊ฐ€ ํ•ญ๋ชฉ ๋ฐ ๊ฒฐ๊ณผ ์ƒ์„ธ โ€“ DB (Oracle to Azure PostgreSQL) ๏‚ง ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ Azure PaaS ๋กœ์˜ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์‹œ ์ƒ์„ธ ๊ฐ€์ด๋“œ ์ œ์‹œ (Best Practices, Detailed Recommendation)
  • 52. ํ‰๊ฐ€ ํ•ญ๋ชฉ ๋ฐ ๊ฒฐ๊ณผ ์ƒ์„ธ โ€“ DB (Oracle to Azure PostgreSQL) ๏‚ง TCO ๋ถ„์„
  • 53. Agenda Azure Databases for OSS DB 1 1 2 2 4 4 3 3 Azure Databases Service Features OSS DBs Migration Strategy Pre-Migration 5 5 Migration
  • 54. 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.6, 10, 11)
  • 55. 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 ์„œ๋ฒ„์—์„œ ํ†ต๊ณ„์ •๋ณด ์ˆ˜์ง‘ ํ•„์š”
  • 56. 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)
  • 57. Oracle to PostgreSQL | Cost of Ownership 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 *See Notes Section 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 Da tabase 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 Manage ment 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 Azur e (approx.) 80% 90% 95% NA
  • 58. 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