Ten minutes to understand Ali cloud database RDS

What is cloud database RDS?

Ali cloud relational database (Relational Database Service, referred to as RDS) is a stable, reliable, resilient and elastic online database service. Ali cloud-based distributed file systems and high-performance SSD disk storage, RDS supports MySQL, SQL Server, PostgreSQL, PPAS (Postgre Plus Advanced Server, highly compatible Oracle database) and MariaDB TX engine, and provides disaster recovery, backup, restore, aspects of monitoring, migration complete solutions, operation and maintenance of the database to solve the troubles.

Features

Ali cloud database RDS version includes MySQL, SQL Server, PostgreSQL, PPAS and MariaDB TX, users can create in minutes a database instance for their own scenarios, rapid production, demand pay. In this article we will MySQL, for example, to show how a few mouse clicks to generate the required business database.

Before we begin hands-on first introduce some basic knowledge Ali cloud RDS for MySQL database version, so you can choose exactly apply to configure your MySQL business scene.

Regional and district election available

Ali cloud in multiple places around the world to deploy a data center, and provides multi-line BGP backbone line access. Please select your geographic location and the target user is located, so as to enhance the user access speed. RDS should ECS server selection in the same region, so that you deploy a network connection between the efficiency of the ECS server applications and databases is the highest in general.

Available in the same area is the geographical area, has a physical area network and independent power, fault isolation. In the same area within a plurality of available high-speed link exchange, you can choose to ECS RDS and application software can be used to create in the same area or different availability zones, because there is no substantive difference between the different available the same geographical area. Meanwhile, MySQL offers in a particular area of ​​deployment to select multiple availability zones, that is, the master node and the standby node high-availability version are located in different availability zones, thereby providing high availability disaster recovery capabilities available across the region.
155425442839535_zh_CN

Choose version

MySQL on Ali cloud version offers three examples: Basic Edition, version and the availability of financial version.

Basic Edition: generally used for personal study or development testing. Basic Edition is currently only available MySQL 5.7 version, a single-node deployment, cost is very high. Basic uses compute nodes and storage separation of implementation, when the compute nodes down MySQL service is not available, but the data stored in the cloud tray is not lost. Basic flaws are not highly available, suitable for relatively unimportant scene, so I do not recommend that you use the basic version in a production environment.

High Availability version : RDS MySQL high availability version of a classic high-availability architecture of the main one, binlog-based data replication technology to maintain data availability and consistency of the database. At the same time, high availability version of the performance to meet the needs of business production environment, the use of physical servers and local hard disk SSD configuration provides the best performance, balanced performance in all aspects.

Financial Edition: Financial version is mainly used in finance, securities, insurance industry's core database, their data security, availability requirements are very high. Financial version of a three-node deployment architecture to achieve a primary two prepared by binlog log multiple copies multi-level replication to ensure data consistency and strong, providing financial level of data reliability and disaster recovery capabilities across the room.
155425442839536_zh_CN

Option Specifications

Ali cloud MySQL instance types in three sizes: universal, exclusive and exclusive type type.

Universal type and are divided into a plurality of exclusive resource isolation regions on a single physical server, MySQL database instance to provide different users. Their difference is that, for general-purpose CPU and memory using multiplexing techniques. When all MySQL instances deployed on the same server is very busy circumstances, there may be competition between the CPU instances, there will be fighting or stored; and exclusive type, although also multiple database instances to share a single physical server but resource isolation policy ensures that each instance can be assigned to the exclusive CPU, memory, I / O, memory, multiple instances of the case will not be competition for resources occurs.

The highest level is the exclusive type, refers to a MySQL instance occupied by one server, you get the best performance, of course, price is also the most expensive. Pursuit of extreme performance but not price-sensitive customers typically will use the example of an exclusive type in key business systems.
155425442839538_zh_CN

Performance on universal and exclusive type instance, we MySQL 5.6 instance done a benchmark measurement, see the following results.

155425442839539_zh_CN
155425442839541_zh_CN

Cloud application

现有业务系统的数据库有可能跑在自己的机房、托管的IDC、VMware虚拟机、OpenStack私有云,或在阿里云ECS云服务器上。阿里云数据传输服务DTS(Data Transmission Service)提供了多种数据迁移方案,可满足不同上云或迁云的业务需求,使您在不影响业务的情况下将数据库平滑迁移至云数据库RDS上。

您可以实现MySQL数据库的结构迁移、全量迁移和增量迁移。另外,您也不用担心被云锁定,无法从阿里云迁回本地。RDS支持通过物理备份或逻辑备份的方式,将云上数据迁移到本地数据库。
155425442839542_zh_CN_1_

通过上面的学习,相信您已经对阿里云上的MySQL具有了初步的认识,现在一定正跃跃欲试地想要实践体验吧?RDS具有非常简单易用的用户界面,下面,我们一起“鼠标点点,即刻开通”。

即刻开通

1、通过控制台进入云数据库RDS版,在右上角单击创建实例的按钮,进入创建实例页面。

155425442839544_zh_CN

2、选择所希望的地域,建议RDS实例和ECS实例在同一地域。

155425442839545_zh_CN

3、选择数据库版本、系列,以及对应的存储类型和可用区。
目前MySQL 5.7支持基础版和高可用版。MySQL 5.6支持高可用版和金融版。MySQL 5.5支持高可用版。

155425442839546_zh_CN

4、选择网络类型、实例规格、存储空间以及购买时长。
网络类型默认是VPC,即专有网络。除非您是老客户已经在用经典网络,否则推荐使用VPC专有网络,组网比较灵活也更加安全。关于购买时长,我们推荐包年包月,毕竟数据库支撑业务系统不会经常释放资源,而且包年包月订购的时间越长折扣越好,可以帮助您的业务应用省好多钱。但如果您只是用于测试或学习,可以创建实例时在左上角切换到按量付费。

155425442839548_zh_CN

5、提交订单和付款

155425442839549_zh_CN

几分钟后,当您收到短信和邮件的通知时,RDS实例就创建成功了,可以在管理控制台上查看和使用。

155425442939551_zh_CN

Finally, how you plan to connect to access MySQL? How to manage MySQL on the Cloud? Of course, experts also believe that you must know SQLyog, phpMyAdmin and other independent management tools. These are not the problem, but more professional use, or use Ali cloud tens of thousands of developers tailored data management software DMS.

DMS is a Web service for accessing cloud database, support for MySQL, SQL Server, PostgreSQL, Redis and MongoDB and other data sources. DMS provides data management, object management, data transfer and instance management and other functions, is also very simple way, let's look at it.

1. Log cloud database of RDS Management Console .

2, in the upper left corner of the page, select the local instance is located.

3, find the target instance, click the instance ID, enter basic information page.

4, in the upper right corner click Login Jump to DMS database login page, please refer to the specific functions DMS functions overview .

Read more: cloud RDS MySQL database Video Profile

Guess you like

Origin yq.aliyun.com/articles/704824