forked from docs/doc-exports
gaussdbformysql_umn_20250122
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,12 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="change_history__row89931654131311"><td class="cellrowborder" valign="top" width="21.85%" headers="mcps1.3.1.1.3.1.1 "><p id="change_history__p36561193141">2024-08-08</p>
|
||||
<tbody><tr id="change_history__row1344122451919"><td class="cellrowborder" valign="top" width="21.85%" headers="mcps1.3.1.1.3.1.1 "><p id="change_history__p19345182491913">2024-12-10</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.14999999999999%" headers="mcps1.3.1.1.3.1.2 "><p id="change_history__p3454174911916">Optimized the content in <a href="gaussdb_03_0069.html">Backup Space and Billing</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="change_history__row89931654131311"><td class="cellrowborder" valign="top" width="21.85%" headers="mcps1.3.1.1.3.1.1 "><p id="change_history__p36561193141">2024-08-08</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.14999999999999%" headers="mcps1.3.1.1.3.1.2 "><ul id="change_history__ul1551632812352"><li id="change_history__li5516152843520">Optimized the content in <a href="gaussdb_03_0069.html">Backup Space and Billing</a>.</li></ul>
|
||||
<ul id="change_history__ul109243081410"><li id="change_history__li7483194611413">Added <a href="gaussdbformysql_03_0120.html">Database Management</a>.</li><li id="change_history__li14154341151">Added <a href="gaussdbformysql_03_0130.html">Account Management (Non-Administrator)</a>.</li></ul>
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<a name="gaussdb_01_0001"></a><a name="gaussdb_01_0001"></a>
|
||||
|
||||
<h1 class="topictitle1">Basic Concepts</h1>
|
||||
<div id="body1536546371708"><p id="gaussdb_01_0001__p775320616018">Understanding the following concepts helps you better use <span id="gaussdb_01_0001__text2059291341816">GaussDB(for MySQL)</span>:</p>
|
||||
<ul id="gaussdb_01_0001__ul117531461402"><li id="gaussdb_01_0001__li18753464017">Cluster: <span id="gaussdb_01_0001__text1621087154814">GaussDB(for MySQL)</span> uses the cluster architecture, with one primary node and multiple read replicas.</li><li id="gaussdb_01_0001__li1053914380309">Region: A region is a physical data center. Generally, <span id="gaussdb_01_0001__text16540163813018">GaussDB(for MySQL)</span> DB instances and ECSs must be located in the same region for high access performance.</li><li id="gaussdb_01_0001__li6753961019">Availability zone (AZ): An AZ contains one or multiple physical data centers. Each AZ has independent cooling, fire extinguishing, moisture-proof, and electricity facilities. Within an AZ, computing, network, storage, and other resources are logically divided into multiple instances. An AZ is a geographic location with independent power supply and network facilities in a region.<p id="gaussdb_01_0001__p1166161869"><a name="gaussdb_01_0001__li6753961019"></a><a name="li6753961019"></a>AZs are physically isolated but interconnected over an intranet. Each AZ provides cost-effective and low-latency network connections that are unaffected by faults that may occur in other AZs. As a result, provisioning <span id="gaussdb_01_0001__text9743111971817">GaussDB(for MySQL)</span> DB instances in separate AZs protects your applications against local faults that occur in a single location. AZs within the same region have no functional differences. </p>
|
||||
<div id="body1536546371708"><p id="gaussdb_01_0001__p775320616018">Understanding the following concepts helps you better use <span id="gaussdb_01_0001__text1066696792">GaussDB(for MySQL)</span>:</p>
|
||||
<ul id="gaussdb_01_0001__ul117531461402"><li id="gaussdb_01_0001__li18753464017">Cluster: <span id="gaussdb_01_0001__text2086683424">GaussDB(for MySQL)</span> uses the cluster architecture, with one primary node and multiple read replicas.</li><li id="gaussdb_01_0001__li1053914380309">Region: A region is a physical data center. Generally, <span id="gaussdb_01_0001__text2143731963">GaussDB(for MySQL)</span> instances and ECSs must be located in the same region for high access performance.</li><li id="gaussdb_01_0001__li6753961019">Availability zone (AZ): An AZ contains one or multiple physical data centers. Each AZ has independent cooling, fire extinguishing, moisture-proof, and electricity facilities. Within an AZ, computing, network, storage, and other resources are logically divided into multiple instances. An AZ is a geographic location with independent power supply and network facilities in a region.<p id="gaussdb_01_0001__p1166161869"><a name="gaussdb_01_0001__li6753961019"></a><a name="li6753961019"></a>AZs are physically isolated but interconnected over an intranet. Each AZ provides cost-effective and low-latency network connections that are unaffected by faults that may occur in other AZs. As a result, provisioning <span id="gaussdb_01_0001__text261109528">GaussDB(for MySQL)</span> instances in separate AZs protects your applications against local faults that occur in a single location. AZs within the same region have no functional differences. </p>
|
||||
</li><li id="gaussdb_01_0001__li197535613015">Instance class: resource configuration of each node, for example, 16 vCPUs and 64 GB.</li></ul>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
<a name="gaussdb_01_0002"></a><a name="gaussdb_01_0002"></a>
|
||||
|
||||
<h1 class="topictitle1">Product Benefits</h1>
|
||||
<div id="body1563275032063"><p id="gaussdb_01_0002__p105211018519"><span id="gaussdb_01_0002__text1794162031815">GaussDB(for MySQL)</span> is an enterprise-class cloud database that uses a decoupled compute and storage architecture.</p>
|
||||
<div id="body1563275032063"><p id="gaussdb_01_0002__p105211018519"><span id="gaussdb_01_0002__text1111356932">GaussDB(for MySQL)</span> is an enterprise-grade cloud database with decoupled compute and storage.</p>
|
||||
<div class="section" id="gaussdb_01_0002__section1148443715515"><h4 class="sectiontitle">Requirements</h4>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_01_0002__table178767331588" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Requirements</caption><thead align="left"><tr id="gaussdb_01_0002__row68776331987"><th align="left" class="cellrowborder" valign="top" width="27.650000000000002%" id="mcps1.3.2.2.2.3.1.1"><p id="gaussdb_01_0002__p58771333081">Requirements</p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_01_0002__table178767331588" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Requirements</caption><thead align="left"><tr id="gaussdb_01_0002__row68776331987"><th align="left" class="cellrowborder" valign="top" width="27.650000000000002%" id="mcps1.3.2.2.2.3.1.1"><p id="gaussdb_01_0002__p58771333081">Requirement</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="72.35000000000001%" id="mcps1.3.2.2.2.3.1.2"><p id="gaussdb_01_0002__p487703320811">Description</p>
|
||||
</th>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<a name="gaussdb_01_0004"></a><a name="gaussdb_01_0004"></a>
|
||||
|
||||
<h1 class="topictitle1">DB Instance Specifications</h1>
|
||||
<div id="body8662426"><p id="gaussdb_01_0004__p434481752614"><span id="gaussdb_01_0004__text1877075161818">GaussDB(for MySQL)</span> instance specifications are listed in the following table and vary according to actual situations.</p>
|
||||
<div id="body8662426"><p id="gaussdb_01_0004__p434481752614"><span id="gaussdb_01_0004__text1671790050">GaussDB(for MySQL)</span> instance specifications are listed in the following tables and vary according to actual situations.</p>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_01_0004__table4380161019714" frame="border" border="1" rules="all"><caption><b>Table 1 </b>x86 instance specifications</caption><thead align="left"><tr id="gaussdb_01_0004__row103804105714"><th align="left" class="cellrowborder" valign="top" width="20.52%" id="mcps1.3.2.2.4.1.1"><p id="gaussdb_01_0004__p1938021015713"><strong id="gaussdb_01_0004__b1595839739">Instance Specifications</strong></p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_01_0004__table4380161019714" frame="border" border="1" rules="all"><caption><b>Table 1 </b>x86 instance specifications</caption><thead align="left"><tr id="gaussdb_01_0004__row103804105714"><th align="left" class="cellrowborder" valign="top" width="20.52%" id="mcps1.3.2.2.4.1.1"><p id="gaussdb_01_0004__p1938021015713"><strong id="gaussdb_01_0004__b724063443">Instance Specifications</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="44.12%" id="mcps1.3.2.2.4.1.2"><p id="gaussdb_01_0004__p43808104714"><strong id="gaussdb_01_0004__b315131359">vCPUs</strong></p>
|
||||
<th align="left" class="cellrowborder" valign="top" width="44.12%" id="mcps1.3.2.2.4.1.2"><p id="gaussdb_01_0004__p43808104714"><strong id="gaussdb_01_0004__b2026430794">vCPUs</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="35.36%" id="mcps1.3.2.2.4.1.3"><p id="gaussdb_01_0004__p338017103712">Memory (GB)</p>
|
||||
</th>
|
||||
@ -47,9 +47,9 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_01_0004__table18334912202415" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Kunpeng instance specifications</caption><thead align="left"><tr id="gaussdb_01_0004__row1533515125240"><th align="left" class="cellrowborder" valign="top" width="19.801980198019802%" id="mcps1.3.3.2.4.1.1"><p id="gaussdb_01_0004__p203357127249"><strong id="gaussdb_01_0004__b1668964640">Instance Specifications</strong></p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_01_0004__table18334912202415" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Kunpeng instance specifications</caption><thead align="left"><tr id="gaussdb_01_0004__row1533515125240"><th align="left" class="cellrowborder" valign="top" width="19.801980198019802%" id="mcps1.3.3.2.4.1.1"><p id="gaussdb_01_0004__p203357127249"><strong id="gaussdb_01_0004__b1627712220">Instance Specifications</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="45.06450645064506%" id="mcps1.3.3.2.4.1.2"><p id="gaussdb_01_0004__p7652296278"><strong id="gaussdb_01_0004__b534363979">vCPUs</strong></p>
|
||||
<th align="left" class="cellrowborder" valign="top" width="45.06450645064506%" id="mcps1.3.3.2.4.1.2"><p id="gaussdb_01_0004__p7652296278"><strong id="gaussdb_01_0004__b1898363616">vCPUs</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="35.13351335133513%" id="mcps1.3.3.2.4.1.3"><p id="gaussdb_01_0004__p733510123246">Memory (GB)</p>
|
||||
</th>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="gaussdb_01_0005"></a><a name="gaussdb_01_0005"></a>
|
||||
|
||||
<h1 class="topictitle1">DB Engines and Versions</h1>
|
||||
<div id="body8662426"><p id="gaussdb_01_0005__a2ad7fcd9850f4306bc24d86cfd788caa"><a href="#gaussdb_01_0005__tcbe3136335bb4aa09f0f887285618ea5">Table 1</a> lists the DB engines and versions supported by <span id="gaussdb_01_0005__text4275132218183">GaussDB(for MySQL)</span>.</p>
|
||||
<div id="body8662426"><p id="gaussdb_01_0005__a2ad7fcd9850f4306bc24d86cfd788caa"><a href="#gaussdb_01_0005__tcbe3136335bb4aa09f0f887285618ea5">Table 1</a> lists the DB engines and versions supported by <span id="gaussdb_01_0005__text1686956969">GaussDB(for MySQL)</span>.</p>
|
||||
|
||||
<div class="tablenoborder"><a name="gaussdb_01_0005__tcbe3136335bb4aa09f0f887285618ea5"></a><a name="tcbe3136335bb4aa09f0f887285618ea5"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_01_0005__tcbe3136335bb4aa09f0f887285618ea5" frame="border" border="1" rules="all"><caption><b>Table 1 </b>DB engines and versions</caption><thead align="left"><tr id="gaussdb_01_0005__rb3afe8df460f4b1d8bc1113556271870"><th align="left" class="cellrowborder" valign="top" width="29.03%" id="mcps1.3.2.2.3.1.1"><p id="gaussdb_01_0005__a5873c71628b44dafaddf8b0b3b88c4a2"><strong id="gaussdb_01_0005__a6acfe8b50c424919b679771ff303ee89">DB Engine</strong></p>
|
||||
</th>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="gaussdb_01_0008"></a><a name="gaussdb_01_0008"></a>
|
||||
|
||||
<h1 class="topictitle1">Constraints</h1>
|
||||
<div id="body8662426"><p id="gaussdb_01_0008__en-us_topic_0171122409_p48042784123325"><a href="#gaussdb_01_0008__en-us_topic_0171122409_table60364850123535">Table 1</a> shows the constraints designed to ensure the stability and security of <span id="gaussdb_01_0008__text1852310180195">GaussDB(for MySQL)</span>.</p>
|
||||
<div id="body8662426"><p id="gaussdb_01_0008__en-us_topic_0171122409_p48042784123325"><a href="#gaussdb_01_0008__en-us_topic_0171122409_table60364850123535">Table 1</a> shows the constraints designed to ensure the stability and security of <span id="gaussdb_01_0008__text1917557999">GaussDB(for MySQL)</span>.</p>
|
||||
|
||||
<div class="tablenoborder"><a name="gaussdb_01_0008__en-us_topic_0171122409_table60364850123535"></a><a name="en-us_topic_0171122409_table60364850123535"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_01_0008__en-us_topic_0171122409_table60364850123535" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Function constraints</caption><thead align="left"><tr id="gaussdb_01_0008__en-us_topic_0171122409_row63835418123535"><th align="left" class="cellrowborder" valign="top" width="23%" id="mcps1.3.2.2.3.1.1"><p id="gaussdb_01_0008__en-us_topic_0171122409_p3286360123535"><strong id="gaussdb_01_0008__en-us_topic_0171122409_b8423527068570">Function</strong></p>
|
||||
</th>
|
||||
@ -9,15 +9,15 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="gaussdb_01_0008__en-us_topic_0171122409_row65651390123535"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p16162334123535"><span id="gaussdb_01_0008__text1569616344220">GaussDB(for MySQL)</span> access</p>
|
||||
<tbody><tr id="gaussdb_01_0008__en-us_topic_0171122409_row65651390123535"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p16162334123535"><span id="gaussdb_01_0008__text896282220">GaussDB(for MySQL)</span> access</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><ul id="gaussdb_01_0008__en-us_topic_0171122409_ul187481213101516"><li id="gaussdb_01_0008__en-us_topic_0171122409_li674811391513">If <span id="gaussdb_01_0008__text1077763125">GaussDB(for MySQL)</span> DB instances are not bound with EIPs, the DB instances must be in the same VPC subnet as the ECSs associated with these instances.</li><li id="gaussdb_01_0008__en-us_topic_0171122409_li2660112913165">Security group rules must be added to allow ECSs to access <span id="gaussdb_01_0008__text1710573119195">GaussDB(for MySQL)</span> DB instances.<p id="gaussdb_01_0008__en-us_topic_0171122409_p1491083014167">By default, a <span id="gaussdb_01_0008__text0242834101915">GaussDB(for MySQL)</span> DB instance cannot be accessed by an ECS in a different security group. To allow it, you must add an inbound rule to the <span id="gaussdb_01_0008__text2523123601920">GaussDB(for MySQL)</span> security group.</p>
|
||||
</li><li id="gaussdb_01_0008__en-us_topic_0171122409_li92511522111510">The default <span id="gaussdb_01_0008__text4110133921919">GaussDB(for MySQL)</span> DB instance port is <strong id="gaussdb_01_0008__en-us_topic_0171122409_b3407114411711">3306</strong>. You can change it if you want to access <span id="gaussdb_01_0008__text295905113170">GaussDB(for MySQL)</span> through another port.</li></ul>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><ul id="gaussdb_01_0008__en-us_topic_0171122409_ul187481213101516"><li id="gaussdb_01_0008__en-us_topic_0171122409_li674811391513">If <span id="gaussdb_01_0008__text1175630458">GaussDB(for MySQL)</span> instances are not bound with EIPs, the instances must be in the same VPC subnet as the ECSs associated with these instances.</li><li id="gaussdb_01_0008__en-us_topic_0171122409_li2660112913165">Security group rules must be added to allow ECSs to access <span id="gaussdb_01_0008__text1932207952">GaussDB(for MySQL)</span> instances.<p id="gaussdb_01_0008__en-us_topic_0171122409_p1491083014167">By default, a <span id="gaussdb_01_0008__text1337793852">GaussDB(for MySQL)</span> instance cannot be accessed by an ECS in a different security group. To allow it, you must add an inbound rule to the <span id="gaussdb_01_0008__text1104566749">GaussDB(for MySQL)</span> security group.</p>
|
||||
</li><li id="gaussdb_01_0008__en-us_topic_0171122409_li92511522111510">The default <span id="gaussdb_01_0008__text88361964">GaussDB(for MySQL)</span> instance port is <strong id="gaussdb_01_0008__en-us_topic_0171122409_b3407114411711">3306</strong>. You can change it if you want to access <span id="gaussdb_01_0008__text168041342116">GaussDB(for MySQL)</span> through another port.</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_01_0008__en-us_topic_0171122409_row53074217123535"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p4044355123535">Deployment</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p41829298123535">ECSs in which <span id="gaussdb_01_0008__text19533194515216">GaussDB(for MySQL)</span> DB instances are deployed are not visible to users. You can access <span id="gaussdb_01_0008__text1634819309417">GaussDB(for MySQL)</span> DB instances only over an IP address and a port.</p>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p41829298123535">ECSs in which GaussDB(for MySQL) instances are deployed are not visible to users. You can access GaussDB(for MySQL) instances only over an IP address and a port.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_01_0008__en-us_topic_0171122409_row60017787123535"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p29602599123535">Administrator root permission</p>
|
||||
@ -27,22 +27,22 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_01_0008__en-us_topic_0171122409_row62985361123535"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p1540641123535">Database parameter modification</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p12792194483515">Most parameters can be modified on the <span id="gaussdb_01_0008__text117405221339">GaussDB(for MySQL)</span> console.</p>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p12792194483515">Most parameters can be modified on the GaussDB(for MySQL) console.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_01_0008__en-us_topic_0171122409_row19812839123535"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p61336152123535">Data migration</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0008__p1518154110214">The mysqldump tool is used to migrate data to <span id="gaussdb_01_0008__text2005348360">GaussDB(for MySQL)</span>.</p>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0008__p1518154110214">The mysqldump tool is used to migrate data to <span id="gaussdb_01_0008__text1215389219">GaussDB(for MySQL)</span>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_01_0008__en-us_topic_0171122409_row43544108123535"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p37411822123535"><span id="gaussdb_01_0008__text13515174210190">GaussDB(for MySQL)</span> instance reboot</p>
|
||||
<tr id="gaussdb_01_0008__en-us_topic_0171122409_row43544108123535"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p37411822123535"><span id="gaussdb_01_0008__text552405302">GaussDB(for MySQL)</span> instance reboot</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p41132837123535"><span id="gaussdb_01_0008__text9500194411192">GaussDB(for MySQL)</span> instances cannot be rebooted through commands. They must be rebooted on the <span id="gaussdb_01_0008__text171882615444">GaussDB(for MySQL)</span> console.</p>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p41132837123535"><span id="gaussdb_01_0008__text900499466">GaussDB(for MySQL)</span> instances cannot be rebooted through commands. They must be rebooted on the <span id="gaussdb_01_0008__text1916014291218">GaussDB(for MySQL)</span> console.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_01_0008__en-us_topic_0171122409_row27804808123535"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p37597003123535"><span id="gaussdb_01_0008__text10767811164712">GaussDB(for MySQL)</span> backup files</p>
|
||||
<tr id="gaussdb_01_0008__en-us_topic_0171122409_row27804808123535"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p37597003123535"><span id="gaussdb_01_0008__text1642812149">GaussDB(for MySQL)</span> backup files</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p48863033123535"><span id="gaussdb_01_0008__text193341446191919">GaussDB(for MySQL)</span> backup files are stored in OBS buckets and are not visible to users.</p>
|
||||
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0008__en-us_topic_0171122409_p48863033123535"><span id="gaussdb_01_0008__text1665208761">GaussDB(for MySQL)</span> backup files are stored in OBS buckets and are not visible to users.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="gaussdb_01_0009"></a><a name="gaussdb_01_0009"></a>
|
||||
|
||||
<h1 class="topictitle1">Related Services</h1>
|
||||
<div id="body1524886950014"><p id="gaussdb_01_0009__p120781410514">The following figure shows the relationship between <span id="gaussdb_01_0009__text1558819161910">GaussDB(for MySQL)</span> and other services.</p>
|
||||
<div id="body1524886950014"><p id="gaussdb_01_0009__p120781410514">The following figure shows the relationship between <span id="gaussdb_01_0009__text1778893517">GaussDB(for MySQL)</span> and other services.</p>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_01_0009__table53462471487" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Related services</caption><thead align="left"><tr id="gaussdb_01_0009__row123465471881"><th align="left" class="cellrowborder" valign="top" width="24.610000000000003%" id="mcps1.3.2.2.3.1.1"><p id="gaussdb_01_0009__p203468472814">Service Name</p>
|
||||
</th>
|
||||
@ -11,22 +11,22 @@
|
||||
</thead>
|
||||
<tbody><tr id="gaussdb_01_0009__row1934612476812"><td class="cellrowborder" valign="top" width="24.610000000000003%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0009__p114252397114">Elastic Cloud Service (ECS)</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="75.39%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0009__p124239396119">Enables you to access <span id="gaussdb_01_0009__text14801710101911">GaussDB(for MySQL)</span> DB instances through an ECS to reduce application response time and public network traffic fees.</p>
|
||||
<td class="cellrowborder" valign="top" width="75.39%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0009__p124239396119">Enables you to access <span id="gaussdb_01_0009__text1840304911">GaussDB(for MySQL)</span> instances through an ECS to reduce application response time and public network traffic fees.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_01_0009__row33471447386"><td class="cellrowborder" valign="top" width="24.610000000000003%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0009__p1334714476815">Virtual Private Cloud (VPC)</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="75.39%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0009__p12347347381">Isolates your networks and controls access to your <span id="gaussdb_01_0009__text18447013131911">GaussDB(for MySQL)</span> DB instances.</p>
|
||||
<td class="cellrowborder" valign="top" width="75.39%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0009__p12347347381">Isolates your networks and controls access to your <span id="gaussdb_01_0009__text37619184">GaussDB(for MySQL)</span> instances.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_01_0009__row23473471984"><td class="cellrowborder" valign="top" width="24.610000000000003%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0009__p123477471081">Object Storage Service (OBS)</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="75.39%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0009__p83471478820">Stores automated and manual backups of your <span id="gaussdb_01_0009__text128471640162012">GaussDB(for MySQL)</span> DB instances.</p>
|
||||
<td class="cellrowborder" valign="top" width="75.39%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0009__p83471478820">Stores automated and manual backups of your <span id="gaussdb_01_0009__text725018885">GaussDB(for MySQL)</span> instances.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_01_0009__row534724714814"><td class="cellrowborder" valign="top" width="24.610000000000003%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0009__p43471447586">Cloud Eye</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="75.39%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0009__p4301175211378">Acts as an open monitoring platform that monitors <span id="gaussdb_01_0009__text108211715171916">GaussDB(for MySQL)</span> resources in real time. It reports alarms and issues warnings promptly to ensure that services are running properly.</p>
|
||||
<td class="cellrowborder" valign="top" width="75.39%" headers="mcps1.3.2.2.3.1.2 "><p id="gaussdb_01_0009__p4301175211378">Acts as an open monitoring platform that monitors <span id="gaussdb_01_0009__text1551243372">GaussDB(for MySQL)</span> resources in real time. It reports alarms and issues warnings promptly to ensure that services are running properly.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_01_0009__row0587930151814"><td class="cellrowborder" valign="top" width="24.610000000000003%" headers="mcps1.3.2.2.3.1.1 "><p id="gaussdb_01_0009__p8347124717811">Cloud Trace Service (CTS)</p>
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
<a name="gaussdb_02_0000"></a><a name="gaussdb_02_0000"></a>
|
||||
|
||||
<h1 class="topictitle1">Getting Started with <span id="text1586650202014">GaussDB(for MySQL)</span></h1>
|
||||
<h1 class="topictitle1">Getting Started</h1>
|
||||
<div id="body8662426"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="quick_start.html">Connecting to a DB Instance</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_02_0005.html">Connecting to a DB instance Over a Private Network</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_02_0005.html">Connecting to a DB Instance over a Private Network</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_02_0010.html">Connecting to a DB Instance Over a Public Network</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_02_0010.html">Connecting to a DB Instance over a Public Network</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0004__en-us_topic_0171122419_row8225697547"><td class="cellrowborder" valign="top" width="17.669999999999998%" headers="mcps1.3.2.2.5.2.1.2.3.1.1 "><p id="gaussdb_02_0004__en-us_topic_0171122419_p1422515955416">DB Engine</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="82.33%" headers="mcps1.3.2.2.5.2.1.2.3.1.2 "><p id="gaussdb_02_0004__en-us_topic_0171122419_p1922515917542"><span id="gaussdb_02_0004__text1572101013599">GaussDB(for MySQL)</span></p>
|
||||
<td class="cellrowborder" valign="top" width="82.33%" headers="mcps1.3.2.2.5.2.1.2.3.1.2 "><p id="gaussdb_02_0004__en-us_topic_0171122419_p1922515917542"><span id="gaussdb_02_0004__text1021917214">GaussDB(for MySQL)</span></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0004__en-us_topic_0171122419_row62256995419"><td class="cellrowborder" valign="top" width="17.669999999999998%" headers="mcps1.3.2.2.5.2.1.2.3.1.1 "><p id="gaussdb_02_0004__en-us_topic_0171122419_p322516920542">DB Engine Version</p>
|
||||
@ -47,9 +47,9 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0004__en-us_topic_0171122419_table13240997543" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Specifications and storage</caption><thead align="left"><tr id="gaussdb_02_0004__en-us_topic_0171122419_row2225890545"><th align="left" class="cellrowborder" valign="top" width="20.07%" id="mcps1.3.2.2.5.2.2.2.3.1.1"><p id="gaussdb_02_0004__en-us_topic_0171122419_p132257916546"><strong id="gaussdb_02_0004__b1196493469">Parameter</strong></p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0004__en-us_topic_0171122419_table13240997543" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Specifications and storage</caption><thead align="left"><tr id="gaussdb_02_0004__en-us_topic_0171122419_row2225890545"><th align="left" class="cellrowborder" valign="top" width="20.07%" id="mcps1.3.2.2.5.2.2.2.3.1.1"><p id="gaussdb_02_0004__en-us_topic_0171122419_p132257916546"><strong id="gaussdb_02_0004__b1353459502">Parameter</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="79.93%" id="mcps1.3.2.2.5.2.2.2.3.1.2"><p id="gaussdb_02_0004__en-us_topic_0171122419_p112251899547"><strong id="gaussdb_02_0004__b1072674886">Description</strong></p>
|
||||
<th align="left" class="cellrowborder" valign="top" width="79.93%" id="mcps1.3.2.2.5.2.2.2.3.1.2"><p id="gaussdb_02_0004__en-us_topic_0171122419_p112251899547"><strong id="gaussdb_02_0004__b1392889594">Description</strong></p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -61,8 +61,8 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0004__row641785552118"><td class="cellrowborder" valign="top" width="20.07%" headers="mcps1.3.2.2.5.2.2.2.3.1.1 "><p id="gaussdb_02_0004__p1660532664110">Nodes</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.93%" headers="mcps1.3.2.2.5.2.2.2.3.1.2 "><p id="gaussdb_02_0004__p13947562597"><span id="gaussdb_02_0004__text9611721809">GaussDB(for MySQL)</span> supports one primary node and up to 15 read replicas. When you are creating a DB instance, a maximum of nine read replicas can be created at a time.</p>
|
||||
<p id="gaussdb_02_0004__p8653832125316">After the DB instance is created, you can also create read replicas based on service requirements by referring to <a href="gaussdb_03_0111.html">Creating a Read Replica</a>.</p>
|
||||
<td class="cellrowborder" valign="top" width="79.93%" headers="mcps1.3.2.2.5.2.2.2.3.1.2 "><p id="gaussdb_02_0004__p13947562597">A <span id="gaussdb_02_0004__text1721402366">GaussDB(for MySQL)</span> instance supports one primary node and up to 15 read replicas. When you are creating a DB instance, a maximum of nine read replicas can be created at a time.</p>
|
||||
<p id="gaussdb_02_0004__p8653832125316">After the DB instance is created, you can also create read replicas based on service requirements by referring to <a href="gaussdb_03_0111.html">Creating Read Replicas</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0004__en-us_topic_0171122419_row2240794541"><td class="cellrowborder" valign="top" width="20.07%" headers="mcps1.3.2.2.5.2.2.2.3.1.1 "><p id="gaussdb_02_0004__p11122744617">Storage</p>
|
||||
@ -74,16 +74,16 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0004__en-us_topic_0171122419_table42406975413" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Network</caption><thead align="left"><tr id="gaussdb_02_0004__en-us_topic_0171122419_row42407919548"><th align="left" class="cellrowborder" valign="top" width="21.19%" id="mcps1.3.2.2.5.2.3.2.3.1.1"><p id="gaussdb_02_0004__en-us_topic_0171122419_p11240189205418"><strong id="gaussdb_02_0004__b1799987805">Parameter</strong></p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0004__en-us_topic_0171122419_table42406975413" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Network</caption><thead align="left"><tr id="gaussdb_02_0004__en-us_topic_0171122419_row42407919548"><th align="left" class="cellrowborder" valign="top" width="21.19%" id="mcps1.3.2.2.5.2.3.2.3.1.1"><p id="gaussdb_02_0004__en-us_topic_0171122419_p11240189205418"><strong id="gaussdb_02_0004__b752519634">Parameter</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="78.81%" id="mcps1.3.2.2.5.2.3.2.3.1.2"><p id="gaussdb_02_0004__en-us_topic_0171122419_p324014918549"><strong id="gaussdb_02_0004__b1146894189">Description</strong></p>
|
||||
<th align="left" class="cellrowborder" valign="top" width="78.81%" id="mcps1.3.2.2.5.2.3.2.3.1.2"><p id="gaussdb_02_0004__en-us_topic_0171122419_p324014918549"><strong id="gaussdb_02_0004__b1941545219">Description</strong></p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="gaussdb_02_0004__en-us_topic_0171122419_row224039205415"><td class="cellrowborder" valign="top" width="21.19%" headers="mcps1.3.2.2.5.2.3.2.3.1.1 "><p id="gaussdb_02_0004__en-us_topic_0171122419_p1724018911549">VPC</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.81%" headers="mcps1.3.2.2.5.2.3.2.3.1.2 "><p id="gaussdb_02_0004__en-us_topic_0171122419_p1124011975415">A dedicated virtual network in which your DB instances are located. It isolates networks for different services. You can select an existing VPC or create a VPC. For details on how to create a VPC, see "Creating a VPC" in the <em id="gaussdb_02_0004__en-us_topic_0171122419_i842352697152613">Virtual Private Cloud User Guide</em>.</p>
|
||||
<p id="gaussdb_02_0004__en-us_topic_0171122419_p3240796540">If no VPC is available, <span id="gaussdb_02_0004__text16108561195">GaussDB(for MySQL)</span> allocates a VPC to you by default.</p>
|
||||
<p id="gaussdb_02_0004__en-us_topic_0171122419_p3240796540">If no VPC is available, <span id="gaussdb_02_0004__text506829389">GaussDB(for MySQL)</span> allocates a VPC to you by default.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0004__en-us_topic_0171122419_row124012915413"><td class="cellrowborder" valign="top" width="21.19%" headers="mcps1.3.2.2.5.2.3.2.3.1.1 "><p id="gaussdb_02_0004__en-us_topic_0171122419_p102402945412">Subnet</p>
|
||||
@ -94,15 +94,15 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0004__en-us_topic_0171122419_row122405915418"><td class="cellrowborder" valign="top" width="21.19%" headers="mcps1.3.2.2.5.2.3.2.3.1.1 "><p id="gaussdb_02_0004__en-us_topic_0171122419_p724016917546">Security Group</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.81%" headers="mcps1.3.2.2.5.2.3.2.3.1.2 "><p id="gaussdb_02_0004__en-us_topic_0171122419_p162402915543">Enhances security by controlling access to <span id="gaussdb_02_0004__text1923755818198">GaussDB(for MySQL)</span> from other services. You need to add rules to a security group that enable you to connect to your DB instance.</p>
|
||||
<p id="gaussdb_02_0004__en-us_topic_0171122419_p224029195419">If no security group is available or has been created, <span id="gaussdb_02_0004__text18458155419133">GaussDB(for MySQL)</span> allocates a security group to you by default.</p>
|
||||
<td class="cellrowborder" valign="top" width="78.81%" headers="mcps1.3.2.2.5.2.3.2.3.1.2 "><p id="gaussdb_02_0004__en-us_topic_0171122419_p162402915543">Enhances security by controlling access to <span id="gaussdb_02_0004__text1008598723">GaussDB(for MySQL)</span> from other services. You need to add rules to a security group that enable you to connect to your DB instance.</p>
|
||||
<p id="gaussdb_02_0004__en-us_topic_0171122419_p224029195419">If no security group is available or has been created, <span id="gaussdb_02_0004__text650919395">GaussDB(for MySQL)</span> allocates a security group to you by default.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0004__en-us_topic_0171122419_table13240209195412" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Database configuration</caption><thead align="left"><tr id="gaussdb_02_0004__en-us_topic_0171122419_row1424011975415"><th align="left" class="cellrowborder" valign="top" width="21.18%" id="mcps1.3.2.2.5.2.4.2.3.1.1"><p id="gaussdb_02_0004__en-us_topic_0171122419_p1524016975416"><strong id="gaussdb_02_0004__b1622416788">Parameter</strong></p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0004__en-us_topic_0171122419_table13240209195412" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Database configuration</caption><thead align="left"><tr id="gaussdb_02_0004__en-us_topic_0171122419_row1424011975415"><th align="left" class="cellrowborder" valign="top" width="21.18%" id="mcps1.3.2.2.5.2.4.2.3.1.1"><p id="gaussdb_02_0004__en-us_topic_0171122419_p1524016975416"><strong id="gaussdb_02_0004__b516289193">Parameter</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="78.82000000000001%" id="mcps1.3.2.2.5.2.4.2.3.1.2"><p id="gaussdb_02_0004__en-us_topic_0171122419_p72404919543"><strong id="gaussdb_02_0004__en-us_topic_0171122419_b84235270618288">Description</strong></p>
|
||||
</th>
|
||||
@ -129,9 +129,9 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0004__table16717956123819" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Parameter template</caption><thead align="left"><tr id="gaussdb_02_0004__row271817565382"><th align="left" class="cellrowborder" valign="top" width="18.38%" id="mcps1.3.2.2.5.2.5.2.3.1.1"><p id="gaussdb_02_0004__p9230191703918"><strong id="gaussdb_02_0004__b331212045">Parameter</strong></p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0004__table16717956123819" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Parameter template</caption><thead align="left"><tr id="gaussdb_02_0004__row271817565382"><th align="left" class="cellrowborder" valign="top" width="18.38%" id="mcps1.3.2.2.5.2.5.2.3.1.1"><p id="gaussdb_02_0004__p9230191703918"><strong id="gaussdb_02_0004__b1417506331">Parameter</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="81.62%" id="mcps1.3.2.2.5.2.5.2.3.1.2"><p id="gaussdb_02_0004__p18230817113920"><strong id="gaussdb_02_0004__b169395370">Description</strong></p>
|
||||
<th align="left" class="cellrowborder" valign="top" width="81.62%" id="mcps1.3.2.2.5.2.5.2.3.1.2"><p id="gaussdb_02_0004__p18230817113920"><strong id="gaussdb_02_0004__b1927484153">Description</strong></p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -167,7 +167,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0005.html">Connecting to a DB instance Over a Private Network</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0005.html">Connecting to a DB Instance over a Private Network</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<a name="gaussdb_02_0005"></a><a name="gaussdb_02_0005"></a>
|
||||
|
||||
<h1 class="topictitle1">Connecting to a DB instance Over a Private Network</h1>
|
||||
<h1 class="topictitle1">Connecting to a DB Instance over a Private Network</h1>
|
||||
<div id="body1576663241760"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
@ -10,12 +10,12 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_02_0008.html">Step 2: Configure Security Group Rules</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_02_0009.html">Step 3: Connect to a DB Instance Over a Private Network</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_02_0009.html">Step 3: Connect to a DB Instance over a Private Network</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0000.html">Getting Started with GaussDB(for MySQL)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0000.html">Getting Started</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -6,14 +6,14 @@
|
||||
</div>
|
||||
<div class="section" id="gaussdb_02_0006__section491834114289"><h4 class="sectiontitle">Process</h4><p id="gaussdb_02_0006__p126441618115011"><a href="#gaussdb_02_0006__fig138110377499">Figure 1</a> illustrates the process of connecting to a DB instance over a private network.</p>
|
||||
<div class="fignone" id="gaussdb_02_0006__fig138110377499"><a name="gaussdb_02_0006__fig138110377499"></a><a name="fig138110377499"></a><span class="figcap"><b>Figure 1 </b>Connecting to a DB instance over a private network</span><br><span><img id="gaussdb_02_0006__image1193114323515" src="en-us_image_0000001402979149.png"></span></div>
|
||||
<ul id="gaussdb_02_0006__ul104351848102212"><li id="gaussdb_02_0006__li1148153817586"><a href="gaussdb_02_0004.html">Step 1: Create a DB instance.</a> Confirm the specifications, storage, network, and database account configurations of the DB instance based on service requirements.</li><li id="gaussdb_02_0006__li6435184842218"><a href="gaussdb_02_0008.html">Step 2: Configure security group rules.</a><ul id="gaussdb_02_0006__ul918617422353"><li id="gaussdb_02_0006__li5186194293518">If the ECS and DB instance are in the same security group, they can communicate with each other by default. No security group rule needs to be configured. Go to <a href="gaussdb_02_0009.html">Step 3: Connect to a DB Instance Over a Private Network</a>.</li><li id="gaussdb_02_0006__li1118674243514">If the ECS and DB instance are in different security groups, you need to configure security group rules for the ECS and DB instance, respectively.<ul id="gaussdb_02_0006__ul11186124217355"><li id="gaussdb_02_0006__li1418674233515">DB instance: Configure an inbound rule for the security group to which the DB instance is associated.</li><li id="gaussdb_02_0006__li41861342193514">ECS: The default security group rule allows all outgoing data packets. In this scenario, you do not need to configure a security group rule for the ECS. If not all outbound traffic is allowed in the security group, you need to configure an outbound rule for the ECS.</li></ul>
|
||||
<ul id="gaussdb_02_0006__ul104351848102212"><li id="gaussdb_02_0006__li1148153817586"><a href="gaussdb_02_0004.html">Step 1: Create a DB instance.</a> Confirm the specifications, network, and database account configurations of the DB instance based on service requirements.</li><li id="gaussdb_02_0006__li6435184842218"><a href="gaussdb_02_0008.html">Step 2: Configure security group rules.</a><ul id="gaussdb_02_0006__ul918617422353"><li id="gaussdb_02_0006__li5186194293518">If the ECS and DB instance are in the same security group, they can communicate with each other by default. No security group rule needs to be configured. Go to <a href="gaussdb_02_0009.html">Step 3: Connect to a DB Instance over a Private Network</a>.</li><li id="gaussdb_02_0006__li1118674243514">If the ECS and DB instance are in different security groups, you need to configure security group rules for the ECS and DB instance, respectively.<ul id="gaussdb_02_0006__ul11186124217355"><li id="gaussdb_02_0006__li1418674233515">DB instance: Configure an inbound rule for the security group associated with the DB instance.</li><li id="gaussdb_02_0006__li41861342193514">ECS: The default security group rule allows all outgoing data packets. In this case, you do not need to configure a security group rule for the ECS. If not all outbound traffic is allowed in the security group, you need to configure an outbound rule for the ECS.</li></ul>
|
||||
</li></ul>
|
||||
</li><li id="gaussdb_02_0006__li1543514813227"><a href="gaussdb_02_0009.html">Step 3: Connect to a DB instance over a private network.</a> You can connect to the DB instance through a common connection, or an SSL connection for enhanced security. <span class="keyword" id="gaussdb_02_0006__en-us_topic_0172523144_keyword056611347101">SSL connections</span> <span class="keyword" id="gaussdb_02_0006__en-us_topic_0172523144_keyword1556714344108">are encrypted</span>.</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0005.html">Connecting to a DB instance Over a Private Network</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0005.html">Connecting to a DB Instance over a Private Network</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -3,16 +3,16 @@
|
||||
<h1 class="topictitle1">Step 2: Configure Security Group Rules</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_02_0008__en-us_topic_0171122646_sf45ae489721044578fc3fd08405287ca"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_02_0008__en-us_topic_0171122646_en-us_topic_0134327719_p15501545485">A <span class="keyword" id="gaussdb_02_0008__keyword1842311282079">security group</span> is a collection of access control rules for ECSs and DB instances that have the same security requirements and are mutually trusted in a VPC. To ensure database security and reliability, you need to configure security group rules to allow specific IP addresses and ports to access DB instances.</p>
|
||||
<p id="gaussdb_02_0008__p96833894311">Check whether the ECS and DB instance are in the same security group.</p>
|
||||
<ul id="gaussdb_02_0008__ul144352480228"><li id="gaussdb_02_0008__li1443519484221">If they are in the same security group, they can communicate with each other by default. No security group rule needs to be configured. Go to <a href="gaussdb_02_0009.html">Step 3: Connect to a DB Instance Over a Private Network</a>.</li><li id="gaussdb_02_0008__li1443574832217">If they are in different security groups, you need to configure security group rules for the ECS and DB instance, respectively.<ul id="gaussdb_02_0008__ul74351648182211"><li id="gaussdb_02_0008__li743520483225">DB instance: Configure an inbound rule for the security group to which the DB instance is associated.</li><li id="gaussdb_02_0008__li124352488226">ECS: The default security group rule allows all outgoing data packets. In this scenario, you do not need to configure a security rule for the ECS. If not all outbound traffic is allowed in the security group, you need to configure an outbound rule for the ECS.</li></ul>
|
||||
<ul id="gaussdb_02_0008__ul144352480228"><li id="gaussdb_02_0008__li1443519484221">If they are in the same security group, they can communicate with each other by default. No security group rule needs to be configured. Go to <a href="gaussdb_02_0009.html">Step 3: Connect to a DB Instance over a Private Network</a>.</li><li id="gaussdb_02_0008__li1443574832217">If they are in different security groups, you need to configure security group rules for the ECS and DB instance, respectively.<ul id="gaussdb_02_0008__ul74351648182211"><li id="gaussdb_02_0008__li743520483225">DB instance: Configure an inbound rule for the security group associated with the DB instance.</li><li id="gaussdb_02_0008__li124352488226">ECS: The default security group rule allows all outgoing data packets. In this scenario, you do not need to configure a security rule for the ECS. If not all outbound traffic is allowed in the security group, you need to configure an outbound rule for the ECS.</li></ul>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_02_0008__en-us_topic_0171122646_s993d56a9d4e041c2a6546bacf61b28de"><h4 class="sectiontitle">Precautions</h4><p id="gaussdb_02_0008__en-us_topic_0171122646_afb7e447fd9ac47c9b5b037b47e272310">The default security group rule allows all outgoing data packets. If an ECS and a DB instance are in the same security group, they can access each other. When a security group is created, you can configure security group rules to control access to and from DB instances in that security group.</p>
|
||||
<ul id="gaussdb_02_0008__en-us_topic_0171122646_u203e859c7265443cba2d4136e35832c7"><li id="gaussdb_02_0008__en-us_topic_0171122646_l4078bf7780a34850be7cec9ed9a1ef1c">By default, you can create a maximum of 500 security group rules.</li><li id="gaussdb_02_0008__en-us_topic_0171122646_lda26356485ec44c999d68471c3283e3d">To prevent high network latency for the first packet, you are advised to create a maximum of 50 rules for each security group.</li><li id="gaussdb_02_0008__en-us_topic_0171122646_l8d5faae460b64fbf8874b71087c5cbd5">To access a DB instance from resources outside the security group, you need to configure an inbound rule for the security group associated with the DB instance.</li></ul>
|
||||
<div class="note" id="gaussdb_02_0008__en-us_topic_0171122646_ned3aaa55f96f4c2fa40849188b16092b"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="gaussdb_02_0008__en-us_topic_0171122646_a031f544c552e48b4a285bcb70e6a1419">To ensure the security of your data and DB instances, you are advised to use the principle of least privilege for database access. Change the database port (default value: <strong id="gaussdb_02_0008__b1763895983118">3306</strong>), and set the IP address to the remote server's address or an IP address on the remote server's smallest subnet so that access to the remote server is limited.</p>
|
||||
<p id="gaussdb_02_0008__en-us_topic_0171122646_en-us_topic_0134327719_p147943013223">If you use <strong id="gaussdb_02_0008__en-us_topic_0171122646_b4779330614023">0.0.0.0/0</strong>, all IP addresses are enabled to access DB instances in the security group.</p>
|
||||
<p id="gaussdb_02_0008__en-us_topic_0171122646_en-us_topic_0134327719_p147943013223">The default value of <strong id="gaussdb_02_0008__b1255555723117">Source</strong> is <strong id="gaussdb_02_0008__b16555357183110">0.0.0.0/0</strong>, indicating that <span id="gaussdb_02_0008__text105652347">GaussDB(for MySQL)</span> instances in the security group can be accessed from any IP address.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_02_0008__en-us_topic_0171122646_sd7df6780947f4922b3c5cb114ae3d12e"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_02_0008__en-us_topic_0171122646_o13a2543136f045df92268b6f8b5f248c"><li id="gaussdb_02_0008__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_02_0008__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_02_0008__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_02_0008__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_02_0008__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_02_0008__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_02_0008__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_02_0008__en-us_topic_0171122646_lcd296510316241ec96805ea09290dde0"><span>On the <strong id="gaussdb_02_0008__en-us_topic_0171122646_b15787103615547">Instances</strong> page, click the target DB instance.</span></li><li id="gaussdb_02_0008__en-us_topic_0171122646_l1ac30215d6984fc686c27070a9875aab"><span>Configure security group rules.</span><p><p id="gaussdb_02_0008__en-us_topic_0171122646_p1428132133210">In the <strong id="gaussdb_02_0008__en-us_topic_0171122646_b189409398124">Network Information</strong> area on the <strong id="gaussdb_02_0008__b4769164313302">Basic Information</strong> page, click the security group.</p>
|
||||
<div class="section" id="gaussdb_02_0008__en-us_topic_0171122646_sd7df6780947f4922b3c5cb114ae3d12e"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_02_0008__en-us_topic_0171122646_o13a2543136f045df92268b6f8b5f248c"><li id="gaussdb_02_0008__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_02_0008__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_02_0008__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_02_0008__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_02_0008__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_02_0008__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_02_0008__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_02_0008__en-us_topic_0171122646_lcd296510316241ec96805ea09290dde0"><span>On the <span class="uicontrol" id="gaussdb_02_0008__uicontrol16969188102510"><b>Instances</b></span> page, click the instance name to go to the <span class="uicontrol" id="gaussdb_02_0008__uicontrol15969138142517"><b>Basic Information</b></span> page.</span></li><li id="gaussdb_02_0008__en-us_topic_0171122646_l1ac30215d6984fc686c27070a9875aab"><span>Configure security group rules.</span><p><p id="gaussdb_02_0008__en-us_topic_0171122646_p1428132133210">In the <strong id="gaussdb_02_0008__en-us_topic_0171122646_b189409398124">Network Information</strong> area on the <strong id="gaussdb_02_0008__b4769164313302">Basic Information</strong> page, click the security group.</p>
|
||||
</p></li><li id="gaussdb_02_0008__en-us_topic_0171122646_lb0e8440adcea471c8992839ce9093a65"><span>On the <strong id="gaussdb_02_0008__en-us_topic_0171122646_b1514219161512">Inbound Rules</strong> tab, click <strong id="gaussdb_02_0008__en-us_topic_0171122646_b313832731519">Add Rule</strong>. In the displayed dialog box, set required parameters and click <strong id="gaussdb_02_0008__en-us_topic_0171122646_b14827125984310">OK</strong>.</span><p><div class="p" id="gaussdb_02_0008__en-us_topic_0171122646_en-us_topic_0134327719_p179625268405">You can click <strong id="gaussdb_02_0008__en-us_topic_0171122646_b728513118449">+</strong> to add more inbound rules.
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0008__table48641848194714" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Inbound rule parameter description</caption><thead align="left"><tr id="gaussdb_02_0008__row1686410482475"><th align="left" class="cellrowborder" valign="top" width="17.611761176117614%" id="mcps1.3.3.2.6.2.1.2.2.4.1.1"><p id="gaussdb_02_0008__p6864114818478"><strong id="gaussdb_02_0008__en-us_topic_0171122646_b178657444443">Parameter</strong></p>
|
||||
</th>
|
||||
@ -72,7 +72,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0005.html">Connecting to a DB instance Over a Private Network</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0005.html">Connecting to a DB Instance over a Private Network</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="gaussdb_02_0009"></a><a name="gaussdb_02_0009"></a>
|
||||
|
||||
<h1 class="topictitle1">Step 3: Connect to a DB Instance Over a Private Network</h1>
|
||||
<div id="body8662426"><p id="gaussdb_02_0009__en-us_topic_0171122303_p197711397430"><span id="gaussdb_02_0009__text17493525201117">GaussDB(for MySQL)</span> is fully compatible with the MySQL protocol. You can connect to a DB instance through either a common connection or an SSL connection for enhanced security. <span class="keyword" id="gaussdb_02_0009__keyword11280113211111">SSL connections</span> <span class="keyword" id="gaussdb_02_0009__keyword22811032141114">are encrypted</span>.</p>
|
||||
<h1 class="topictitle1">Step 3: Connect to a DB Instance over a Private Network</h1>
|
||||
<div id="body8662426"><p id="gaussdb_02_0009__en-us_topic_0171122303_p197711397430"><span id="gaussdb_02_0009__text2082021450">GaussDB(for MySQL)</span> is fully compatible with the MySQL protocol. You can connect to a DB instance through either a common connection or an SSL connection. <span class="keyword" id="gaussdb_02_0009__keyword11280113211111">SSL connections</span> <span class="keyword" id="gaussdb_02_0009__keyword22811032141114">are encrypted</span>.</p>
|
||||
<div class="section" id="gaussdb_02_0009__en-us_topic_0171122303_section549821216525"><h4 class="sectiontitle">Prerequisites</h4><ol id="gaussdb_02_0009__en-us_topic_0171122303_oa7dced4bfaf041aab9fd83d39b5cbfc4"><li id="gaussdb_02_0009__en-us_topic_0171122303_l35ca9902319148c4a2dfd699ca7852ef">Log in to the ECS.<ul id="gaussdb_02_0009__en-us_topic_0171122303_ude9a9db48da34cecb2f4ee0e9c41b0b0"><li id="gaussdb_02_0009__en-us_topic_0171122303_li18551730314"><p id="gaussdb_02_0009__p6454183119113"><a name="gaussdb_02_0009__en-us_topic_0171122303_li18551730314"></a><a name="en-us_topic_0171122303_li18551730314"></a>For details on how to create and log in to an ECS, see "Creating an ECS" and "Logging In an ECS" in the <em id="gaussdb_02_0009__i55668218214">Elastic Cloud Server User Guide</em>.</p>
|
||||
</li><li id="gaussdb_02_0009__en-us_topic_0171122303_li21601711633">To connect to a DB instance through an ECS, you must ensure that:<ul id="gaussdb_02_0009__en-us_topic_0171122303_ul8936211257"><li id="gaussdb_02_0009__en-us_topic_0171122303_li96571329234">The ECS and DB instance are in the same VPC.</li><li id="gaussdb_02_0009__en-us_topic_0171122303_li09011230251">The ECS must be allowed by the security group to access DB instances.<ul id="gaussdb_02_0009__en-us_topic_0171122303_ul53121930773"><li id="gaussdb_02_0009__en-us_topic_0171122303_li92211747371">If the security group with which the target DB instance associated is the default security group, you do not need to configure security group rules.</li><li id="gaussdb_02_0009__en-us_topic_0171122303_li14221947274">If the security group with which the target DB instance associated is not the default security group, check whether the security group rules allow the ECS to connect to the DB instance. For details, see <a href="gaussdb_02_0008.html">Step 2: Configure Security Group Rules</a>.<p id="gaussdb_02_0009__en-us_topic_0171122303_p1798910425117">If the security group rules allow the access from the ECS, the ECS can connect to the DB instance.</p>
|
||||
<p id="gaussdb_02_0009__en-us_topic_0171122303_p129891442191111">If the security group rules do not allow the access from the ECS, you need to add a security group rule. The ECS must be allowed by the security group to access DB instances.</p>
|
||||
@ -9,7 +9,7 @@
|
||||
</li></ul>
|
||||
</li></ul>
|
||||
</li><li id="gaussdb_02_0009__en-us_topic_0171122303_li17748178161515">Use a database client to connect to the target DB instance.<p id="gaussdb_02_0009__en-us_topic_0171122303_p193794142818"><a name="gaussdb_02_0009__en-us_topic_0171122303_li17748178161515"></a><a name="en-us_topic_0171122303_li17748178161515"></a>You can use a database client to connect to the DB instance in the Linux or Windows OS.</p>
|
||||
<ul id="gaussdb_02_0009__en-us_topic_0171122303_ul1327115354305"><li id="gaussdb_02_0009__en-us_topic_0171122303_li192715352302">In the Linux OS, install the MySQL client on the ECS or other device that can access the DB instance. It is recommended that you download a MySQL client running a version later than that of the DB instance.<p id="gaussdb_02_0009__p14615174120401"><a name="gaussdb_02_0009__en-us_topic_0171122303_li192715352302"></a><a name="en-us_topic_0171122303_li192715352302"></a>For details about how to obtain and install the MySQL client, see <a href="gaussdb_faq_0011.html">How Can I Install the MySQL Client?</a></p>
|
||||
<ul id="gaussdb_02_0009__en-us_topic_0171122303_ul1327115354305"><li id="gaussdb_02_0009__en-us_topic_0171122303_li192715352302">In the Linux OS, install the MySQL client on the device that can access <span id="gaussdb_02_0009__text1090940669">GaussDB(for MySQL)</span>. It is recommended that you download a MySQL client running a version later than that of the DB instance.<p id="gaussdb_02_0009__p14615174120401">For details about how to obtain and install the MySQL client, see <a href="gaussdb_faq_0011.html">How Can I Install the MySQL Client?</a></p>
|
||||
</li></ul>
|
||||
<ul id="gaussdb_02_0009__en-us_topic_0171122303_ul73931324282"><li id="gaussdb_02_0009__en-us_topic_0171122303_li1393724286">In the Windows OS, you can use any common database client to connect to the DB instance in a similar way.<p id="gaussdb_02_0009__en-us_topic_0171122303_p03931220280"><a name="gaussdb_02_0009__en-us_topic_0171122303_li1393724286"></a><a name="en-us_topic_0171122303_li1393724286"></a>The database client <strong id="gaussdb_02_0009__b1168981913232">MySQL-Front</strong> is used as an example in <a href="#gaussdb_02_0009__en-us_topic_0171122303_section103301531245">Using MySQL-Front to Connect to a DB Instance</a>.</p>
|
||||
</li></ul>
|
||||
@ -31,7 +31,7 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0009__en-us_topic_0171122303_row13345133120497"><td class="cellrowborder" valign="top" width="8.88%" headers="mcps1.3.3.2.3.2.2.2.3.1.1 "><p id="gaussdb_02_0009__en-us_topic_0171122303_p18345123120494">Host</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="91.12%" headers="mcps1.3.3.2.3.2.2.2.3.1.2 "><div class="p" id="gaussdb_02_0009__en-us_topic_0171122303_p076620352501">Private IP address for write of the target DB instance. To view the private address of the target DB instance, perform the following steps:<ol type="a" id="gaussdb_02_0009__en-us_topic_0171122303_ol2197921185015"><li id="gaussdb_02_0009__en-us_topic_0171122303_li1619719218503">Log in to the <span id="gaussdb_02_0009__text184523818206">GaussDB(for MySQL)</span> console.</li><li id="gaussdb_02_0009__en-us_topic_0171122303_li1197182118505">Select the region in which the DB instance is located.</li><li id="gaussdb_02_0009__en-us_topic_0171122303_li18198142125015">Click the target DB instance to go to the <strong id="gaussdb_02_0009__en-us_topic_0171122303_b84235270620346">Basic Information</strong> page.</li><li id="gaussdb_02_0009__en-us_topic_0171122303_li14198142155010">In the <strong id="gaussdb_02_0009__b14920125414274">Network Information</strong> area, view the private IP address for write.</li></ol>
|
||||
<td class="cellrowborder" valign="top" width="91.12%" headers="mcps1.3.3.2.3.2.2.2.3.1.2 "><div class="p" id="gaussdb_02_0009__en-us_topic_0171122303_p076620352501">Private IP address for write of the target DB instance. To view the private address of the target DB instance, perform the following steps:<ol type="a" id="gaussdb_02_0009__en-us_topic_0171122303_ol2197921185015"><li id="gaussdb_02_0009__en-us_topic_0171122303_li1619719218503">Log in to the <span id="gaussdb_02_0009__text2016943827">GaussDB(for MySQL)</span> console.</li><li id="gaussdb_02_0009__en-us_topic_0171122303_li1197182118505">Select the region in which the DB instance is located.</li><li id="gaussdb_02_0009__en-us_topic_0171122303_li18198142125015">Click the target DB instance to go to the <strong id="gaussdb_02_0009__en-us_topic_0171122303_b84235270620346">Basic Information</strong> page.</li><li id="gaussdb_02_0009__en-us_topic_0171122303_li14198142155010">In the <strong id="gaussdb_02_0009__b14920125414274">Network Information</strong> area, view the private IP address for write.</li></ol>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -56,7 +56,7 @@
|
||||
</p></li><li id="gaussdb_02_0009__en-us_topic_0171122303_li1754301665115"><span>In the displayed window, select the connection that you have created and click <span class="uicontrol" id="gaussdb_02_0009__en-us_topic_0171122303_uicontrol0195247102815"><b>Open</b></span>. If the connection information is correct, the DB instance is successfully connected.</span><p><div class="fignone" id="gaussdb_02_0009__en-us_topic_0171122303_fig4589305124"><span class="figcap"><b>Figure 3 </b>Opening a session</span><br><span><img id="gaussdb_02_0009__en-us_topic_0171122303_image16519105112914" src="en-us_image_0000001402858817.png"></span></div>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_02_0009__en-us_topic_0171122303_section09675811156"><h4 class="sectiontitle">SSL Connection</h4><ol id="gaussdb_02_0009__en-us_topic_0171122303_ol155871645114112"><li id="gaussdb_02_0009__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_02_0009__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_02_0009__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_02_0009__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_02_0009__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_02_0009__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_02_0009__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_02_0009__en-us_topic_0171122303_li2033132135913"><span>In the <span class="uicontrol" id="gaussdb_02_0009__en-us_topic_0171122303_uicontrol1946253211235"><b>DB Instance Information</b></span> area on the <strong id="gaussdb_02_0009__en-us_topic_0171122303_b64621432192311">Basic Information</strong> page, click <span><img id="gaussdb_02_0009__en-us_topic_0171122303_image197254186415" src="en-us_image_0000001402979157.png"></span> in the <strong id="gaussdb_02_0009__en-us_topic_0171122303_b19463123262315">SSL</strong> field to download the root certificate or certificate bundle.</span></li><li id="gaussdb_02_0009__li1394511118347"><span>Import the root certificate to the Linux OS on the ECS.</span><p><p id="gaussdb_02_0009__p11688163783412">For details, see <a href="gaussdb_faq_0010.html">How Can I Import the Root Certificate to a Windows or Linux OS?</a></p>
|
||||
<div class="section" id="gaussdb_02_0009__en-us_topic_0171122303_section09675811156"><h4 class="sectiontitle">SSL Connection</h4><ol id="gaussdb_02_0009__en-us_topic_0171122303_ol155871645114112"><li id="gaussdb_02_0009__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_02_0009__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_02_0009__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_02_0009__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_02_0009__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_02_0009__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_02_0009__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_02_0009__en-us_topic_0171122303_li2033132135913"><span>In the <span class="uicontrol" id="gaussdb_02_0009__en-us_topic_0171122303_uicontrol1946253211235"><b>DB Instance Information</b></span> area on the <strong id="gaussdb_02_0009__en-us_topic_0171122303_b64621432192311">Basic Information</strong> page, click <span><img id="gaussdb_02_0009__en-us_topic_0171122303_image197254186415" src="en-us_image_0000001402979157.png"></span> in the <strong id="gaussdb_02_0009__en-us_topic_0171122303_b19463123262315">SSL</strong> field to download the root certificate or certificate bundle.</span></li><li id="gaussdb_02_0009__li1394511118347"><span>Import the root certificate to the Linux OS on the ECS.</span><p><p id="gaussdb_02_0009__p11688163783412">For details, see <a href="gaussdb_faq_0010.html">How Do I Import the SSL Certificate of an RDS Instance to a Windows or Linux Server?</a></p>
|
||||
</p></li><li id="gaussdb_02_0009__en-us_topic_0171122303_l7bda6239fa2543bc94a47decf26c022e"><span>Connect to a DB instance. The Linux OS is assumed in this example.</span><p><p id="gaussdb_02_0009__en-us_topic_0171122303_p717752055713"><strong id="gaussdb_02_0009__en-us_topic_0171122303_b188183153572">mysql -h</strong> <<em id="gaussdb_02_0009__en-us_topic_0171122303_i16818415135719">hostName</em>> <strong id="gaussdb_02_0009__en-us_topic_0171122303_b1481815154578">-P</strong><em id="gaussdb_02_0009__en-us_topic_0171122303_i996438155215"> <port></em> <strong id="gaussdb_02_0009__en-us_topic_0171122303_b183211545720">-u</strong> <<em id="gaussdb_02_0009__en-us_topic_0171122303_i188321315195711">userName</em>> <strong id="gaussdb_02_0009__en-us_topic_0171122303_b14435192414119">-p</strong> <strong id="gaussdb_02_0009__en-us_topic_0171122303_b13832151515716">--ssl-ca=</strong><<em id="gaussdb_02_0009__en-us_topic_0171122303_i20832201515712">caName</em>></p>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0009__en-us_topic_0171122303_table385819434338" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="gaussdb_02_0009__en-us_topic_0171122303_row1285974314331"><th align="left" class="cellrowborder" valign="top" width="21.2%" id="mcps1.3.4.2.6.2.2.2.3.1.1"><p id="gaussdb_02_0009__en-us_topic_0171122303_p13859124323319"><strong id="gaussdb_02_0009__en-us_topic_0171122303_b963063452415">Parameter</strong></p>
|
||||
@ -79,7 +79,7 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0009__en-us_topic_0171122303_row14859174318331"><td class="cellrowborder" valign="top" width="21.2%" headers="mcps1.3.4.2.6.2.2.2.3.1.1 "><p id="gaussdb_02_0009__en-us_topic_0171122303_p20859184323316"><<em id="gaussdb_02_0009__en-us_topic_0171122303_i1310372463412">userName</em>></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.8%" headers="mcps1.3.4.2.6.2.2.2.3.1.2 "><p id="gaussdb_02_0009__en-us_topic_0171122303_p4859143123318">Username of the <span id="gaussdb_02_0009__text774984611209">GaussDB(for MySQL)</span> administrator account. The default username is <strong id="gaussdb_02_0009__b15577168383">root</strong>.</p>
|
||||
<td class="cellrowborder" valign="top" width="78.8%" headers="mcps1.3.4.2.6.2.2.2.3.1.2 "><p id="gaussdb_02_0009__en-us_topic_0171122303_p4859143123318">Username of the <span id="gaussdb_02_0009__text1222815642">GaussDB(for MySQL)</span> administrator account. The default username is <strong id="gaussdb_02_0009__b15577168383">root</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0009__en-us_topic_0171122303_row63981620153510"><td class="cellrowborder" valign="top" width="21.2%" headers="mcps1.3.4.2.6.2.2.2.3.1.1 "><p id="gaussdb_02_0009__en-us_topic_0171122303_p7399182018357"><<em id="gaussdb_02_0009__en-us_topic_0171122303_i9263152720352">caName</em>></p>
|
||||
@ -99,7 +99,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0005.html">Connecting to a DB instance Over a Private Network</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0005.html">Connecting to a DB Instance over a Private Network</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<a name="gaussdb_02_0010"></a><a name="gaussdb_02_0010"></a>
|
||||
|
||||
<h1 class="topictitle1">Connecting to a DB Instance Over a Public Network</h1>
|
||||
<h1 class="topictitle1">Connecting to a DB Instance over a Public Network</h1>
|
||||
<div id="body8662426"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
@ -12,12 +12,12 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_02_0013.html">Step 3: Configure Security Group Rules</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_02_0014.html">Step 4: Connect to a DB Instance Over a Public Network</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_02_0014.html">Step 4: Connect to a DB Instance over a Public Network</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0000.html">Getting Started with GaussDB(for MySQL)</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0000.html">Getting Started</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row8225697547"><td class="cellrowborder" valign="top" width="17.669999999999998%" headers="mcps1.3.2.2.5.2.1.2.3.1.1 "><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p1422515955416">DB Engine</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="82.33%" headers="mcps1.3.2.2.5.2.1.2.3.1.2 "><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p1922515917542"><span id="gaussdb_02_0012__gaussdb_02_0004_text1572101013599">GaussDB(for MySQL)</span></p>
|
||||
<td class="cellrowborder" valign="top" width="82.33%" headers="mcps1.3.2.2.5.2.1.2.3.1.2 "><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p1922515917542"><span id="gaussdb_02_0012__gaussdb_02_0004_text1021917214">GaussDB(for MySQL)</span></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row62256995419"><td class="cellrowborder" valign="top" width="17.669999999999998%" headers="mcps1.3.2.2.5.2.1.2.3.1.1 "><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p322516920542">DB Engine Version</p>
|
||||
@ -47,9 +47,9 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_table13240997543" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Specifications and storage</caption><thead align="left"><tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row2225890545"><th align="left" class="cellrowborder" valign="top" width="20.07%" id="mcps1.3.2.2.5.2.2.2.3.1.1"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p132257916546"><strong id="gaussdb_02_0012__gaussdb_02_0004_b1196493469">Parameter</strong></p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_table13240997543" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Specifications and storage</caption><thead align="left"><tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row2225890545"><th align="left" class="cellrowborder" valign="top" width="20.07%" id="mcps1.3.2.2.5.2.2.2.3.1.1"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p132257916546"><strong id="gaussdb_02_0012__gaussdb_02_0004_b1353459502">Parameter</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="79.93%" id="mcps1.3.2.2.5.2.2.2.3.1.2"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p112251899547"><strong id="gaussdb_02_0012__gaussdb_02_0004_b1072674886">Description</strong></p>
|
||||
<th align="left" class="cellrowborder" valign="top" width="79.93%" id="mcps1.3.2.2.5.2.2.2.3.1.2"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p112251899547"><strong id="gaussdb_02_0012__gaussdb_02_0004_b1392889594">Description</strong></p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -61,8 +61,8 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0012__gaussdb_02_0004_row641785552118"><td class="cellrowborder" valign="top" width="20.07%" headers="mcps1.3.2.2.5.2.2.2.3.1.1 "><p id="gaussdb_02_0012__gaussdb_02_0004_p1660532664110">Nodes</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="79.93%" headers="mcps1.3.2.2.5.2.2.2.3.1.2 "><p id="gaussdb_02_0012__gaussdb_02_0004_p13947562597"><span id="gaussdb_02_0012__gaussdb_02_0004_text9611721809">GaussDB(for MySQL)</span> supports one primary node and up to 15 read replicas. When you are creating a DB instance, a maximum of nine read replicas can be created at a time.</p>
|
||||
<p id="gaussdb_02_0012__gaussdb_02_0004_p8653832125316">After the DB instance is created, you can also create read replicas based on service requirements by referring to <a href="gaussdb_03_0111.html">Creating a Read Replica</a>.</p>
|
||||
<td class="cellrowborder" valign="top" width="79.93%" headers="mcps1.3.2.2.5.2.2.2.3.1.2 "><p id="gaussdb_02_0012__gaussdb_02_0004_p13947562597">A <span id="gaussdb_02_0012__gaussdb_02_0004_text1721402366">GaussDB(for MySQL)</span> instance supports one primary node and up to 15 read replicas. When you are creating a DB instance, a maximum of nine read replicas can be created at a time.</p>
|
||||
<p id="gaussdb_02_0012__gaussdb_02_0004_p8653832125316">After the DB instance is created, you can also create read replicas based on service requirements by referring to <a href="gaussdb_03_0111.html">Creating Read Replicas</a>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row2240794541"><td class="cellrowborder" valign="top" width="20.07%" headers="mcps1.3.2.2.5.2.2.2.3.1.1 "><p id="gaussdb_02_0012__gaussdb_02_0004_p11122744617">Storage</p>
|
||||
@ -74,16 +74,16 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_table42406975413" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Network</caption><thead align="left"><tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row42407919548"><th align="left" class="cellrowborder" valign="top" width="21.19%" id="mcps1.3.2.2.5.2.3.2.3.1.1"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p11240189205418"><strong id="gaussdb_02_0012__gaussdb_02_0004_b1799987805">Parameter</strong></p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_table42406975413" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Network</caption><thead align="left"><tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row42407919548"><th align="left" class="cellrowborder" valign="top" width="21.19%" id="mcps1.3.2.2.5.2.3.2.3.1.1"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p11240189205418"><strong id="gaussdb_02_0012__gaussdb_02_0004_b752519634">Parameter</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="78.81%" id="mcps1.3.2.2.5.2.3.2.3.1.2"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p324014918549"><strong id="gaussdb_02_0012__gaussdb_02_0004_b1146894189">Description</strong></p>
|
||||
<th align="left" class="cellrowborder" valign="top" width="78.81%" id="mcps1.3.2.2.5.2.3.2.3.1.2"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p324014918549"><strong id="gaussdb_02_0012__gaussdb_02_0004_b1941545219">Description</strong></p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row224039205415"><td class="cellrowborder" valign="top" width="21.19%" headers="mcps1.3.2.2.5.2.3.2.3.1.1 "><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p1724018911549">VPC</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.81%" headers="mcps1.3.2.2.5.2.3.2.3.1.2 "><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p1124011975415">A dedicated virtual network in which your DB instances are located. It isolates networks for different services. You can select an existing VPC or create a VPC. For details on how to create a VPC, see "Creating a VPC" in the <em id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_i842352697152613">Virtual Private Cloud User Guide</em>.</p>
|
||||
<p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p3240796540">If no VPC is available, <span id="gaussdb_02_0012__gaussdb_02_0004_text16108561195">GaussDB(for MySQL)</span> allocates a VPC to you by default.</p>
|
||||
<p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p3240796540">If no VPC is available, <span id="gaussdb_02_0012__gaussdb_02_0004_text506829389">GaussDB(for MySQL)</span> allocates a VPC to you by default.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row124012915413"><td class="cellrowborder" valign="top" width="21.19%" headers="mcps1.3.2.2.5.2.3.2.3.1.1 "><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p102402945412">Subnet</p>
|
||||
@ -94,15 +94,15 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row122405915418"><td class="cellrowborder" valign="top" width="21.19%" headers="mcps1.3.2.2.5.2.3.2.3.1.1 "><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p724016917546">Security Group</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.81%" headers="mcps1.3.2.2.5.2.3.2.3.1.2 "><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p162402915543">Enhances security by controlling access to <span id="gaussdb_02_0012__gaussdb_02_0004_text1923755818198">GaussDB(for MySQL)</span> from other services. You need to add rules to a security group that enable you to connect to your DB instance.</p>
|
||||
<p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p224029195419">If no security group is available or has been created, <span id="gaussdb_02_0012__gaussdb_02_0004_text18458155419133">GaussDB(for MySQL)</span> allocates a security group to you by default.</p>
|
||||
<td class="cellrowborder" valign="top" width="78.81%" headers="mcps1.3.2.2.5.2.3.2.3.1.2 "><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p162402915543">Enhances security by controlling access to <span id="gaussdb_02_0012__gaussdb_02_0004_text1008598723">GaussDB(for MySQL)</span> from other services. You need to add rules to a security group that enable you to connect to your DB instance.</p>
|
||||
<p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p224029195419">If no security group is available or has been created, <span id="gaussdb_02_0012__gaussdb_02_0004_text650919395">GaussDB(for MySQL)</span> allocates a security group to you by default.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_table13240209195412" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Database configuration</caption><thead align="left"><tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row1424011975415"><th align="left" class="cellrowborder" valign="top" width="21.18%" id="mcps1.3.2.2.5.2.4.2.3.1.1"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p1524016975416"><strong id="gaussdb_02_0012__gaussdb_02_0004_b1622416788">Parameter</strong></p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_table13240209195412" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Database configuration</caption><thead align="left"><tr id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_row1424011975415"><th align="left" class="cellrowborder" valign="top" width="21.18%" id="mcps1.3.2.2.5.2.4.2.3.1.1"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p1524016975416"><strong id="gaussdb_02_0012__gaussdb_02_0004_b516289193">Parameter</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="78.82000000000001%" id="mcps1.3.2.2.5.2.4.2.3.1.2"><p id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_p72404919543"><strong id="gaussdb_02_0012__gaussdb_02_0004_en-us_topic_0171122419_b84235270618288">Description</strong></p>
|
||||
</th>
|
||||
@ -129,9 +129,9 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0012__gaussdb_02_0004_table16717956123819" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Parameter template</caption><thead align="left"><tr id="gaussdb_02_0012__gaussdb_02_0004_row271817565382"><th align="left" class="cellrowborder" valign="top" width="18.38%" id="mcps1.3.2.2.5.2.5.2.3.1.1"><p id="gaussdb_02_0012__gaussdb_02_0004_p9230191703918"><strong id="gaussdb_02_0012__gaussdb_02_0004_b331212045">Parameter</strong></p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0012__gaussdb_02_0004_table16717956123819" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Parameter template</caption><thead align="left"><tr id="gaussdb_02_0012__gaussdb_02_0004_row271817565382"><th align="left" class="cellrowborder" valign="top" width="18.38%" id="mcps1.3.2.2.5.2.5.2.3.1.1"><p id="gaussdb_02_0012__gaussdb_02_0004_p9230191703918"><strong id="gaussdb_02_0012__gaussdb_02_0004_b1417506331">Parameter</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="81.62%" id="mcps1.3.2.2.5.2.5.2.3.1.2"><p id="gaussdb_02_0012__gaussdb_02_0004_p18230817113920"><strong id="gaussdb_02_0012__gaussdb_02_0004_b169395370">Description</strong></p>
|
||||
<th align="left" class="cellrowborder" valign="top" width="81.62%" id="mcps1.3.2.2.5.2.5.2.3.1.2"><p id="gaussdb_02_0012__gaussdb_02_0004_p18230817113920"><strong id="gaussdb_02_0012__gaussdb_02_0004_b1927484153">Description</strong></p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -167,7 +167,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0010.html">Connecting to a DB Instance Over a Public Network</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0010.html">Connecting to a DB Instance over a Public Network</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -8,10 +8,10 @@
|
||||
<div class="section" id="gaussdb_02_0013__en-us_topic_0171122646_s993d56a9d4e041c2a6546bacf61b28de"><h4 class="sectiontitle">Precautions</h4><p id="gaussdb_02_0013__gaussdb_02_0008_en-us_topic_0171122646_afb7e447fd9ac47c9b5b037b47e272310">The default security group rule allows all outgoing data packets. If an ECS and a DB instance are in the same security group, they can access each other. When a security group is created, you can configure security group rules to control access to and from DB instances in that security group.</p>
|
||||
<ul id="gaussdb_02_0013__gaussdb_02_0008_en-us_topic_0171122646_u203e859c7265443cba2d4136e35832c7"><li id="gaussdb_02_0013__gaussdb_02_0008_en-us_topic_0171122646_l4078bf7780a34850be7cec9ed9a1ef1c">By default, you can create a maximum of 500 security group rules.</li><li id="gaussdb_02_0013__gaussdb_02_0008_en-us_topic_0171122646_lda26356485ec44c999d68471c3283e3d">To prevent high network latency for the first packet, you are advised to create a maximum of 50 rules for each security group.</li><li id="gaussdb_02_0013__gaussdb_02_0008_en-us_topic_0171122646_l8d5faae460b64fbf8874b71087c5cbd5">To access a DB instance from resources outside the security group, you need to configure an inbound rule for the security group associated with the DB instance.</li></ul>
|
||||
<div class="note" id="gaussdb_02_0013__gaussdb_02_0008_en-us_topic_0171122646_ned3aaa55f96f4c2fa40849188b16092b"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="gaussdb_02_0013__gaussdb_02_0008_en-us_topic_0171122646_a031f544c552e48b4a285bcb70e6a1419">To ensure the security of your data and DB instances, you are advised to use the principle of least privilege for database access. Change the database port (default value: <strong id="gaussdb_02_0013__gaussdb_02_0008_b1763895983118">3306</strong>), and set the IP address to the remote server's address or an IP address on the remote server's smallest subnet so that access to the remote server is limited.</p>
|
||||
<p id="gaussdb_02_0013__gaussdb_02_0008_en-us_topic_0171122646_en-us_topic_0134327719_p147943013223">If you use <strong id="gaussdb_02_0013__gaussdb_02_0008_en-us_topic_0171122646_b4779330614023">0.0.0.0/0</strong>, all IP addresses are enabled to access DB instances in the security group.</p>
|
||||
<p id="gaussdb_02_0013__gaussdb_02_0008_en-us_topic_0171122646_en-us_topic_0134327719_p147943013223">The default value of <strong id="gaussdb_02_0013__gaussdb_02_0008_b1255555723117">Source</strong> is <strong id="gaussdb_02_0013__gaussdb_02_0008_b16555357183110">0.0.0.0/0</strong>, indicating that <span id="gaussdb_02_0013__gaussdb_02_0008_text105652347">GaussDB(for MySQL)</span> instances in the security group can be accessed from any IP address.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_02_0013__section3729173933617"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_02_0013__en-us_topic_0171122646_o13a2543136f045df92268b6f8b5f248c"><li id="gaussdb_02_0013__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_02_0013__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_02_0013__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_02_0013__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_02_0013__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_02_0013__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_02_0013__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_02_0013__en-us_topic_0171122646_lcd296510316241ec96805ea09290dde0"><span>On the <span class="uicontrol" id="gaussdb_02_0013__uicontrol136802101417"><b>Instance Management</b></span> page, click the target DB instance.</span></li><li id="gaussdb_02_0013__en-us_topic_0171122646_l1ac30215d6984fc686c27070a9875aab"><span>Configure security group rules.</span><p><p id="gaussdb_02_0013__en-us_topic_0171122646_p1428132133210">In the <strong id="gaussdb_02_0013__b851714191411">Network Information</strong> area on the <strong id="gaussdb_02_0013__b6701413142">Basic Information</strong> page, click the security group.</p>
|
||||
<div class="section" id="gaussdb_02_0013__section3729173933617"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_02_0013__en-us_topic_0171122646_o13a2543136f045df92268b6f8b5f248c"><li id="gaussdb_02_0013__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_02_0013__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_02_0013__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_02_0013__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_02_0013__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_02_0013__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_02_0013__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_02_0013__en-us_topic_0171122646_lcd296510316241ec96805ea09290dde0"><span>On the <span class="uicontrol" id="gaussdb_02_0013__uicontrol9921918132813"><b>Instances</b></span> page, click the instance name to go to the <span class="uicontrol" id="gaussdb_02_0013__uicontrol189216183283"><b>Basic Information</b></span> page.</span></li><li id="gaussdb_02_0013__en-us_topic_0171122646_l1ac30215d6984fc686c27070a9875aab"><span>Configure security group rules.</span><p><p id="gaussdb_02_0013__en-us_topic_0171122646_p1428132133210">In the <strong id="gaussdb_02_0013__b851714191411">Network Information</strong> area on the <strong id="gaussdb_02_0013__b6701413142">Basic Information</strong> page, click the security group.</p>
|
||||
</p></li><li id="gaussdb_02_0013__en-us_topic_0171122646_lb0e8440adcea471c8992839ce9093a65"><span>On the <strong id="gaussdb_02_0013__b778491595711">Inbound Rules</strong> tab, click <strong id="gaussdb_02_0013__b1778581511573">Add Rule</strong>. In the displayed dialog box, set required parameters and click <strong id="gaussdb_02_0013__b8786161512576">OK</strong>.</span><p><div class="p" id="gaussdb_02_0013__en-us_topic_0171122646_en-us_topic_0134327719_p179625268405">You can click <strong id="gaussdb_02_0013__en-us_topic_0171122646_b728513118449">+</strong> to add more inbound rules.
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0013__en-us_topic_0171122646_te28fc9b0702c4f25b10e331b2462da3d" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Inbound rule parameter description</caption><thead align="left"><tr id="gaussdb_02_0013__en-us_topic_0171122646_rb3cd3cba51d749fc9644646e4116521a"><th align="left" class="cellrowborder" valign="top" width="17.611761176117614%" id="mcps1.3.3.2.6.2.1.2.2.4.1.1"><p id="gaussdb_02_0013__en-us_topic_0171122646_en-us_topic_0134327719_p84628252403">Parameter</p>
|
||||
</th>
|
||||
@ -55,7 +55,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0010.html">Connecting to a DB Instance Over a Public Network</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0010.html">Connecting to a DB Instance over a Public Network</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="gaussdb_02_0014"></a><a name="gaussdb_02_0014"></a>
|
||||
|
||||
<h1 class="topictitle1">Step 4: Connect to a DB Instance Over a Public Network</h1>
|
||||
<div id="body8662426"><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_p152782710534"><span id="gaussdb_02_0014__text113892421224">GaussDB(for MySQL)</span> is fully compatible with the MySQL protocol. Therefore, you can connect to a DB instance through a common connection or an SSL connection. <span class="keyword" id="gaussdb_02_0014__keyword1636212216178">SSL connections</span> <span class="keyword" id="gaussdb_02_0014__keyword19363422151717">are encrypted</span>.</p>
|
||||
<h1 class="topictitle1">Step 4: Connect to a DB Instance over a Public Network</h1>
|
||||
<div id="body8662426"><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_p152782710534"><span id="gaussdb_02_0014__text690935668">GaussDB(for MySQL)</span> is fully compatible with the MySQL protocol. Therefore, you can connect to a DB instance through a common connection or an SSL connection. <span class="keyword" id="gaussdb_02_0014__keyword1636212216178">SSL connections</span> <span class="keyword" id="gaussdb_02_0014__keyword19363422151717">are encrypted</span>.</p>
|
||||
<div class="section" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_section367520762117"><a name="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_section367520762117"></a><a name="en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_section367520762117"></a><h4 class="sectiontitle">Prerequisites</h4><ol id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_ol321893420420"><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li18407114219425">Bind an EIP to the target DB instance and configure security group rules.<ol type="a" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_ol1893363363217"><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li1728416257345">Bind an EIP to the target DB instance.<p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_p2186268342"><a name="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li1728416257345"></a><a name="en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li1728416257345"></a>For details about how to bind an EIP, see <a href="gaussdb_02_0015.html">Step 2: Bind an EIP</a>.</p>
|
||||
</li><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li85977812411"><a name="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li85977812411"></a><a name="en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li85977812411"></a>Obtain the IP address of the local device.</li><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li108021355113019">Configure security group rules.<p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_p736910157227"><a name="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li108021355113019"></a><a name="en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li108021355113019"></a>Add the IP address and port obtained in <a href="#gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li85977812411">1.b</a> to the inbound rule of the security group.</p>
|
||||
<p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_p14819145563017">For details about how to configure a security group rule, see <a href="gaussdb_02_0013.html">Step 3: Configure Security Group Rules</a>.</p>
|
||||
@ -14,7 +14,7 @@
|
||||
</li></ol>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_section8112152217539"><a name="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_section8112152217539"></a><a name="en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_section8112152217539"></a><h4 class="sectiontitle">Using MySQL-Front to Connect to a DB Instance</h4><ol id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_ol6899121464513"><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_li15681526134919"><span>Start MySQL-Front.</span></li><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_li86713353455"><span>In the displayed dialog box, click <span class="uicontrol" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_uicontrol1916419444395"><b>New</b></span>.</span><p><div class="fignone" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_fig221381114711"><span class="figcap"><b>Figure 1 </b>Connection management</span><br><span><img id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_image8215911174720" src="en-us_image_0000001352219136.png"></span></div>
|
||||
</p></li><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_li194201396457"><span>Enter the information of the DB instance to be connected and click <span class="uicontrol" id="gaussdb_02_0014__en-us_topic_0172523144_uicontrol5796632016354"><b>Ok</b></span>, as shown in <a href="#gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_fig4664143131112">Figure 2</a>.</span><p><div class="fignone" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_fig4664143131112"><a name="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_fig4664143131112"></a><a name="en-us_topic_0172523144_en-us_topic_0154555358_fig4664143131112"></a><span class="figcap"><b>Figure 2 </b>Adding an account</span><br><span><img id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_image461492713014" src="en-us_image_0000001352379040.png"></span></div>
|
||||
</p></li><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_li194201396457"><span>Enter the information of the DB instance to be connected and click <span class="uicontrol" id="gaussdb_02_0014__uicontrol5355153342911"><b>Ok</b></span>, as shown in <a href="#gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_fig4664143131112">Figure 2</a>.</span><p><div class="fignone" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_fig4664143131112"><a name="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_fig4664143131112"></a><a name="en-us_topic_0172523144_en-us_topic_0154555358_fig4664143131112"></a><span class="figcap"><b>Figure 2 </b>Adding an account</span><br><span><img id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_image461492713014" src="en-us_image_0000001352379040.png"></span></div>
|
||||
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_table19344113119498" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_row93441531194919"><th align="left" class="cellrowborder" valign="top" width="8.88%" id="mcps1.3.3.2.3.2.2.2.3.1.1"><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p77919310509"><strong id="gaussdb_02_0014__en-us_topic_0172523144_b191112564312">Parameter</strong></p>
|
||||
</th>
|
||||
@ -29,7 +29,7 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_row963955716472"><td class="cellrowborder" valign="top" width="8.88%" headers="mcps1.3.3.2.3.2.2.2.3.1.1 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p18640157164714">Host</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="91.12%" headers="mcps1.3.3.2.3.2.2.2.3.1.2 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p6640205719477">EIP bound to the target DB instance. To obtain this parameter, go to the <span class="uicontrol" id="gaussdb_02_0014__uicontrol9829856151114"><b>Basic Information</b></span> page of the DB instance. The EIP can be found in the <strong id="gaussdb_02_0014__b1452410718514">Public IP Address (EIP)</strong> field in the <span class="uicontrol" id="gaussdb_02_0014__uicontrol1183418561115"><b>Network Information</b></span> area.</p>
|
||||
<td class="cellrowborder" valign="top" width="91.12%" headers="mcps1.3.3.2.3.2.2.2.3.1.2 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p6640205719477">EIP bound to the target DB instance. To obtain this parameter, go to the <span class="uicontrol" id="gaussdb_02_0014__uicontrol13638151823014"><b>Basic Information</b></span> page of the DB instance. The EIP can be found in the <strong id="gaussdb_02_0014__b17638101817306">Public IP Address (EIP)</strong> field in the <span class="uicontrol" id="gaussdb_02_0014__uicontrol16638181853016"><b>Network Information</b></span> area.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_row234513154910"><td class="cellrowborder" valign="top" width="8.88%" headers="mcps1.3.3.2.3.2.2.2.3.1.1 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p73451831134915">Port</p>
|
||||
@ -56,7 +56,7 @@
|
||||
</div></div>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_section335618164205"><h4 class="sectiontitle">Using SSL to Connect to a DB Instance</h4><ol id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_ol9899222162618"><li id="gaussdb_02_0014__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_02_0014__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_02_0014__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_02_0014__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_02_0014__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_02_0014__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_02_0014__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_li2033132135913"><span>In the <span class="uicontrol" id="gaussdb_02_0014__uicontrol59891453814"><b>DB Instance Information</b></span> area on the <strong id="gaussdb_02_0014__b139901753516">Basic Information</strong> page, click <span><img id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_image197254186415" src="en-us_image_0000001352538904.png"></span> in the <strong id="gaussdb_02_0014__b189918532113">SSL</strong> field to download the root certificate or certificate bundle.</span></li><li id="gaussdb_02_0014__li84875782016"><span>Import the root certificate to the Linux OS on the ECS.</span><p><p id="gaussdb_02_0014__p11688163783412">For details, see <a href="gaussdb_faq_0010.html">How Can I Import the Root Certificate to a Windows or Linux OS?</a></p>
|
||||
<div class="section" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_section335618164205"><h4 class="sectiontitle">Using SSL to Connect to a DB Instance</h4><ol id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_ol9899222162618"><li id="gaussdb_02_0014__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_02_0014__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_02_0014__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_02_0014__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_02_0014__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_02_0014__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_02_0014__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_li2033132135913"><span>In the <span class="uicontrol" id="gaussdb_02_0014__uicontrol59891453814"><b>DB Instance Information</b></span> area on the <strong id="gaussdb_02_0014__b139901753516">Basic Information</strong> page, click <span><img id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_image197254186415" src="en-us_image_0000001352538904.png"></span> in the <strong id="gaussdb_02_0014__b189918532113">SSL</strong> field to download the root certificate or certificate bundle.</span></li><li id="gaussdb_02_0014__li84875782016"><span>Import the root certificate to the Linux OS on the ECS.</span><p><p id="gaussdb_02_0014__p11688163783412">For details, see <a href="gaussdb_faq_0010.html">How Do I Import the SSL Certificate of an RDS Instance to a Windows or Linux Server?</a></p>
|
||||
</p></li><li id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_en-us_topic_0153118658_li47772152307"><span>Connect to a DB instance. The Linux OS is assumed in this example.</span><p><div class="p" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p934734613117"><strong id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_abecce5c0334a48b89ec244bae0261d8e">mysql -h </strong><<em id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_a7a6bd58865d945629cd5aaccec79ea15">hostName</em>> <strong id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_a64fd5d6a27ac4cdca07557dfdc711ef6">-P </strong><em id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_i996438155215"><port></em> <strong id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_a7f1f30f87b7e4833ad19d34bfd0b98a0">-u </strong><<em id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_aab7fc4200c8444ce84eb789f09d5400d">userName</em>> <strong id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_a7a0c62367aea4c7788824ed1a72385eb">-p</strong> <strong id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_ac45fcb3543ad494ca048e37d2c18009b">--ssl-ca=</strong><<em id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_a1a7a070c17ed409bb27859594b226dc4">caName</em>>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_table385819434338" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter description</caption><thead align="left"><tr id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_row1285974314331"><th align="left" class="cellrowborder" valign="top" width="21.2%" id="mcps1.3.4.2.6.2.1.10.2.3.1.1"><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p13859124323319"><strong id="gaussdb_02_0014__en-us_topic_0172523144_b13128205317440">Parameter</strong></p>
|
||||
</th>
|
||||
@ -66,7 +66,7 @@
|
||||
</thead>
|
||||
<tbody><tr id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_row128591243133311"><td class="cellrowborder" valign="top" width="21.2%" headers="mcps1.3.4.2.6.2.1.10.2.3.1.1 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p128591843133314"><<em id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_i11472201511342">hostName</em>></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.8%" headers="mcps1.3.4.2.6.2.1.10.2.3.1.2 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p946502435610">Host IP address of the target DB instance to be connected. To obtain this parameter, go to the <span class="uicontrol" id="gaussdb_02_0014__uicontrol152301944171916"><b>Basic Information</b></span> page of the DB instance. The EIP can be found in the <strong id="gaussdb_02_0014__b14388117355">Public IP Address (EIP)</strong> field in the <span class="uicontrol" id="gaussdb_02_0014__uicontrol202329449192"><b>Network Information</b></span> area.</p>
|
||||
<td class="cellrowborder" valign="top" width="78.8%" headers="mcps1.3.4.2.6.2.1.10.2.3.1.2 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p946502435610">Host IP address of the target DB instance to be connected. To obtain this parameter, go to the <span class="uicontrol" id="gaussdb_02_0014__uicontrol34751249133015"><b>Basic Information</b></span> page of the DB instance. The EIP can be found in the <strong id="gaussdb_02_0014__b547517492302">Public IP Address (EIP)</strong> field in the <span class="uicontrol" id="gaussdb_02_0014__uicontrol9475114983018"><b>Network Information</b></span> area.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_row885918436335"><td class="cellrowborder" valign="top" width="21.2%" headers="mcps1.3.4.2.6.2.1.10.2.3.1.1 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p1985934313335"><em id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_i148916198347"><port></em></p>
|
||||
@ -76,7 +76,7 @@
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_row14859174318331"><td class="cellrowborder" valign="top" width="21.2%" headers="mcps1.3.4.2.6.2.1.10.2.3.1.1 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p20859184323316"><<em id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_i1310372463412">userName</em>></p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.8%" headers="mcps1.3.4.2.6.2.1.10.2.3.1.2 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p4859143123318">Username of the <span id="gaussdb_02_0014__text2018003376">GaussDB(for MySQL)</span> database administrator account. The default username is <strong id="gaussdb_02_0014__b1339123419305">root</strong>.</p>
|
||||
<td class="cellrowborder" valign="top" width="78.8%" headers="mcps1.3.4.2.6.2.1.10.2.3.1.2 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p4859143123318">Username of the <span id="gaussdb_02_0014__text1688958135">GaussDB(for MySQL)</span> administrator account. The default username is <strong id="gaussdb_02_0014__b1349925711300">root</strong>.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_row63981620153510"><td class="cellrowborder" valign="top" width="21.2%" headers="mcps1.3.4.2.6.2.1.10.2.3.1.1 "><p id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_p7399182018357"><<em id="gaussdb_02_0014__en-us_topic_0172523144_en-us_topic_0154555358_i9263152720352">caName</em>></p>
|
||||
@ -99,7 +99,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0010.html">Connecting to a DB Instance Over a Public Network</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0010.html">Connecting to a DB Instance over a Public Network</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -3,9 +3,9 @@
|
||||
<h1 class="topictitle1">Step 2: Bind an EIP</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_02_0015__section1844772205816"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_02_0015__p32822042124512">You can bind an EIP to a DB instance for public access and can unbind the EIP from the DB instance if needed.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_02_0015__en-us_topic_0171122739_section380043142120"><h4 class="sectiontitle">Precautions</h4><ul id="gaussdb_02_0015__en-us_topic_0171122739_ul383512621211"><li id="gaussdb_02_0015__en-us_topic_0171122739_li519405721219">Public accessibility reduces the security of DB instances. Therefore, exercise caution when enabling this function. To achieve a higher transmission rate and security level, you are advised to migrate your applications to the ECS that is in the same region as the <span id="gaussdb_02_0015__text3601019152016">GaussDB(for MySQL)</span> DB instance.</li></ul>
|
||||
<div class="section" id="gaussdb_02_0015__en-us_topic_0171122739_section380043142120"><h4 class="sectiontitle">Precautions</h4><ul id="gaussdb_02_0015__en-us_topic_0171122739_ul383512621211"><li id="gaussdb_02_0015__en-us_topic_0171122739_li519405721219">Public accessibility reduces the security of DB instances. Therefore, exercise caution when enabling this function. To achieve a higher transmission rate and security level, you are advised to migrate your applications to the ECS that is in the same region as your DB instance.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_02_0015__en-us_topic_0171122739_section163851913174310"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_02_0015__en-us_topic_0171122739_ol12603704105129"><li id="gaussdb_02_0015__li114342521119"><span>Log in to the management console.</span></li><li id="gaussdb_02_0015__li243425261113"><span>Click <span><img id="gaussdb_02_0015__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_02_0015__li0435652111111"><span>Click <strong id="gaussdb_02_0015__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_02_0015__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_02_0015__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_02_0015__en-us_topic_0171122739_li193335257385"><span>On the <strong id="gaussdb_02_0015__en-us_topic_0171122739_b84235270615843">Instances</strong> page, click the target DB instance.</span></li><li id="gaussdb_02_0015__li179050480593"><span>In the <span class="uicontrol" id="gaussdb_02_0015__uicontrol745417823115"><b>Network Information</b></span> area, click <strong id="gaussdb_02_0015__b945515810312">Bind</strong> in the Private IP Address field.</span></li><li id="gaussdb_02_0015__li16217497116"><span>In the displayed dialog box, select an EIP and click <span class="uicontrol" id="gaussdb_02_0015__uicontrol172191491511"><b>OK</b></span>.</span><p><div class="p" id="gaussdb_02_0015__p197286911113">If no available EIPs are displayed, click <span class="uicontrol" id="gaussdb_02_0015__en-us_topic_0171122739_uicontrol12347172510384_1"><b>View EIP</b></span> and obtain an EIP.<div class="notice" id="gaussdb_02_0015__en-us_topic_0171122739_note105582277381"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_02_0015__en-us_topic_0171122739_p12108153617536">You need to <span class="keyword" id="gaussdb_02_0015__keyword258262795215">configure security group rules</span> and enable specific IP addresses and ports to access the target DB instance. For details, see <a href="gaussdb_02_0013.html">Step 3: Configure Security Group Rules</a>.</p>
|
||||
<div class="section" id="gaussdb_02_0015__en-us_topic_0171122739_section163851913174310"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_02_0015__en-us_topic_0171122739_ol12603704105129"><li id="gaussdb_02_0015__li114342521119"><span>Log in to the management console.</span></li><li id="gaussdb_02_0015__li243425261113"><span>Click <span><img id="gaussdb_02_0015__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_02_0015__li0435652111111"><span>Click <strong id="gaussdb_02_0015__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_02_0015__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_02_0015__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_02_0015__en-us_topic_0171122739_li193335257385"><span>On the <span class="uicontrol" id="gaussdb_02_0015__uicontrol250510182717"><b>Instances</b></span> page, click the instance name to go to the <span class="uicontrol" id="gaussdb_02_0015__uicontrol4505141172713"><b>Basic Information</b></span> page.</span></li><li id="gaussdb_02_0015__li179050480593"><span>In the <span class="uicontrol" id="gaussdb_02_0015__uicontrol745417823115"><b>Network Information</b></span> area, click <strong id="gaussdb_02_0015__b945515810312">Bind</strong> next to Private IP Address.</span></li><li id="gaussdb_02_0015__li16217497116"><span>In the displayed dialog box, select an EIP and click <span class="uicontrol" id="gaussdb_02_0015__uicontrol172191491511"><b>OK</b></span>.</span><p><div class="p" id="gaussdb_02_0015__p197286911113">If no available EIPs are displayed, click <span class="uicontrol" id="gaussdb_02_0015__en-us_topic_0171122739_uicontrol12347172510384_1"><b>View EIP</b></span> and obtain an EIP.<div class="notice" id="gaussdb_02_0015__en-us_topic_0171122739_note105582277381"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_02_0015__en-us_topic_0171122739_p12108153617536">You need to <span class="keyword" id="gaussdb_02_0015__keyword258262795215">configure security group rules</span> and enable specific IP addresses and ports to access the target DB instance. For details, see <a href="gaussdb_02_0013.html">Step 3: Configure Security Group Rules</a>.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
</p></li><li id="gaussdb_02_0015__en-us_topic_0171122739_li1333620544274"><span>On the <strong id="gaussdb_02_0015__b955374632611">EIPs</strong> page, view the EIP that has been bound to the DB instance.</span></li></ol>
|
||||
@ -13,7 +13,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0010.html">Connecting to a DB Instance Over a Public Network</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0010.html">Connecting to a DB Instance over a Public Network</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -2,16 +2,16 @@
|
||||
|
||||
<h1 class="topictitle1">Overview</h1>
|
||||
<div id="body1576722583218"><div class="section" id="gaussdb_02_0016__section927111920495"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_02_0016__p6975134324015">This section describes how to create a DB instance on the management console and bind an EIP to the DB instance to make the instance publicly accessible.</p>
|
||||
<p id="gaussdb_02_0016__p179366192382">If you are using <span id="gaussdb_02_0016__text6940165117464">GaussDB(for MySQL)</span> for the first time, see <a href="gaussdb_01_0008.html">Constraints</a>.</p>
|
||||
<p id="gaussdb_02_0016__p179366192382">If you are using <span id="gaussdb_02_0016__text105701313103616">GaussDB(for MySQL)</span> for the first time, see <a href="gaussdb_01_0008.html">Constraints</a>.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_02_0016__section491834114289"><h4 class="sectiontitle">Process</h4><p id="gaussdb_02_0016__p126441618115011"><a href="#gaussdb_02_0016__fig138110377499">Figure 1</a> illustrates the process of connecting to a DB instance over a public network.</p>
|
||||
<div class="fignone" id="gaussdb_02_0016__fig138110377499"><a name="gaussdb_02_0016__fig138110377499"></a><a name="fig138110377499"></a><span class="figcap"><b>Figure 1 </b>Connecting to a DB instance over a public network</span><br><span><img id="gaussdb_02_0016__image9265717134820" src="en-us_image_0000001352379000.png"></span></div>
|
||||
<ul id="gaussdb_02_0016__ul104351848102212"><li id="gaussdb_02_0016__li843534802214"><a href="gaussdb_02_0012.html">Step 1: Create a DB instance.</a> Confirm the specifications, storage, network, and database account configurations of the DB instance based on service requirements.</li><li id="gaussdb_02_0016__li2512344181413"><a href="gaussdb_02_0015.html">Step 2: Bind an EIP.</a> The Elastic IP service provides independent public IP addresses and bandwidth for public access. You can apply for an EIP on the VPC console and bind the EIP to the DB instance.</li><li id="gaussdb_02_0016__li6435184842218"><a href="gaussdb_02_0013.html">Step 3: Configure security group rules.</a> To access a DB instance from resources outside the security group, you need to configure an inbound rule for the security group associated with the DB instance.</li><li id="gaussdb_02_0016__li1543514813227"><a href="gaussdb_02_0014.html">Step 4: Connect to a DB instance over a public network.</a> You can connect to a DB instance through a common connection, or an SSL connection for enhanced security. <span class="keyword" id="gaussdb_02_0016__keyword695217451094">SSL connections</span> <span class="keyword" id="gaussdb_02_0016__keyword196119450918">are encrypted</span>.</li></ul>
|
||||
<ul id="gaussdb_02_0016__ul104351848102212"><li id="gaussdb_02_0016__li843534802214"><a href="gaussdb_02_0012.html">Step 1: Create a DB instance.</a> Confirm the specifications, network, and database account configurations of the DB instance based on service requirements.</li><li id="gaussdb_02_0016__li2512344181413"><a href="gaussdb_02_0015.html">Step 2: Bind an EIP.</a> The Elastic IP service provides independent public IP addresses and bandwidth for public access. You can apply for an EIP on the VPC console and bind the EIP to the DB instance.</li><li id="gaussdb_02_0016__li6435184842218"><a href="gaussdb_02_0013.html">Step 3: Configure security group rules.</a> To access a DB instance from resources outside the security group, you need to configure an inbound rule for the security group associated with the DB instance.</li><li id="gaussdb_02_0016__li1543514813227"><a href="gaussdb_02_0014.html">Step 4: Connect to a DB instance over a public network.</a> You can connect to a DB instance through a common connection, or an SSL connection for enhanced security. <span class="keyword" id="gaussdb_02_0016__keyword695217451094">SSL connections</span> <span class="keyword" id="gaussdb_02_0016__keyword196119450918">are encrypted</span>.</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0010.html">Connecting to a DB Instance Over a Public Network</a></div>
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="gaussdb_02_0010.html">Connecting to a DB Instance over a Public Network</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,19 +1,19 @@
|
||||
<a name="gaussdb_03_0007"></a><a name="gaussdb_03_0007"></a>
|
||||
|
||||
<h1 class="topictitle1">Migrating Data to <span id="text2005348360">GaussDB(for MySQL)</span> Using mysqldump</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0007__en-us_topic_0171122750_section8743122116813"><h4 class="sectiontitle">Preparing for Data Migration</h4><p id="gaussdb_03_0007__en-us_topic_0171122750_p18884729686"><span id="gaussdb_03_0007__text1640125610528">GaussDB(for MySQL)</span> supports public accessibility. You can access <span id="gaussdb_03_0007__text640856205214">GaussDB(for MySQL)</span> through an ECS or EIP.</p>
|
||||
<ol id="gaussdb_03_0007__en-us_topic_0171122750_ol139261637897"><li id="gaussdb_03_0007__en-us_topic_0171122750_li139261837895">Prepare an ECS in the same VPC subnet as <span id="gaussdb_03_0007__text108939212120">GaussDB(for MySQL)</span> or prepare a device for accessing <span id="gaussdb_03_0007__text0800541103614">GaussDB(for MySQL)</span> over a public network.<ul id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_u674d5d5f798e42318e22f1b6c1da004c"><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_le76498bda63d4a85a9fec893dcf446e7">To connect to a DB instance through an ECS, you must first create an ECS.<p id="gaussdb_03_0007__p0911458195810"><a name="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_le76498bda63d4a85a9fec893dcf446e7"></a><a name="en-us_topic_0171122750_en-us_topic_0171122382_le76498bda63d4a85a9fec893dcf446e7"></a>For details on how to create and log in to an ECS, see descriptions about creating an ECS and logging in an ECS in the <em id="gaussdb_03_0007__i269435619466">Elastic Cloud Server User Guide</em>.</p>
|
||||
<h1 class="topictitle1">Migrating Data to <span id="text336167561">GaussDB(for MySQL)</span> Using mysqldump</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0007__en-us_topic_0171122750_section8743122116813"><h4 class="sectiontitle">Preparing for Data Migration</h4><p id="gaussdb_03_0007__en-us_topic_0171122750_p18884729686"><span id="gaussdb_03_0007__text1337151210522">GaussDB(for MySQL)</span> supports public accessibility. You can access <span id="gaussdb_03_0007__text10207216185217">GaussDB(for MySQL)</span> through an ECS or EIP.</p>
|
||||
<ol id="gaussdb_03_0007__en-us_topic_0171122750_ol139261637897"><li id="gaussdb_03_0007__en-us_topic_0171122750_li139261837895">Prepare an ECS in the same VPC subnet as the <span id="gaussdb_03_0007__text259709312">GaussDB(for MySQL)</span> instance or bind an EIP to the <span id="gaussdb_03_0007__text1140715713526">GaussDB(for MySQL)</span> instance.<ul id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_u674d5d5f798e42318e22f1b6c1da004c"><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_le76498bda63d4a85a9fec893dcf446e7">To connect to a DB instance through an ECS, you must first create an ECS.<p id="gaussdb_03_0007__p0911458195810"><a name="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_le76498bda63d4a85a9fec893dcf446e7"></a><a name="en-us_topic_0171122750_en-us_topic_0171122382_le76498bda63d4a85a9fec893dcf446e7"></a>For details on how to create and log in to an ECS, see descriptions about creating an ECS and logging in an ECS in the <em id="gaussdb_03_0007__i269435619466">Elastic Cloud Server User Guide</em>.</p>
|
||||
</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_ldd1da393e9a045899ece19a659bc8f17">To connect to a DB instance through an EIP, you must:<ol type="a" id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_oeb5130b0f58e40e6a1f4c00aef40d484"><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_lb14b274cbccd4e7e82662778edffcf3d">Bind the EIP to the DB instance. For details, see <a href="gaussdb_03_0011.html#gaussdb_03_0011__en-us_topic_0171122283_section3199593620428">Binding an EIP</a>.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_ld70567b63d964e809cd3d3f673625ed3">Ensure that the local device can access the EIP that has been bound to the DB instance.</li></ol>
|
||||
</li></ul>
|
||||
</li><li id="gaussdb_03_0007__en-us_topic_0171122750_li9972439298">Install the MySQL client on the prepared ECS or device.<p id="gaussdb_03_0007__p14615174120401"><a name="gaussdb_03_0007__en-us_topic_0171122750_li9972439298"></a><a name="en-us_topic_0171122750_li9972439298"></a>For details, see <a href="gaussdb_faq_0011.html">How Can I Install the MySQL Client?</a></p>
|
||||
<div class="note" id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_n57243281e6f94bd4ab3923ba046f6634"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_en-us_topic_0086557045_p591496422051">The version of the <span id="gaussdb_03_0007__text328015817211">GaussDB(for MySQL)</span> client must be the same as or later than that of the <span id="gaussdb_03_0007__text17620852182412">GaussDB(for MySQL)</span> server. The MySQL database or client provides the mysqldump and mysql tools by default.</p>
|
||||
<div class="note" id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_n57243281e6f94bd4ab3923ba046f6634"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122382_en-us_topic_0086557045_p591496422051">The version of the <span id="gaussdb_03_0007__text438075200">GaussDB(for MySQL)</span> client must be the same as or later than that of the <span id="gaussdb_03_0007__text1737011145418">GaussDB(for MySQL)</span> server. The MySQL database or client provides the mysqldump and mysql tools by default.</p>
|
||||
</div></div>
|
||||
</li></ol>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0007__en-us_topic_0171122750_section692873015104"><h4 class="sectiontitle">Exporting Data</h4><p id="gaussdb_03_0007__en-us_topic_0171122750_p1896125315109">Before migrating data to <span id="gaussdb_03_0007__text17221942116">GaussDB(for MySQL)</span>, you need to export data first.</p>
|
||||
<div class="section" id="gaussdb_03_0007__en-us_topic_0171122750_section692873015104"><h4 class="sectiontitle">Exporting Data</h4><p id="gaussdb_03_0007__en-us_topic_0171122750_p1896125315109">Before migrating data to <span id="gaussdb_03_0007__text339110591">GaussDB(for MySQL)</span>, you need to export data first.</p>
|
||||
<div class="notice" id="gaussdb_03_0007__en-us_topic_0171122750_note84811310101214"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_ud06590f097cd495e84bddf04d72b0acf"><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_en-us_topic_0086556980_li22821125629">The export tool must match the DB engine version.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_l0df8b85aa9634126b962b1413861a5d6">Database migration is performed offline. Before the migration, you must stop any applications using the source database.</li></ul>
|
||||
</div></div>
|
||||
<ol id="gaussdb_03_0007__en-us_topic_0171122750_ol12419102361310"><li id="gaussdb_03_0007__en-us_topic_0171122750_li241942320138"><span>Log in to the prepared ECS or device that can access <span id="gaussdb_03_0007__text862718912111">GaussDB(for MySQL)</span> DB instances.</span></li><li id="gaussdb_03_0007__en-us_topic_0171122750_li16251172911136"><a name="gaussdb_03_0007__en-us_topic_0171122750_li16251172911136"></a><a name="en-us_topic_0171122750_li16251172911136"></a><span>Use the mysqldump tool to export metadata into an SQL file.</span><p><div class="notice" id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_n99ee9b6da8b0459c9e626a304e644853"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_en-us_topic_0086556980_p218172199492">MySQL databases are required for <span id="gaussdb_03_0007__text496814556598">GaussDB(for MySQL)</span> management. When exporting metadata, do not specify <strong id="gaussdb_03_0007__en-us_topic_0171122750_a46bb9c76a5154e7599350579101e5549">--all-database</strong>. Otherwise, the databases will be unavailable.</p>
|
||||
<ol id="gaussdb_03_0007__en-us_topic_0171122750_ol12419102361310"><li id="gaussdb_03_0007__en-us_topic_0171122750_li241942320138"><span>Log in to the prepared ECS or device that can access <span id="gaussdb_03_0007__text1308523934">GaussDB(for MySQL)</span> instances.</span></li><li id="gaussdb_03_0007__en-us_topic_0171122750_li16251172911136"><a name="gaussdb_03_0007__en-us_topic_0171122750_li16251172911136"></a><a name="en-us_topic_0171122750_li16251172911136"></a><span>Use the mysqldump tool to export metadata into an SQL file.</span><p><div class="notice" id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_n99ee9b6da8b0459c9e626a304e644853"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_en-us_topic_0086556980_p218172199492">MySQL databases are required for <span id="gaussdb_03_0007__text1212188191">GaussDB(for MySQL)</span> management. When exporting metadata, do not specify <strong id="gaussdb_03_0007__en-us_topic_0171122750_a46bb9c76a5154e7599350579101e5549">--all-database</strong>. Otherwise, the databases will be unavailable.</p>
|
||||
</div></div>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a81841e148b264b388939b300f9f8b91c"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a1852de967c9b4e1b8883c6aecb2842cd">mysqldump</strong> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_afd5b6747323149bd93fad2b359ae716e">--databases</strong> <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a645e03a9cb4f4da09e7ecfd21a5cf50d">DB_NAME</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a3fd0380796cb46058ecc8bef7da1809c">--single-transaction --order-by-primary --hex-blob --no-data --routines --events --set-gtid-purged=OFF</strong> -u <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_ad55feabf28714456bb6386dbb15a6312">DB_USER</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_en-us_topic_0086556980_b27760351740">-p -h</strong> <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a4d16619a0ed3416ea075edc3abca0b2a">DB_ADDRESS</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_en-us_topic_0086556980_b455194631743">-P </strong><<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_acc155dba5bbe4401aa2c8114dbbb714e">DB_PORT</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_en-us_topic_0086556980_b655995417458">|sed -e 's/DEFINER[ ]*=[ ]*[^*]*\*/\*/' -e 's/DEFINER[ ]*=.*FUNCTION/FUNCTION/' -e 's/DEFINER[ ]*=.*PROCEDURE/PROCEDURE/' -e 's/DEFINER[ ]*=.*TRIGGER/TRIGGER/' -e 's/DEFINER[ ]*=.*EVENT/EVENT/' ></strong> <em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_ae1f215ce5cee4a709014d95e717e88b2"><BACKUP_FILE></em></p>
|
||||
<ul id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_u3edc5a2dd5f540b29a57a3b21ceb7238"><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_l72dd1104f9824387bdea698e65eade57"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0084612848_b84235270691837"><em id="gaussdb_03_0007__i842352697131411">DB_NAME</em></strong> indicates the name of the database to be migrated.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_l68bb1085fd4945368fc5e8cbe23209da"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0084612848_b84235270614296"><em id="gaussdb_03_0007__i842352697131416">DB_USER</em></strong> indicates the database username.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_lb54c4b11af7041e8a8e690a0d3cefc05"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0084612848_b842352706142916"><em id="gaussdb_03_0007__i842352697131420">DB_ADDRESS</em></strong> indicates the database address.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_lf117ef26a7a346a59eb753b120e7e8e0"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0084612848_b842352706142950"><em id="gaussdb_03_0007__i842352697131425">DB_PORT</em></strong> indicates the database port.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_ldb260531c8eb45a4b7c5b8d60d46efa5"><strong id="gaussdb_03_0007__en-us_topic_0171122750_b951239192172237"><em id="gaussdb_03_0007__i870398549172237">BACKUP_FILE</em></strong> indicates the name of the file to which the data will be exported.</li></ul>
|
||||
@ -22,27 +22,27 @@
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a0bce502e26d94dcda286fa81223fe7a9"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a93c667b453e74d4f83d2959cefbbf58a">mysqldump --databases gaussdb --single-transaction --order-by-primary --hex-blob --no-data --routines --events --set-gtid-purged=OFF -u root -p -h 192.168.151.18 -P 3306 |sed -e 's/DEFINER[ ]*=[ ]*[^*]*\*/\*/' -e 's/DEFINER[ ]*=.*FUNCTION/FUNCTION/' -e 's/DEFINER[ ]*=.*PROCEDURE/PROCEDURE/' -e 's/DEFINER[ ]*=.*TRIGGER/TRIGGER/' -e 's/DEFINER[ ]*=.*EVENT/EVENT/' > dump-defs.sql</strong></p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_aae5d80e7dddc4c9a84e67a5f44def979"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_ad8e63887da524df3933c6b37df7efe52">Enter password:</strong></p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_aa977313388774bdf8942be66965764f4">After this command is executed, the <strong id="gaussdb_03_0007__en-us_topic_0171122750_adcaafa4a1955493bb4ddbdfebef0186f">dump-defs.sql</strong> file will be generated.</p>
|
||||
</p></li><li id="gaussdb_03_0007__en-us_topic_0171122750_li04590327138"><span>Use the mysqldump tool to export data into an SQL file.</span><p><div class="notice" id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_n7709487a692b45f88cacf26b6bc20391"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_ab4c82130eaba42c4b3f781f435231588">MySQL databases are required for <span id="gaussdb_03_0007__text79251810192118">GaussDB(for MySQL)</span> management. When exporting metadata, do not specify <strong id="gaussdb_03_0007__b865210866">--all-database</strong>. Otherwise, the databases will be unavailable.</p>
|
||||
</p></li><li id="gaussdb_03_0007__en-us_topic_0171122750_li04590327138"><span>Use the mysqldump tool to export data into an SQL file.</span><p><div class="notice" id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_n7709487a692b45f88cacf26b6bc20391"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_ab4c82130eaba42c4b3f781f435231588">MySQL databases are required for <span id="gaussdb_03_0007__text147664575516">GaussDB(for MySQL)</span> management. When exporting metadata, do not specify <strong id="gaussdb_03_0007__b137668510552">--all-database</strong>. Otherwise, the databases will be unavailable.</p>
|
||||
</div></div>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_en-us_topic_0086556980_p279338510243"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_en-us_topic_0086556980_b583095917333">mysqldump --databases</strong> <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_afa58fe6fe27047b99baf349bed22a4e6">DB_NAME</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a97357e0ad1fe4e2eb727e61139572cd5">--single-transaction --hex-blob --set-gtid-purged=OFF --no-create-info --skip-triggers</strong> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a5ea837816d834782b7745cbf2066e973">-u</strong> <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_ab4541b8eb73a49978a5acf2fed213257">DB_USER</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_en-us_topic_0086556980_b946317516218">-p</strong> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a6b5269827ed34f87bde89b7d04e8b2fa">-h</strong> <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a29747ec9933f4b0386fe76ee5aa55732">DB_ADDRESS</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a7692de295f384022a0db4715f949e94b">-P</strong> <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a9edd1101ea8c49249114246075bb7b83">DB_PORT</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_ab18aa61eed0246ed90961af4e9a46c18">-r</strong> <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_aa165c514c82a4d1f97b6721470b2b4c4">BACKUP_FILE</em>></p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a45486b42f5634c40b00ababb75b9ab28">For details on the parameters in the preceding command, see <a href="#gaussdb_03_0007__en-us_topic_0171122750_li16251172911136">2</a>.</p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a5220a0c335aa4905a751b960032cfd55">Enter the database password as prompted.</p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a0ed339d9c740476082be1d62ccfb9171">Example:</p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_af11253eefc3d461393216b59f22f5b40"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a2a5292086fa84033afb6f8d2e45142a0">mysqldump --databases gaussdb --single-transaction --hex-blob --set-gtid-purged=OFF --no-create-info --skip-triggers -u root -p -h 192.168.151.18 -P <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a666dfb267bcf46f7ae4fb7671666d86e">3306</strong> -r dump-data.sql</strong></p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a5eb9eef196f54421bd4c4e0a71613843">After this command is executed, the <strong id="gaussdb_03_0007__b1126986879">dump-data.sql</strong> file will be generated.</p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122585_a5eb9eef196f54421bd4c4e0a71613843">After this command is executed, the <strong id="gaussdb_03_0007__b29586104">dump-data.sql</strong> file will be generated.</p>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0007__en-us_topic_0171122750_section9816229161211"><h4 class="sectiontitle">Importing Data</h4><p id="gaussdb_03_0007__en-us_topic_0171122750_p135103395128">You can use a client to connect to a <span id="gaussdb_03_0007__text77985115217">GaussDB(for MySQL)</span> DB instance through an ECS or a device and then import the exported SQL file into that DB instance.</p>
|
||||
<div class="section" id="gaussdb_03_0007__en-us_topic_0171122750_section9816229161211"><h4 class="sectiontitle">Importing Data</h4><p id="gaussdb_03_0007__en-us_topic_0171122750_p135103395128">You can use a client to connect to a <span id="gaussdb_03_0007__text1365364274">GaussDB(for MySQL)</span> instance through an ECS or device and then import the exported SQL file into that instance.</p>
|
||||
<div class="notice" id="gaussdb_03_0007__en-us_topic_0171122750_note1265312113134"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ab96518d795b9443084060810191ea76f">If the source database contains triggers, storage processes, functions, or event invocation, you must set <strong id="gaussdb_03_0007__en-us_topic_0171122750_ac480f3a10c3a48d3a83c7e4d46b36efe">log_bin_trust_function_creators</strong> to <strong id="gaussdb_03_0007__en-us_topic_0171122750_a6b7dee3e07104fd69bae646ca4a1bd03">ON</strong> for the destination database before importing data.</p>
|
||||
</div></div>
|
||||
<ol id="gaussdb_03_0007__en-us_topic_0171122750_ol12647173310134"><li id="gaussdb_03_0007__en-us_topic_0171122750_li16471033171310"><span>Import metadata into <span id="gaussdb_03_0007__text466719451727">GaussDB(for MySQL)</span>.</span><p><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ae1e376d1e7df41d6a61e8af7b33abef7">Use the MySQL tool to connect to the <span id="gaussdb_03_0007__text1827781520210">GaussDB(for MySQL)</span> DB instance, enter the password, and run the following command to import metadata:</p>
|
||||
<ol id="gaussdb_03_0007__en-us_topic_0171122750_ol12647173310134"><li id="gaussdb_03_0007__en-us_topic_0171122750_li16471033171310"><span>Import metadata into <span id="gaussdb_03_0007__text2055871069">GaussDB(for MySQL)</span>.</span><p><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ae1e376d1e7df41d6a61e8af7b33abef7">Use the MySQL tool to connect to the <span id="gaussdb_03_0007__text1609290235">GaussDB(for MySQL)</span> instance, enter the password, and run the following command to import metadata:</p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ad627189ac9de4b1f9cf76d7f61442371"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_aaef0ea10e9884c1cbdf69ea37c256c35">mysql -f -h</strong> <em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_af2ac1a402e104ddf9438c93dd7ebf520"><DB_ADDRESS></em> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_acdb29a0d66814e288f8898efa5a2ec7b">-P</strong> <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a92967b9900e24636b39c22df67922f01">DB_PORT</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a2f7e70c7374341e4802fc77558a2ff92">-u</strong> root <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a8d5442490a4c4c7eb865c2300069a702">-p < </strong><em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a0d14ccb8d7894d05acdd2d672991c00d"><BACKUP_DIR></em><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_en-us_topic_0086557182_b410866411769">/dump-defs.sql</strong></p>
|
||||
<ul id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ue08dae7d440142d6b806e475314cc15c"><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_l66d52fdb329249bd98b6dba38cd31015"><strong id="gaussdb_03_0007__en-us_topic_0171122750_b842352706194729"><em id="gaussdb_03_0007__i842352697194732">DB_ADDRESS</em></strong> indicates the IP address of the <span id="gaussdb_03_0007__text69971207320">GaussDB(for MySQL)</span> DB instance.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_l2a7235d585234370bb8d176f2fa8d25e"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0084612849_b84235270620583"><em id="gaussdb_03_0007__i842352697131450">DB_PORT</em></strong> indicates the <span id="gaussdb_03_0007__text13396710337">GaussDB(for MySQL)</span> DB instance port.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_la4c2a7b031e14f5198911fcfc6128cf5"><strong id="gaussdb_03_0007__en-us_topic_0171122750_b209847697164317"><em id="gaussdb_03_0007__i1318558869164317">BACKUP_DIR</em></strong> indicates the directory where <strong id="gaussdb_03_0007__en-us_topic_0171122750_b1843852222164317">dump-defs.sql</strong> is stored.</li></ul>
|
||||
<ul id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ue08dae7d440142d6b806e475314cc15c"><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_l66d52fdb329249bd98b6dba38cd31015"><strong id="gaussdb_03_0007__en-us_topic_0171122750_b842352706194729"><em id="gaussdb_03_0007__i842352697194732">DB_ADDRESS</em></strong> indicates the IP address of the <span id="gaussdb_03_0007__text866668175610">GaussDB(for MySQL)</span> instance.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_l2a7235d585234370bb8d176f2fa8d25e"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0084612849_b84235270620583"><em id="gaussdb_03_0007__i842352697131450">DB_PORT</em></strong> indicates the GaussDB(for MySQL) instance port.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_la4c2a7b031e14f5198911fcfc6128cf5"><strong id="gaussdb_03_0007__en-us_topic_0171122750_b209847697164317"><em id="gaussdb_03_0007__i1318558869164317">BACKUP_DIR</em></strong> indicates the directory where <strong id="gaussdb_03_0007__en-us_topic_0171122750_b1843852222164317">dump-defs.sql</strong> is stored.</li></ul>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a33e4fc3726f24842a47ded1fa4fb28d0">Example:</p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a73ea44ae2cce4e62bcc6ebe1d5615b48"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a666dfb267bcf46f7ae4fb7671666d86e">mysql -f -h 172.16.66.198 -P 3306 -u root -p < dump-defs.sql</strong></p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a650167c458ca4d079039b4b8cff33c5f"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ab9808747fa0f4093bc11730a1e3f87c8">Enter password:</strong></p>
|
||||
</p></li><li id="gaussdb_03_0007__en-us_topic_0171122750_li144203861319"><span>Import data into <span id="gaussdb_03_0007__text159807161312">GaussDB(for MySQL)</span>.</span><p><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_afbf28e03c530431ca78bb14002b9332a"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ab40a6bdd4696411588ed76521ab779d7">mysql -f -h</strong> <em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_abffbb448974d4e97a7ec840d13bd112c"><DB_ADDRESS></em> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a3b4c10da33c943568a651611a0ce9468">-P</strong> <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ad870a388d3a9439e82f1d4d96075d74c">DB_PORT</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a3ad74e371ed348ef94d0fa2a1a10390d">-u</strong> root <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_afb14793e5010483eaa082305ff872db7">-p</strong> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a3ff674112cd545a79e20cf9b79f6889c">< </strong><em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a69b432ca852a4af49d63c6b8905be84a"><BACKUP_DIR></em><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a257d248c14444531901dd9c64f3f7e1f">/dump-data.sql</strong></p>
|
||||
<ul id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_u0ac3643f2b374fa08fbaa384f590b756"><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_l709c62d4d1a3465aa2efd05a9b97dcc0"><strong id="gaussdb_03_0007__b756514167126"><em id="gaussdb_03_0007__i19564111691215">DB_ADDRESS</em></strong> indicates the IP address of the <span id="gaussdb_03_0007__text1748119231635">GaussDB(for MySQL)</span> DB instance.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_l3c9115d96a56465ea6c93b51cce95679"><strong id="gaussdb_03_0007__en-us_topic_0171122750_b534519814912"><em id="gaussdb_03_0007__i1334498693">DB_PORT</em></strong> indicates the <span id="gaussdb_03_0007__text939510376317">GaussDB(for MySQL)</span> DB instance port.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_lf42f6cb997714e8eabc8fe4c8627b306"><strong id="gaussdb_03_0007__en-us_topic_0171122750_b2044560828164647"><em id="gaussdb_03_0007__i358084087164647">BACKUP_DIR</em></strong> indicates the directory where <strong id="gaussdb_03_0007__en-us_topic_0171122750_b1545433985164647">dump-data.sql</strong> is stored.</li></ul>
|
||||
</p></li><li id="gaussdb_03_0007__en-us_topic_0171122750_li144203861319"><span>Import data into <span id="gaussdb_03_0007__text178766154564">GaussDB(for MySQL)</span>.</span><p><p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_afbf28e03c530431ca78bb14002b9332a"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ab40a6bdd4696411588ed76521ab779d7">mysql -f -h</strong> <em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_abffbb448974d4e97a7ec840d13bd112c"><DB_ADDRESS></em> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a3b4c10da33c943568a651611a0ce9468">-P</strong> <<em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_ad870a388d3a9439e82f1d4d96075d74c">DB_PORT</em>> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a3ad74e371ed348ef94d0fa2a1a10390d">-u</strong> root <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_afb14793e5010483eaa082305ff872db7">-p</strong> <strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a3ff674112cd545a79e20cf9b79f6889c">< </strong><em id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a69b432ca852a4af49d63c6b8905be84a"><BACKUP_DIR></em><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a257d248c14444531901dd9c64f3f7e1f">/dump-data.sql</strong></p>
|
||||
<ul id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_u0ac3643f2b374fa08fbaa384f590b756"><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_l709c62d4d1a3465aa2efd05a9b97dcc0"><strong id="gaussdb_03_0007__b756514167126"><em id="gaussdb_03_0007__i19564111691215">DB_ADDRESS</em></strong> indicates the IP address of the <span id="gaussdb_03_0007__text1149882110565">GaussDB(for MySQL)</span> instance.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_l3c9115d96a56465ea6c93b51cce95679"><strong id="gaussdb_03_0007__en-us_topic_0171122750_b534519814912"><em id="gaussdb_03_0007__i1334498693">DB_PORT</em></strong> indicates the GaussDB(for MySQL) instance port.</li><li id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_lf42f6cb997714e8eabc8fe4c8627b306"><strong id="gaussdb_03_0007__en-us_topic_0171122750_b2044560828164647"><em id="gaussdb_03_0007__i358084087164647">BACKUP_DIR</em></strong> indicates the directory where <strong id="gaussdb_03_0007__en-us_topic_0171122750_b1545433985164647">dump-data.sql</strong> is stored.</li></ul>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_aa6a1b13a78964651b549690fc18280cc">Example:</p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_aacfbfa10a7b846998c94e6a8bb66fa34"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a850446a1e0e746f689e694e3eb3ea135">mysql -f -h 172.16.66.198 -P 3306 -u root -p < dump-data.sql</strong></p>
|
||||
<p id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_a1a0cce98e4a74e9bb7802a44b572d452"><strong id="gaussdb_03_0007__en-us_topic_0171122750_en-us_topic_0171122655_aca9ac01a6761483ba61f84291b7b93dd">Enter password:</strong></p>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_03_0110.html">Introducing Read Replicas</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_03_0111.html">Creating a Read Replica</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_03_0111.html">Creating Read Replicas</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_03_0112.html">Managing a Read Replica</a></strong><br>
|
||||
</li>
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
<a name="gaussdb_03_0011"></a><a name="gaussdb_03_0011"></a>
|
||||
|
||||
<h1 class="topictitle1">Binding and Unbinding an EIP</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0011__en-us_topic_0171122283_section26758795194119"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0011__en-us_topic_0171122283_p2283626020420">By default, a <span id="gaussdb_03_0011__text1900650866">GaussDB(for MySQL)</span> DB instance is not publicly accessible (not bound with an EIP) after being created. You can bind an EIP to the DB instance for public accessibility and can unbind the EIP from the DB instance as required.</p>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0011__en-us_topic_0171122283_section26758795194119"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0011__en-us_topic_0171122283_p2283626020420">By default, a <span id="gaussdb_03_0011__text1104765855">GaussDB(for MySQL)</span> instance is not publicly accessible (not bound with an EIP) after being created. You can bind an EIP to the instance for public accessibility and can unbind the EIP from the instance as required.</p>
|
||||
<div class="notice" id="gaussdb_03_0011__en-us_topic_0171122283_note29232533203622"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0011__en-us_topic_0171122283_p61766211203622">To ensure that the database can be accessed, the security group used by the database must have the permission to access the database port. For example, if the database port is <strong id="gaussdb_03_0011__b137631201613">3306</strong>, ensure that the security group has the permission to access port <strong id="gaussdb_03_0011__b02317111613">3306</strong>.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0011__en-us_topic_0171122283_section25123869979"><h4 class="sectiontitle">Prerequisites</h4><ul id="gaussdb_03_0011__en-us_topic_0171122283_ul176448639523"><li id="gaussdb_03_0011__en-us_topic_0171122283_li16430428125916">You have assigned an EIP on the VPC console.</li><li id="gaussdb_03_0011__en-us_topic_0171122283_li199477989523">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.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0011__en-us_topic_0171122283_section3199593620428"><a name="gaussdb_03_0011__en-us_topic_0171122283_section3199593620428"></a><a name="en-us_topic_0171122283_section3199593620428"></a><h4 class="sectiontitle">Binding an EIP</h4><ol id="gaussdb_03_0011__en-us_topic_0171122739_ol12603704105129"><li id="gaussdb_03_0011__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0011__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0011__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0011__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0011__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0011__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0011__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0011__en-us_topic_0171122739_li193335257385"><span>On the <strong id="gaussdb_03_0011__b1757818475332">Instances</strong> page, click the target DB instance. The <strong id="gaussdb_03_0011__b8324555124719">Basic Information</strong> page is displayed.</span></li><li id="gaussdb_03_0011__li179050480593"><span>In the <span class="uicontrol" id="gaussdb_03_0011__uicontrol31921759125419"><b>Network Information</b></span> area, click <strong id="gaussdb_03_0011__b1019865918549">Bind</strong> in the <strong id="gaussdb_03_0011__b192914516247">Public IP Address (EIP)</strong> field.</span></li><li id="gaussdb_03_0011__li16217497116"><span>In the displayed dialog box, select an EIP and click <span class="uicontrol" id="gaussdb_03_0011__uicontrol325212113419"><b>OK</b></span>.</span><p><div class="p" id="gaussdb_03_0011__p197286911113">If no available EIPs are displayed, click <span class="uicontrol" id="gaussdb_03_0011__uicontrol95400171559"><b>View EIP</b></span> and obtain an EIP.<div class="notice" id="gaussdb_03_0011__en-us_topic_0171122739_note105582277381"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0011__en-us_topic_0171122739_p12108153617536">You need to <span class="keyword" id="gaussdb_03_0011__keyword15791274558">configure security group rules</span> and enable specific IP addresses and ports to access the target DB instance.</p>
|
||||
<div class="section" id="gaussdb_03_0011__en-us_topic_0171122283_section3199593620428"><a name="gaussdb_03_0011__en-us_topic_0171122283_section3199593620428"></a><a name="en-us_topic_0171122283_section3199593620428"></a><h4 class="sectiontitle">Binding an EIP</h4><ol id="gaussdb_03_0011__en-us_topic_0171122739_ol12603704105129"><li id="gaussdb_03_0011__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0011__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0011__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0011__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0011__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0011__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0011__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0011__en-us_topic_0171122739_li193335257385"><span>On the <span class="uicontrol" id="gaussdb_03_0011__uicontrol165415118586"><b>Instances</b></span> page, click the instance name to go to the <span class="uicontrol" id="gaussdb_03_0011__uicontrol0655181175816"><b>Basic Information</b></span> page.</span></li><li id="gaussdb_03_0011__li179050480593"><span>In the <span class="uicontrol" id="gaussdb_03_0011__uicontrol31921759125419"><b>Network Information</b></span> area, click <strong id="gaussdb_03_0011__b1019865918549">Bind</strong> in the <strong id="gaussdb_03_0011__b192914516247">Public IP Address (EIP)</strong> field.</span></li><li id="gaussdb_03_0011__li16217497116"><span>In the displayed dialog box, select an EIP and click <span class="uicontrol" id="gaussdb_03_0011__uicontrol325212113419"><b>OK</b></span>.</span><p><div class="p" id="gaussdb_03_0011__p197286911113">If no available EIPs are displayed, click <span class="uicontrol" id="gaussdb_03_0011__uicontrol95400171559"><b>View EIP</b></span> and obtain an EIP.<div class="notice" id="gaussdb_03_0011__en-us_topic_0171122739_note105582277381"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0011__en-us_topic_0171122739_p12108153617536">You need to <span class="keyword" id="gaussdb_03_0011__keyword15791274558">configure security group rules</span> and enable specific IP addresses and ports to access the target DB instance.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
</p></li><li id="gaussdb_03_0011__en-us_topic_0171122739_li1333620544274"><span>On the <strong id="gaussdb_03_0011__b146071755195513">EIPs</strong> page, view the EIP that has been bound to the DB instance.</span><p><p id="gaussdb_03_0011__en-us_topic_0171122739_p24801631273">To unbind the EIP from the DB instance, see <a href="#gaussdb_03_0011__en-us_topic_0171122283_section186511510267">Unbinding an EIP</a>.</p>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0012__section124235101514"><h4 class="sectiontitle">Constraints</h4><p id="gaussdb_03_0012__p1889413620426">Changing the database port of a DB instance will only affect access through its IP address. If a DB instance is accessed through a proxy instance, the database port of the proxy instance cannot be changed, which defaults to <strong id="gaussdb_03_0012__b18695182417415">3306</strong>.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0012__en-us_topic_0171122564_section45421719172826"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_03_0012__en-us_topic_0171122564_ol36506495172844"><li id="gaussdb_03_0012__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0012__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0012__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0012__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0012__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0012__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0012__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0012__en-us_topic_0171122564_li61161897172844"><span>On the <strong id="gaussdb_03_0012__b15894987268">Instances</strong> page, click the target DB instance to go to the <span class="uicontrol" id="gaussdb_03_0012__uicontrol2823104025213"><b>Basic Information</b></span> page.</span></li><li id="gaussdb_03_0012__en-us_topic_0171122564_li36398892172958"><span>In the <strong id="gaussdb_03_0012__en-us_topic_0171122564_b0841151485715">Network Information</strong> area, click <span><img id="gaussdb_03_0012__image1063335418584" src="en-us_image_0000001352378996.png"></span> in the <span class="uicontrol" id="gaussdb_03_0012__en-us_topic_0171122564_uicontrol1384371465712"><b>Database Port</b></span> field.</span><p><div class="p" id="gaussdb_03_0012__p234195881216">The <span id="gaussdb_03_0012__text1488555137">GaussDB(for MySQL)</span> database port ranges from 1025 to 65534, excluding 5342, 5343, 5344, 5345, 12017, 20000, 20201, and 20202, which are occupied by the system and cannot be used.<ul id="gaussdb_03_0012__ul95201955151215"><li id="gaussdb_03_0012__li951995511217">To submit the change, click <span><img id="gaussdb_03_0012__image1951975517126" src="en-us_image_0000001352538852.png"></span>.<ul id="gaussdb_03_0012__ul851911554120"><li id="gaussdb_03_0012__li9519105501212">In the dialog box, click <strong id="gaussdb_03_0012__en-us_topic_0171122564_b842352706203810">Yes</strong>.<ol type="a" id="gaussdb_03_0012__ol19519355191212"><li id="gaussdb_03_0012__li12519105581211">If you change the database port of a DB instance, the ports of the primary node and read replicas are also changed accordingly and all of them are rebooted.</li><li id="gaussdb_03_0012__li14519125541218">This process takes about 1–5 minutes.</li></ol>
|
||||
<div class="section" id="gaussdb_03_0012__en-us_topic_0171122564_section45421719172826"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_03_0012__en-us_topic_0171122564_ol36506495172844"><li id="gaussdb_03_0012__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0012__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0012__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0012__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0012__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0012__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0012__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0012__en-us_topic_0171122564_li61161897172844"><span>On the <strong id="gaussdb_03_0012__b15894987268">Instances</strong> page, click the instance name to go to the <span class="uicontrol" id="gaussdb_03_0012__uicontrol2823104025213"><b>Basic Information</b></span> page.</span></li><li id="gaussdb_03_0012__en-us_topic_0171122564_li36398892172958"><span>In the <strong id="gaussdb_03_0012__en-us_topic_0171122564_b0841151485715">Network Information</strong> area, click <span><img id="gaussdb_03_0012__image1063335418584" src="en-us_image_0000001352378996.png"></span> in the <span class="uicontrol" id="gaussdb_03_0012__en-us_topic_0171122564_uicontrol1384371465712"><b>Database Port</b></span> field.</span><p><div class="p" id="gaussdb_03_0012__p234195881216">The <span id="gaussdb_03_0012__text2124835977">GaussDB(for MySQL)</span> database port ranges from 1025 to 65534, excluding 5342, 5343, 5344, 5345, 12017, 20000, 20201, and 20202, which are reserved by the system.<ul id="gaussdb_03_0012__ul95201955151215"><li id="gaussdb_03_0012__li951995511217">To submit the change, click <span><img id="gaussdb_03_0012__image1951975517126" src="en-us_image_0000001352538852.png"></span>.<ul id="gaussdb_03_0012__ul851911554120"><li id="gaussdb_03_0012__li9519105501212">In the dialog box, click <strong id="gaussdb_03_0012__en-us_topic_0171122564_b842352706203810">Yes</strong>.<ol type="a" id="gaussdb_03_0012__ol19519355191212"><li id="gaussdb_03_0012__li12519105581211">If you change the database port of a DB instance, the ports of the primary node and read replicas are also changed accordingly and all of them are rebooted.</li><li id="gaussdb_03_0012__li14519125541218">This process takes about 1–5 minutes.</li></ol>
|
||||
</li></ul>
|
||||
</li><li id="gaussdb_03_0012__li95203556122">To cancel the change, click <span><img id="gaussdb_03_0012__image85201755181216" src="en-us_image_0000001403138693.png"></span>.</li></ul>
|
||||
</div>
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
<a name="gaussdb_03_0014"></a><a name="gaussdb_03_0014"></a>
|
||||
|
||||
<h1 class="topictitle1">Key Operations Supported by CTS</h1>
|
||||
<div id="body8662426"><p id="gaussdb_03_0014__en-us_topic_0171122358_p8060118"><span class="keyword" id="gaussdb_03_0014__en-us_topic_0171122358_keyword7344191541">Cloud Trace Service (CTS)</span> records operations related to <span id="gaussdb_03_0014__text203517136544">GaussDB(for MySQL)</span> for further querying, auditing, and backtracking. <a href="#gaussdb_03_0014__table81771041193510">Table 1</a> lists the supported operations.</p>
|
||||
<div id="body8662426"><p id="gaussdb_03_0014__en-us_topic_0171122358_p8060118"><span class="keyword" id="gaussdb_03_0014__en-us_topic_0171122358_keyword7344191541">Cloud Trace Service (CTS)</span> records operations related to <span id="gaussdb_03_0014__text1714757788">GaussDB(for MySQL)</span> for further querying, auditing, and backtracking. <a href="#gaussdb_03_0014__table81771041193510">Table 1</a> lists the supported operations.</p>
|
||||
|
||||
<div class="tablenoborder"><a name="gaussdb_03_0014__table81771041193510"></a><a name="table81771041193510"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_03_0014__table81771041193510" frame="border" border="1" rules="all"><caption><b>Table 1 </b><span id="gaussdb_03_0014__text18230102116262">GaussDB(for MySQL)</span> operations recorded by CTS</caption><thead align="left"><tr id="gaussdb_03_0014__row5178441173512"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.1"><p id="gaussdb_03_0014__a2055ec1d9ccf4f6d951f0b34d5451d34">Operation</p>
|
||||
<div class="tablenoborder"><a name="gaussdb_03_0014__table81771041193510"></a><a name="table81771041193510"></a><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_03_0014__table81771041193510" frame="border" border="1" rules="all"><caption><b>Table 1 </b><span id="gaussdb_03_0014__text1629712019">GaussDB(for MySQL)</span> operations recorded by CTS</caption><thead align="left"><tr id="gaussdb_03_0014__row5178441173512"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.1"><p id="gaussdb_03_0014__a2055ec1d9ccf4f6d951f0b34d5451d34">Operation</p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.2"><p id="gaussdb_03_0014__a8e031d848eef43249f05468116a08bfc">Resource Type</p>
|
||||
</th>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="gaussdb_03_0017"></a><a name="gaussdb_03_0017"></a>
|
||||
|
||||
<h1 class="topictitle1">Viewing Logs</h1>
|
||||
<div id="body8662426"><p id="gaussdb_03_0017__en-us_topic_0171122452_p3766193918437">You can view database logs on the GaussDB console. For operation details, see <a href="gaussdb_03_0018.html">Viewing Error Logs</a> and <a href="gaussdb_03_0019.html">Viewing Slow Query Logs</a>.</p>
|
||||
<div id="body8662426"><p id="gaussdb_03_0017__en-us_topic_0171122452_p3766193918437">You can view database logs on the <span id="gaussdb_03_0017__text404042899">GaussDB(for MySQL)</span> console. For operation details, see <a href="gaussdb_03_0018.html">Viewing Error Logs</a> and <a href="gaussdb_03_0019.html">Viewing Slow Query Logs</a>.</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
|
||||
<h1 class="topictitle1">Viewing Slow Query Logs</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0019__en-us_topic_0171122308_section61232893165332"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0019__en-us_topic_0171122308_p6848662165336">Slow query logs record statements that exceed <span class="parmname" id="gaussdb_03_0019__en-us_topic_0171122308_parmname1785613570505"><b>long_query_time</b></span> (1 second by default). You can view log details and statistics to identify the statements that are executing slowly and optimize the statements. </p>
|
||||
<div class="p" id="gaussdb_03_0019__en-us_topic_0171122308_p1036918352521"><span id="gaussdb_03_0019__text1612538304">GaussDB(for MySQL)</span> supports the following statement types:<ul id="gaussdb_03_0019__en-us_topic_0171122308_ul15606971754"><li id="gaussdb_03_0019__en-us_topic_0171122308_li36061471155">SELECT</li><li id="gaussdb_03_0019__en-us_topic_0171122308_li56061171254">INSERT</li><li id="gaussdb_03_0019__en-us_topic_0171122308_li760677251">UPDATE</li><li id="gaussdb_03_0019__en-us_topic_0171122308_li96061771453">DELETE</li><li id="gaussdb_03_0019__en-us_topic_0171122308_li14606197250">CREATE</li><li id="gaussdb_03_0019__li6985466186">ALTER</li><li id="gaussdb_03_0019__li19969912131812">DROP</li></ul>
|
||||
<div class="p" id="gaussdb_03_0019__en-us_topic_0171122308_p1036918352521">GaussDB(for MySQL) supports the following statement types:<ul id="gaussdb_03_0019__en-us_topic_0171122308_ul15606971754"><li id="gaussdb_03_0019__en-us_topic_0171122308_li36061471155">SELECT</li><li id="gaussdb_03_0019__en-us_topic_0171122308_li56061171254">INSERT</li><li id="gaussdb_03_0019__en-us_topic_0171122308_li760677251">UPDATE</li><li id="gaussdb_03_0019__en-us_topic_0171122308_li96061771453">DELETE</li><li id="gaussdb_03_0019__en-us_topic_0171122308_li14606197250">CREATE</li><li id="gaussdb_03_0019__li6985466186">ALTER</li><li id="gaussdb_03_0019__li19969912131812">DROP</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0019__en-us_topic_0171122308_section467223910567"><h4 class="sectiontitle">Viewing Log Details</h4><ol id="gaussdb_03_0019__en-us_topic_0171122308_ol105901371552"><li id="gaussdb_03_0019__li23934243136"><span>Log in to the management console.</span></li><li id="gaussdb_03_0019__li83931424131319"><span>Click <span><img id="gaussdb_03_0019__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0019__li19393172461312"><span>Click <strong id="gaussdb_03_0019__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0019__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0019__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0019__en-us_topic_0171122308_li76061771959"><span>On the <strong id="gaussdb_03_0019__b24892018122411">Instances</strong> page, click the target DB instance. The <strong id="gaussdb_03_0019__b164891518152414">Basic Information</strong> page is displayed.</span></li><li id="gaussdb_03_0019__li174993116615"><span>In the navigation pane on the left, choose <span class="uicontrol" id="gaussdb_03_0019__uicontrol12771248172613"><b>Logs</b></span>. </span></li><li id="gaussdb_03_0019__en-us_topic_0171122308_li99031629175618"><span>On the <span class="uicontrol" id="gaussdb_03_0019__uicontrol173860614315933"><b>Slow Query Logs</b></span> page, view the slow query log details.</span><p><p id="gaussdb_03_0019__en-us_topic_0171122308_p45752226577">You can view the slow query log records of a specified execution statement type or a specific time period.</p>
|
||||
<div class="section" id="gaussdb_03_0019__en-us_topic_0171122308_section467223910567"><h4 class="sectiontitle">Viewing Log Details</h4><ol id="gaussdb_03_0019__en-us_topic_0171122308_ol105901371552"><li id="gaussdb_03_0019__li23934243136"><span>Log in to the management console.</span></li><li id="gaussdb_03_0019__li83931424131319"><span>Click <span><img id="gaussdb_03_0019__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0019__li19393172461312"><span>Click <strong id="gaussdb_03_0019__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0019__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0019__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0019__en-us_topic_0171122308_li76061771959"><span>On the <strong id="gaussdb_03_0019__b525533418357">Instances</strong> page, click the target DB instance. The <strong id="gaussdb_03_0019__b22555349351">Basic Information</strong> page is displayed.</span></li><li id="gaussdb_03_0019__li174993116615"><span>In the navigation pane on the left, choose <span class="uicontrol" id="gaussdb_03_0019__uicontrol12771248172613"><b>Logs</b></span>. </span></li><li id="gaussdb_03_0019__en-us_topic_0171122308_li99031629175618"><span>On the <span class="uicontrol" id="gaussdb_03_0019__uicontrol173860614315933"><b>Slow Query Logs</b></span> page, view the slow query log details.</span><p><p id="gaussdb_03_0019__en-us_topic_0171122308_p45752226577">You can view the slow query log records of a specified execution statement type or a specific time period.</p>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="gaussdb_03_0032"></a><a name="gaussdb_03_0032"></a>
|
||||
|
||||
<h1 class="topictitle1">Changing a DB Instance Name</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0032__en-us_topic_0171122553_section241540814823"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0032__en-us_topic_0171122553_p4215797114827">You can change the name of a <span id="gaussdb_03_0032__text105701313103616">GaussDB(for MySQL)</span> DB instance.</p>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0032__en-us_topic_0171122553_section241540814823"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0032__en-us_topic_0171122553_p4215797114827">You can change the name of a <span id="gaussdb_03_0032__text105701313103616">GaussDB(for MySQL)</span> instance.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0032__en-us_topic_0171122553_section45421719172826"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_03_0032__en-us_topic_0171122553_ol36506495172844"><li id="gaussdb_03_0032__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0032__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0032__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0032__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0032__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0032__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0032__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0032__en-us_topic_0171122553_li39994717339"><span>On the <strong id="gaussdb_03_0032__b8639575516">Instances</strong> page, locate the instance name and click <span><img id="gaussdb_03_0032__image10639972055" src="en-us_image_0000001402858869.png"></span> in the <strong id="gaussdb_03_0032__b86391771059">Name/ID</strong> column to edit the instance name.</span><p><ul id="gaussdb_03_0032__ul1090918523514"><li id="gaussdb_03_0032__li1290911521851">The DB instance name must start with a letter and consist of 4 to 64 characters. Only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_) are allowed.</li><li id="gaussdb_03_0032__li890919526510">When changing the instance name, you can determine whether to select <span class="uicontrol" id="gaussdb_03_0032__uicontrol192222462913"><b>Change node names synchronously</b></span> as required. If this option is selected, the names of the corresponding nodes are changed when the instance name is changed. If this option is not selected, only the instance name is changed, and the corresponding node names are not changed.</li><li id="gaussdb_03_0032__li2909552157">If you want to submit the change, click <strong id="gaussdb_03_0032__b1448511371230">OK</strong>. If you want to cancel the change, click <strong id="gaussdb_03_0032__b07143122413">Cancel</strong>.</li></ul>
|
||||
</p></li><li id="gaussdb_03_0032__en-us_topic_0171122553_li7163133174316"><span>View the result of the change on the <span class="uicontrol" id="gaussdb_03_0032__en-us_topic_0171122553_uicontrol920993936193611"><b>Basic Information</b></span> page.</span></li></ol>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0047__section14137132581213"><h4 class="sectiontitle">Constraints</h4><ul id="gaussdb_03_0047__en-us_topic_0171122319_ul1098915407426"><li id="gaussdb_03_0047__en-us_topic_0171122319_li18506142104210">DB instances cannot be deleted when operations are being performed on them. They can be deleted only after the operations are completed.</li><li id="gaussdb_03_0047__en-us_topic_0171122319_li20785257288">If you delete a DB instance, its automated backups are also deleted and you are no longer charged for them. Manual backups are still retained and will incur additional costs.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0047__en-us_topic_0171122319_section1011433142919"><h4 class="sectiontitle"><span class="keyword" id="gaussdb_03_0047__en-us_topic_0171122319_keyword1656972221017">Procedure</span></h4><ol id="gaussdb_03_0047__en-us_topic_0171122319_oa004d58aa8da4fdfbebf702690153c24"><li id="gaussdb_03_0047__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0047__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0047__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0047__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0047__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0047__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0047__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0047__li9438181012567"><span>On the <strong id="gaussdb_03_0047__en-us_topic_0171122319_b15540931759">Instances</strong> page, locate the DB instance to be deleted and click <strong id="gaussdb_03_0047__en-us_topic_0171122319_b12514174111518">More</strong> > <strong id="gaussdb_03_0047__en-us_topic_0171122319_b1480745150">Delete</strong> in the <strong id="gaussdb_03_0047__en-us_topic_0171122319_b811917483513">Operation</strong> column.</span></li><li id="gaussdb_03_0047__en-us_topic_0171122319_l601f793a4dcf4f50ba3417ee838b53ed"><span>In the displayed dialog box, click <span class="parmname" id="gaussdb_03_0047__en-us_topic_0171122319_parmname1821530147203536"><b>Yes</b></span>. Refresh the <strong id="gaussdb_03_0047__en-us_topic_0171122319_b84235270691741">Instances </strong>page later to check that the deletion is successful.</span></li></ol>
|
||||
<div class="section" id="gaussdb_03_0047__en-us_topic_0171122319_section1011433142919"><h4 class="sectiontitle"><span class="keyword" id="gaussdb_03_0047__en-us_topic_0171122319_keyword1656972221017">Procedure</span></h4><ol id="gaussdb_03_0047__en-us_topic_0171122319_oa004d58aa8da4fdfbebf702690153c24"><li id="gaussdb_03_0047__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0047__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0047__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0047__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0047__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0047__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0047__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0047__li9438181012567"><span>On the <strong id="gaussdb_03_0047__en-us_topic_0171122319_b15540931759">Instances</strong> page, locate the DB instance to be deleted and click <strong id="gaussdb_03_0047__en-us_topic_0171122319_b12514174111518">More</strong> > <strong id="gaussdb_03_0047__en-us_topic_0171122319_b1480745150">Delete</strong> in the <strong id="gaussdb_03_0047__en-us_topic_0171122319_b811917483513">Operation</strong> column.</span></li><li id="gaussdb_03_0047__en-us_topic_0171122319_l601f793a4dcf4f50ba3417ee838b53ed"><span>In the displayed dialog box, click <span class="parmname" id="gaussdb_03_0047__en-us_topic_0171122319_parmname1821530147203536"><b>Yes</b></span>. Refresh the <strong id="gaussdb_03_0047__en-us_topic_0171122319_b84235270691741">Instances</strong> page later to check that the deletion is successful.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -2,21 +2,21 @@
|
||||
|
||||
<h1 class="topictitle1">Resetting the Administrator Password</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0051__en-us_topic_0171122716_section52938762133842"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0051__en-us_topic_0171122716_p51960571133849">You can <span class="keyword" id="gaussdb_03_0051__en-us_topic_0171122716_keyword134246726619351">reset the administrator password</span> of a DB instance.</p>
|
||||
<p id="gaussdb_03_0051__en-us_topic_0171122716_p19142153232816">You can also reset the password of your database account when using <span id="gaussdb_03_0051__text7844660319">GaussDB(for MySQL)</span>.</p>
|
||||
<p id="gaussdb_03_0051__en-us_topic_0171122716_p19142153232816">If you forget the password of your database account when using <span id="gaussdb_03_0051__text165076741">GaussDB(for MySQL)</span>, you can reset the password.</p>
|
||||
</div>
|
||||
<p id="gaussdb_03_0051__en-us_topic_0171122716_p2526406820530">You cannot reset the administrator password under the following circumstances:</p>
|
||||
<ul id="gaussdb_03_0051__en-us_topic_0171122716_ul1744164793746"><li id="gaussdb_03_0051__en-us_topic_0171122716_li2843959693746">The database port is being changed.</li><li id="gaussdb_03_0051__en-us_topic_0171122716_li2224264093746">The instance status is <strong id="gaussdb_03_0051__b1972438685">Creating</strong>, <strong id="gaussdb_03_0051__b397213816810">Restoring</strong>, <strong id="gaussdb_03_0051__b297223812817">Rebooting</strong>, <strong id="gaussdb_03_0051__b209721238185">Changing port</strong>, <strong id="gaussdb_03_0051__b39735381783">Changing instance class</strong>, <strong id="gaussdb_03_0051__b33094396223">Promoting to primary</strong>, or <strong id="gaussdb_03_0051__b187261740162219">Abnormal</strong>.</li></ul>
|
||||
<div class="section" id="gaussdb_03_0051__en-us_topic_0171122716_section5252821142215"><h4 class="sectiontitle">Precautions</h4><ul id="gaussdb_03_0051__en-us_topic_0171122716_ul1082143010223"><li id="gaussdb_03_0051__en-us_topic_0171122716_li68273032214">If you change the administrator password of a DB instance, the passwords of the read replicas associated with the DB instance are also changed accordingly.</li><li id="gaussdb_03_0051__en-us_topic_0171122716_li48223011224">The length of time it takes for the new password to take effect depends on the amount of service data currently being processed by the primary node.</li><li id="gaussdb_03_0051__en-us_topic_0171122716_li168216302225">To prevent brute force cracking and ensure system security, change your password periodically, such as every three or six months.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0051__en-us_topic_0171122716_section59807924105129"><h4 class="sectiontitle">Method 1</h4><ol id="gaussdb_03_0051__en-us_topic_0171122716_ol12603704105129"><li id="gaussdb_03_0051__li11111185020914"><span>Log in to the management console.</span></li><li id="gaussdb_03_0051__li1511135012918"><span>Click <span><img id="gaussdb_03_0051__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0051__li17111250492"><span>Click <strong id="gaussdb_03_0051__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0051__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0051__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0051__en-us_topic_0171122716_li46324476105129"><span>On the <span class="parmname" id="gaussdb_03_0051__en-us_topic_0171122716_parmname7696479058465"><b>Instances</b></span> page, locate the target DB instance and choose <span class="menucascade" id="gaussdb_03_0051__en-us_topic_0171122716_menucascade42374616584621"><b><span class="uicontrol" id="gaussdb_03_0051__uicontrol44568043584621">More</span></b> > <b><span class="uicontrol" id="gaussdb_03_0051__uicontrol40620853084621">Reset Password</span></b></span> in the <strong id="gaussdb_03_0051__en-us_topic_0171122716_b8423527069439">Operation</strong> column.</span></li><li id="gaussdb_03_0051__en-us_topic_0171122716_li14267104105129"><span>Enter a new password and confirm the password.</span><p><div class="notice" id="gaussdb_03_0051__en-us_topic_0171122716_note529322592414"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0051__en-us_topic_0171122716_p72930251247">Keep this password secure. The system cannot retrieve it.</p>
|
||||
<div class="section" id="gaussdb_03_0051__en-us_topic_0171122716_section59807924105129"><h4 class="sectiontitle">Method 1</h4><ol id="gaussdb_03_0051__en-us_topic_0171122716_ol12603704105129"><li id="gaussdb_03_0051__li11111185020914"><span>Log in to the management console.</span></li><li id="gaussdb_03_0051__li1511135012918"><span>Click <span><img id="gaussdb_03_0051__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0051__li17111250492"><span>Click <strong id="gaussdb_03_0051__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0051__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0051__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0051__en-us_topic_0171122716_li46324476105129"><span>On the <span class="parmname" id="gaussdb_03_0051__parmname19109175052413"><b>Instances</b></span> page, locate the instance for which you want to change the password and choose <span class="menucascade" id="gaussdb_03_0051__menucascade1411013508240"><b><span class="uicontrol" id="gaussdb_03_0051__uicontrol8109175013249">More</span></b> > <b><span class="uicontrol" id="gaussdb_03_0051__uicontrol1110945013241">Reset Password</span></b></span> in the <strong id="gaussdb_03_0051__b20110650132411">Operation</strong> column.</span></li><li id="gaussdb_03_0051__en-us_topic_0171122716_li14267104105129"><span>Enter a new password and confirm the password.</span><p><div class="notice" id="gaussdb_03_0051__en-us_topic_0171122716_note529322592414"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0051__en-us_topic_0171122716_p72930251247">Keep this password secure. The system cannot retrieve it.</p>
|
||||
</div></div>
|
||||
<p id="gaussdb_03_0051__p156517561177">The new password must consist of 8 to 32 characters and contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters (~!@#%^*-_=+?). Enter a strong password and periodically change it to improve security, preventing security risks such as brute force cracking.</p>
|
||||
<ul id="gaussdb_03_0051__en-us_topic_0171122716_ul564019271245"><li id="gaussdb_03_0051__en-us_topic_0171122716_li4640192716419">To submit the new password, click <strong id="gaussdb_03_0051__en-us_topic_0171122716_b84235270695330_3">OK</strong>.</li><li id="gaussdb_03_0051__en-us_topic_0171122716_li196401127643">To cancel the reset, click <strong id="gaussdb_03_0051__en-us_topic_0171122716_b84235270620484_1">Cancel</strong>.</li></ul>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0051__en-us_topic_0171122716_section4206283114638"><h4 class="sectiontitle">Method 2</h4><ol id="gaussdb_03_0051__en-us_topic_0171122716_ol796760111472"><li id="gaussdb_03_0051__li173781619194310"><span>Log in to the management console.</span></li><li id="gaussdb_03_0051__li11378121915437"><span>Click <span><img id="gaussdb_03_0051__gaussdb_02_0004_image192529212293_1" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0051__li03781619114316"><span>Click <strong id="gaussdb_03_0051__gaussdb_02_0004_b1548312501622_1">Service List</strong>. Under <strong id="gaussdb_03_0051__gaussdb_02_0004_b1748325012210_1">Databases</strong>, click <strong id="gaussdb_03_0051__gaussdb_02_0004_b164831501625_1">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0051__en-us_topic_0171122716_li61161897172844"><span>On the <strong id="gaussdb_03_0051__en-us_topic_0171122716_b84235270615219">Instances</strong> page, click the target DB instance. The <strong id="gaussdb_03_0051__b148841556162511">Basic Information</strong> page is displayed.</span></li><li id="gaussdb_03_0051__en-us_topic_0171122716_li36398892172958"><span>In the <strong id="gaussdb_03_0051__en-us_topic_0171122716_b836692819435">DB Instance Information</strong> area, click <strong id="gaussdb_03_0051__en-us_topic_0171122716_b438316281431">Reset Password</strong> in the <span class="uicontrol" id="gaussdb_03_0051__en-us_topic_0171122716_uicontrol12384628124315"><b>Administrator</b></span> field. In the displayed dialog box, enter a new password and confirm the password.</span><p><div class="notice" id="gaussdb_03_0051__en-us_topic_0171122716_note5427133210139"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0051__en-us_topic_0178839218_en-us_topic_0171122716_p72930251247">Keep this password secure. The system cannot retrieve it.</p>
|
||||
<div class="section" id="gaussdb_03_0051__en-us_topic_0171122716_section4206283114638"><h4 class="sectiontitle">Method 2</h4><ol id="gaussdb_03_0051__en-us_topic_0171122716_ol796760111472"><li id="gaussdb_03_0051__li173781619194310"><span>Log in to the management console.</span></li><li id="gaussdb_03_0051__li11378121915437"><span>Click <span><img id="gaussdb_03_0051__gaussdb_02_0004_image192529212293_1" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0051__li03781619114316"><span>Click <strong id="gaussdb_03_0051__gaussdb_02_0004_b1548312501622_1">Service List</strong>. Under <strong id="gaussdb_03_0051__gaussdb_02_0004_b1748325012210_1">Databases</strong>, click <strong id="gaussdb_03_0051__gaussdb_02_0004_b164831501625_1">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0051__en-us_topic_0171122716_li61161897172844"><span>On the <strong id="gaussdb_03_0051__b1011765816242">Instances</strong> page, click the instance name to go to the <span class="uicontrol" id="gaussdb_03_0051__uicontrol911718583244"><b>Basic Information</b></span> page.</span></li><li id="gaussdb_03_0051__en-us_topic_0171122716_li36398892172958"><span>In the <strong id="gaussdb_03_0051__en-us_topic_0171122716_b836692819435">DB Instance Information</strong> area, click <strong id="gaussdb_03_0051__en-us_topic_0171122716_b438316281431">Reset Password</strong> in the <span class="uicontrol" id="gaussdb_03_0051__en-us_topic_0171122716_uicontrol12384628124315"><b>Administrator</b></span> field. In the displayed dialog box, enter a new password and confirm the password.</span><p><div class="notice" id="gaussdb_03_0051__en-us_topic_0171122716_note5427133210139"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0051__en-us_topic_0178839218_en-us_topic_0171122716_p72930251247">Keep this password secure. The system cannot retrieve it.</p>
|
||||
</div></div>
|
||||
<div class="p" id="gaussdb_03_0051__p195599214122">The new password must consist of 8 to 32 characters and contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters (~!@#%^*-_=+?). Enter a strong password and periodically change it to improve security, preventing security risks such as brute force cracking.<ul id="gaussdb_03_0051__en-us_topic_0178839218_en-us_topic_0171122716_ul564019271245"><li id="gaussdb_03_0051__en-us_topic_0178839218_en-us_topic_0171122716_li4640192716419">To submit the new password, click <strong id="gaussdb_03_0051__b117855002">OK</strong>.</li><li id="gaussdb_03_0051__en-us_topic_0178839218_en-us_topic_0171122716_li196401127643">To cancel the reset, click <strong id="gaussdb_03_0051__b1737428028">Cancel</strong>.</li></ul>
|
||||
<div class="p" id="gaussdb_03_0051__p195599214122">The new password must consist of 8 to 32 characters and contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters (~!@#%^*-_=+?). Enter a strong password and periodically change it to improve security, preventing security risks such as brute force cracking.<ul id="gaussdb_03_0051__en-us_topic_0178839218_en-us_topic_0171122716_ul564019271245"><li id="gaussdb_03_0051__en-us_topic_0178839218_en-us_topic_0171122716_li4640192716419">To submit the new password, click <strong id="gaussdb_03_0051__b2075411873">OK</strong>.</li><li id="gaussdb_03_0051__en-us_topic_0178839218_en-us_topic_0171122716_li196401127643">To cancel the reset, click <strong id="gaussdb_03_0051__b27206730">Cancel</strong>.</li></ul>
|
||||
</div>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Working with Backups</h1>
|
||||
<div id="body8662426"><p id="gaussdb_03_0056__en-us_topic_0171122510_p3836659516932"><span id="gaussdb_03_0056__text105701313103616">GaussDB(for MySQL)</span> supports <span class="keyword" id="gaussdb_03_0056__keyword2828102712211">backups and restorations</span> to ensure data reliability.</p>
|
||||
<div class="section" id="gaussdb_03_0056__en-us_topic_0171122510_section745745720113"><h4 class="sectiontitle">Automated Backups</h4><p id="gaussdb_03_0056__en-us_topic_0171122510_p6521112518525"><span class="keyword" id="gaussdb_03_0056__en-us_topic_0171122510_keyword976320255248">Automated backups</span> are created during the backup time window of your DB instances. <span id="gaussdb_03_0056__text16583151016231">GaussDB(for MySQL)</span> saves automated backups based on the retention period you have specified. If necessary, you can restore to any point in time during your backup retention period.</p>
|
||||
<div class="section" id="gaussdb_03_0056__en-us_topic_0171122510_section745745720113"><h4 class="sectiontitle">Automated Backups</h4><p id="gaussdb_03_0056__en-us_topic_0171122510_p6521112518525"><span class="keyword" id="gaussdb_03_0056__keyword547775142619">Automated backups</span> are created during the backup time window configured for your instances. GaussDB(for MySQL) saves automated backups based on the retention period you have specified. If necessary, you can restore to any point in time during your backup retention period.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0056__en-us_topic_0171122510_section597119152129"><h4 class="sectiontitle">Manual Backups</h4><p id="gaussdb_03_0056__p1816112571938"><span class="keyword" id="gaussdb_03_0056__keyword10894123451714">Manual backups</span> are user-initiated full backups of DB instances. They are retained until you delete them manually.</p>
|
||||
</div>
|
||||
|
||||
@ -7,8 +7,8 @@
|
||||
<div class="section" id="gaussdb_03_0058__en-us_topic_0171122845_section3535102285710"><h4 class="sectiontitle">Method 1</h4><ol id="gaussdb_03_0058__en-us_topic_0171122845_o2173078bb42c41a0b711d64c49e2565d"><li id="gaussdb_03_0058__li1370755351020"><span>Log in to the management console.</span></li><li id="gaussdb_03_0058__li15708115351019"><span>Click <span><img id="gaussdb_03_0058__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0058__li27086537104"><span>Click <strong id="gaussdb_03_0058__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0058__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0058__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0058__en-us_topic_0171122845_l6b462da2019b41cd87b384de44f2bcc9"><span>On the <span class="uicontrol" id="gaussdb_03_0058__en-us_topic_0171122845_uicontrol382850423191944"><b>Instances</b></span> page, locate the target DB instance and choose <span class="menucascade" id="gaussdb_03_0058__en-us_topic_0171122845_menucascade158784999010023"><b><span class="uicontrol" id="gaussdb_03_0058__uicontrol157226285710023">More</span></b> > <b><span class="uicontrol" id="gaussdb_03_0058__uicontrol18071062810023">Create Backup</span></b></span> in the <strong id="gaussdb_03_0058__en-us_topic_0171122845_b84235270610314">Operation</strong> column.</span></li><li id="gaussdb_03_0058__en-us_topic_0171122845_l6d35af1958874f2bb67501ccf04f2079"><span>In the displayed dialog box, enter a backup name and description. Then, click <strong id="gaussdb_03_0058__en-us_topic_0171122845_b1990655243114223">OK</strong>. If you want to cancel the backup creation task, click <strong id="gaussdb_03_0058__en-us_topic_0171122845_b118111817135615">Cancel</strong>.</span><p><ul id="gaussdb_03_0058__en-us_topic_0171122845_ul18955183374417"><li id="gaussdb_03_0058__en-us_topic_0171122845_li18955153311448">The backup name must consist of 4 to 64 characters and start with a letter. It can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).</li><li id="gaussdb_03_0058__en-us_topic_0171122845_li69551933104417">The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: !<"='>&</li><li id="gaussdb_03_0058__en-us_topic_0171122845_li295518336442">The time required for creating a manual backup depends on the data volume of the DB instance.</li></ul>
|
||||
</p></li><li id="gaussdb_03_0058__en-us_topic_0171122845_li9129133519114"><span>After a manual backup has been created, you can view and manage it on the <span class="uicontrol" id="gaussdb_03_0058__en-us_topic_0171122845_uicontrol27595146171816"><b>Backups</b></span> page.</span></li></ol>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0058__en-us_topic_0171122845_section56713052173915"><h4 class="sectiontitle">Method 2</h4><ol id="gaussdb_03_0058__en-us_topic_0171122845_ol30354504173915"><li id="gaussdb_03_0058__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0058__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0058__gaussdb_02_0004_image192529212293_1" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0058__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0058__gaussdb_02_0004_b1548312501622_1">Service List</strong>. Under <strong id="gaussdb_03_0058__gaussdb_02_0004_b1748325012210_1">Databases</strong>, click <strong id="gaussdb_03_0058__gaussdb_02_0004_b164831501625_1">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0058__en-us_topic_0171122845_li4755084173915"><span>On the <strong id="gaussdb_03_0058__b118550862015">Instances</strong> page, click the target DB instance.</span></li><li id="gaussdb_03_0058__en-us_topic_0171122845_li66582655173915"><span>On the <strong id="gaussdb_03_0058__en-us_topic_0171122845_b842352706115220">Backups</strong> page, click <strong id="gaussdb_03_0058__en-us_topic_0171122845_b842352706115231">Create Backup</strong>. In the displayed dialog box, enter a backup name and a description, and click <strong id="gaussdb_03_0058__en-us_topic_0171122845_b1454363206114213">OK</strong>. If you want to cancel the backup creation task, click <strong id="gaussdb_03_0058__b117521952121416">Cancel</strong>.</span><p><ul id="gaussdb_03_0058__en-us_topic_0171122845_ul24021752174714"><li id="gaussdb_03_0058__gaussdb_03_0058_en-us_topic_0171122845_li18955153311448">The backup name must consist of 4 to 64 characters and start with a letter. It can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).</li><li id="gaussdb_03_0058__gaussdb_03_0058_en-us_topic_0171122845_li69551933104417">The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: !<"='>&</li><li id="gaussdb_03_0058__gaussdb_03_0058_en-us_topic_0171122845_li295518336442">The time required for creating a manual backup depends on the data volume of the DB instance.</li></ul>
|
||||
</p></li><li id="gaussdb_03_0058__en-us_topic_0171122845_li17482143281917"><span>After a manual backup has been created, you can view and manage it on the <span class="uicontrol" id="gaussdb_03_0058__uicontrol1887584440"><b>Backups</b></span> page.</span></li></ol>
|
||||
<div class="section" id="gaussdb_03_0058__en-us_topic_0171122845_section56713052173915"><h4 class="sectiontitle">Method 2</h4><ol id="gaussdb_03_0058__en-us_topic_0171122845_ol30354504173915"><li id="gaussdb_03_0058__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0058__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0058__gaussdb_02_0004_image192529212293_1" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0058__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0058__gaussdb_02_0004_b1548312501622_1">Service List</strong>. Under <strong id="gaussdb_03_0058__gaussdb_02_0004_b1748325012210_1">Databases</strong>, click <strong id="gaussdb_03_0058__gaussdb_02_0004_b164831501625_1">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0058__en-us_topic_0171122845_li4755084173915"><span>On the <strong id="gaussdb_03_0058__b118550862015">Instances</strong> page, click the instance name.</span></li><li id="gaussdb_03_0058__en-us_topic_0171122845_li66582655173915"><span>On the <strong id="gaussdb_03_0058__en-us_topic_0171122845_b842352706115220">Backups</strong> page, click <strong id="gaussdb_03_0058__en-us_topic_0171122845_b842352706115231">Create Backup</strong>. In the displayed dialog box, enter a backup name and a description, and click <strong id="gaussdb_03_0058__en-us_topic_0171122845_b1454363206114213">OK</strong>. If you want to cancel the backup creation task, click <strong id="gaussdb_03_0058__b117521952121416">Cancel</strong>.</span><p><ul id="gaussdb_03_0058__en-us_topic_0171122845_ul24021752174714"><li id="gaussdb_03_0058__gaussdb_03_0058_en-us_topic_0171122845_li18955153311448">The backup name must consist of 4 to 64 characters and start with a letter. It can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).</li><li id="gaussdb_03_0058__gaussdb_03_0058_en-us_topic_0171122845_li69551933104417">The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: !<"='>&</li><li id="gaussdb_03_0058__gaussdb_03_0058_en-us_topic_0171122845_li295518336442">The time required for creating a manual backup depends on the data volume of the DB instance.</li></ul>
|
||||
</p></li><li id="gaussdb_03_0058__en-us_topic_0171122845_li17482143281917"><span>After a manual backup has been created, you can view and manage it on the <span class="uicontrol" id="gaussdb_03_0058__uicontrol366182750"><b>Backups</b></span> page.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -8,18 +8,18 @@
|
||||
<div class="section" id="gaussdb_03_0069__section09161839161312"><h4 class="sectiontitle">Backup Space Calculation Methods</h4><p id="gaussdb_03_0069__p131441549191319">There is a default backup chain (where there are seven backups). The first automated backup is a full backup, and subsequent automated backups are differential backups.</p>
|
||||
<p id="gaussdb_03_0069__p196916594303">In a backup chain, the backup space is released only after all full backups and differential backups are deleted.</p>
|
||||
<p id="gaussdb_03_0069__p1151416129164">The billed space is calculated as follows:</p>
|
||||
<ul id="gaussdb_03_0069__ul334723162013"><li id="gaussdb_03_0069__li13348193172014">Logical space: Total size of the logical space – Logical size of the expired backup file</li><li id="gaussdb_03_0069__li634893110208">Physical space: Size of the first full backup file + Total size of subsequent differential backup files</li><li id="gaussdb_03_0069__li2034863142015">Free space: There is free backup storage up to 100% of storage space.</li></ul>
|
||||
<p id="gaussdb_03_0069__p18488133174619">Billed space = Min (Logical space, Physical space) – Free space = Min (Logical space, Physical space) – Storage space</p>
|
||||
<ul id="gaussdb_03_0069__ul334723162013"><li id="gaussdb_03_0069__li13348193172014">Logical space: Total size of the logical space – Logical size of the expired backup file</li><li id="gaussdb_03_0069__li634893110208">Physical space: Size of the first full backup file + Total size of subsequent differential backup files</li></ul>
|
||||
<p id="gaussdb_03_0069__p18488133174619">Billed space = Min (Logical space, Physical space)</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0069__section166381644108"><h4 class="sectiontitle">Example</h4><p id="gaussdb_03_0069__p9920133619545">A backup chain contains seven backups by default. There are 11 backups shown in the following figure. The 1st backup to the 7th belong to one backup chain and the 8th to the 11th belong to the other backup chain.</p>
|
||||
<div class="fignone" id="gaussdb_03_0069__fig6884164985414"><span class="figcap"><b>Figure 1 </b>Backup example</span><br><span><img id="gaussdb_03_0069__image1910533113402" src="en-us_image_0000001896928157.png"></span></div>
|
||||
<p id="gaussdb_03_0069__p1051826114118"></p>
|
||||
<p id="gaussdb_03_0069__p93611454154114">If there is 1,000 MB of backup space and the logical space is 1,000 MB each time, the physical space for the 1st backup is 1,000 MB. If the incremental data size is 100 MB each time, the physical space for the 2nd backup to 7th is 100 MB.</p>
|
||||
<p id="gaussdb_03_0069__p93611454154114">If the logical space is 1,000 MB each time, the physical space for the 1st backup is 1,000 MB. If the incremental data size is 100 MB each time, the physical space for the 2nd backup to 7th is 100 MB.</p>
|
||||
<p id="gaussdb_03_0069__p328419500715">A backup chain contains seven backups by default. The physical space for the 8th backup is 1,000 MB because it represents a new backup chain.</p>
|
||||
<p id="gaussdb_03_0069__p18503611526">Billed space includes the space of the two chains in the example.</p>
|
||||
<p id="gaussdb_03_0069__p1766095919446">Suppose that after the 11th backup was created, and the 1st, 2nd and 3rd backups expired and were automatically deleted. The size of each space is calculated as follows:</p>
|
||||
<ul id="gaussdb_03_0069__ul1616785575711"><li id="gaussdb_03_0069__li635985363913">Total size of the logical space for the 11th backup = 1,000 MB x 11 – 3,000 MB = 8,000 MB</li><li id="gaussdb_03_0069__li5726172265217">Physical space: the amount of data backed up to OBS, that is, the sum of the physical space on the two chains.<p id="gaussdb_03_0069__p1766472718528"><a name="gaussdb_03_0069__li5726172265217"></a><a name="li5726172265217"></a>Physical space = 1,000 MB + 100 MB x 6 + 1,000 MB + 100 MB x 3 = 2,900 MB</p>
|
||||
</li><li id="gaussdb_03_0069__li1335975383914">Total billed space = Min (8,000 MB, 2,900 MB) – 1,000 MB = 1,900 MB</li></ul>
|
||||
</li><li id="gaussdb_03_0069__li1335975383914">Total billed space = Min (8,000 MB, 2,900 MB) = 2,900 MB</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Database Security</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0082__en-us_topic_0171122269_section5980155415126"><h4 class="sectiontitle">Password Strength Requirements</h4><p id="gaussdb_03_0082__en-us_topic_0171122269_p1844772665713"></p>
|
||||
<p id="gaussdb_03_0082__en-us_topic_0171122269_p4707122818577"></p>
|
||||
<div class="p" id="gaussdb_03_0082__en-us_topic_0171122269_p14930134413571"><span id="gaussdb_03_0082__text1766728692">GaussDB(for MySQL)</span> has a password security policy for newly created database users. Passwords must:<ul id="gaussdb_03_0082__en-us_topic_0171122269_ul59722328103029"><li id="gaussdb_03_0082__en-us_topic_0171122269_li630043103029">Consist of at least eight characters.</li><li id="gaussdb_03_0082__en-us_topic_0171122269_li5670393103029">Contain at least three types of the following: uppercase letters, lowercase letters, digits, and special characters.</li></ul>
|
||||
<div class="p" id="gaussdb_03_0082__en-us_topic_0171122269_p14930134413571"><span id="gaussdb_03_0082__text670426204">GaussDB(for MySQL)</span> has a password security policy for newly created database users. Passwords must:<ul id="gaussdb_03_0082__en-us_topic_0171122269_ul59722328103029"><li id="gaussdb_03_0082__en-us_topic_0171122269_li630043103029">Consist of at least eight characters.</li><li id="gaussdb_03_0082__en-us_topic_0171122269_li5670393103029">Contain at least three types of the following: uppercase letters, lowercase letters, digits, and special characters.</li></ul>
|
||||
</div>
|
||||
<p id="gaussdb_03_0082__en-us_topic_0171122269_p3657062518310">When you create DB instances, your password strength is checked. You can modify the password strength as user <strong id="gaussdb_03_0082__en-us_topic_0171122269_b842352706111341">root</strong>. For security reasons, you are advised to use a password that is at least as strong as the default one.</p>
|
||||
</div>
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
<a name="gaussdb_03_0085"></a><a name="gaussdb_03_0085"></a>
|
||||
|
||||
<h1 class="topictitle1">Configuring Displayed Metrics</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0085__en-us_topic_0171122394_section48273313131053"><h4 class="sectiontitle">Function</h4><p id="gaussdb_03_0085__en-us_topic_0171122394_p40182336131059">You can use <span class="keyword" id="gaussdb_03_0085__en-us_topic_0171122394_keyword145232891511">Cloud Eye</span> to monitor the running statuses of DB instances. This section describes namespaces, descriptions, and dimensions of monitoring metrics to be reported to Cloud Eye.</p>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0085__en-us_topic_0171122394_section48273313131053"><h4 class="sectiontitle">Function</h4><p id="gaussdb_03_0085__en-us_topic_0171122394_p40182336131059">You can use <span class="keyword" id="gaussdb_03_0085__en-us_topic_0171122394_keyword145232891511">Cloud Eye</span> to monitor the running statuses of DB instances. This section describes namespaces, descriptions, and dimensions of metrics to be reported to Cloud Eye.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0085__en-us_topic_0171122394_s1feb2fcf34ab4e88a61a1597e2ec8f06"><h4 class="sectiontitle">DB Instance Monitoring Metrics</h4>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_03_0085__table46701376141844" frame="border" border="1" rules="all"><caption><b>Table 1 </b><span id="gaussdb_03_0085__text791656342">GaussDB(for MySQL)</span> metrics</caption><thead align="left"><tr id="gaussdb_03_0085__re01f141cc21347af98381c27e1a5d524"><th align="left" class="cellrowborder" valign="top" width="14.08%" id="mcps1.3.2.2.2.7.1.1"><p id="gaussdb_03_0085__a807246cff23b44219a7b4ecb8436420f"><strong id="gaussdb_03_0085__b154408241879">Metric ID</strong></p>
|
||||
<div class="section" id="gaussdb_03_0085__en-us_topic_0171122394_s1feb2fcf34ab4e88a61a1597e2ec8f06"><h4 class="sectiontitle">DB Instance Metrics</h4>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_03_0085__table46701376141844" frame="border" border="1" rules="all"><caption><b>Table 1 </b><span id="gaussdb_03_0085__text1844206096">GaussDB(for MySQL)</span> metrics</caption><thead align="left"><tr id="gaussdb_03_0085__re01f141cc21347af98381c27e1a5d524"><th align="left" class="cellrowborder" valign="top" width="14.08%" id="mcps1.3.2.2.2.7.1.1"><p id="gaussdb_03_0085__a807246cff23b44219a7b4ecb8436420f"><strong id="gaussdb_03_0085__b154408241879">Metric ID</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="11.44%" id="mcps1.3.2.2.2.7.1.2"><p id="gaussdb_03_0085__en-us_topic_0029128243_p468860223835"><strong id="gaussdb_03_0085__en-us_topic_0171122394_b842352706131637">Metric</strong></p>
|
||||
</th>
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
<a name="gaussdb_03_0087"></a><a name="gaussdb_03_0087"></a>
|
||||
|
||||
<h1 class="topictitle1">Setting Alarm Rules</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0087__en-us_topic_0171122707_section2443519211056"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0087__en-us_topic_0171122707_p3309349911056">You can <span class="keyword" id="gaussdb_03_0087__en-us_topic_0171122707_keyword4995235163115">set alarm rules</span> for <span id="gaussdb_03_0087__text413626203">GaussDB(for MySQL)</span> to customize the monitored objects and notification policies and stay aware of the <span id="gaussdb_03_0087__text58171405541">GaussDB(for MySQL)</span> operating status.</p>
|
||||
<p id="gaussdb_03_0087__en-us_topic_0171122707_p2940604311056">The <span id="gaussdb_03_0087__text5662105115544">GaussDB(for MySQL)</span> alarm rules include <span class="keyword" id="gaussdb_03_0087__en-us_topic_0171122707_keyword10647202510214">alarm rule</span> names, services, dimensions, monitored objects, metrics, alarm thresholds, monitoring period, and whether to send notifications.</p>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0087__en-us_topic_0171122707_section2443519211056"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0087__en-us_topic_0171122707_p3309349911056">You can <span class="keyword" id="gaussdb_03_0087__en-us_topic_0171122707_keyword4995235163115">set alarm rules</span> for <span id="gaussdb_03_0087__text1597293214">GaussDB(for MySQL)</span> to customize the monitored objects and notification policies and stay aware of the <span id="gaussdb_03_0087__text786019521547">GaussDB(for MySQL)</span> operating status.</p>
|
||||
<p id="gaussdb_03_0087__en-us_topic_0171122707_p2940604311056">The <span id="gaussdb_03_0087__text1207147752">GaussDB(for MySQL)</span> alarm rules include <span class="keyword" id="gaussdb_03_0087__en-us_topic_0171122707_keyword10647202510214">alarm rule</span> names, services, dimensions, monitored objects, metrics, alarm thresholds, monitoring period, and whether to send notifications.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0087__en-us_topic_0171122707_section6332780011056"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_03_0087__en-us_topic_0171122707_ol23237169111417"><li id="gaussdb_03_0087__en-us_topic_0171122707_li141551480173"><span>Log in to the management console.</span></li><li id="gaussdb_03_0087__en-us_topic_0171122707_li111552881716"><span>Under <strong id="gaussdb_03_0087__en-us_topic_0204854018_en-us_topic_0192953603_b139031156171118">Management & Deployment</strong>, click <strong id="gaussdb_03_0087__en-us_topic_0204854018_en-us_topic_0192953603_b11912195611114">Cloud Eye</strong>.</span></li><li id="gaussdb_03_0087__en-us_topic_0171122707_li202152422493"><span>In the navigation pane on the left, choose <strong id="gaussdb_03_0087__b689813051511">Cloud Service Monitoring</strong> > <strong id="gaussdb_03_0087__b9899153071517"><span id="gaussdb_03_0087__text1627105235313">GaussDB(for MySQL)</span></strong>.</span></li><li id="gaussdb_03_0087__en-us_topic_0171122707_li1264833785011"><span>Locate the DB instance for which you want to create an alarm rule and click <span><img id="gaussdb_03_0087__image813819299286" src="en-us_image_0000001403218685.png"></span> on the left, and then click <strong id="gaussdb_03_0087__b160102216253">Create Alarm Rule</strong> in the <strong id="gaussdb_03_0087__b2082217255">Operation</strong> column.</span></li><li id="gaussdb_03_0087__en-us_topic_0171122707_li080544731116"><span>On the displayed page, set parameters as required.</span><p>
|
||||
<div class="section" id="gaussdb_03_0087__en-us_topic_0171122707_section6332780011056"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_03_0087__en-us_topic_0171122707_ol23237169111417"><li id="gaussdb_03_0087__en-us_topic_0171122707_li141551480173"><span>Log in to the management console.</span></li><li id="gaussdb_03_0087__en-us_topic_0171122707_li111552881716"><span>Under <strong id="gaussdb_03_0087__en-us_topic_0204854018_en-us_topic_0192953603_b139031156171118">Management & Deployment</strong>, click <strong id="gaussdb_03_0087__en-us_topic_0204854018_en-us_topic_0192953603_b11912195611114">Cloud Eye</strong>.</span></li><li id="gaussdb_03_0087__en-us_topic_0171122707_li202152422493"><span>In the navigation pane on the left, choose <strong id="gaussdb_03_0087__b689813051511">Cloud Service Monitoring</strong> > <strong id="gaussdb_03_0087__b9899153071517"><span id="gaussdb_03_0087__text1716057848">GaussDB(for MySQL)</span></strong>.</span></li><li id="gaussdb_03_0087__en-us_topic_0171122707_li1264833785011"><span>Locate the DB instance for which you want to create an alarm rule and click <span><img id="gaussdb_03_0087__image813819299286" src="en-us_image_0000001403218685.png"></span> on the left, and then click <strong id="gaussdb_03_0087__b160102216253">Create Alarm Rule</strong> in the <strong id="gaussdb_03_0087__b2082217255">Operation</strong> column.</span></li><li id="gaussdb_03_0087__en-us_topic_0171122707_li080544731116"><span>On the displayed page, set parameters as required.</span><p>
|
||||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="gaussdb_03_0087__table1735361329" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="gaussdb_03_0087__row10746365210"><th align="left" class="cellrowborder" valign="top" width="26.619999999999997%" id="mcps1.3.2.2.5.2.1.2.3.1.1"><p id="gaussdb_03_0087__p2074113611216"><strong id="gaussdb_03_0087__b2074914482217">Parameter</strong></p>
|
||||
</th>
|
||||
<th align="left" class="cellrowborder" valign="top" width="73.38%" id="mcps1.3.2.2.5.2.1.2.3.1.2"><p id="gaussdb_03_0087__p0742036320">Parameter description</p>
|
||||
|
||||
@ -1,20 +1,20 @@
|
||||
<a name="gaussdb_03_0088"></a><a name="gaussdb_03_0088"></a>
|
||||
|
||||
<h1 class="topictitle1">Viewing Monitoring Metrics</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0088__en-us_topic_0171122573_section6512256311344"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0088__en-us_topic_0171122573_p4043621611344">The Cloud Eye service monitors operating statuses of DB instances. You can view the monitoring metrics of DB instances on the management console. By monitoring system resource usage during database running, you can identify periods of high resource usage. You can also check error logs or slow query logs to optimize database performance.</p>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0088__en-us_topic_0171122573_section6512256311344"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0088__en-us_topic_0171122573_p4043621611344">The Cloud Eye service monitors operating statuses of DB instances. You can view the metrics of DB instances on the management console. By monitoring system resource usage during database running, you can identify periods of high resource usage. You can also check error logs or slow query logs to optimize database performance.</p>
|
||||
<div class="note" id="gaussdb_03_0088__en-us_topic_0171122394_note38044490225012"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="gaussdb_03_0088__p15942439191718">You can configure resource alarm rules on the <span class="keyword" id="gaussdb_03_0088__keyword201201126163511">Cloud Eye</span> console. For details, see "Creating an Alarm Rule" in the <em id="gaussdb_03_0088__i18120626153512">Cloud Eye User Guide</em>.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0088__en-us_topic_0171122573_section5410804111344"><h4 class="sectiontitle">Prerequisites</h4><ul id="gaussdb_03_0088__en-us_topic_0171122573_ul2067523211344"><li id="gaussdb_03_0088__en-us_topic_0171122573_li5185936011344">A DB instance is running properly.<p id="gaussdb_03_0088__en-us_topic_0171122573_p6408105811344"><a name="gaussdb_03_0088__en-us_topic_0171122573_li5185936011344"></a><a name="en-us_topic_0171122573_li5185936011344"></a>Monitoring metrics of the DB instances that are faulty or have been deleted cannot be displayed on the Cloud Eye console. You can view their monitoring metrics after they are rebooted or restored to be available.</p>
|
||||
<div class="section" id="gaussdb_03_0088__en-us_topic_0171122573_section5410804111344"><h4 class="sectiontitle">Prerequisites</h4><ul id="gaussdb_03_0088__en-us_topic_0171122573_ul2067523211344"><li id="gaussdb_03_0088__en-us_topic_0171122573_li5185936011344">A DB instance is running properly.<p id="gaussdb_03_0088__en-us_topic_0171122573_p6408105811344"><a name="gaussdb_03_0088__en-us_topic_0171122573_li5185936011344"></a><a name="en-us_topic_0171122573_li5185936011344"></a>Metrics of the DB instances that are faulty or have been deleted cannot be displayed on the Cloud Eye console. You can view their metrics after they are rebooted or restored to normal.</p>
|
||||
</li></ul>
|
||||
<div class="note" id="gaussdb_03_0088__en-us_topic_0171122573_note3985861611344"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="gaussdb_03_0088__en-us_topic_0171122573_p2318322511344">If a DB instance has been faulty for 24 hours, Cloud Eye considers that it does not exist and deletes it from the monitoring object list. You need to manually clear the alarm rules created for the DB instance.</p>
|
||||
<div class="note" id="gaussdb_03_0088__en-us_topic_0171122573_note3985861611344"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="gaussdb_03_0088__en-us_topic_0171122573_p2318322511344">If a DB instance has been faulty for 24 hours, Cloud Eye considers it to no longer exist and deletes it from the monitoring object list. You need to manually clear the alarm rules created for the DB instance.</p>
|
||||
</div></div>
|
||||
<ul id="gaussdb_03_0088__en-us_topic_0171122573_ul732244011344"><li id="gaussdb_03_0088__en-us_topic_0171122573_li6590196511344">The DB instance keeps running properly for about 10 minutes.<p id="gaussdb_03_0088__en-us_topic_0171122573_p5624677711344"><a name="gaussdb_03_0088__en-us_topic_0171122573_li6590196511344"></a><a name="en-us_topic_0171122573_li6590196511344"></a>For a newly created DB instance, you need to wait for a while before viewing the monitoring metrics.</p>
|
||||
<ul id="gaussdb_03_0088__en-us_topic_0171122573_ul732244011344"><li id="gaussdb_03_0088__en-us_topic_0171122573_li6590196511344">A DB instance keeps running properly for about 10 minutes.<p id="gaussdb_03_0088__en-us_topic_0171122573_p5624677711344"><a name="gaussdb_03_0088__en-us_topic_0171122573_li6590196511344"></a><a name="en-us_topic_0171122573_li6590196511344"></a>For a newly created DB instance, you need to wait a bit before you can view the metrics.</p>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0088__en-us_topic_0171122573_section3645894911344"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_03_0088__en-us_topic_0171122394_ofed1a8ddecfe4f30ae4ee41b592d8860"><li id="gaussdb_03_0088__li1254514419124"><span>Log in to the management console.</span></li><li id="gaussdb_03_0088__li1754513415129"><span>Click <span><img id="gaussdb_03_0088__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0088__li1754514414125"><span>Click <strong id="gaussdb_03_0088__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0088__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0088__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0088__en-us_topic_0171122394_li733322918505"><span>On the <strong id="gaussdb_03_0088__b09337278358">Instances</strong> page, locate the target DB instance and click <strong id="gaussdb_03_0088__b179341027103518">View Metric</strong> in the <strong id="gaussdb_03_0088__b1693472763519">Operation</strong> column to go to the Cloud Eye console.</span><p><p id="gaussdb_03_0088__p619712216312">You can use either of the following methods to view monitoring metrics:</p>
|
||||
<ul id="gaussdb_03_0088__ul173684419317"><li id="gaussdb_03_0088__li372371018311">Click the target DB instance. On the displayed <strong id="gaussdb_03_0088__b11862203111352">Basic Information</strong> page, click <strong id="gaussdb_03_0088__b13863153119351">View Metric</strong> in the upper right corner of the page to go to the Cloud Eye console.</li><li id="gaussdb_03_0088__li1336815412314">At the bottom part of the <strong id="gaussdb_03_0088__b62819333354">Basic Information</strong> page, locate the target read replica and click <strong id="gaussdb_03_0088__b228213323519">View Metric</strong> in the <strong id="gaussdb_03_0088__b1728213313518">Operation</strong> column to go to the Cloud Eye console.</li></ul>
|
||||
</p></li><li id="gaussdb_03_0088__li3884818457"><span>On the Cloud Eye console, view DB instance monitoring metrics. </span><p><p id="gaussdb_03_0088__p485391054514">Cloud Eye can monitor performance metrics from the last 1 hour, last 3 hours, last 12 hours, last 24 hours or last 7 days.</p>
|
||||
<div class="section" id="gaussdb_03_0088__en-us_topic_0171122573_section3645894911344"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_03_0088__en-us_topic_0171122394_ofed1a8ddecfe4f30ae4ee41b592d8860"><li id="gaussdb_03_0088__li1254514419124"><span>Log in to the management console.</span></li><li id="gaussdb_03_0088__li1754513415129"><span>Click <span><img id="gaussdb_03_0088__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0088__li1754514414125"><span>Click <strong id="gaussdb_03_0088__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0088__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0088__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0088__en-us_topic_0171122394_li733322918505"><span>On the <strong id="gaussdb_03_0088__b09337278358">Instances</strong> page, locate the target DB instance and click <strong id="gaussdb_03_0088__b179341027103518">View Metrics</strong> in the <strong id="gaussdb_03_0088__b1693472763519">Operation</strong> column to go to the Cloud Eye console.</span><p><p id="gaussdb_03_0088__p619712216312">You can use either of the following methods to view metrics:</p>
|
||||
<ul id="gaussdb_03_0088__ul173684419317"><li id="gaussdb_03_0088__li372371018311">Click the target DB instance. On the displayed <strong id="gaussdb_03_0088__b11862203111352">Basic Information</strong> page, click <strong id="gaussdb_03_0088__b13863153119351">View Metrics</strong> in the upper right corner of the page to go to the Cloud Eye console.</li><li id="gaussdb_03_0088__li1336815412314">At the bottom part of the <strong id="gaussdb_03_0088__b62819333354">Basic Information</strong> page, locate the target read replica and click <strong id="gaussdb_03_0088__b228213323519">View Metrics</strong> in the <strong id="gaussdb_03_0088__b1728213313518">Operation</strong> column to go to the Cloud Eye console.</li></ul>
|
||||
</p></li><li id="gaussdb_03_0088__li3884818457"><span>On the Cloud Eye console, view DB instance metrics. </span><p><p id="gaussdb_03_0088__p485391054514">Cloud Eye can monitor performance metrics from the last 1 hour, last 3 hours, last 12 hours, last 24 hours or last 7 days.</p>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -3,13 +3,13 @@
|
||||
<h1 class="topictitle1">Changing vCPUs and Memory of an Instance</h1>
|
||||
<div id="body8662426"><div class="section" id="gaussdb_03_0092__en-us_topic_0192953906_section38106127132942"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0092__en-us_topic_0192953906_p28261219132946">You can change the <span class="keyword" id="gaussdb_03_0092__en-us_topic_0192953906_keyword191519119512">vCPUs or memory</span> of a DB instance as required. If the status of a DB instance changes from <span class="uicontrol" id="gaussdb_03_0092__en-us_topic_0192953906_uicontrol1419787325151523"><b>Changing instance specifications</b></span> to <span class="uicontrol" id="gaussdb_03_0092__en-us_topic_0192953906_uicontrol2061077054151525"><b>Available</b></span>, the change is successful.</p>
|
||||
<ul id="gaussdb_03_0092__en-us_topic_0192953906_ul16151163411147"><li id="gaussdb_03_0092__en-us_topic_0192953906_li19151123461419">An instance cannot be deleted when its specifications are being changed.</li><li id="gaussdb_03_0092__li37764390266">The vCPUs and memory can be changed only at the instance level. The specifications of the primary node or read replicas cannot be changed separately for a given instance.</li></ul>
|
||||
<div class="notice" id="gaussdb_03_0092__note1872613734311"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="gaussdb_03_0092__ul19406164854319"><li id="gaussdb_03_0092__li5407184824319">Changing the CPU and memory specifications will cause the instance to reboot. To prevent service interruptions, change the instance specifications during off-peak hours.</li><li id="gaussdb_03_0092__li1843555011437">To prevent traffic congestion during peak hours, you are advised to reboot the DB instance during off-peak hours.</li></ul>
|
||||
<div class="notice" id="gaussdb_03_0092__note1872613734311"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="gaussdb_03_0092__ul19406164854319"><li id="gaussdb_03_0092__li5407184824319">Changing the vCPUs and memory will cause the instance to reboot. To prevent service interruptions, change the instance specifications during off-peak hours.</li><li id="gaussdb_03_0092__li1843555011437">To prevent traffic congestion during peak hours, you are advised to reboot the instance during off-peak hours.</li></ul>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0092__en-us_topic_0192953906_section4298797218435"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_03_0092__en-us_topic_0192953906_ol5947368818435"><li id="gaussdb_03_0092__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0092__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0092__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0092__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0092__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0092__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0092__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0092__li94335118165"><span>You can change the instance specifications in either of the following ways:</span><p><ul id="gaussdb_03_0092__ul793313811161"><li id="gaussdb_03_0092__li109335813160">On the <span class="uicontrol" id="gaussdb_03_0092__en-us_topic_0192953906_uicontrol1223145619914"><b>Instances</b></span> page, locate the target DB instance and choose <span class="uicontrol" id="gaussdb_03_0092__en-us_topic_0192953906_uicontrol42324561915"><b>More</b></span> > <span class="uicontrol" id="gaussdb_03_0092__en-us_topic_0192953906_uicontrol9233155612917"><b>Change Instance Specifications</b></span> in the <span class="uicontrol" id="gaussdb_03_0092__en-us_topic_0192953906_uicontrol192351956397"><b>Operation</b></span> column.</li><li id="gaussdb_03_0092__li5454151131618">Click the target DB instance to go to the <strong id="gaussdb_03_0092__b9890114922913">Basic Information</strong> page. In the <strong id="gaussdb_03_0092__b166552057122914">DB Instance Information</strong> area, click <strong id="gaussdb_03_0092__b17702182153014">Change</strong> in the <strong id="gaussdb_03_0092__b13398929173011">Instance Specifications</strong> field.</li></ul>
|
||||
</p></li><li id="gaussdb_03_0092__en-us_topic_0192953906_lf939df2e325d47d490c6ffdacf5f0b19"><span>On the displayed page, specify the new instance specifications, and click <strong id="gaussdb_03_0092__b868737105110">Next</strong>.</span></li><li id="gaussdb_03_0092__li6351398154947"><span>On the displayed page, confirm the instance specifications.</span><p><ul id="gaussdb_03_0092__ul39403645154947"><li id="gaussdb_03_0092__li19088491154947">If you need to modify your settings, click <strong id="gaussdb_03_0092__b1212144125112">Previous</strong> to go back to the page where you specify details.</li><li id="gaussdb_03_0092__li50208416144741">If you do not need to modify your settings, click <strong id="gaussdb_03_0092__b11500175219516">Submit</strong>.</li></ul>
|
||||
</p></li><li id="gaussdb_03_0092__en-us_topic_0192953906_li984592715347"><span>View the DB instance specification change result.</span><p><p id="gaussdb_03_0092__p9528195254714">Changing the instance specifications takes 5–15 minutes. During this period, the status of the instance on the <strong id="gaussdb_03_0092__b1510674811">Instances</strong> page is <strong id="gaussdb_03_0092__b55114719810">Changing instance specifications</strong>. After a few minutes, you can click the instance name to view the new instance specifications on the displayed <span class="uicontrol" id="gaussdb_03_0092__uicontrol125111876813"><b>Basic Information</b></span> page.</p>
|
||||
<div class="notice" id="gaussdb_03_0092__en-us_topic_0192953906_note11544369163244"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0092__p2058413141616">After the specifications of DB instances 8.0 are changed, the system will change the values of the following parameters accordingly: <span class="parmname" id="gaussdb_03_0092__parmname658613161612"><b>innodb_buffer_pool_size</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname55814134163"><b>innodb_log_buffer_size</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname1158191391617"><b>max_connections</b></span>, <span class="parmname" id="gaussdb_03_0092__en-us_topic_0192953906_parmname242841101702"><b>innodb_buffer_pool_instances</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname16420102361811"><b>innodb_page_cleaners</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname48637308184"><b>innodb_parallel_read_threads</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname284703631820"><b>innodb_read_io_threads</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname2224154220185"><b>innodb_write_io_threads</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname186201646131820"><b>threadpool_size</b></span> and <span class="parmname" id="gaussdb_03_0092__en-us_topic_0192953906_parmname3195339417017"><b>query_cache_size</b></span>.</p>
|
||||
<div class="notice" id="gaussdb_03_0092__en-us_topic_0192953906_note11544369163244"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0092__p2058413141616">After the specifications of DB instances 8.0 are changed, the system will change the values of the following parameters accordingly: <span class="parmname" id="gaussdb_03_0092__parmname1116814396610"><b>innodb_buffer_pool_size</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname816915391864"><b>innodb_log_buffer_size</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname616912391566"><b>max_connections</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname416953912616"><b>innodb_buffer_pool_instances</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname111691339863"><b>innodb_page_cleaners</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname1416943910611"><b>innodb_parallel_read_threads</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname21699397619"><b>innodb_read_io_threads</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname7169103916619"><b>innodb_write_io_threads</b></span>, <span class="parmname" id="gaussdb_03_0092__parmname81691391863"><b>threadpool_size</b></span> and <span class="parmname" id="gaussdb_03_0092__parmname916983915610"><b>query_cache_size</b></span>.</p>
|
||||
</div></div>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
<a name="gaussdb_03_0110"></a><a name="gaussdb_03_0110"></a>
|
||||
|
||||
<h1 class="topictitle1">Introducing Read Replicas</h1>
|
||||
<div id="body1582194662397"><div class="section" id="gaussdb_03_0110__en-us_topic_0192954138_section4110332420355"><h4 class="sectiontitle">Introduction</h4><p id="gaussdb_03_0110__en-us_topic_0192954138_p5978382611363">Currently, DB instances support read replicas.</p>
|
||||
<div id="body1582194662397"><div class="section" id="gaussdb_03_0110__en-us_topic_0192954138_section4110332420355"><h4 class="sectiontitle">Introduction</h4><p id="gaussdb_03_0110__en-us_topic_0192954138_p5978382611363"><span id="gaussdb_03_0110__text1278157280">GaussDB(for MySQL)</span> instances support read replicas.</p>
|
||||
<p id="gaussdb_03_0110__en-us_topic_0192954138_p2251715520312">In read-intensive scenarios, a primary node may be unable to handle the read pressure and service performance may be affected. To offload read pressure on the primary node, you can create one or more read replicas in the same region as the primary node. These read replicas can process a large number of read requests and increase application throughput. You need to separately configure connection addresses for the primary node and each read replica on your applications so that all read requests can be sent to read replicas and write requests to the primary node.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0110__en-us_topic_0192954138_section439150632066"><h4 class="sectiontitle">Functions</h4><ul id="gaussdb_03_0110__en-us_topic_0192954138_ul6700589620951"><li id="gaussdb_03_0110__en-us_topic_0192954138_li4953361820951">Specifications of read replicas are the same as those of the primary node.</li><li id="gaussdb_03_0110__en-us_topic_0192954138_li415282320100">You do not need to maintain accounts and databases for read replicas. They are synchronized from the primary node.</li><li id="gaussdb_03_0110__en-us_topic_0192954138_li23392399201015">Read replicas support system performance monitoring.<p id="gaussdb_03_0110__p1727531717014"><a name="gaussdb_03_0110__en-us_topic_0192954138_li23392399201015"></a><a name="en-us_topic_0192954138_li23392399201015"></a><span id="gaussdb_03_0110__text132751017709">GaussDB(for MySQL)</span> provides nearly 20 monitoring metrics, including the CPU usage, memory usage, storage space usage, and database connections. You can view these metrics to understand the load of DB instances.</p>
|
||||
<div class="section" id="gaussdb_03_0110__en-us_topic_0192954138_section439150632066"><h4 class="sectiontitle">Functions</h4><ul id="gaussdb_03_0110__en-us_topic_0192954138_ul6700589620951"><li id="gaussdb_03_0110__en-us_topic_0192954138_li4953361820951">Specifications of read replicas are the same as those of the primary node.</li><li id="gaussdb_03_0110__en-us_topic_0192954138_li415282320100">You do not need to maintain accounts and databases for read replicas. They are synchronized from the primary node.</li><li id="gaussdb_03_0110__en-us_topic_0192954138_li23392399201015">Read replicas support system performance monitoring.<p id="gaussdb_03_0110__p1727531717014"><a name="gaussdb_03_0110__en-us_topic_0192954138_li23392399201015"></a><a name="en-us_topic_0192954138_li23392399201015"></a><span id="gaussdb_03_0110__text139560952">GaussDB(for MySQL)</span> provides nearly 20 metrics, including the CPU usage, memory usage, storage space usage, and database connections. You can view these metrics to understand the load of DB instances.</p>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0110__en-us_topic_0192954138_section20475080201355"><h4 class="sectiontitle">Constraints</h4><ul id="gaussdb_03_0110__en-us_topic_0192954138_ul138971822419"><li id="gaussdb_03_0110__en-us_topic_0192954138_li148971721346">A DB instance contains up to 15 read replicas.</li><li id="gaussdb_03_0110__en-us_topic_0192954138_li189715220415">Read replicas do not support backup settings or temporary backups.</li><li id="gaussdb_03_0110__en-us_topic_0192954138_li48972211418">Read replicas do not support instance creation at any point of time or restoration from backup files to the original instance to overwrite data.</li><li id="gaussdb_03_0110__en-us_topic_0192954138_li58974214417">Data cannot be migrated to read replicas.</li><li id="gaussdb_03_0110__en-us_topic_0192954138_li10898526414">Read replicas do not support database creation and deletion.</li><li id="gaussdb_03_0110__en-us_topic_0192954138_li689814219415">Read replicas do not support account creation. You can create accounts only on the primary node.</li></ul>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<a name="gaussdb_03_0111"></a><a name="gaussdb_03_0111"></a>
|
||||
|
||||
<h1 class="topictitle1">Creating a Read Replica</h1>
|
||||
<h1 class="topictitle1">Creating Read Replicas</h1>
|
||||
<div id="body1582194662397"><div class="section" id="gaussdb_03_0111__en-us_topic_0192954053_s9f95e14048064f63a1d9be0c9f685f07"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_03_0111__en-us_topic_0192954053_a0ba694b1bd744858b6754dcc098967bb">Read replicas are used to enhance the read capabilities and reduce read pressure on DB instances.</p>
|
||||
</div>
|
||||
<p id="gaussdb_03_0111__en-us_topic_0192954053_ab425f8e7964943a8872515e735a80847">After a DB instance is created, you can <span class="keyword" id="gaussdb_03_0111__en-us_topic_0192954053_keyword1429162818452">create read replicas</span> for it.</p>
|
||||
<ul id="gaussdb_03_0111__ul12773183744620"><li id="gaussdb_03_0111__li1060820521367">If you select the single AZ type, read replicas are deployed in the same AZ as the primary node.</li><li id="gaussdb_03_0111__li1377313376468">If you select the multi-AZ type, read replicas are deployed in different AZs from the primary node to ensure high reliability.</li></ul>
|
||||
<div class="section" id="gaussdb_03_0111__en-us_topic_0192954053_s738501c07aa4426eaeea764d9297251d"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_03_0111__en-us_topic_0192954053_o4ea77a7629f0406da65203f5b2a24303"><li id="gaussdb_03_0111__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0111__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0111__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0111__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0111__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0111__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0111__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0111__en-us_topic_0192954053_lecad2be0d83a413d8227da27c228a13c"><span>On the <span class="uicontrol" id="gaussdb_03_0111__en-us_topic_0192954053_u2f77692195e54523869bd8ec29f0cf54"><b>Instances</b></span> page, locate the target DB instance and choose <strong id="gaussdb_03_0111__b747514710278">More</strong> > <strong id="gaussdb_03_0111__b7501550152714">Create Read Replica</strong> in the <span class="uicontrol" id="gaussdb_03_0111__en-us_topic_0192954053_u455fb94d5ad14353846b6e38709add27"><b>Operation</b></span> column.</span><p><p id="gaussdb_03_0111__en-us_topic_0192954053_p158414571257">Alternatively, click the target DB instance. In the <strong id="gaussdb_03_0111__b5751412194813">DB Instance Topology</strong> area on the <span class="uicontrol" id="gaussdb_03_0111__en-us_topic_0192954053_uicontrol061294717610"><b>Basic Information</b></span> page, click <span><img id="gaussdb_03_0111__en-us_topic_0192954053_image1426465281914" src="en-us_image_0000001403218753.png"></span> to create read replicas.</p>
|
||||
<div class="section" id="gaussdb_03_0111__en-us_topic_0192954053_s738501c07aa4426eaeea764d9297251d"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_03_0111__en-us_topic_0192954053_o4ea77a7629f0406da65203f5b2a24303"><li id="gaussdb_03_0111__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0111__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0111__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0111__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0111__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0111__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0111__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0111__en-us_topic_0192954053_lecad2be0d83a413d8227da27c228a13c"><span>On the <span class="uicontrol" id="gaussdb_03_0111__uicontrol17588185121715"><b>Instances</b></span> page, locate the instance that you want to create read replicas for and choose <strong id="gaussdb_03_0111__b25887521710">More</strong> > <strong id="gaussdb_03_0111__b458816516179">Create Read Replica</strong> in the <span class="uicontrol" id="gaussdb_03_0111__uicontrol358810519173"><b>Operation</b></span> column.</span><p><p id="gaussdb_03_0111__en-us_topic_0192954053_p158414571257">Alternatively, click the instance name to go to the <strong id="gaussdb_03_0111__b1574525161717">Basic Information</strong> page. In the <strong id="gaussdb_03_0111__b177420256173">DB Instance Topology</strong> area, click <span><img id="gaussdb_03_0111__en-us_topic_0192954053_image1426465281914" src="en-us_image_0000001403218753.png"></span> to create read replicas.</p>
|
||||
</p></li><li id="gaussdb_03_0111__en-us_topic_0192954053_ldbf12a91659a4dc09477278d640012ab"><span>On the displayed page, specify <span class="uicontrol" id="gaussdb_03_0111__uicontrol155139593620"><b>Failover Priority</b></span> and <span class="uicontrol" id="gaussdb_03_0111__uicontrol8513195163614"><b>Quantity</b></span> and then click <span class="uicontrol" id="gaussdb_03_0111__uicontrol45131551366"><b>Create Now</b></span>.</span></li><li id="gaussdb_03_0111__en-us_topic_0192954053_li22028104294"><span>After read replicas are created, you can manage them following the instructions provided in <a href="gaussdb_03_0112.html">Managing a Read Replica</a>.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,17 +1,17 @@
|
||||
<a name="gaussdb_03_0113"></a><a name="gaussdb_03_0113"></a>
|
||||
|
||||
<h1 class="topictitle1">Promoting a Read Replica to the Primary Node</h1>
|
||||
<div id="body1582199944975"><p id="gaussdb_03_0113__p012221712212">A <span id="gaussdb_03_0113__text13188146859">GaussDB(for MySQL)</span> DB instance consists of a primary node and multiple read replicas. In addition to <a href="#gaussdb_03_0113__section1762033653214">automatic failover</a> scenarios, you can perform a <a href="#gaussdb_03_0113__section133052410322">manual switchover</a> to promote a read replica to the new primary node.</p>
|
||||
<div class="section" id="gaussdb_03_0113__section133052410322"><a name="gaussdb_03_0113__section133052410322"></a><a name="section133052410322"></a><h4 class="sectiontitle">Manual Switchover</h4><ol id="gaussdb_03_0113__en-us_topic_0179844062_en-us_topic_0171122319_ol49836179475"><li id="gaussdb_03_0113__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0113__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0113__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0113__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0113__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0113__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0113__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0113__en-us_topic_0179844062_en-us_topic_0171122319_li124061901846"><span>On the <strong id="gaussdb_03_0113__b128394303249">Instances</strong> page, click the target DB instance.</span></li><li id="gaussdb_03_0113__en-us_topic_0179844062_en-us_topic_0171122319_li9984171764715"><span>At the bottom of the <strong id="gaussdb_03_0113__b915053815243">Basic Information</strong> page, locate the read replica to be promoted and click <strong id="gaussdb_03_0113__b18151163812248">Promote to Primary</strong> in the <strong id="gaussdb_03_0113__b615293872416">Operation</strong> column.</span></li><li id="gaussdb_03_0113__li1434433495816"><span>In the displayed dialog box, click <span class="uicontrol" id="gaussdb_03_0113__uicontrol747613501010"><b>Yes</b></span>.</span><p><ul id="gaussdb_03_0113__ul14468352205817"><li id="gaussdb_03_0113__li92918381363">During the manual switchover, an intermittent disconnection may occur for about 30 seconds. Ensure that your applications support automatic reconnection.</li><li id="gaussdb_03_0113__li146815213583">During the manual switchover, the instance status is <strong id="gaussdb_03_0113__b292610612298">Promoting to primary</strong> and this process takes several seconds or minutes.</li><li id="gaussdb_03_0113__li1021805455815">After the switchover is complete, the node running status changes to <strong id="gaussdb_03_0113__b15726292159">Available</strong>. The node types of the original primary node and read replica have been exchanged.<div class="notice" id="gaussdb_03_0113__note1626521503818"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0113__p1026581510383">Services may be intermittently interrupted for several seconds or minutes when the read replica is promoted to the primary node.</p>
|
||||
<div id="body1582199944975"><p id="gaussdb_03_0113__p012221712212">A <span id="gaussdb_03_0113__text783508411">GaussDB(for MySQL)</span> instance consists of a primary node and multiple read replicas. In addition to <a href="#gaussdb_03_0113__section1762033653214">automatic failover</a> scenarios, you can perform a <a href="#gaussdb_03_0113__section133052410322">manual switchover</a> to promote a read replica to the new primary node.</p>
|
||||
<div class="section" id="gaussdb_03_0113__section133052410322"><a name="gaussdb_03_0113__section133052410322"></a><a name="section133052410322"></a><h4 class="sectiontitle">Manual Switchover</h4><ol id="gaussdb_03_0113__en-us_topic_0179844062_en-us_topic_0171122319_ol49836179475"><li id="gaussdb_03_0113__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0113__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0113__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0113__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0113__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0113__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0113__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0113__en-us_topic_0179844062_en-us_topic_0171122319_li124061901846"><span>On the <strong id="gaussdb_03_0113__b1842614359183">Instances</strong> page, click the instance name to go to the <strong id="gaussdb_03_0113__b1842643531817">Basic Information</strong> page.</span></li><li id="gaussdb_03_0113__en-us_topic_0179844062_en-us_topic_0171122319_li9984171764715"><span>At the bottom of the <strong id="gaussdb_03_0113__b915053815243">Basic Information</strong> page, locate the read replica to be promoted and click <strong id="gaussdb_03_0113__b18151163812248">Promote to Primary</strong> in the <strong id="gaussdb_03_0113__b615293872416">Operation</strong> column.</span></li><li id="gaussdb_03_0113__li1434433495816"><span>In the displayed dialog box, click <span class="uicontrol" id="gaussdb_03_0113__uicontrol747613501010"><b>Yes</b></span>.</span><p><ul id="gaussdb_03_0113__ul14468352205817"><li id="gaussdb_03_0113__li92918381363">During the manual switchover, an intermittent disconnection may occur for about 30 seconds. Ensure that your applications support automatic reconnection.</li><li id="gaussdb_03_0113__li146815213583">During the manual switchover, the instance status is <strong id="gaussdb_03_0113__b292610612298">Promoting to primary</strong> and this process takes several seconds or minutes.</li><li id="gaussdb_03_0113__li1021805455815">After the switchover is complete, the node running status changes to <strong id="gaussdb_03_0113__b15726292159">Available</strong>. The node types of the original primary node and read replica have been exchanged.<div class="notice" id="gaussdb_03_0113__note1626521503818"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0113__p1026581510383">Services may be intermittently interrupted for several seconds or minutes when the read replica is promoted to the primary node.</p>
|
||||
</div></div>
|
||||
</li></ul>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0113__section1762033653214"><a name="gaussdb_03_0113__section1762033653214"></a><a name="section1762033653214"></a><h4 class="sectiontitle">Automatic Failover</h4><p id="gaussdb_03_0113__p1284015271713"><span id="gaussdb_03_0113__text18874050776">GaussDB(for MySQL)</span> uses an active-active high availability architecture and can automatically fail over to a new primary node that is automatically selected by the system.</p>
|
||||
<p id="gaussdb_03_0113__p33656131067">Each read replica has a failover priority that determines the order in which it is promoted when recovering from a primary node failure.</p>
|
||||
<div class="section" id="gaussdb_03_0113__section1762033653214"><a name="gaussdb_03_0113__section1762033653214"></a><a name="section1762033653214"></a><h4 class="sectiontitle">Automatic Failover</h4><p id="gaussdb_03_0113__p1284015271713"><span id="gaussdb_03_0113__text2117599760">GaussDB(for MySQL)</span> uses a high availability active-active architecture that automatically fails over to a read replica automatically selected by the system.</p>
|
||||
<p id="gaussdb_03_0113__p33656131067">Each read replica has a failover priority that determines which read replica is promoted if the primary node fails.</p>
|
||||
<ul id="gaussdb_03_0113__ul16789922667"><li id="gaussdb_03_0113__li167891622160">Priorities range from 1 for the first priority to 16 for the last priority.</li><li id="gaussdb_03_0113__li11789322166">If two or more read replicas share the same priority, they have a same probability of being promoted to the new primary node.</li></ul>
|
||||
<p id="gaussdb_03_0113__p158401827578"><span id="gaussdb_03_0113__text18541329141011">GaussDB(for MySQL)</span> selects a read replica and promotes it to the new primary node as follows:</p>
|
||||
<ol id="gaussdb_03_0113__ol1684092713712"><li id="gaussdb_03_0113__li6840132715718">Find all read replicas that are available for a promotion.</li><li id="gaussdb_03_0113__li18401827479">Find one or more read replicas with the highest priority.</li><li id="gaussdb_03_0113__li6840727879">If the promotion fails due to network faults or abnormal replication status, <span id="gaussdb_03_0113__text290216175381">GaussDB(for MySQL)</span> attempts to promote another read replica by priority until the promotion is successful.</li></ol>
|
||||
<p id="gaussdb_03_0113__p158401827578"><span id="gaussdb_03_0113__text250104189">GaussDB(for MySQL)</span> selects a read replica and promotes it to the new primary node as follows:</p>
|
||||
<ol id="gaussdb_03_0113__ol1684092713712"><li id="gaussdb_03_0113__li6840132715718">Read replicas available for promotion are identified.</li><li id="gaussdb_03_0113__li18401827479">One or more read replicas with the highest priority are identified.</li><li id="gaussdb_03_0113__li6840727879">One of the read replicas with the highest priority is selected and promoted. If the promotion fails due to network faults or abnormal replication status, GaussDB(for MySQL) attempts to promote another read replica by priority and repeats the process until a read replica is successfully promoted.</li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -5,10 +5,10 @@
|
||||
<div class="notice" id="gaussdb_03_0114__en-us_topic_0171122319_note291218261084"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_03_0114__p8326123915520">Deleted read replicas cannot be restored. Exercise caution when performing this operation.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0114__section1350335144812"><h4 class="sectiontitle">Constraints</h4><ul id="gaussdb_03_0114__en-us_topic_0171122319_ul1098915407426"><li id="gaussdb_03_0114__li1952215513571">You can delete read replicas only when the DB instance has two or more than two read replicas. A GaussDB(for MySQL) DB instance must have at least one read replica.</li><li id="gaussdb_03_0114__en-us_topic_0171122319_li18506142104210">DB instances cannot be deleted when operations are being performed on them. They can be deleted only after the operations are completed.</li></ul>
|
||||
<div class="section" id="gaussdb_03_0114__section1350335144812"><h4 class="sectiontitle">Constraints</h4><ul id="gaussdb_03_0114__en-us_topic_0171122319_ul1098915407426"><li id="gaussdb_03_0114__li1952215513571">You can only delete a read replica when the DB instance has two or more read replicas.</li><li id="gaussdb_03_0114__en-us_topic_0171122319_li18506142104210">DB instances cannot be deleted when operations are being performed on them. They can be deleted only after the operations are completed.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_03_0114__section1779714480488"><h4 class="sectiontitle"><span class="keyword" id="gaussdb_03_0114__keyword92714523187">Procedure</span></h4><ol id="gaussdb_03_0114__en-us_topic_0179844062_en-us_topic_0171122319_ol49836179475"><li id="gaussdb_03_0114__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0114__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0114__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0114__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0114__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0114__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0114__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0114__en-us_topic_0179844062_en-us_topic_0171122319_li124061901846"><span>On the <strong id="gaussdb_03_0114__b8818195124716">Instances</strong> page, click the target DB instance.</span></li><li id="gaussdb_03_0114__en-us_topic_0179844062_en-us_topic_0171122319_li9984171764715"><span>At the bottom of the <strong id="gaussdb_03_0114__b97193814473">Basic Information</strong> page, locate the read replicas to be deleted and choose <strong id="gaussdb_03_0114__b930144255414">More</strong> > <strong id="gaussdb_03_0114__b771914818474">Delete</strong> in the <strong id="gaussdb_03_0114__b572078184714">Operation</strong> column. </span><p><p id="gaussdb_03_0114__en-us_topic_0179844062_p1243671818146">For high availability reasons, the system reserves an available read replica. The read replica cannot be deleted until the associated DB instance is deleted.</p>
|
||||
</p></li><li id="gaussdb_03_0114__en-us_topic_0179844062_en-us_topic_0171122319_li398541724715"><span>In the displayed dialog box, click <span class="parmname" id="gaussdb_03_0114__parmname184461607482"><b>Yes</b></span>. Refresh the <strong id="gaussdb_03_0114__b1445119024818">Instances</strong> page later to check that the deletion is successful.</span></li></ol>
|
||||
<div class="section" id="gaussdb_03_0114__section1779714480488"><h4 class="sectiontitle"><span class="keyword" id="gaussdb_03_0114__keyword92714523187">Procedure</span></h4><ol id="gaussdb_03_0114__en-us_topic_0179844062_en-us_topic_0171122319_ol49836179475"><li id="gaussdb_03_0114__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_03_0114__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_03_0114__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_03_0114__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_03_0114__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_03_0114__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_03_0114__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_03_0114__en-us_topic_0179844062_en-us_topic_0171122319_li124061901846"><span>On the <strong id="gaussdb_03_0114__b8156181614228">Instances</strong> page, click the instance name.</span></li><li id="gaussdb_03_0114__en-us_topic_0179844062_en-us_topic_0171122319_li9984171764715"><span>At the bottom of the <strong id="gaussdb_03_0114__b97193814473">Basic Information</strong> page, locate the read replica to be deleted and choose <strong id="gaussdb_03_0114__b930144255414">More</strong> > <strong id="gaussdb_03_0114__b771914818474">Delete</strong> in the <strong id="gaussdb_03_0114__b572078184714">Operation</strong> column.</span><p><p id="gaussdb_03_0114__en-us_topic_0179844062_p1243671818146">For high availability reasons, the system reserves an available read replica. The read replica cannot be deleted until the associated DB instance is deleted.</p>
|
||||
</p></li><li id="gaussdb_03_0114__en-us_topic_0179844062_en-us_topic_0171122319_li398541724715"><span>In the displayed dialog box, click <span class="parmname" id="gaussdb_03_0114__parmname4164142972311"><b>Yes</b></span>. Refresh the <strong id="gaussdb_03_0114__b51651299239">Instances</strong> page later to check that the deletion is successful.</span></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">Viewing Application Records of a Parameter Template</h1>
|
||||
<div id="body1597738430380"><div class="section" id="gaussdb_05_0098__section732387614651"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_05_0098__p1638354818120">You can view the application records of a parameter template.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_05_0098__section05781558132917"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_05_0098__o695f2c1c7b614765a3d9eb5e257b0bbd"><li id="gaussdb_05_0098__li19419173775012"><span>Log in to the management console.</span></li><li id="gaussdb_05_0098__li1742020376503"><span>Click <span><img id="gaussdb_05_0098__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_05_0098__li1142083714506"><span>Click <strong id="gaussdb_05_0098__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_05_0098__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_05_0098__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_05_0098__li682712211199"><span>Choose <strong id="gaussdb_05_0098__b17105113184417">Parameter Templates</strong> in the navigation pane on the left, locate the target parameter template, and click <strong id="gaussdb_05_0098__b19399152613814">View Application Record</strong> in the <strong id="gaussdb_05_0098__b1744162173911">Operation</strong> column on the <strong id="gaussdb_05_0098__b11183124218399">Default Templates</strong> page or choose <strong id="gaussdb_05_0098__b947071717433">More</strong> > <strong id="gaussdb_05_0098__b1339605412387">View Application Record</strong> on the <strong id="gaussdb_05_0098__b1139835416388">Custom Templates</strong> page.</span><p><p id="gaussdb_05_0098__p2934173415294">You can view the name or ID of the DB instance to which the parameter template applies, as well as the application status, application time, and failure cause.</p>
|
||||
<div class="section" id="gaussdb_05_0098__section05781558132917"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_05_0098__o695f2c1c7b614765a3d9eb5e257b0bbd"><li id="gaussdb_05_0098__li19419173775012"><span>Log in to the management console.</span></li><li id="gaussdb_05_0098__li1742020376503"><span>Click <span><img id="gaussdb_05_0098__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_05_0098__li1142083714506"><span>Click <strong id="gaussdb_05_0098__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_05_0098__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_05_0098__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_05_0098__li682712211199"><span>Choose <strong id="gaussdb_05_0098__b132651737185213">Parameter Templates</strong> in the navigation pane on the left, locate the target parameter template, and click <strong id="gaussdb_05_0098__b15265153714521">View Application Record</strong> in the <strong id="gaussdb_05_0098__b1026573765218">Operation</strong> column on the <strong id="gaussdb_05_0098__b226553712523">Default Templates</strong> page or choose <strong id="gaussdb_05_0098__b102651437125212">More</strong> > <strong id="gaussdb_05_0098__b10266183775212">View Application Record</strong> on the <strong id="gaussdb_05_0098__b17266123735211">Custom Templates</strong> page.</span><p><p id="gaussdb_05_0098__p2934173415294">You can view the name or ID of the DB instance to which the parameter template applies, as well as the application status, application time, and failure cause.</p>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
<a name="gaussdb_05_0100"></a><a name="gaussdb_05_0100"></a>
|
||||
|
||||
<h1 class="topictitle1">Modifying Database Remarks</h1>
|
||||
<div id="body0000002014205605"><div class="section" id="gaussdb_05_0100__section241540814823"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_05_0100__p4215797114827"><span class="keyword" id="gaussdb_05_0100__keyword13192194072817"><span id="gaussdb_05_0100__text5192204011285">GaussDB(for MySQL)</span></span> allows you to modify remarks of created databases.</p>
|
||||
<div id="body0000002014205605"><div class="section" id="gaussdb_05_0100__section241540814823"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_05_0100__p4215797114827"><span id="gaussdb_05_0100__text916912821">GaussDB(for MySQL)</span> allows you to modify remarks of created databases.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_05_0100__section4849146111511"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_05_0100__ol36506495172844"><li id="gaussdb_05_0100__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_05_0100__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_05_0100__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_05_0100__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_05_0100__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_05_0100__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_05_0100__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_05_0100__li7200164951716"><span>On the <span class="uicontrol" id="gaussdb_05_0100__uicontrol1361114101213"><b>Instances</b></span> page, click the target DB instance.</span></li><li id="gaussdb_05_0100__li3716818181917"><span>In the navigation pane, choose <span class="uicontrol" id="gaussdb_05_0100__uicontrol83101018132110"><b>Databases</b></span>.</span></li><li id="gaussdb_05_0100__li39994717339"><span>Locate the target database and click <span><img id="gaussdb_05_0100__image36518582195" src="en-us_image_0000001977885398.png"></span> in the <strong id="gaussdb_05_0100__b4119172812215">Remarks</strong> column.</span><p><div class="note" id="gaussdb_05_0100__note74883432419"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="gaussdb_05_0100__p124891943644">The database remarks can be empty or contain up to 512 characters.</p>
|
||||
<div class="section" id="gaussdb_05_0100__section4849146111511"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_05_0100__ol36506495172844"><li id="gaussdb_05_0100__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_05_0100__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_05_0100__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_05_0100__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_05_0100__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_05_0100__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_05_0100__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_05_0100__li7200164951716"><span>On the <span class="uicontrol" id="gaussdb_05_0100__uicontrol1361114101213"><b>Instances</b></span> page, click the instance name.</span></li><li id="gaussdb_05_0100__li3716818181917"><span>In the navigation pane, choose <span class="uicontrol" id="gaussdb_05_0100__uicontrol83101018132110"><b>Databases</b></span>.</span></li><li id="gaussdb_05_0100__li39994717339"><span>Locate the target database and click <span><img id="gaussdb_05_0100__image36518582195" src="en-us_image_0000001977885398.png"></span> in the <strong id="gaussdb_05_0100__b4119172812215">Remarks</strong> column.</span><p><div class="note" id="gaussdb_05_0100__note74883432419"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="gaussdb_05_0100__p124891943644">The database remarks can be empty or contain up to 512 characters.</p>
|
||||
</div></div>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
<a name="gaussdb_05_2265"></a><a name="gaussdb_05_2265"></a>
|
||||
|
||||
<h1 class="topictitle1">Upgrading the Minor Version of a DB Instance</h1>
|
||||
<div id="body0000001456725748"><div class="section" id="gaussdb_05_2265__section0297192412404"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_05_2265__p9356731145518"><span id="gaussdb_05_2265__text1572101013599">GaussDB(for MySQL)</span> supports manual minor version upgrades, which can improve performance, add new functions, and fix bugs.</p>
|
||||
<div id="body0000001456725748"><div class="section" id="gaussdb_05_2265__section0297192412404"><h4 class="sectiontitle">Scenarios</h4><p id="gaussdb_05_2265__p9356731145518">You can manually upgrade minor versions of your instances to improve performance, add new functions, and fix bugs.</p>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_05_2265__section16560101913301"><h4 class="sectiontitle">Precautions</h4><ul id="gaussdb_05_2265__ul845382217301"><li id="gaussdb_05_2265__li13453192217308">The upgrade will cause the instance to reboot and briefly interrupt services. To limit the impact of the upgrade, perform the upgrade during off-peak hours, or ensure that your applications support automatic reconnection.</li><li id="gaussdb_05_2265__li183371713154615">If an instance contains a large number of table partitions (more than 1 million), it may take more than 2 hours to reboot the instance.</li><li id="gaussdb_05_2265__li208281275913">If the primary node and read replicas of an instance are deployed in the same AZ, a minor version upgrade will trigger a failover. If they are in different AZs, a minor version upgrade will trigger two failovers. A failover means that the system fails over to a read replica in case the primary node is unavailable.</li><li id="gaussdb_05_2265__li393824419450">When you upgrade a minor version of an instance, minor versions of read replicas (if any) will also be upgraded automatically. Minor versions of read replicas cannot be upgraded separately. A minor version upgrade cannot be rolled back after the upgrade is complete.</li><li id="gaussdb_05_2265__li1136162113239">DDL operations, such as CREATE EVENT, DROP EVENT, and ALTER EVENT, are not allowed during a minor version upgrade.</li></ul>
|
||||
<div class="section" id="gaussdb_05_2265__section16560101913301"><h4 class="sectiontitle">Precautions</h4><ul id="gaussdb_05_2265__ul845382217301"><li id="gaussdb_05_2265__li13453192217308">The upgrade will cause the instance to reboot and interrupt services intermittently. To limit the impact of the upgrade, perform the upgrade during off-peak hours, or ensure that your applications support automatic reconnection.</li><li id="gaussdb_05_2265__li183371713154615">If an instance contains a large number of table partitions (more than 1 million), it may take more than 2 hours to reboot the instance.</li><li id="gaussdb_05_2265__li208281275913">If the primary node and read replicas of an instance are deployed in the same AZ, a minor version upgrade will trigger a failover. If they are in different AZs, a minor version upgrade will trigger two failovers. A failover means that the system fails over to a read replica in case the primary node is unavailable.</li><li id="gaussdb_05_2265__li393824419450">When you upgrade a minor version of an instance, minor versions of read replicas (if any) will also be upgraded automatically. Minor versions of read replicas cannot be upgraded separately. A minor version upgrade cannot be rolled back after the upgrade is complete.</li><li id="gaussdb_05_2265__li1136162113239">DDL operations, such as CREATE EVENT, DROP EVENT, and ALTER EVENT, are not allowed during a minor version upgrade.</li></ul>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_05_2265__section2057112994214"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_05_2265__ol6724161419271"><li id="gaussdb_05_2265__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_05_2265__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_05_2265__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_05_2265__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_05_2265__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_05_2265__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_05_2265__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_05_2265__li61161897172844"><span>On the <strong id="gaussdb_05_2265__b1515555142215">Instances</strong> page, click the target instance to go to the <strong id="gaussdb_05_2265__b31558510226">Basic Information</strong> page.</span></li><li id="gaussdb_05_2265__li34958503397"><span>In the <span class="uicontrol" id="gaussdb_05_2265__uicontrol14836226104111"><b>DB Instance Information</b></span> area, click <strong id="gaussdb_05_2265__b198365265415">Upgrade</strong> in the <strong id="gaussdb_05_2265__b1283782674117">DB Engine Version</strong> field.</span></li><li id="gaussdb_05_2265__li36398892172958"><span>In the displayed dialog box, select a scheduled time and click <strong id="gaussdb_05_2265__b2991103064114">OK</strong>.</span><p><p id="gaussdb_05_2265__p16445141355211">Upon submission: The system upgrades the minor version immediately after your submission of the upgrade request. After the operation is complete, in the <strong id="gaussdb_05_2265__b19463113734119">Task Center</strong> page, click <strong id="gaussdb_05_2265__b74631137154112">Instant Tasks</strong> and view the information about the upgrade task.</p>
|
||||
</p></li></ol>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="gaussdb_08_0112"></a><a name="gaussdb_08_0112"></a>
|
||||
|
||||
<h1 class="topictitle1">Modifying a Parameter Template</h1>
|
||||
<div id="body1597738426231"><p id="gaussdb_08_0112__p2518171111612">You can modify parameters in a custom parameter template to optimize <span id="gaussdb_08_0112__text10620138151912">GaussDB(for MySQL)</span> database performance.</p>
|
||||
<div id="body1597738426231"><p id="gaussdb_08_0112__p2518171111612">You can modify parameters in a custom parameter template to optimize <span id="gaussdb_08_0112__text1285228640">GaussDB(for MySQL)</span> database performance.</p>
|
||||
<p id="gaussdb_08_0112__p18536553173910">You can change parameter values in custom parameter templates only, but cannot change parameter values in default parameter templates. When you change parameter values in a custom parameter template, the changes take effect for all DB instances to which the parameter template applies.</p>
|
||||
<div class="note" id="gaussdb_08_0112__note18110437214655"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="gaussdb_08_0112__p28776210214655">GaussDB(for MySQL) has default parameter templates whose parameter values cannot be changed. You can view these parameter values by clicking the default parameter templates. If a custom parameter template is set incorrectly and causes a database reboot to fail, you can re-configure the custom parameter template according to the configurations of the default parameter template.</p>
|
||||
</div></div>
|
||||
@ -16,13 +16,13 @@
|
||||
</div>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
<div class="section" id="gaussdb_08_0112__section360115386520"><h4 class="sectiontitle">Modifying Instance Parameters</h4><ol id="gaussdb_08_0112__ol12467113908"><li id="gaussdb_08_0112__li1090091964011"><span>Log in to the management console.</span></li><li id="gaussdb_08_0112__li1290061916408"><span>Click <span><img id="gaussdb_08_0112__gaussdb_02_0004_image192529212293_1" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_08_0112__li190091974010"><span>Click <strong id="gaussdb_08_0112__gaussdb_02_0004_b1548312501622_1">Service List</strong>. Under <strong id="gaussdb_08_0112__gaussdb_02_0004_b1748325012210_1">Databases</strong>, click <strong id="gaussdb_08_0112__gaussdb_02_0004_b164831501625_1">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_08_0112__li12746132461015"><span>On the <strong id="gaussdb_08_0112__b2622190184315">Instances</strong> page, click the target DB instance. The <strong id="gaussdb_08_0112__b194981422378">Basic Information</strong> page is displayed.</span></li><li id="gaussdb_08_0112__li153155815615"><span>In the navigation pane on the left, choose <strong id="gaussdb_08_0112__b20419434155210">Parameters</strong>. On the displayed page, modify parameters as required.</span><p><p id="gaussdb_08_0112__p135994416107">Available operations are as follows:</p>
|
||||
<div class="section" id="gaussdb_08_0112__section360115386520"><h4 class="sectiontitle">Modifying Instance Parameters</h4><ol id="gaussdb_08_0112__ol12467113908"><li id="gaussdb_08_0112__li1090091964011"><span>Log in to the management console.</span></li><li id="gaussdb_08_0112__li1290061916408"><span>Click <span><img id="gaussdb_08_0112__gaussdb_02_0004_image192529212293_1" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_08_0112__li190091974010"><span>Click <strong id="gaussdb_08_0112__gaussdb_02_0004_b1548312501622_1">Service List</strong>. Under <strong id="gaussdb_08_0112__gaussdb_02_0004_b1748325012210_1">Databases</strong>, click <strong id="gaussdb_08_0112__gaussdb_02_0004_b164831501625_1">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_08_0112__li12746132461015"><span>On the <strong id="gaussdb_08_0112__b79843517528">Instances</strong> page, click the instance name.</span></li><li id="gaussdb_08_0112__li153155815615"><span>In the navigation pane on the left, choose <strong id="gaussdb_08_0112__b20419434155210">Parameters</strong>. On the displayed page, modify parameters as required.</span><p><p id="gaussdb_08_0112__p135994416107">Available operations are as follows:</p>
|
||||
<div class="notice" id="gaussdb_08_0112__note18602164161013"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="gaussdb_08_0112__p189059674513"></p>
|
||||
<p id="gaussdb_08_0112__p891036104515"></p>
|
||||
<div class="p" id="gaussdb_08_0112__p1067882243513">Check the value in the <span class="uicontrol" id="gaussdb_08_0112__en-us_topic_0171122799_uicontrol83171621560"><b>Effective upon Reboot</b></span> column.<ul id="gaussdb_08_0112__ul13224155111516"><li id="gaussdb_08_0112__li7224655171519">If the value is <strong id="gaussdb_08_0112__b1491210712537">Yes</strong> and the DB instance status on the <strong id="gaussdb_08_0112__b491315775313">Instances</strong> page is <span class="uicontrol" id="gaussdb_08_0112__uicontrol179141271534"><b>Pending reboot</b></span>, you must reboot the DB instance for the modifications of this parameter to take effect.</li><li id="gaussdb_08_0112__li181312169177">If the value is <strong id="gaussdb_08_0112__en-us_topic_0171122799_b18611230461">No</strong>, the modification of this parameter takes effect immediately.</li></ul>
|
||||
</div>
|
||||
</div></div>
|
||||
<ul id="gaussdb_08_0112__ul17600104171012"><li id="gaussdb_08_0112__li8601341191010">To save the modifications, click <strong id="gaussdb_08_0112__b475596804">Save</strong>.</li><li id="gaussdb_08_0112__li1160384118105">To cancel the modifications, click <strong id="gaussdb_08_0112__b244489554">Cancel</strong>.</li><li id="gaussdb_08_0112__li1605124101011">To preview the modifications, click <strong id="gaussdb_08_0112__b1876331649">Preview</strong>.</li></ul>
|
||||
<ul id="gaussdb_08_0112__ul17600104171012"><li id="gaussdb_08_0112__li8601341191010">To save the modifications, click <strong id="gaussdb_08_0112__b917374629">Save</strong>.</li><li id="gaussdb_08_0112__li1160384118105">To cancel the modifications, click <strong id="gaussdb_08_0112__b164404649">Cancel</strong>.</li><li id="gaussdb_08_0112__li1605124101011">To preview the modifications, click <strong id="gaussdb_08_0112__b1281927304">Preview</strong>.</li></ul>
|
||||
<p id="gaussdb_08_0112__p1658622214263">After parameters are modified, you can click <strong id="gaussdb_08_0112__en-us_topic_0171122799_b187031050567">Change History</strong> to view parameter modification details.</p>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Creating a Proxy Instance</h1>
|
||||
<div id="body1597049711197"><p id="gaussdb_11_0017__en-us_topic_0200110321_p874144912514">A proxy instance enables read and write requests to be automatically routed through its IP address. This section describes how to create a proxy instance.</p>
|
||||
<div class="section" id="gaussdb_11_0017__en-us_topic_0200110321_section175771041253"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_11_0017__en-us_topic_0200110321_ol209692033144919"><li id="gaussdb_11_0017__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_11_0017__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_11_0017__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_11_0017__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_11_0017__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_11_0017__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_11_0017__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_11_0017__en-us_topic_0200110321_li61613191202055"><span>On the <span class="uicontrol" id="gaussdb_11_0017__uicontrol2866765277"><b>Instances</b></span> page, click the target DB instance.</span></li><li id="gaussdb_11_0017__en-us_topic_0200110321_li13253161841616"><span>In the navigation pane on the left, choose <span class="uicontrol" id="gaussdb_11_0017__uicontrol1109955145811"><b>Database Proxy</b></span>.</span></li><li id="gaussdb_11_0017__li1347114720415"><span>Click <strong id="gaussdb_11_0017__b171731032891">Create Proxy Instance</strong>.</span></li><li id="gaussdb_11_0017__li721919819389"><span>In the displayed dialog box, configure required parameters and click <strong id="gaussdb_11_0017__b62866451898">OK</strong>. After a proxy instance has been created, you can click <strong id="gaussdb_11_0017__b22519499917">Create Proxy Instance</strong> in the <strong id="gaussdb_11_0017__b82514491996">Database Proxy</strong> page to add a new proxy instance.</span><p><ul id="gaussdb_11_0017__en-us_topic_0000001349831208_ul224614214398"><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li182464216391"><strong id="gaussdb_11_0017__b033920530911">Proxy Instance Name</strong>: Enter 4 to 64 characters starting with a letter. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.</li><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li6261037907"><strong id="gaussdb_11_0017__b99261655793">Proxy Mode</strong>: Select <strong id="gaussdb_11_0017__b59266552919">Read/Write</strong> or <strong id="gaussdb_11_0017__b19926205511919">Read-only</strong>.<div class="note" id="gaussdb_11_0017__en-us_topic_0000001349831208_note121062045502"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="gaussdb_11_0017__en-us_topic_0000001349831208_ul11108141195215"><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li710812119522"><strong id="gaussdb_11_0017__b4591858595">Read/Write</strong>: All write requests are forwarded only to the primary node, and all read requests are forwarded to the selected nodes based on the read weights. The default read weight of the primary node is <strong id="gaussdb_11_0017__b132231109100">0</strong>.</li><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li759158144914"><strong id="gaussdb_11_0017__b725033101013">Read-only</strong>: All read requests are forwarded to the selected read replicas based on read weights. Even if the primary node is assigned with a read weight, the weight does not take effect.<ul id="gaussdb_11_0017__en-us_topic_0000001349831208_ul49812503531"><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li1034018186510">It supports only read requests. If write requests are forwarded to the selected nodes, an error message is displayed.</li><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li282153135320">This mode offloads the pressure of the primary node by routing all read requests to read replicas.</li><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li17340418195116">DDL, DML, and temporary table operations are not supported in the read-only mode.</li></ul>
|
||||
<div class="section" id="gaussdb_11_0017__en-us_topic_0200110321_section175771041253"><h4 class="sectiontitle">Procedure</h4><ol id="gaussdb_11_0017__en-us_topic_0200110321_ol209692033144919"><li id="gaussdb_11_0017__en-us_topic_0171122646_lbbb80ba312054cfca3a8b1e4c3d016fa"><span>Log in to the management console.</span></li><li id="gaussdb_11_0017__en-us_topic_0171122646_l541898ae0beb476b8d4ba4e68723bbe9"><span>Click <span><img id="gaussdb_11_0017__gaussdb_02_0004_image192529212293" src="en-us_image_0000001352219100.png"></span> in the upper left corner and select a region and a project.</span></li><li id="gaussdb_11_0017__en-us_topic_0171122646_li16913104111"><span>Click <strong id="gaussdb_11_0017__gaussdb_02_0004_b1548312501622">Service List</strong>. Under <strong id="gaussdb_11_0017__gaussdb_02_0004_b1748325012210">Databases</strong>, click <strong id="gaussdb_11_0017__gaussdb_02_0004_b164831501625">GaussDB(for MySQL)</strong>.</span></li><li id="gaussdb_11_0017__en-us_topic_0200110321_li61613191202055"><span>On the <span class="uicontrol" id="gaussdb_11_0017__uicontrol2866765277"><b>Instances</b></span> page, click the instance name.</span></li><li id="gaussdb_11_0017__en-us_topic_0200110321_li13253161841616"><span>In the navigation pane on the left, choose <span class="uicontrol" id="gaussdb_11_0017__uicontrol1109955145811"><b>Database Proxy</b></span>.</span></li><li id="gaussdb_11_0017__li1347114720415"><span>Click <strong id="gaussdb_11_0017__b171731032891">Create Proxy Instance</strong>.</span></li><li id="gaussdb_11_0017__li721919819389"><span>In the displayed dialog box, configure required parameters and click <strong id="gaussdb_11_0017__b62866451898">OK</strong>. After a proxy instance has been created, you can click <strong id="gaussdb_11_0017__b22519499917">Create Proxy Instance</strong> in the <strong id="gaussdb_11_0017__b82514491996">Database Proxy</strong> page to add a new proxy instance.</span><p><ul id="gaussdb_11_0017__en-us_topic_0000001349831208_ul224614214398"><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li182464216391"><strong id="gaussdb_11_0017__b033920530911">Proxy Instance Name</strong>: Enter 4 to 64 characters starting with a letter. Only letters (case-sensitive), digits, hyphens (-), and underscores (_) are allowed.</li><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li6261037907"><strong id="gaussdb_11_0017__b99261655793">Proxy Mode</strong>: Select <strong id="gaussdb_11_0017__b59266552919">Read/Write</strong> or <strong id="gaussdb_11_0017__b19926205511919">Read-only</strong>.<div class="note" id="gaussdb_11_0017__en-us_topic_0000001349831208_note121062045502"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="gaussdb_11_0017__en-us_topic_0000001349831208_ul11108141195215"><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li710812119522"><strong id="gaussdb_11_0017__b4591858595">Read/Write</strong>: All write requests are forwarded only to the primary node, and all read requests are forwarded to the selected nodes based on the read weights. The default read weight of the primary node is <strong id="gaussdb_11_0017__b132231109100">0</strong>.</li><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li759158144914"><strong id="gaussdb_11_0017__b725033101013">Read-only</strong>: All read requests are forwarded to the selected read replicas based on read weights. Even if the primary node is assigned with a read weight, the weight does not take effect.<ul id="gaussdb_11_0017__en-us_topic_0000001349831208_ul49812503531"><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li1034018186510">It supports only read requests. If write requests are forwarded to the selected nodes, an error message is displayed.</li><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li282153135320">This mode offloads the pressure of the primary node by routing all read requests to read replicas.</li><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li17340418195116">DDL, DML, and temporary table operations are not supported in the read-only mode.</li></ul>
|
||||
</li></ul>
|
||||
</div></div>
|
||||
</li><li id="gaussdb_11_0017__li1536510460184">Proxy instance specifications: 2 vCPUs | 4 GB (general-enhanced), 4 vCPUs | 8 GB (general-enhanced), and 8 vCPUs | 16 GB (general-enhanced).</li><li id="gaussdb_11_0017__en-us_topic_0000001349831208_li123091950144011"><strong id="gaussdb_11_0017__b1624992612013">Proxy Instance Nodes</strong>: The default value is <strong id="gaussdb_11_0017__b12491526112019">2</strong>. Enter an integer from 2 to 32. Number of recommended proxy instance nodes = (Number of vCPUs of the primary node + Total number of vCPUs of all read replicas)/(4 x Number of vCPUs of the proxy instance), rounded up.</li></ul>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<div id="body8662426"></div>
|
||||
<div>
|
||||
<ul class="ullinks">
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0002.html">Does GaussDB(for MySQL) Support Compute and Storage Decoupling?</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0002.html">Does GaussDB(for MySQL) Support Decoupled Storage and Compute?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0003.html">What's the Maximum Data Volume Supported by GaussDB(for MySQL)?</a></strong><br>
|
||||
</li>
|
||||
@ -12,13 +12,13 @@
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0006.html">What Should I Do When Modifications to GaussDB(for MySQL) Instance Parameters Does Not Take Effect?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0007.html">How Many Read Replicas Can I Create for a GaussDB(for MySQL) DB Instance?</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0007.html">How Many Read Replicas Can I Create for a GaussDB(for MySQL) Instance?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0011.html">How Can I Install the MySQL Client?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0010.html">How Can I Import the Root Certificate to a Windows or Linux OS?</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0010.html">How Do I Import the SSL Certificate of an RDS Instance to a Windows or Linux Server?</a></strong><br>
|
||||
</li>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0009.html">What Should I Do If an ECS Cannot Connect to a GaussDB(for MySQL) DB Instance?</a></strong><br>
|
||||
<li class="ulchildlink"><strong><a href="gaussdb_faq_0009.html">What Should I Do If an ECS Cannot Connect to a GaussDB(for MySQL) Instance?</a></strong><br>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<a name="gaussdb_faq_0002"></a><a name="gaussdb_faq_0002"></a>
|
||||
|
||||
<h1 class="topictitle1">Does <span id="text1224563641">GaussDB(for MySQL)</span> Support Compute and Storage Decoupling?</h1>
|
||||
<div id="body1563359232709"><p id="gaussdb_faq_0002__p8060118"><span class="keyword" id="gaussdb_faq_0002__keyword152301529312"><span id="gaussdb_faq_0002__text310128563">GaussDB(for MySQL)</span></span> supports the decoupling of compute and storage, improving your experience in terms of high availability, backup and restoration, upgrade and capacity expansion.</p>
|
||||
<h1 class="topictitle1">Does <span id="text1499609788">GaussDB(for MySQL)</span> Support Decoupled Storage and Compute?</h1>
|
||||
<div id="body1563359232709"><p id="gaussdb_faq_0002__p8060118">Yes. <span id="gaussdb_faq_0002__text647835319">GaussDB(for MySQL)</span> decouples storage from compute, which improves user experience in terms of high availability, backup and restoration, and upgrade and scale-out.</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user