05 Database Services
05 Database Services
Foreword
⚫ After learning basic compute, storage, and networking services on
Huawei Cloud, let's move on to database services.
RDS DDS
EVS OBS
Database ecosystem
Building complete database solutions
Traditional DC Deployed on
deployment Cloud native
cloud servers
Green: Huawei Cloud's Blue: Customer's
Legend:
responsibilities responsibilities
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 9
Contents
1. Introduction to Database Services
AZ AZ1 AZ2
Failover Failover
Backups in instance.
OBS
Copyright © Huawei Technologies Co., Ltd. All rights reserved. Page 14
Backup Characteristics of RDS
Full data backup + Binlog backup
Current time
Automated Automated Automated Automated
backup backup backup backup
Binlog
(every 5 minutes)
Binlog Binlog Binlog
Backups are
02
1 2 3 4 stored in OBS Automated
and can be Binlog
OBS binlog
restored to backups can
backup and
the customer's be restored to
manual
PITR on-premises a specific
backup are
data center. point in time.
Latest restorable time supported.
OBS
Write Read
Basic functions
request request
Read/write splitting ⚫ A unified read/write splitting address is
address (proxy)
provided, transparent to applications.
⚫ Read weights are configurable for each node.
Write ⚫ If a health check detects that a read replica
request
Read Read Read
request request request fails or the I/O latency of a read replica goes
HA
beyond your preset threshold, read requests
are no longer distributed to the read replica.
deleted as needed.
RDS
Standby ⚫ The number of read replicas
App Server
Read replica supported per DB instance
DB instance supports up to 10
App Server
Read replica
read replicas.
Application
RDS console
DBAs Read-only
Read/write
Instance
management Backups
Instance access
Backup and
Monitor Primary Failover Standby
restoration Read replicas
instance instance
Instance monitoring
Scaling Replication
Log management
Delivery and Parameter
O&M personnel configuration
⚫ Huawei DB engine
⚫ Compatible with MySQL clients
⚫ Decoupled storage and compute
⚫ Cross-AZ HA
GaussDB(for MySQL)
⚫ Three copies stored to ensure reliability
⚫ Scale-out and scale-up
Read replica Primary node Read replica ⚫ Compute and storage are decoupled,
Compute improving performance to several times
layer
that of open-source MySQL.
DB DB
DB DB DB DB
DB DB DB
⚫ High availability
Application Application Application Application Application
If a compute node fails, workloads
can be switched over within
seconds.
Cassandra API Mongo API Influx API Redis API HBase API Three copies of data are stored, so
the system can run fine if a storage
node fails.
⚫ Unlimited scalability
Node 1 Node 2 Node 3 Node 4 . . . Node 5 Compute nodes are stateless and
can be quickly scaled out.
Shared storage means you can add
nodes in a click or two and without
interrupting services.
Distributed storage pool
01 03
There are no
logical Users can locate
Each data relationships data using key
record is a between the values rather
structured data records in than through
document. a collection. complex
queries.
02
⚫ O&M functions
Huawei Cloud
Developer Institute