aws 数据库迁移

The Agenda of this blog is to understand the different aspects of Data Migration. This blog will also try to illustrate a basic question “Why move your legacy database(s).. ?”

该博客的议程旨在了解数据迁移的不同方面。 该博客还将尝试说明一个基本问题“为什么要移动旧数据库。?”

There are many questions about making the transition to move a legacy Databases(s) to the Amazon Web Services (AWS) cloud, and this blog can help you with the decision and the journey to migrate. So, yes, you can move legacy apps to the cloud, but let’s delve in to what that means.

关于将旧数据库迁移到Amazon Web Services(AWS)云的过渡,存在很多问题,该博客可以帮助您做出决定和迁移过程。 因此,是的,您可以将旧版应用程序移动到云中,但是让我们深入研究这意味着什么。

数据库焦虑 (Database Anxiety)

Databases in AWS are colossal, and Amazon Aurora, Amazon, Redshift, Amazon RDS, Amazon DynamoDB and Amazon ElasticCache can be used by your application. Before moving to these Amazon Managed services, there is a sort of database anxiety or concerns as to how our application will behave after cloud migration. But Amazon provides flexible ways to move your native on premises database(s) to AWS databases.

AWS中的数据库非常庞大,您的应用程序可以使用Amazon Aurora,Amazon,Redshift,Amazon RDS,Amazon DynamoDB和Amazon ElasticCache。 在转向这些Amazon Managed Services之前,存在关于数据库迁移后我们的应用程序表现如何的数据库焦虑或担忧。 但是,Amazon提供了灵活的方法来将本地本地数据库迁移到AWS数据库。

There are benefits of moving to AWS databases:

迁移到AWS数据库有很多好处:

AWS提供完全托管的数据库服务 (AWS Provides fully Managed Database services)

Before moving to AWS Migrations services or techniques, Let me introduce some AWS Managed database services which On-Premises users can avail.

在转向AWS迁移服务或技术之前,让我介绍一些本地用户可以使用的AWS托管数据库服务。

Relational databases comprises of Oracle, MySQL, Microsoft SQL Server, PostgreSQL and MariaDB.

关系数据库包括Oracle,MySQL,Microsoft SQL Server,PostgreSQL和MariaDB。

Non Relational databases comprises of MongoDB, CASSANDRA, Redis and MemCacheD.

非关系数据库包括MongoDB,CASSANDRA,Redis和MemCacheD。

Amazon RDS Service : You can use plethora of other databases in RDS such as Microsoft SQL server, Oracle, Amazon Aurora, MySQL, PostgreSQL and MariaDB. These are easy to deploy or Maintain, Scalable, Durable and Secure & compliant. It offers multi-AZ data replication, automated backup and snapshots.

Amazon RDS服务:您可以在RDS中使用大量其他数据库,例如Microsoft SQL Server,Oracle,Amazon Aurora,MySQL,PostgreSQL和MariaDB。 这些易于部署或维护,可扩展,持久且安全且合规。 它提供多可用区数据复制,自动备份和快照。

Amazon Aurora Service :Amazon Aurora is a MySQL and PostgreSQL-compatible relational database built for the cloud, that combines the performance and availability of traditional enterprise databases with the simplicity and cost-effectiveness of open source databases.

Amazon Aurora服务: Amazon Aurora是为云构建MySQL和PostgreSQL兼容关系数据库 ,将传统企业数据库的性能和可用性与开源数据库的简单性和成本效益相结合。

Amazon Aurora is up to 5 times faster than standard MySQL databases and 3 times faster than standard PostgreSQL databases. It provides the security, availability, and reliability of commercial databases at 1/10th the cost. Amazon Aurora is fully managed by Amazon Relational Database Service (RDS), which automates time-consuming administration tasks like hardware provisioning, database setup, patching, and backups.

Amazon Aurora比标准MySQL数据库快5倍,比标准PostgreSQL数据库快3倍。 它以1/10的成本提供了商业数据库的安全性,可用性和可靠性。 Amazon Aurora由Amazon Relational Database Service(RDS)完全管理,该服务可自动执行耗时的管理任务,例如硬件置备,数据库设置,修补和备份。

Amazon Aurora
亚马逊极光

Amazon DynamoDB Service : Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It’s a fully managed, multi-region, multi-master, durable database with built-in security, backup and restore, and in-memory caching for internet-scale applications. DynamoDB can handle more than 10 trillion requests per day and can support peaks of more than 20 million requests per second.

Amazon DynamoDB服务: Amazon DynamoDB是一个键值和文档数据库,可在任何规模上提供一位数毫秒的性能。 它是一个完全托管的,多区域,多主机,持久的数据库,具有针对Internet规模应用程序的内置安全性,备份和还原以及内存中缓存。 DynamoDB每天可以处理超过10万亿个请求,并且可以支持每秒超过2000万个请求的高峰。

Amazon DynamoDB
亚马逊DynamoDB

AWS迁移工具 (AWS Migration Tools)

你在等什么 ? (What are you waiting for ?)

If a company like Amazon can move so many databases used by so many decentralised , globally distributed teams from Oracle to AWS, its really within the reach of almost any enterprise

如果像亚马逊这样的公司可以将如此分散的,遍布全球的分散团队使用的这么多数据库从Oracle迁移到AWS,那么几乎所有企业都可以使用它

AWS offers flexible ways to help you migrate :

AWS提供了灵活的方法来帮助您迁移:

Flexible ways to Migrate
灵活的迁移方式

With AWS Migration Tools, you can choose tools and techniques as per your business case. Here is the list of several tools which AWS offers.

借助AWS迁移工具,您可以根据业务案例选择工具和技术。 以下是AWS提供的几种工具的列表。

  1. AWS DMS — Database Migration Service : It is a Database migration and replication managed service which can easily and securely migrate and/or replicate your databases and data warehouse to AWS. It can be used to migrate between different variety of databases engines.

    AWS DMS —数据库迁移服务 :这是一个数据库迁移和复制托管服务,可以轻松安全地将数据库和数据仓库迁移和/或复制到AWS。 它可用于在各种数据库引擎之间迁移。

  2. AWS SCT — Schema conversion tool : This offers development tooling to convert schemas between databases and data warehouses. SCT automates schema conversion including table structure and its associate code. This is also referred to as Object Migration. SCT helps minimises manual effort of performing a schema re-rewrite. This also allows conversion from commercial databases to open source platforms.

    AWS SCT —模式转换工具 :该工具提供了开发工具,可在数据库和数据仓库之间转换模式。 SCT自动进行包括表结构及其关联代码在内的模式转换。 这也称为对象迁移 。 SCT有助于最大程度地减少执行模式重写的手动工作。 这也允许从商业数据库到开源平台的转换。

AWS Migration Tools
AWS迁移工具

There are two types of migration process; Heterogeneous and Homogeneous.

迁移过程有两种类型: 异构和同质的。

For heterogenous migrations (e.g., Oracle to Aurora PostgreSQL or Aurora MySQL, and Cassandra to Amazon DynamoDB), we can use Schema Conversion Tool(SCT)

对于异构迁移(例如,从Oracle到Aurora PostgreSQL或Aurora MySQL,以及从Cassandra到Amazon DynamoDB的迁移),我们可以使用模式转换工具(SCT)

For heterogenous migrations — SCT
对于异类迁移— SCT
Amazon DMS steps
Amazon DMS步骤

3. Best Practice — AWS Migration Play books : These play books provide Topic-by-Topic overview of how to migrate databases and data warehouse to AWS services. This covers all proprietary features and the different database objects. Pay books offers best practices to migrate following migrations:

3. 最佳实践-AWS迁移手册:这些手册提供了有关如何将数据库和数据仓库迁移到AWS服务的逐主题概述。 这涵盖了所有专有功能和不同的数据库对象。 薪资书提供了以下迁移的最佳做法:

  • Oracle to Aurora PostgreSQL从Oracle到Aurora PostgreSQL
  • Oracle ro Aurora MySQLOracle ro Aurora MySQL
  • SQL Server to Aurora MySQL从SQL Server到Aurora MySQL
  • SQL Server to Aurora PostgreSQLSQL Server到Aurora PostgreSQL
  • Oracle Data warehouse to Amazon Redshift从Oracle数据仓库到Amazon Redshift

We recommend that you go through the best practices in the playbook’s short introduction, which contains an overview of how to use it as your migration guide.

我们建议您仔细阅读剧本的简短介绍中的最佳做法,其中简要介绍了如何将其用作迁移指南。

演示—从Oracle到Amazon RDS — MySQL (DEMO — Oracle to Amazon RDS — MySQL)

  1. Make a new project in SCT. You will be presented with three options, Transactional database (OLTP), Data warehouse (OLAP) and NoSQL database. Since we are dealing with transactional databases we will go for first option.在SCT中创建一个新项目。 您将看到三个选项,事务数据库(OLTP),数据仓库(OLAP)和NoSQL数据库。 由于我们正在处理事务性数据库,因此我们将首选。

2. Connect to Oracle :Choose Connect to Oracle. In the Connect to Oracle dialog box, enter the following information, and then choose Test Connection.

2.连接到Oracle:选择连接到Oracle 。 在“ 连接到Oracle”对话框中,输入以下信息,然后选择“ 测试连接”

3. Choose OK to close the alert box, then choose OK to close the dialog box and to start the connection to the Oracle DB instance. The database structure of the Oracle DB instance is shown. Select only the HR schema.

3.选择“ 确定”关闭警报框,然后选择“确定”关闭对话框并开始与Oracle数据库实例的连接。 显示了Oracle数据库实例的数据库结构。 仅选择HR模式。

4. Expand HR

4.扩大人力资源

5. Choose Connect to Amazon RDS. In the Connect to Amazon RDS dialog box, enter the required information and then choose Test Connection.

5.选择连接到Amazon RDS 。 在“ 连接到Amazon RDS”对话框中,输入所需信息,然后选择“ 测试连接”

6. Right-click the HR schema and select Create Report.AWS SCT analyses the HR schema and creates a database migration assessment report for the conversion to Amazon MySQL.

6.右键单击HR模式,选择创建报告 .AWS SCT分析HR模式并创建转换到亚马逊MySQL数据库迁移评估报告。

Create Report
建立报告
Assessment Report
评估报告

7.Right-click the HR schema, and then choose Convert schema.

7.右键单击HR模式,然后选择转换模式

8.Choose the HR schema, and then choose Apply to database to apply the schema scripts to the target Amazon RDS — MySQL instance, as shown following.

8.选择HR模式,然后选择Apply to database将模式脚本应用于目标Amazon RDS-MySQL实例,如下所示。

The database schema has now been converted and imported from source to target.

现在已将数据库模式转换并从源导入到目标。

数据库迁移到AWS Redshift: (Database Migration to AWS Redshift:)

If you want to migrate your database to AWS warehouse such as Amazon Redshift then you will have following given benefits

如果您要将数据库迁移到诸如Amazon Redshift之类的AWS仓库,那么您将获得以下好处

Benefits of using AWS data warehouse
使用AWS数据仓库的好处

Amazon Redshift : Amazon Redshift is a fully managed, petabyte-scale data warehouse service in the cloud. Amazon offers a lot of benefits as described in below image :

Amazon Redshift:Amazon Redshift是云中完全托管的,PB级的数据仓库服务。 亚马逊提供了很多好处,如下图所示:

AWS Redshift
AWS Redshift

Know what to expect during the migration journey.

知道在迁移过程中会发生什么。

Migration Journey
移民之旅

We will use the Amazon DMS and SCT for warehouse migration :

我们将使用Amazon DMS和SCT进行仓库迁移:

DMS and SCT — Warehouse Migration
DMS和SCT —仓库迁移

We will extract date from data warehouse and migrate to Amazon Redshift. For this we will have to following given steps :

我们将从数据仓库中提取日期,然后迁移到Amazon Redshift。 为此,我们将必须执行以下给定步骤:

  1. Extracts data through local migration agents通过本地迁移代理提取数据
  2. Data is optimised for Amazon Redshift and saved in local files数据针对Amazon Redshift进行了优化,并保存在本地文件中
  3. Files are loaded to an Amazon S3 bucket through network or AWS snowball edge and then to Amazon Redshift.文件通过网络或AWS雪球边缘加载到Amazon S3存储桶,然后再加载到Amazon Redshift。

Given image shows the conversion process from Source DW to Amazon Redshift.

给定的图像显示了从Source DW到Amazon Redshift的转换过程。

Source DW to Amazon Redshift
从DW到Amazon Redshift

I hope this blog is helpful if you are planning to migrate your on-premises or legacy database and warehouse to AWS Managed database services.

如果您打算将内部部署或旧数据库和仓库迁移到AWS Managed Database Services,希望该博客对您有所帮助。

Please let me know if you have any additional questions surrounding this blog.

如果您对此博客有其他疑问,请告诉我。

Note : Information and Images are used from AWS official webcasts.

注意:信息和图像来自AWS官方网络广播。

翻译自: https://medium.com/@praveen.kasana/database-migration-using-aws-2090595d4df6

aws 数据库迁移


http://www.taodudu.cc/news/show-4158160.html

相关文章:

  • VNC服务配置
  • SQL AlawaysOn 之三:SQL服务器加入域
  • java ing印版,Be alaways javaing...
  • SQL AlawaysOn 之一:安装域控制器
  • [Maven] 无法获取私服最新Jar包的问题
  • Java小案例--自助饮品消费系统
  • JavaScript——模拟自动饮料机
  • Arduino自助饮料机程序
  • 饮料自动售货机模拟(小项目)
  • django项目-自助饮料机
  • Java-MVC模式
  • 初学Java简易自助饮品消费系统项目实践
  • 模拟自动售卖机售卖3、5、8元饮料投币业务
  • 饮料自动售货机C++
  • 利用因果图法对一个自动饮料售货机软件进行黑盒测试
  • java学习之路2--简单工厂模式实现饮料自动贩卖机
  • Java实现简单的售货机程序2
  • 我的Java学习之路(三)-- 自动饮料售卖机控制台程序
  • Java 交互小实例:(ATM机模拟、饮料自助机模拟)
  • 简易自助饮料出售机
  • 模拟自动饮料机
  • 自助饮料机实现
  • “正话反说”:A和B在玩一个游戏,两人轮流说一句话,这句话正读反读都一样,如adgda,谁先说错,谁出局,另一个人胜出。编写一个函数用于判断这句话是否符合要求,符合要求时,函数返回1,否则函数返回0
  • 计算机学校特色,乐山市计算机学校:凝聚特色共成长 分享经验促提升
  • 图片连续滚动的代码
  • c语言信息注册功能,c语言实现注册登陆功能(两个模块)
  • 注册表-在IE上永久显示我的名字www.baidu.com - 朱建强
  • delphi android 蓝牙,Android实例-Delphi开发蓝牙官方实例解析(XE10+小米2+小米5)
  • 周测作业四
  • 在Linux系统中安装JDK

aws 数据库迁移_使用AWS进行数据库迁移相关推荐

  1. mysql 客户无感知迁移_亿级账户数据迁移,不用数据库工具还能怎么搞?

    原标题:亿级账户数据迁移,不用数据库工具还能怎么搞? 背景 在阿里巴巴内部"大中台,小前台"的组织和业务体制,使前线业务更加敏捷,赋能业务积极迎接未来挑战和机遇,在阿里大中台能力建 ...

  2. node aws 内存溢出_在AWS Elastic Beanstalk上运行生产Node应用程序的现实

    node aws 内存溢出 by Jared Nutt 贾里德·努特(Jared Nutt) 在AWS Elastic Beanstalk上运行生产Node应用程序的现实 (The reality o ...

  3. 腾讯云 mysql 数据库名_腾讯云数据库MySQL如何选择配置

    MySQL实例配置最佳实践概述 该部分主要从[MySQL RDS 套餐选择](#MySQL RDS 套餐选择最佳实践)和MySQL数据库参数设置两个方面来为用户提供一些套餐选择和参数配置建议,帮助用户 ...

  4. 阿里云 mysql 导出数据库备份_导出整个mysql数据库备份

    mysql和mssql的备份和恢复数据的方法 mysql数据库的备份方法可以用 导出要用到MySQL的mysqldump工具,基本用法是: shell> mysqldump [OPTIONS] ...

  5. 监控mysql数据库 更新_实时监控mysql数据库变化

    对于二次开发来说,很大一部分就找找文件和找数据库的变化情况 对于数据库变化.还没有发现比较好用的监控数据库变化监控软件. 今天,我就给大家介绍一个如何使用mysql自带的功能监控数据库变化 1.打开数 ...

  6. 在mysql查询数据库密码_如何查询mysql数据库密码

    {"moduleinfo":{"card_count":[{"count_phone":1,"count":1}],&q ...

  7. mysql不同服务器数据库查询_不同服务器不同数据库两张表连接查询使用经验

    使用SQL语句连接查询位于两个不同的服务器不同的数据库中的两张表,最初将SQL语句写成以下形式select*fromProduct pinnerjoin opendatasource('SQLOLED ...

  8. mysql数据库 支付_如何管理MySQL数据库?

    A:MYSQL数据库的管理方式如下: 首先下载PhpMyAdmin软件,将此文件包解压,找到其中的一个文件:config.inc.php(或者如config.*等, 该文件名会因phpmyadmin版 ...

  9. endnote初始化数据库支持_服务端编程——数据库(MySQL、sequelize) - 天生笑点低你奈我何...

    一.数据库 前端发送api请求的流程 通过API发送请求,到model进行业务处理,将数据存到或在MYSQL查询,将数据一并给KOA服务器请求,最后将请求的结果返回给客户端 关系型数据库.非关系型数据 ...

最新文章

  1. win8计算机安全模式,安全模式,教您Win8怎么进入安全模式
  2. php bc函数库,PHP高精确度运算BC函数库实例详解
  3. linux 系统时间是在哪里记录的,Linux系统如何记录时间
  4. ElasticSearch和mongodb的对比
  5. spring boot报FileSizeLimitExceededException异常的解决方法
  6. 代码生成插件Easy Code 使用
  7. mac unity3D汉化包
  8. 使用VMware创建一个虚拟机,并安装乌班图系统
  9. 教师专用录微课及剪辑软件推荐-camtasia及使用教程
  10. M3DGIS三维电子沙盘开发教程第52课无人机倾斜摄影全景三维建模
  11. stm32f4有重映射么_stm32f4引脚重映射
  12. 超市会员管理系统 code
  13. Javascript 产生随机数——服从均匀分布随机数、服从正态分布(高斯分布)随机数、服从柯西分布随机数
  14. narwal无法连接机器人_ABB机器人驱动通讯连接不上故障维修方法
  15. 压缩winsxs文件夹的正确姿势
  16. qt登录界面简单制作,是真的保姆级别了!!!
  17. python中采用字典建立统_Python字典的基本使用
  18. java web argox打印机 用jna调用dll
  19. Qt解决中文显示乱码问题
  20. Python之险种缴费记录管理-保存文件版本

热门文章

  1. javaGUI学习47:Swing-进度条、滑杆和分隔条
  2. 移动滑杆控制(UGUI实现)Unity3D
  3. BAT、网易面试经验收集
  4. DevOps 全栈开发基础
  5. aligned_allocator
  6. 不是买一台电脑就能敲代码!学习java必须了解的计算机知识以及准备工作
  7. FreeRTOS 任务调度算法
  8. C - Fewest Flops
  9. MIT线性代数笔记一 行图像和列图像
  10. Sketch及其相关插件介绍