forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
74 lines
6.7 KiB
HTML
74 lines
6.7 KiB
HTML
<a name="rds_02_0002"></a><a name="rds_02_0002"></a>
|
|
|
|
<h1 class="topictitle1">MySQL Constraints</h1>
|
|
<div id="body1522154286976"><p id="rds_02_0002__p48042784123325"><a href="#rds_02_0002__table60364850123535">Table 1</a> shows the constraints designed to ensure the stability and security of RDS for MySQL.</p>
|
|
|
|
<div class="tablenoborder"><a name="rds_02_0002__table60364850123535"></a><a name="table60364850123535"></a><table cellpadding="4" cellspacing="0" summary="" id="rds_02_0002__table60364850123535" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Function constraints</caption><thead align="left"><tr id="rds_02_0002__row63835418123535"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.2.2.3.1.1"><p id="rds_02_0002__p3286360123535"><strong id="rds_02_0002__b8423527068570">Function Item</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.2.2.3.1.2"><p id="rds_02_0002__p46946588123535"><strong id="rds_02_0002__b19866114123535">Constraints</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="rds_02_0002__row65651390123535"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.2.3.1.1 "><p id="rds_02_0002__p16162334123535">Database access</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.1.2 "><ul id="rds_02_0002__ul187481213101516"><li id="rds_02_0002__li674811391513">If public accessibility is not enabled, the <span id="rds_02_0002__text67511923191219">RDS</span> DB instance must be in the same VPC as the <span id="rds_02_0002__text1518051814242">ECS</span>.</li><li id="rds_02_0002__li1217121631511"><span id="rds_02_0002__text167521039135112">RDS</span> read replicas must be created in the same subnet as the primary DB instance.</li><li id="rds_02_0002__li2660112913165">The security group must allow access from the <span id="rds_02_0002__text713257152418">ECS</span>.<p id="rds_02_0002__p1491083014167">By default, <span id="rds_02_0002__text158081159135110">RDS</span> cannot be accessed through an <span id="rds_02_0002__text1927793319258">ECS</span> in a different security group. You need to add an inbound rule to the <span id="rds_02_0002__text203270915210">RDS</span> security group.</p>
|
|
</li><li id="rds_02_0002__li92511522111510">The default MySQL port is <strong id="rds_02_0002__b3407114411711">3306</strong>. You can change it if you want to access MySQL through another port.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_02_0002__row53074217123535"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.2.3.1.1 "><p id="rds_02_0002__p4044355123535">Deployment</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.1.2 "><p id="rds_02_0002__p41829298123535">ECSs in which DB instances are deployed are not visible to users. You can access the DB instances only through an IP address and a port number.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_02_0002__row60017787123535"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.2.3.1.1 "><p id="rds_02_0002__p29602599123535">Database root permissions</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.1.2 "><p id="rds_02_0002__p19341371123535">Only the <strong id="rds_02_0002__b84235270694322">root</strong> user permissions are provided on the instance creation page. </p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_02_0002__row62985361123535"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.2.3.1.1 "><p id="rds_02_0002__p1540641123535">Database parameter modification</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.1.2 "><p id="rds_02_0002__p12792194483515">Most parameters can be modified on the RDS console.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_02_0002__row19812839123535"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.2.3.1.1 "><p id="rds_02_0002__p61336152123535">Data migration</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.1.2 "><p id="rds_02_0002__p5318471084029">Use MySQL CLI tools to migrate data by referring to <a href="rds_migration_mysql.html">Migrating Data to RDS for MySQL Using mysqldump</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_02_0002__row18357798134159"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.2.3.1.1 "><p id="rds_02_0002__p255375813428">MySQL storage engine</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.1.2 "><p id="rds_02_0002__p19932932105115">For details, see <a href="rds_faq_0041.html">What Storage Engines Does the RDS for MySQL Support?</a></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_02_0002__row32746860123535"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.2.3.1.1 "><p id="rds_02_0002__p35249985123535">Database replication setup</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.1.2 "><p id="rds_02_0002__p36676551123535">RDS for MySQL uses a primary/standby dual-node replication cluster. You do not need to set up replication additionally. The standby DB instance is not visible to users and therefore you cannot access it directly.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_02_0002__row167441016132618"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.2.3.1.1 "><p id="rds_02_0002__p2522152218264">Minor version upgrade</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.1.2 "><p id="rds_02_0002__p652220221264">Currently, RDS for MySQL supports a maximum of 100,000 tables. If the number of tables is greater than 100,000, the minor version upgrade may fail.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_02_0002__row43544108123535"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.2.3.1.1 "><p id="rds_02_0002__p37411822123535">DB instance reboot</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.1.2 "><p id="rds_02_0002__p41132837123535"><span id="rds_02_0002__text1492514166315">RDS</span> DB instances cannot be rebooted through commands. They must be rebooted through the <span id="rds_02_0002__text3348212125314">RDS</span> console.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="rds_02_0002__row27804808123535"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.2.2.3.1.1 "><p id="rds_02_0002__p37597003123535">RDS backup files</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.2.2.3.1.2 "><p id="rds_02_0002__p1030413503363">For details, see <a href="rds_08_0006.html">Downloading a Backup File</a>.</p>
|
|
<p id="rds_02_0002__p16275153019384">You can rebuild a DB instance from the recycle bin to restore data.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_01_0026.html">Constraints</a></div>
|
|
</div>
|
|
</div>
|
|
|