實(shí)例概述
數(shù)據(jù)庫(kù)實(shí)例是云數(shù)據(jù)庫(kù) RDS for MySQL的最小管理單元。一個(gè)實(shí)例代表了一個(gè)獨(dú)立運(yùn)行的云數(shù)據(jù)庫(kù)RDS for MySQL。您可以在一個(gè)實(shí)例中創(chuàng)建和管理多個(gè)數(shù)據(jù)庫(kù),并且可以使用與獨(dú)立訪問(wèn)數(shù)據(jù)庫(kù)實(shí)例相同的工具和應(yīng)用進(jìn)行訪問(wèn)。使用管理控制臺(tái)或API可以方便地創(chuàng)建或者修改數(shù)據(jù)庫(kù)實(shí)例。
云數(shù)據(jù)庫(kù) RDS for MySQL服務(wù)對(duì)運(yùn)行實(shí)例數(shù)量沒(méi)有限制,但每個(gè)數(shù)據(jù)庫(kù)實(shí)例都有唯一的標(biāo)識(shí)符。
不同系列支持的引擎類型和實(shí)例規(guī)格不同,請(qǐng)以實(shí)際界面為準(zhǔn)。
實(shí)例類型
云數(shù)據(jù)庫(kù)RDS for MySQL提供三類實(shí)例:?jiǎn)螜C(jī)實(shí)例,主備實(shí)例,只讀實(shí)例。
|
實(shí)例類型
|
簡(jiǎn)介
|
適用場(chǎng)景
|
|---|---|---|
單機(jī)實(shí)例 |
采用單個(gè)數(shù)據(jù)庫(kù)節(jié)點(diǎn)部署架構(gòu),與主流的主備實(shí)例相比,它只包含一個(gè)節(jié)點(diǎn),但具有高性價(jià)比。 |
適用于個(gè)人學(xué)習(xí)、微型網(wǎng)站以及中小企業(yè)的開(kāi)發(fā)測(cè)試環(huán)境。 |
主備實(shí)例 |
采用一主一備的經(jīng)典高可用架構(gòu),主備實(shí)例的每個(gè)節(jié)點(diǎn)的規(guī)格保持一致。 RDS支持跨AZ高可用。可以選擇主可用區(qū)和備可用區(qū)不在同一個(gè)可用區(qū)(AZ)。 主實(shí)例和備實(shí)例共用一個(gè)IP地址。 |
適用于大中型企業(yè)的生產(chǎn)數(shù)據(jù)庫(kù) 覆蓋互聯(lián)網(wǎng)、物聯(lián)網(wǎng)、零售電商、物流、游戲等行業(yè)應(yīng)用。 |
只讀實(shí)例 |
只讀實(shí)例為單個(gè)物理節(jié)點(diǎn)架構(gòu)(沒(méi)有備節(jié)點(diǎn)),采用MySQL的原生復(fù)制功能,主實(shí)例和只讀實(shí)例之間的數(shù)據(jù)同步不受網(wǎng)絡(luò)延時(shí)的影響。 |
在對(duì)數(shù)據(jù)庫(kù)有少量寫請(qǐng)求,但有大量讀請(qǐng)求的應(yīng)用場(chǎng)景下,可通過(guò)只讀實(shí)例實(shí)現(xiàn)讀寫分離,降低主實(shí)例負(fù)載。 |
實(shí)例規(guī)格
規(guī)格簡(jiǎn)介
RDS for MySQL性能規(guī)格的CPU架構(gòu)分為X86架構(gòu)和ARM架構(gòu)。
X86架構(gòu):通用型(推薦)、獨(dú)享型(推薦)、通用增強(qiáng)型(存量經(jīng)營(yíng))、通用增強(qiáng)II型(存量經(jīng)營(yíng))
ARM架構(gòu):鯤鵬通用增強(qiáng)型
RDS for MySQL本地SSD盤存儲(chǔ)的實(shí)例規(guī)格類型分為X86通用型和X86獨(dú)享型
|
實(shí)例類型
|
簡(jiǎn)介
|
適用場(chǎng)景
|
|---|---|---|
通用型(推薦) |
與同一物理機(jī)上的其他通用型規(guī)格實(shí)例共享CPU資源,通過(guò)資源復(fù)用換取CPU使用率最大化,性價(jià)比較高,適用于對(duì)性能穩(wěn)定性要求較低的應(yīng)用場(chǎng)景。 |
側(cè)重對(duì)成本、性價(jià)比要求較高的場(chǎng)景。 |
獨(dú)享型(推薦) |
完全獨(dú)享的CPU和內(nèi)存,性能長(zhǎng)期穩(wěn)定,不會(huì)因?yàn)槲锢頇C(jī)上其它實(shí)例的行為而受到影響,適用于對(duì)性能穩(wěn)定性要求較高的應(yīng)用場(chǎng)景。 |
電商、游戲、金融、政企等核心數(shù)據(jù)庫(kù)場(chǎng)景。 |
鯤鵬通用增強(qiáng)型 |
搭載鯤鵬920處理器及25GE智能高速網(wǎng)卡,提供強(qiáng)勁鯤鵬算力和高性能網(wǎng)絡(luò) |
政府、互聯(lián)網(wǎng)等企業(yè)場(chǎng)景。 |
通用增強(qiáng)型、 通用增強(qiáng)II型 |
CPU性能強(qiáng)勁,并搭載全新網(wǎng)絡(luò)加速引擎,以及DPDK(Data Plane Development Kit)快速報(bào)文處理機(jī)制,提供更高的網(wǎng)絡(luò)性能以及算力,滿足不同場(chǎng)景需求。 |
對(duì)數(shù)據(jù)庫(kù)算力與網(wǎng)絡(luò)有更高性能要求的網(wǎng)站和Web應(yīng)用場(chǎng)景 |
通用型規(guī)格
主備實(shí)例
|
規(guī)格碼
|
vCPU(核)
|
內(nèi)存(GB)
|
|---|---|---|
rds.mysql.n1.large.2.ha |
2 |
4 |
rds.mysql.n1.large.4.ha |
2 |
8 |
rds.mysql.n1.xlarge.2.ha |
4 |
8 |
rds.mysql.n1.xlarge.4.ha |
4 |
16 |
rds.mysql.n1.2xlarge.2.ha |
8 |
16 |
rds.mysql.n1.2xlarge.4.ha |
8 |
32 |
只讀實(shí)例
|
規(guī)格碼
|
vCPU(核)
|
內(nèi)存(GB)
|
|---|---|---|
rds.mysql.n1.large.2.rr |
2 |
4 |
rds.mysql.n1.large.4.rr |
2 |
8 |
rds.mysql.n1.xlarge.2.rr |
4 |
8 |
rds.mysql.n1.xlarge.4.rr |
4 |
16 |
rds.mysql.n1.2xlarge.2.rr |
8 |
16 |
rds.mysql.n1.2xlarge.4.rr |
8 |
32 |
單機(jī)實(shí)例
|
規(guī)格碼
|
vCPU(核)
|
內(nèi)存(GB)
|
|---|---|---|
rds.mysql.n1.large.2 |
2 |
4 |
rds.mysql.n1.large.4 |
2 |
8 |
rds.mysql.n1.xlarge.2 |
4 |
8 |
rds.mysql.n1.xlarge.4 |
4 |
16 |
rds.mysql.n1.2xlarge.2 |
8 |
16 |
rds.mysql.n1.2xlarge.4 |
8 |
32 |
獨(dú)享型規(guī)格
主備實(shí)例
|
規(guī)格碼
|
vCPU(核)
|
內(nèi)存(GB)
|
|---|---|---|
rds.mysql.x1.large.2.ha |
2 |
4 |
rds.mysql.x1.large.4.ha |
2 |
8 |
rds.mysql.x1.xlarge.2.ha |
4 |
8 |
rds.mysql.x1.xlarge.4.ha |
4 |
16 |
rds.mysql.x1.xlarge.8.ha |
4 |
32 |
rds.mysql.x1.2xlarge.2.ha |
8 |
16 |
rds.mysql.x1.2xlarge.4.ha |
8 |
32 |
rds.mysql.x1.2xlarge.8.ha |
8 |
64 |
rds.mysql.x1.4xlarge.2.ha |
16 |
32 |
rds.mysql.x1.4xlarge.4.ha |
16 |
64 |
rds.mysql.x1.4xlarge.8.ha |
16 |
128 |
rds.mysql.x1.8xlarge.2.ha |
32 |
64 |
rds.mysql.x1.8xlarge.4.ha |
32 |
128 |
rds.mysql.x1.16xlarge.2.ha |
64 |
128 |
rds.mysql.x1.16xlarge.4.ha |
64 |
256 |
rds.mysql.x1.16xlarge.8.ha |
64 |
512 |
只讀實(shí)例
|
規(guī)格碼
|
vCPU(核)
|
內(nèi)存(GB)
|
|---|---|---|
rds.mysql.x1.large.2.rr |
2 |
4 |
rds.mysql.x1.large.4.rr |
2 |
8 |
rds.mysql.x1.xlarge.2.rr |
4 |
8 |
rds.mysql.x1.xlarge.4.rr |
4 |
16 |
rds.mysql.x1.xlarge.8.rr |
4 |
32 |
rds.mysql.x1.2xlarge.2.rr |
8 |
16 |
rds.mysql.x1.2xlarge.4.rr |
8 |
32 |
rds.mysql.x1.2xlarge.8.rr |
8 |
64 |
rds.mysql.x1.4xlarge.2.rr |
16 |
32 |
rds.mysql.x1.4xlarge.4.rr |
16 |
64 |
rds.mysql.x1.4xlarge.8.rr |
16 |
128 |
rds.mysql.x1.8xlarge.2.rr |
32 |
64 |
rds.mysql.x1.8xlarge.4.rr |
32 |
128 |
rds.mysql.x1.16xlarge.2.rr |
64 |
128 |
rds.mysql.x1.16xlarge.4.rr |
64 |
256 |
rds.mysql.x1.16xlarge.8.rr |
64 |
512 |
鯤鵬通用增強(qiáng)型
主備實(shí)例
|
規(guī)格碼
|
vCPU(核)
|
內(nèi)存(GB)
|
|---|---|---|
rds.mysql.large.arm2.ha |
2 |
4 |
rds.mysql.large.arm4.ha |
2 |
8 |
rds.mysql.xlarge.arm2.ha |
4 |
8 |
rds.mysql.xlarge.arm4.ha |
4 |
16 |
rds.mysql.2xlarge.arm2.ha |
8 |
16 |
rds.mysql.2xlarge.arm4.ha |
8 |
32 |
rds.mysql.3xlarge.arm2.ha |
12 |
24 |
rds.mysql.3xlarge.arm4.ha |
12 |
48 |
rds.mysql.4xlarge.arm2.ha |
16 |
32 |
rds.mysql.4xlarge.arm4.ha |
16 |
64 |
rds.mysql.6xlarge.arm2.ha |
24 |
48 |
rds.mysql.6xlarge.arm4.ha |
24 |
96 |
rds.mysql.8xlarge.arm2.ha |
32 |
64 |
rds.mysql.8xlarge.arm4.ha |
32 |
128 |
rds.mysql.12xlarge.arm2.ha |
48 |
96 |
rds.mysql.12xlarge.arm4.ha |
48 |
192 |
rds.mysql.15xlarge.arm2.ha |
60 |
120 |
只讀實(shí)例
|
規(guī)格碼
|
vCPU(核)
|
內(nèi)存(GB)
|
|---|---|---|
rds.mysql.large.arm2.rr |
2 |
4 |
rds.mysql.large.arm4.rr |
2 |
8 |
rds.mysql.xlarge.arm2.rr |
4 |
8 |
rds.mysql.xlarge.arm4.rr |
4 |
16 |
rds.mysql.2xlarge.arm2.rr |
8 |
16 |
rds.mysql.2xlarge.arm4.rr |
8 |
32 |
rds.mysql.3xlarge.arm2.rr |
12 |
24 |
rds.mysql.3xlarge.arm4.rr |
12 |
48 |
rds.mysql.4xlarge.arm2.rr |
16 |
32 |
rds.mysql.4xlarge.arm4.rr |
16 |
64 |
rds.mysql.6xlarge.arm2.rr |
24 |
48 |
rds.mysql.6xlarge.arm4.rr |
24 |
96 |
rds.mysql.8xlarge.arm2.rr |
32 |
64 |
rds.mysql.8xlarge.arm4.rr |
32 |
128 |
rds.mysql.12xlarge.arm2.rr |
48 |
96 |
rds.mysql.12xlarge.arm4.rr |
48 |
192 |
rds.mysql.15xlarge.arm2.rr |
60 |
120 |
單機(jī)實(shí)例
|
規(guī)格碼
|
vCPU(核)
|
內(nèi)存(GB)
|
|---|---|---|
rds.mysql.large.arm2.single |
2 |
4 |
rds.mysql.large.arm4.single |
2 |
8 |
rds.mysql.xlarge.arm2.single |
4 |
8 |
rds.mysql.xlarge.arm4.single |
4 |
16 |
rds.mysql.2xlarge.arm2.single |
8 |
16 |
rds.mysql.2xlarge.arm4.single |
8 |
32 |
rds.mysql.3xlarge.arm2.single |
12 |
24 |
rds.mysql.3xlarge.arm4.single |
12 |
48 |
rds.mysql.4xlarge.arm2.single |
16 |
32 |
rds.mysql.4xlarge.arm4.single |
16 |
64 |
rds.mysql.6xlarge.arm2.single |
24 |
48 |
rds.mysql.6xlarge.arm4.single |
24 |
96 |
rds.mysql.8xlarge.arm2.single |
32 |
64 |
rds.mysql.8xlarge.arm4.single |
32 |
128 |
rds.mysql.12xlarge.arm2.single |
48 |
96 |
rds.mysql.12xlarge.arm4.single |
48 |
192 |
rds.mysql.15xlarge.arm2.single |
60 |
120 |
存儲(chǔ)類型
云數(shù)據(jù)庫(kù)RDS支持本地SSD盤、SSD云盤和極速型SSD存儲(chǔ)類型,可以滿足不同的業(yè)務(wù)場(chǎng)景。
本地SSD盤:可以降低I/O延時(shí)。相對(duì)云磁盤,本地磁盤的IO吞吐性能更好。
SSD云盤/超高IO:均為云盤存儲(chǔ),彈性擴(kuò)容,實(shí)現(xiàn)計(jì)算與存儲(chǔ)分離。支持的IOPS取決于云硬盤(Elastic Volume Service,簡(jiǎn)稱EVS)的IO性能,具體請(qǐng)參見(jiàn)《云硬盤產(chǎn)品介紹》中“磁盤類型及性能介紹”中“超高IO”的內(nèi)容。
極速型SSD云盤:結(jié)合25 GE網(wǎng)絡(luò)和RDMA技術(shù),為您提供單盤最大吞吐量達(dá)1000 MB/s并具有亞毫秒級(jí)低時(shí)延性能。
數(shù)據(jù)庫(kù)系統(tǒng)通常是IT系統(tǒng)最為重要的系統(tǒng),對(duì)存儲(chǔ)IO性能要求高,您可根據(jù)需要選擇您所需的存儲(chǔ)類型。RDS暫時(shí)不支持創(chuàng)建實(shí)例后變更存儲(chǔ)類型。
|
存儲(chǔ)類型
|
本地SSD盤
|
SSD云盤
|
極速型SSD云盤
|
|---|---|---|---|
I/O性能 |
I/O延遲低,吞吐性能較好 |
有額外的網(wǎng)絡(luò)I/O,吞吐性能相對(duì)較差 |
吞吐性能相對(duì)SSD云盤有大幅提升 |
彈性擴(kuò)展能力 |
需要拷貝數(shù)據(jù),可能需要好幾個(gè)小時(shí) |
分鐘級(jí)擴(kuò)容 |
分鐘級(jí)擴(kuò)容 |
最大IOPS |
144000 |
50000 |
128000 |
最大吞吐量 |
350 MB/s |
1000 MB/s |
|
讀寫時(shí)延 |
亞毫秒級(jí) |
1 ms |
亞毫秒級(jí) |
云數(shù)據(jù)庫(kù)RDS存儲(chǔ)采用云硬盤,關(guān)于云硬盤具體信息,請(qǐng)參見(jiàn)《云硬盤產(chǎn)品介紹》。
云數(shù)據(jù)庫(kù)RDS的備份數(shù)據(jù)存儲(chǔ)采用對(duì)象存儲(chǔ)服務(wù),不占用用戶購(gòu)買的數(shù)據(jù)庫(kù)空間。關(guān)于云數(shù)據(jù)庫(kù)RDS實(shí)例存儲(chǔ)的硬件配置,請(qǐng)參見(jiàn)《對(duì)象存儲(chǔ)服務(wù)用戶指南》。
數(shù)據(jù)庫(kù)引擎版本
云數(shù)據(jù)庫(kù)RDS服務(wù)目前支持的數(shù)據(jù)庫(kù)引擎和版本如下:
主備實(shí)例:8.0,5.7,5.6
單機(jī)實(shí)例:8.0,5.7,5.6
新應(yīng)用上線,建議您使用數(shù)據(jù)庫(kù)引擎對(duì)應(yīng)的最新大版本,以RDS for MySQL為例,建議您選擇MySQL 8.0。
用戶創(chuàng)建實(shí)例時(shí),不可選擇小版本,如MySQL 8.0.17,RDS會(huì)提供最優(yōu)的小版本,實(shí)例創(chuàng)建成功,您可在console“實(shí)例管理”頁(yè)面實(shí)例列表中的“數(shù)據(jù)庫(kù)引擎版本”列,查看具體的小版本號(hào)。
數(shù)據(jù)庫(kù)引擎和版本請(qǐng)以實(shí)際環(huán)境為準(zhǔn)。