Why Relational Database Service (RDS)?
Why Relational Database Service (RDS)?
RDS is a reliable and scalable cloud database service that is easy to manage.
You can create a DB instance on the management console within minutes and access RDS from an ECS to reduce the application response time and avoid paying for the traffic that would be generated by regular public access.
Related services include ECS, VPC, OBS, Cloud Eye, Cloud Trace Service (CTS), and Data Replication Service (DRS).
Different series support different DB engines and instance specifications.
There are constraints designed to ensure the stability and security of your RDS for MySQL.
Different instance classes are available to RDS for MySQL.
You can create and connect to DB instances on the RDS console.
RDS for MySQL supports the yearly/monthly and pay-per-use billing modes.
WordPress is a blog platform developed based on PHP.
Crossday Discuz! Board (Discuz! for short) is a universal community forum software system.
If the CPU usage of your RDS for MySQL instance is high or close to 100%, database performance deteriorates.
RDS for MySQL uses metadata locking to manage concurrent access to database objects and to ensure data consistency.
Function Overview
RDS for MySQL
MySQL is one of the world's most popular open-source relational databases. It works with the Linux, Apache, and Perl/PHP/Python (LAMP) model to provide efficient web solutions. RDS for MySQL is reliable, secure, scalable, inexpensive, easy to manage, and immediately ready for use.
1. It uses a stable architecture and supports various web applications. In addition, it is cost-effective and is preferred by small- and medium-sized enterprises.
2. A web-based console is available for you to monitor comprehensive information, making operations easy and visual.
3. Resources can be flexibly scaled and you pay for only what you use.
RDS for PostgreSQL
PostgreSQL is an open source object-relational database management system focused on extensibility and standards compliance. It is known as the most advanced open source database. RDS for PostgreSQL is designed for enterprise-oriented OLTP scenarios and supports NoSQL (JSON, XML, or hstore) and GIS data types. It has earned a reputation for reliability and data integrity, and is suitable for websites, location-based applications, and complex data object processing.
1. RDS for PostgreSQL supports the postgis plugin and provides excellent spatial performance.
2. RDS for PostgreSQL is a cost-effective solution for a range of different scenarios. You can flexibly scale resources as needed and you only pay for what you use.
Connecting to an RDS DB Instance
You can access RDS through Data Admin Service (DAS), a private network, or a public network.

Data Migration
RDS offers various migration methods:
For MySQL instances:
Migrate data using DRS
Migrate data using mysqldump
For PostgreSQL instances:
Migrate data using DRS
Migrate data using psql
Among these migration methods, DRS is recommended because it is stable, efficient, easy to use, and simplifies the complexity of data transmission and reduces the transmission costs.
Resetting the Administrator Password
You can reset the password of your database account when using RDS. If an exception occurs on the root account, for example, the root account is lost or deleted, you can reset the root password to restore the account rights.
Enabling Public Accessibility
You can bind an EIP to the DB instance for public accessibility and can also unbind the EIP from the DB instance as needed.
· You can bind an EIP to a primary DB instance or a read replica only.
· If a DB instance has already been bound with an EIP, you must unbind the EIP from the DB instance first before binding a new EIP to it.
Read Replicas
In read-intensive scenarios, a single DB instance may be unable to handle the read pressure and service performance may be affected. To offload read pressure on the database, you can create read replicas in a region. These read replicas can process a large number of read requests and increase application throughput.
Scaling Up Storage Space
You can scale up storage space if it is no longer sufficient for your requirements. If the DB instance status is Storage full and data cannot be written to databases, you need to scale up storage space. The DB instance needs to preserve at least 15% of its capacity to work properly. The new minimum storage space required to make this instance available has been automatically calculated for you.
Services are not interrupted during storage scaling up. You can scale up storage space of DB instances but cannot change the storage type.