forked from docs/doc-exports
rds_umn
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
This commit is contained in:
@ -2185,7 +2185,7 @@
|
||||
"node_id":"rds_05_0060.xml",
|
||||
"product_code":"rds",
|
||||
"code":"100",
|
||||
"des":"You can migrate a standby DB instance to another AZ in the same region as the original AZ.Primary/standby instances running MySQL 5.6, 5.7, or 8.0 support standby instanc",
|
||||
"des":"You can migrate a standby DB instance to another AZ in the same region as the original AZ.Primary/standby instances running MySQL 5.7, or 8.0 support standby instance mig",
|
||||
"doc_type":"usermanual",
|
||||
"kw":"Migrating a Standby DB Instance,Instance Modifications,User Guide",
|
||||
"search_title":"",
|
||||
@ -8279,7 +8279,7 @@
|
||||
"node_id":"rds_faq_0029.xml",
|
||||
"product_code":"rds",
|
||||
"code":"377",
|
||||
"des":"PostgreSQL provides client installation methods for different OSs on its official website.The following describes how to install a PostgreSQL 15 client in CentOS.When you",
|
||||
"des":"The PostgreSQL community provides client installation methods for different OSs. You can download and install the client using the installation tool of the OS. This insta",
|
||||
"doc_type":"usermanual",
|
||||
"kw":"How Can I Install the PostgreSQL Client?,Client Installation,User Guide",
|
||||
"search_title":"",
|
||||
|
||||
@ -891,7 +891,7 @@
|
||||
"code":"99"
|
||||
},
|
||||
{
|
||||
"desc":"You can migrate a standby DB instance to another AZ in the same region as the original AZ.Primary/standby instances running MySQL 5.6, 5.7, or 8.0 support standby instanc",
|
||||
"desc":"You can migrate a standby DB instance to another AZ in the same region as the original AZ.Primary/standby instances running MySQL 5.7, or 8.0 support standby instance mig",
|
||||
"product_code":"rds",
|
||||
"title":"Migrating a Standby DB Instance",
|
||||
"uri":"rds_05_0060.html",
|
||||
@ -3384,7 +3384,7 @@
|
||||
"code":"376"
|
||||
},
|
||||
{
|
||||
"desc":"PostgreSQL provides client installation methods for different OSs on its official website.The following describes how to install a PostgreSQL 15 client in CentOS.When you",
|
||||
"desc":"The PostgreSQL community provides client installation methods for different OSs. You can download and install the client using the installation tool of the OS. This insta",
|
||||
"product_code":"rds",
|
||||
"title":"How Can I Install the PostgreSQL Client?",
|
||||
"uri":"rds_faq_0029.html",
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 103 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 109 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 33 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 36 KiB |
BIN
docs/rds/umn/en-us_image_0000002218505054.png
Normal file
BIN
docs/rds/umn/en-us_image_0000002218505054.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
@ -16,18 +16,7 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr id="EN-US_TOPIC_0000002067671672__row630172618124"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.1 "><p id="EN-US_TOPIC_0000002067671672__p1130926161218">5.6</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.2 "><p id="EN-US_TOPIC_0000002067671672__p14664193910129">February 2013</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.3 "><p id="EN-US_TOPIC_0000002067671672__p1566413392128">February 2021</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0000002067671672__p166641639131219">August 2017</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0000002067671672__p14664173919129">March 2025</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0000002067671672__row133014268129"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.1 "><p id="EN-US_TOPIC_0000002067671672__p630526151211">5.7</p>
|
||||
<tbody><tr id="EN-US_TOPIC_0000002067671672__row133014268129"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.1 "><p id="EN-US_TOPIC_0000002067671672__p630526151211">5.7</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.2 "><p id="EN-US_TOPIC_0000002067671672__p13665239191216">October 2015</p>
|
||||
</td>
|
||||
@ -35,7 +24,7 @@
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.4 "><p id="EN-US_TOPIC_0000002067671672__p1966523921215">June 2018</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0000002067671672__p1966519399123">July 2025</p>
|
||||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.5 "><p id="EN-US_TOPIC_0000002067671672__p1966519399123">November 2025</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="EN-US_TOPIC_0000002067671672__row630142617125"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.6.1.1 "><p id="EN-US_TOPIC_0000002067671672__p14318263128">8.0</p>
|
||||
|
||||
@ -16,9 +16,9 @@
|
||||
</thead>
|
||||
<tbody><tr id="en-us_topic_0043898356__row3127629534"><td class="cellrowborder" valign="top" width="18.76%" headers="mcps1.3.3.2.5.1.1 "><p id="en-us_topic_0043898356__p1128928536">MySQL</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="30.810000000000002%" headers="mcps1.3.3.2.5.1.2 "><ul id="en-us_topic_0043898356__ul12466340678"><li id="en-us_topic_0043898356__li124661940577">8.0</li><li id="en-us_topic_0043898356__li164661840276">5.7</li><li id="en-us_topic_0043898356__li174661240371">5.6</li></ul>
|
||||
<td class="cellrowborder" valign="top" width="30.810000000000002%" headers="mcps1.3.3.2.5.1.2 "><ul id="en-us_topic_0043898356__ul12466340678"><li id="en-us_topic_0043898356__li124661940577">8.0</li><li id="en-us_topic_0043898356__li164661840276">5.7</li></ul>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="30.740000000000006%" headers="mcps1.3.3.2.5.1.3 "><ul id="en-us_topic_0043898356__ul15578165016710"><li id="en-us_topic_0043898356__li457895015720">8.0</li><li id="en-us_topic_0043898356__li1557814501971">5.7</li><li id="en-us_topic_0043898356__li145781508717">5.6</li></ul>
|
||||
<td class="cellrowborder" valign="top" width="30.740000000000006%" headers="mcps1.3.3.2.5.1.3 "><ul id="en-us_topic_0043898356__ul15578165016710"><li id="en-us_topic_0043898356__li457895015720">8.0</li><li id="en-us_topic_0043898356__li1557814501971">5.7</li></ul>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="19.69%" headers="mcps1.3.3.2.5.1.4 "><p id="en-us_topic_0043898356__p1023093218245">Not supported</p>
|
||||
</td>
|
||||
|
||||
@ -114,7 +114,7 @@
|
||||
</tr>
|
||||
<tr id="rds_02_0008__row124012915413"><td class="cellrowborder" valign="top" width="24%" headers="mcps1.3.2.2.5.2.1.3.2.3.1.1 "><p id="rds_02_0008__p102402945412">Subnet</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="76%" headers="mcps1.3.2.2.5.2.1.3.2.3.1.2 "><p id="rds_02_0008__p22408919547">Improves network security by providing dedicated network resources that are logically isolated from other networks. Subnets take effect only within an AZ. The Dynamic Host Configuration Protocol (DHCP) function is enabled by default for subnets in which you plan to create <span id="rds_02_0008__text93479365579">RDS</span> DB instances and cannot be disabled.</p>
|
||||
<td class="cellrowborder" valign="top" width="76%" headers="mcps1.3.2.2.5.2.1.3.2.3.1.2 "><p id="rds_02_0008__p22408919547">Improves network security by providing dedicated network resources that are logically isolated from other networks. Subnets take effect within all AZs of one Region. The Dynamic Host Configuration Protocol (DHCP) function is enabled by default for subnets in which you plan to create <span id="rds_02_0008__text93479365579">RDS</span> DB instances and cannot be disabled.</p>
|
||||
<p id="rds_02_0008__p2240209185413">A floating IP address is automatically assigned when you create a DB instance. You can also enter an unused floating IP address in the subnet CIDR block. After the DB instance is created, you can change the floating IP address.</p>
|
||||
</td>
|
||||
</tr>
|
||||
@ -141,7 +141,7 @@
|
||||
</tr>
|
||||
<tr id="rds_02_0008__row10240119115418"><td class="cellrowborder" valign="top" width="24%" headers="mcps1.3.2.2.5.2.1.4.2.3.1.1 "><p id="rds_02_0008__p11240399542">Administrator Password</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="76%" headers="mcps1.3.2.2.5.2.1.4.2.3.1.2 "><p id="rds_02_0008__p7240129205418">Must consist of 8 to 32 characters and contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters (~!@#$%^*-_=+?,()&). Enter a strong password and periodically change it for security reasons.</p>
|
||||
<td class="cellrowborder" valign="top" width="76%" headers="mcps1.3.2.2.5.2.1.4.2.3.1.2 "><p id="rds_02_0008__p7240129205418">Must consist of 8 to 32 characters and contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters (~!@#$%^*-_=+?,()&.|). Enter a strong password and periodically change it for security reasons.</p>
|
||||
<p id="rds_02_0008__p772762414170">If provided password will be considered by system as weak, you will receive an error and you should provide stronger password.</p>
|
||||
<p id="rds_02_0008__p172408985415">Keep this password secure. The system cannot retrieve it.</p>
|
||||
<p id="rds_02_0008__p624089165419"></p>
|
||||
|
||||
@ -113,7 +113,7 @@
|
||||
</tr>
|
||||
<tr id="rds_03_0065__row196763203449"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.5.2.3.2.3.1.1 "><p id="rds_03_0065__p9676152015447">Subnet</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.95%" headers="mcps1.3.2.2.5.2.3.2.3.1.2 "><p id="rds_03_0065__p16676102064418">Improves network security by providing dedicated network resources that are logically isolated from other networks. Subnets take effect only within an AZ. The Dynamic Host Configuration Protocol (DHCP) function is enabled by default for subnets in which you plan to create <span id="rds_03_0065__text892105118486">RDS</span> DB instances and cannot be disabled.</p>
|
||||
<td class="cellrowborder" valign="top" width="78.95%" headers="mcps1.3.2.2.5.2.3.2.3.1.2 "><p id="rds_03_0065__p16676102064418">Improves network security by providing dedicated network resources that are logically isolated from other networks. Subnets take effect within all AZs of one Region. The Dynamic Host Configuration Protocol (DHCP) function is enabled by default for subnets in which you plan to create <span id="rds_03_0065__text892105118486">RDS</span> DB instances and cannot be disabled.</p>
|
||||
<p id="rds_03_0065__p118281445193416">A floating IP address is automatically assigned when you create a DB instance. You can also enter an unused floating IP address in the subnet CIDR block. After the DB instance is created, you can change the floating IP address.</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -121,7 +121,7 @@
|
||||
</tr>
|
||||
<tr id="rds_04_0061__row126301940121413"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.5.2.3.2.3.1.1 "><p id="rds_04_0061__p196301409148">Subnet</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="78.95%" headers="mcps1.3.2.2.5.2.3.2.3.1.2 "><p id="rds_04_0061__p15630144011417">Improves network security by providing dedicated network resources that are logically isolated from other networks. Subnets take effect only within an AZ. The Dynamic Host Configuration Protocol (DHCP) function is enabled by default for subnets in which you plan to create RDS DB instances and cannot be disabled.</p>
|
||||
<td class="cellrowborder" valign="top" width="78.95%" headers="mcps1.3.2.2.5.2.3.2.3.1.2 "><p id="rds_04_0061__p15630144011417">Improves network security by providing dedicated network resources that are logically isolated from other networks. Subnets take effect within all AZs of one Region. The Dynamic Host Configuration Protocol (DHCP) function is enabled by default for subnets in which you plan to create RDS DB instances and cannot be disabled.</p>
|
||||
<p id="rds_04_0061__p118281445193416">A floating IP address is automatically assigned when you create a DB instance. You can also enter an unused floating IP address in the subnet CIDR block. After the DB instance is created, the floating IP address cannot be changed.</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
<h1 class="topictitle1">Migrating a Standby DB Instance</h1>
|
||||
<div id="body1569306937973"><div class="section" id="rds_05_0060__section11993742229"><h4 class="sectiontitle">Scenarios</h4><p id="rds_05_0060__p899313421822">You can migrate a standby DB instance to another AZ in the same region as the original AZ.</p>
|
||||
<div class="note" id="rds_05_0060__note10993342423"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="rds_05_0060__ul15993542327"><li id="rds_05_0060__li184713018151">Primary/standby instances running MySQL 5.6, 5.7, or 8.0 support standby instance migration to another AZ. </li><li id="rds_05_0060__li79931542523">DDL operations and scheduled events will be suspended during migration. To prevent service interruptions, perform the migration during off-peak hours.</li></ul>
|
||||
<div class="note" id="rds_05_0060__note10993342423"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="rds_05_0060__ul15993542327"><li id="rds_05_0060__li184713018151">Primary/standby instances running MySQL 5.7, or 8.0 support standby instance migration to another AZ. </li><li id="rds_05_0060__li79931542523">DDL operations and scheduled events will be suspended during migration. To prevent service interruptions, perform the migration during off-peak hours.</li></ul>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="rds_05_0060__section2366163112409"><h4 class="sectiontitle">Procedure</h4><ol id="rds_05_0060__o2173078bb42c41a0b711d64c49e2565d"><li id="rds_05_0060__li17616348171"><span>Log in to the management console.</span></li><li id="rds_05_0060__li146168481712"><span>Click <span><img id="rds_05_0060__rds_modify_instance_name_en-us_topic_0192953815_image192529212293" src="en-us_image_0000001191211679.png"></span> in the upper left corner and select a region and a project.</span></li><li id="rds_05_0060__li96167481711"><span>Click <strong id="rds_05_0060__rds_modify_instance_name_b171171523153019">Service List</strong>. Under <strong id="rds_05_0060__rds_modify_instance_name_b111722319302">Database</strong>, click <strong id="rds_05_0060__rds_modify_instance_name_b15118152363010">Relational Database Service</strong>. The RDS console is displayed.</span></li><li id="rds_05_0060__li53158765111855"><span>On the <span class="uicontrol" id="rds_05_0060__uicontrol59770215612"><b>Instances</b></span> page, locate the target DB instance and choose <span class="uicontrol" id="rds_05_0060__uicontrol697982111611"><b>More</b></span> > <span class="uicontrol" id="rds_05_0060__uicontrol19801211367"><b>Migrate Standby DB Instance</b></span> in the <span class="uicontrol" id="rds_05_0060__uicontrol2098110215613"><b>Operation</b></span> column.</span></li><li id="rds_05_0060__li18214928113618"><span>On the displayed page, select a target AZ and click <strong id="rds_05_0060__b148701224193010">Submit</strong>.</span></li><li id="rds_05_0060__li5427191015407"><span>After the migration is complete, you can view and manage the DB instance on the <span class="uicontrol" id="rds_05_0060__uicontrol1362265152119"><b>Instances</b></span> page.</span><p><ul id="rds_05_0060__ul41357172418"><li id="rds_05_0060__li181359179419">During the migration process, the DB instance status is <strong id="rds_05_0060__b17843153810347">Migrating standby DB instance</strong>. You can view the progress on the <span class="uicontrol" id="rds_05_0060__uicontrol151966421224"><b>Task Center</b></span> page. For details, see section <a href="rds_05_0007.html">Task Center</a>.</li><li id="rds_05_0060__li17112134118">In the upper right corner of the DB instance list, click <span><img id="rds_05_0060__image17447059193220" src="en-us_image_0000001191211495.png"></span> to refresh the list. After the migration is complete, the DB instance status will become <span class="uicontrol" id="rds_05_0060__uicontrol11336414112110"><b>Available</b></span>.</li><li id="rds_05_0060__li141551334112511">In the <strong id="rds_05_0060__b154309581956">DB Information</strong> on the <strong id="rds_05_0060__b1026062569">Basic Information</strong> page, you can view the AZ hosting the standby DB instance.</li></ul>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -16,12 +16,6 @@
|
||||
</li><li id="rds_08_00001__li1247251918717"><span class="parmname" id="rds_08_00001__parmname13472201913714"><b>sync_binlog</b></span><p id="rds_08_00001__p191013251173">Default value: <span class="parmvalue" id="rds_08_00001__parmvalue943015111189"><b>1</b></span></p>
|
||||
<p id="rds_08_00001__p108561320375">Function: Controls how often the MySQL server synchronizes binary logs to the disk. The default setting of <span class="parmvalue" id="rds_08_00001__parmvalue157681420202217"><b>1</b></span> requires synchronization of the binary log to the disk at each transaction commit. If the value is set to <span class="parmvalue" id="rds_08_00001__parmvalue1488594618223"><b>0</b></span>, synchronization of the binary log to the disk is not controlled by the MySQL server but relies on the OS to flush the binary log to the disk. This setting provides the best performance, but in the event of a power failure or OS crash, all binary log information in <span class="parmname" id="rds_08_00001__parmname932905415598"><b>binlog_cache</b></span> is lost.</p>
|
||||
<p id="rds_08_00001__p699002804015">Impact: If this parameter is not set to <span class="parmvalue" id="rds_08_00001__parmvalue4425155615339"><b>1</b></span>, data security is not guaranteed. If the system fails, data may be lost.</p>
|
||||
</li><li id="rds_08_00001__li1923024716018"><span class="parmname" id="rds_08_00001__parmname22303471602"><b>innodb_large_prefix</b></span><p id="rds_08_00001__p18891154252014">Default value: <span class="parmvalue" id="rds_08_00001__parmvalue168912423209"><b>OFF</b></span></p>
|
||||
<p id="rds_08_00001__p1930482815312">Function: Specifies the maximum length of a single-column index in an InnoDB table.</p>
|
||||
<div class="note" id="rds_08_00001__note1035774210189"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="rds_08_00001__p10358194214184">This parameter is available only for MySQL 5.6.</p>
|
||||
</div></div>
|
||||
<p id="rds_08_00001__p36059571620">Impact: Changing this parameter value during DDL execution may cause primary/standby replication exceptions. Exercise caution when performing this operation.</p>
|
||||
<ul id="rds_08_00001__ul66838502315"><li id="rds_08_00001__li795114715312">If you want to change this parameter value from <strong id="rds_08_00001__b157935014553">OFF</strong> to <strong id="rds_08_00001__b92666526551">ON</strong>, change it on read replicas first and then on the primary DB instance.</li><li id="rds_08_00001__li6952124717318">If you want to change this parameter value from <strong id="rds_08_00001__b1827419120563">ON</strong> to <strong id="rds_08_00001__b15273101217566">OFF</strong>, change it on the primary DB instance first and then on read replicas.</li></ul>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="rds_08_00001__section5602829104512"><h4 class="sectiontitle">Performance Parameters</h4><p id="rds_08_00001__p2710730415956">The following parameters can affect database performance:</p>
|
||||
|
||||
@ -6,20 +6,20 @@
|
||||
<p id="rds_08_0044__p83936524111">Only x86 packages of the open-source backup tool XtraBackup are supported. Therefore, you are advised to restore backup data to self-built databases on Arm-based ECSs by migrating data with DRS or exporting and importing data. For details, see <a href="rds_05_0001_02.html">Data Migration</a>.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div class="section" id="rds_08_0044__section10458182204011"><h4 class="sectiontitle">Prerequisites</h4><ul id="rds_08_0044__ul819251102319"><li id="rds_08_0044__li42449752416">This section only covers restoring a full backup of an RDS for MySQL 5.6, 5.7 or 8.0 DB instance to an on-premises database of the corresponding version. Incremental backup restoration is not included.</li><li id="rds_08_0044__li9474191315247">The minor version of the on-premises MySQL database must be the same as that of your RDS for MySQL DB instance.</li><li id="rds_08_0044__li15422122715245">During the restoration, do not run other workloads on the on-premises database.</li><li id="rds_08_0044__li48091834102418">During data restoration, run the following command to view the restoration process:<p id="rds_08_0044__p10544165593810"><a name="rds_08_0044__li48091834102418"></a><a name="li48091834102418"></a><strong id="rds_08_0044__b11247144416396">ps -ef | grep mysql</strong></p>
|
||||
<div class="section" id="rds_08_0044__section10458182204011"><h4 class="sectiontitle">Prerequisites</h4><ul id="rds_08_0044__ul819251102319"><li id="rds_08_0044__li42449752416">This section only covers restoring a full backup of an RDS for MySQL 5.7 or 8.0 DB instance to an on-premises database of the corresponding version. Incremental backup restoration is not included.</li><li id="rds_08_0044__li9474191315247">The minor version of the on-premises MySQL database must be the same as that of your RDS for MySQL DB instance.</li><li id="rds_08_0044__li15422122715245">During the restoration, do not run other workloads on the on-premises database.</li><li id="rds_08_0044__li48091834102418">During data restoration, run the following command to view the restoration process:<p id="rds_08_0044__p10544165593810"><a name="rds_08_0044__li48091834102418"></a><a name="li48091834102418"></a><strong id="rds_08_0044__b11247144416396">ps -ef | grep mysql</strong></p>
|
||||
</li></ul>
|
||||
</div>
|
||||
<div class="section" id="rds_08_0044__section1388785031610"><h4 class="sectiontitle">Procedure</h4><ol id="rds_08_0044__en-us_topic_0171122285_ol173917380359"><li id="rds_08_0044__en-us_topic_0171122285_li113913810355"><span>Download the qpress RPM file <a href="https://repo.percona.com/yum/release/7/RPMS/x86_64/qpress-11-1.el7.x86_64.rpm" target="_blank" rel="noopener noreferrer">qpress-11-1.el7.x86_64.rpm</a>. Enterprise Linux 7 (CentOS 7, RHEL 7, Rocky Linux 7, and AlmaLinux 7) is used as an example.</span><p><p id="rds_08_0044__p112373586812">For details about RPM files of other OSs, see <a href="https://repo.percona.com/yum/release/" target="_blank" rel="noopener noreferrer">https://repo.percona.com/yum/release/</a>.</p>
|
||||
</p></li><li id="rds_08_0044__li91415817323"><span>Upload the qpress RPM file to the ECS.</span></li><li id="rds_08_0044__li4636949173214"><span>Install qpress on the ECS.</span><p><p id="rds_08_0044__p1721128205415"><strong id="rds_08_0044__b3178450175517">rpm -ivh</strong> <em id="rds_08_0044__i8149725115613">qpress-11-1.el7.x86_64.rpm</em></p>
|
||||
</p></li><li id="rds_08_0044__li186417525212"><span>Download <a href="https://www.percona.com/downloads/Percona-XtraBackup-2.4/LATEST/" target="_blank" rel="noopener noreferrer">XtraBackup</a> from the website, for example, percona-xtrabackup-24-2.4.9-1.el7.x86_64.rpm.</span><p><div class="notice" id="rds_08_0044__en-us_topic_0171122285_note391631812511"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="rds_08_0044__ul741210081610"><li id="rds_08_0044__li134122041612">For MySQL 5.6 and 5.7, download <a href="https://www.percona.com/downloads/Percona-XtraBackup-2.4/LATEST/" target="_blank" rel="noopener noreferrer">XtraBackup 2.4.9</a> or later versions.</li><li id="rds_08_0044__li0412701169">For MySQL 8.0, download <a href="https://www.percona.com/downloads/Percona-XtraBackup-8.0/LATEST/" target="_blank" rel="noopener noreferrer">XtraBackup 8.0</a> or later versions.</li></ul>
|
||||
</p></li><li id="rds_08_0044__li186417525212"><span>Download <a href="https://www.percona.com/downloads/Percona-XtraBackup-2.4/LATEST/" target="_blank" rel="noopener noreferrer">XtraBackup</a> from the website, for example, percona-xtrabackup-24-2.4.9-1.el7.x86_64.rpm.</span><p><div class="notice" id="rds_08_0044__en-us_topic_0171122285_note391631812511"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="rds_08_0044__ul741210081610"><li id="rds_08_0044__li134122041612">For MySQL 5.7, download <a href="https://www.percona.com/downloads/Percona-XtraBackup-2.4/LATEST/" target="_blank" rel="noopener noreferrer">XtraBackup 2.4.9</a> or later versions.</li><li id="rds_08_0044__li0412701169">For MySQL 8.0, download <a href="https://www.percona.com/downloads/Percona-XtraBackup-8.0/LATEST/" target="_blank" rel="noopener noreferrer">XtraBackup 8.0</a> or later versions.</li></ul>
|
||||
</div></div>
|
||||
</p></li><li id="rds_08_0044__en-us_topic_0171122285_li439113803510"><span>Upload XtraBackup to the ECS.</span></li><li id="rds_08_0044__li66321029152820"><span>Install XtraBackup on the ECS.</span><p><p id="rds_08_0044__p14504193132915"><strong id="rds_08_0044__b2504134292">rpm -ivh</strong> <em id="rds_08_0044__i5505123202919">percona-xtrabackup-24-2.4.9-1.el7.x86_64.rpm</em> <strong id="rds_08_0044__b14505143142915">--nodeps --force</strong></p>
|
||||
</p></li><li id="rds_08_0044__en-us_topic_0171122285_li1239153811359"><span>On the ECS, decompress the full backup file that has been downloaded.</span><p><ol type="a" id="rds_08_0044__en-us_topic_0171122285_ol13251143712454"><li id="rds_08_0044__en-us_topic_0171122285_li325113764510">Create a temporary directory <strong id="rds_08_0044__b174892225582">backupdir</strong>.<p id="rds_08_0044__en-us_topic_0171122285_p165104616415"><strong id="rds_08_0044__en-us_topic_0171122285_b1443913460454">mkdir</strong> <em id="rds_08_0044__en-us_topic_0171122285_i10100204912456">backupdir</em></p>
|
||||
</li><li id="rds_08_0044__en-us_topic_0171122285_li06471753194519">Decompress the package.<p id="rds_08_0044__en-us_topic_0171122285_p11866184716413"><a name="rds_08_0044__en-us_topic_0171122285_li06471753194519"></a><a name="en-us_topic_0171122285_li06471753194519"></a><strong id="rds_08_0044__b131521314153510">xbstream -x </strong><strong id="rds_08_0044__b17172314123511">-p 4</strong><strong id="rds_08_0044__b117511148351"> <</strong><strong id="rds_08_0044__b121783143357"> </strong><strong id="rds_08_0044__b6213111873517"><em id="rds_08_0044__i6213151833515">./</em></strong><em id="rds_08_0044__i421451818351">Full backup file</em><strong id="rds_08_0044__b1321416186354"><em id="rds_08_0044__i182141418103517">.qp</em></strong><strong id="rds_08_0044__b1718313146359"> </strong><strong id="rds_08_0044__b41881614103519">-C</strong><strong id="rds_08_0044__b61926146351"> </strong><strong id="rds_08_0044__b1419831423519"><em id="rds_08_0044__i6196161493511">./backupdir/</em></strong></p>
|
||||
<ul id="rds_08_0044__ul1044516251172"><li id="rds_08_0044__li444572510718">For MySQL 5.6 and 5.7, run <strong id="rds_08_0044__b399644516352">innobackupex --parallel 4 --decompress</strong><strong id="rds_08_0044__b19294619351"> </strong><strong id="rds_08_0044__b21310467354"><em id="rds_08_0044__i148174613353">./backupdir</em></strong>.</li><li id="rds_08_0044__li644582518718">For MySQL 8.0, run <strong id="rds_08_0044__b165813955920">xtrabackup --parallel 4 --decompress --target-dir=</strong><strong id="rds_08_0044__b17144187113"><em id="rds_08_0044__i1265833917591">./backupdir</em></strong>.</li></ul>
|
||||
<ul id="rds_08_0044__ul1044516251172"><li id="rds_08_0044__li444572510718">For MySQL 5.7, run <strong id="rds_08_0044__b399644516352">innobackupex --parallel 4 --decompress</strong><strong id="rds_08_0044__b19294619351"> </strong><strong id="rds_08_0044__b21310467354"><em id="rds_08_0044__i148174613353">./backupdir</em></strong>.</li><li id="rds_08_0044__li644582518718">For MySQL 8.0, run <strong id="rds_08_0044__b165813955920">xtrabackup --parallel 4 --decompress --target-dir=</strong><strong id="rds_08_0044__b17144187113"><em id="rds_08_0044__i1265833917591">./backupdir</em></strong>.</li></ul>
|
||||
<p id="rds_08_0044__en-us_topic_0171122285_p1616134914410"><strong id="rds_08_0044__en-us_topic_0171122285_b1485505214614">find</strong> <em id="rds_08_0044__en-us_topic_0171122285_i99491256174610">./backupdir/ </em> <strong id="rds_08_0044__en-us_topic_0171122285_b9496110124714">-name</strong> <em id="rds_08_0044__en-us_topic_0171122285_i20464186104714">'*.qp'</em> <strong id="rds_08_0044__en-us_topic_0171122285_b181211974710">|</strong> <em id="rds_08_0044__en-us_topic_0171122285_i2076162154712">xargs</em> <strong id="rds_08_0044__en-us_topic_0171122285_b187455244474">rm -f</strong></p>
|
||||
</li></ol>
|
||||
</p></li><li id="rds_08_0044__en-us_topic_0171122285_li019419184214"><span>Apply the log.</span><p><ul id="rds_08_0044__ul204812347811"><li id="rds_08_0044__li194833414812">For MySQL 5.6 and 5.7, run <strong id="rds_08_0044__b946810442590">innobackupex --apply-log </strong><strong id="rds_08_0044__b17978463113"><em id="rds_08_0044__i4473184419597">./backupdir</em></strong>.</li><li id="rds_08_0044__li14481634786">For MySQL 8.0, run <strong id="rds_08_0044__b1293216458810">xtrabackup --prepare --target-dir=./backupdir</strong>.</li></ul>
|
||||
</p></li><li id="rds_08_0044__en-us_topic_0171122285_li019419184214"><span>Apply the log.</span><p><ul id="rds_08_0044__ul204812347811"><li id="rds_08_0044__li194833414812">For MySQL 5.7, run <strong id="rds_08_0044__b946810442590">innobackupex --apply-log </strong><strong id="rds_08_0044__b17978463113"><em id="rds_08_0044__i4473184419597">./backupdir</em></strong>.</li><li id="rds_08_0044__li14481634786">For MySQL 8.0, run <strong id="rds_08_0044__b1293216458810">xtrabackup --prepare --target-dir=./backupdir</strong>.</li></ul>
|
||||
</p></li><li id="rds_08_0044__en-us_topic_0171122285_li479110712364"><span>Back up data.</span><p><ol type="a" id="rds_08_0044__en-us_topic_0171122285_ol415171216363"><li id="rds_08_0044__en-us_topic_0171122285_li16151121210366">Stop MySQL database services.<p id="rds_08_0044__en-us_topic_0171122285_p49254321635"><a name="rds_08_0044__en-us_topic_0171122285_li16151121210366"></a><a name="en-us_topic_0171122285_li16151121210366"></a><strong id="rds_08_0044__en-us_topic_0171122285_b492516321731">service </strong><em id="rds_08_0044__en-us_topic_0171122285_i1892517322310">mysql</em><strong id="rds_08_0044__en-us_topic_0171122285_b189258321631"> stop</strong></p>
|
||||
<div class="note" id="rds_08_0044__en-us_topic_0171122285_note748374019309"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="rds_08_0044__en-us_topic_0171122285_p106661239133817">For MySQL 5.7, run the following command to stop MySQL database services:</p>
|
||||
<p id="rds_08_0044__en-us_topic_0171122285_p848364015305"><strong id="rds_08_0044__en-us_topic_0171122285_b1648124420415">/bin/systemctl stop mysqld.service</strong></p>
|
||||
@ -28,7 +28,7 @@
|
||||
</li><li id="rds_08_0044__en-us_topic_0171122285_li1569033903614">Create a new database directory and change the permissions.<p id="rds_08_0044__en-us_topic_0171122285_p2086572164219"><a name="rds_08_0044__en-us_topic_0171122285_li1569033903614"></a><a name="en-us_topic_0171122285_li1569033903614"></a><strong id="rds_08_0044__en-us_topic_0171122285_b1267410618493">mkdir </strong><em id="rds_08_0044__en-us_topic_0171122285_i47374914498">/var/lib/mysql/data</em></p>
|
||||
<p id="rds_08_0044__en-us_topic_0171122285_p18584112211426"><strong id="rds_08_0044__en-us_topic_0171122285_b42813184910">chown</strong> <em id="rds_08_0044__en-us_topic_0171122285_i1839122373420">mysql:mysql</em><em id="rds_08_0044__en-us_topic_0171122285_i13839123193418"> /var/lib/mysql/data</em></p>
|
||||
</li></ol>
|
||||
</p></li><li id="rds_08_0044__en-us_topic_0171122285_li103911388357"><span>Copy the full backup file and modify the directory permissions.</span><p><ul id="rds_08_0044__ul14593101098"><li id="rds_08_0044__li1659161018917">For MySQL 5.6 and 5.7, run <strong id="rds_08_0044__b1879912356911">innobackupex --defaults-file=/etc/my.cnf --copy-back</strong><strong id="rds_08_0044__b107124561814"> </strong><strong id="rds_08_0044__b17121556914"><em id="rds_08_0044__en-us_topic_0171122285_i1025745619494">./backupdir</em></strong>.</li><li id="rds_08_0044__li20594101995">For MySQL 8.0, run <strong id="rds_08_0044__b1978219254919">xtrabackup --defaults-file=/etc/my.cnf --copy-back --target-dir=./backupdir</strong>.</li></ul>
|
||||
</p></li><li id="rds_08_0044__en-us_topic_0171122285_li103911388357"><span>Copy the full backup file and modify the directory permissions.</span><p><ul id="rds_08_0044__ul14593101098"><li id="rds_08_0044__li1659161018917">For MySQL 5.7, run <strong id="rds_08_0044__b1879912356911">innobackupex --defaults-file=/etc/my.cnf --copy-back</strong><strong id="rds_08_0044__b107124561814"> </strong><strong id="rds_08_0044__b17121556914"><em id="rds_08_0044__en-us_topic_0171122285_i1025745619494">./backupdir</em></strong>.</li><li id="rds_08_0044__li20594101995">For MySQL 8.0, run <strong id="rds_08_0044__b1978219254919">xtrabackup --defaults-file=/etc/my.cnf --copy-back --target-dir=./backupdir</strong>.</li></ul>
|
||||
<p id="rds_08_0044__en-us_topic_0171122285_p15657888356"><strong id="rds_08_0044__en-us_topic_0171122285_b136572823519">chown -R</strong> <em id="rds_08_0044__en-us_topic_0171122285_i15300154911421">mysql:mysql /var/lib/mysql/data</em></p>
|
||||
<div class="note" id="rds_08_0044__note515135754619"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="rds_08_0044__p191511857114612">Clear the content in the <em id="rds_08_0044__i181869464719">var/lib/mysql/data</em> directory in advance.</p>
|
||||
</div></div>
|
||||
|
||||
@ -13,12 +13,12 @@
|
||||
<tbody><tr id="rds_11_0004__row198571172295"><td class="cellrowborder" valign="top" width="45.910000000000004%" headers="mcps1.3.3.2.3.1.1 "><p id="rds_11_0004__p1985767122916">Primary/Standby (1/1)</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="54.09%" headers="mcps1.3.3.2.3.1.2 ">
|
||||
<ul id="rds_11_0004__ul1087444693711"><li id="rds_11_0004__li162141433154710">2017 SE</li><li id="rds_11_0004__li5936114833719">2019 SE</li><li id="rds_11_0004__li3534165985113">2022 SE</li></ul>
|
||||
<ul id="rds_11_0004__ul1087444693711"><li id="rds_11_0004__li5936114833719">2019 SE</li><li id="rds_11_0004__li3534165985113">2022 SE</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rds_11_0004__row58571479298"><td class="cellrowborder" valign="top" width="45.910000000000004%" headers="mcps1.3.3.2.3.1.1 "><p id="rds_11_0004__p1985718710299">Single DB instances</p>
|
||||
</td>
|
||||
<td class="cellrowborder" valign="top" width="54.09%" headers="mcps1.3.3.2.3.1.2 "><ul id="rds_11_0004__ul240711953619"><li id="rds_11_0004__li16206101633616">2017 SE</li><li id="rds_11_0004__li14440202412367">2019 SE</li><li id="rds_11_0004__li197106112526">2022 SE</li></ul>
|
||||
<td class="cellrowborder" valign="top" width="54.09%" headers="mcps1.3.3.2.3.1.2 "><ul id="rds_11_0004__ul240711953619"><li id="rds_11_0004__li14440202412367">2019 SE</li><li id="rds_11_0004__li197106112526">2022 SE</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="rds_11_0004__row10617102023510"><td class="cellrowborder" valign="top" width="45.910000000000004%" headers="mcps1.3.3.2.3.1.1 "><p id="rds_11_0004__p129228521352">Cluster</p>
|
||||
|
||||
@ -1,15 +1,25 @@
|
||||
<a name="rds_faq_0029"></a><a name="rds_faq_0029"></a>
|
||||
|
||||
<h1 class="topictitle1">How Can I Install the PostgreSQL Client?</h1>
|
||||
<div id="body8662426"><p id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_p2060218352516">PostgreSQL provides <a href="https://www.postgresql.org/download/" target="_blank" rel="noopener noreferrer">client installation methods</a> for different OSs on its official website.</p>
|
||||
<p id="rds_faq_0029__en-us_topic_0000001208048883_p669565917561">The following describes how to install a PostgreSQL 15 client in CentOS.</p>
|
||||
<div class="section" id="rds_faq_0029__section1617516357211"><h4 class="sectiontitle">Procedure</h4><ol id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_ofd5b72660bb7486691e451318712a566"><li id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_l0b58119df95e479e96c8c2e10edf2c4e"><span>Log in to an <span id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_text1538316415553">ECS</span>.</span><p><ol type="a" id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_ol16167145216453"><li id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_li41670526455">When you create an <span id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_text11366744134511">ECS</span>, select an OS like CentOS 7 and bind an <span id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_text113661144174512">EIP</span> to it.</li><li id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_li151674526458">Use a remote connection tool to connect to the <span id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_text193242293592">ECS</span> through the EIP.</li></ol>
|
||||
</p></li><li id="rds_faq_0029__en-us_topic_0000001208048883_li2347105054417"><span>Open the <a href="https://www.postgresql.org/download/linux/redhat/" target="_blank" rel="noopener noreferrer">client installation page</a>.</span></li><li id="rds_faq_0029__en-us_topic_0000001208048883_li28762312460"><span>Select a DB engine version, OS, and OS architecture, and run the following commands on the <span id="rds_faq_0029__en-us_topic_0000001208048883_text1650353110512">ECS</span> to install a PostgreSQL client.</span><p><pre class="screen" id="rds_faq_0029__en-us_topic_0000001208048883_screen29441326175516">sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm</pre>
|
||||
<div class="fignone" id="rds_faq_0029__fig1091031014714"><span class="figcap"><b>Figure 1 </b>Installing a client</span><br><span><img id="rds_faq_0029__image1418619421864" src="en-us_image_0000001961856677.png"></span></div>
|
||||
<ul id="rds_faq_0029__en-us_topic_0000001208048883_ul191572725014"><li id="rds_faq_0029__en-us_topic_0000001208048883_li615027185012">Select a DB engine version that is consistent with that of your RDS for PostgreSQL instance.</li><li id="rds_faq_0029__en-us_topic_0000001208048883_li51512276501">Select an OS that is consistent with that of the <span id="rds_faq_0029__en-us_topic_0000001208048883_text1230765725114">ECS</span>.</li><li id="rds_faq_0029__en-us_topic_0000001208048883_li115192719505">Select an OS architecture that is consistent with that of the <span id="rds_faq_0029__en-us_topic_0000001208048883_text181491510185219">ECS</span>.</li></ul>
|
||||
<div class="fignone" id="rds_faq_0029__en-us_topic_0000001208048883_fig1298114472555"><span class="figcap"><b>Figure 2 </b>Installing the RPM package</span><br><span><img id="rds_faq_0029__en-us_topic_0000001208048883_image133911248195414" src="en-us_image_0000001489216109.png"></span></div>
|
||||
<div class="fignone" id="rds_faq_0029__en-us_topic_0000001208048883_fig10343229185619"><span class="figcap"><b>Figure 3 </b>Client installed</span><br><span><img id="rds_faq_0029__en-us_topic_0000001208048883_image177151823175610" src="en-us_image_0000001439337884.png"></span></div>
|
||||
</p></li><li id="rds_faq_0029__en-us_topic_0000001208048883_li153765581715"><span>Connect to the RDS for PostgreSQL instance.</span><p><div class="fignone" id="rds_faq_0029__en-us_topic_0000001208048883_fig19915185165913"><span class="figcap"><b>Figure 4 </b>Connection successful</span><br><span><img id="rds_faq_0029__en-us_topic_0000001208048883_image109196488591" src="en-us_image_0000001489297261.png"></span></div>
|
||||
<div id="body8662426"><p id="rds_faq_0029__p1587691114456">The PostgreSQL community provides <a href="https://www.postgresql.org/download/linux/" target="_blank" rel="noopener noreferrer">client installation methods</a> for different OSs. You can download and install the client using the installation tool of the OS. This installation method is simple but has requirements on the ECS OS. It can be used only for the OSs supported by the PostgreSQL community.</p>
|
||||
<p id="rds_faq_0029__p17876141164513">The following describes how to install a PostgreSQL 15 client on Ubuntu.</p>
|
||||
<div class="section" id="rds_faq_0029__section13648172818456"><h4 class="sectiontitle">Procedure</h4><ol id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_ofd5b72660bb7486691e451318712a566"><li id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_l0b58119df95e479e96c8c2e10edf2c4e"><span>Log in to the target ECS.</span><p><ol type="a" id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_ol16167145216453"><li id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_li41670526455">When you create an ECS, select an OS, such as Ubuntu, and bind an EIP to it.</li><li id="rds_faq_0029__en-us_topic_0000001208048883_en-us_topic_0000001200592521_li151674526458">Use a remote connection tool to connect to the ECS through the EIP.</li></ol>
|
||||
</p></li><li id="rds_faq_0029__en-us_topic_0000001208048883_li2347105054417"><span>Open the <a href="https://www.postgresql.org/download/linux/ubuntu/" target="_blank" rel="noopener noreferrer">client installation</a> page.</span></li><li id="rds_faq_0029__en-us_topic_0000001208048883_li28762312460"><span>Run the following commands on the ECS to install a PostgreSQL client. If the version included in the Ubuntu version is not the one you want, you can use the PostgreSQL Apt repository.</span><p><pre class="screen" id="rds_faq_0029__en-us_topic_0000001208048883_screen29441326175516"># Import the repository signing key:
|
||||
sudo apt install curl ca-certificates
|
||||
sudo install -d /usr/share/postgresql-common/pgdg
|
||||
sudo curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
|
||||
|
||||
# Create the repository configuration file:
|
||||
sudo sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||
|
||||
# Update the package lists:
|
||||
sudo apt update
|
||||
|
||||
# Install the latest version of PostgreSQL:
|
||||
# If you want a specific version, use 'postgresql-15' or similar instead of 'postgresql'
|
||||
sudo apt -y install postgresql-15</pre>
|
||||
</p></li><li id="rds_faq_0029__en-us_topic_0000001208048883_li153765581715"><span>Run the following command to check whether the client is successfully installed. If the installation is successful, the following information is displayed:</span><p><pre class="screen" id="rds_faq_0029__screen1940522844113">psql -V</pre>
|
||||
<p id="rds_faq_0029__p124971651141016"><span><img id="rds_faq_0029__image17603442134310" src="en-us_image_0000002218505054.png"></span></p>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<h1 class="topictitle1">What Storage Engines Does the RDS for MySQL Support?</h1>
|
||||
<div id="body8662426"><p id="rds_faq_0041__p132871859102819">The database storage engine is a core service for <strong id="rds_faq_0041__b1218611018294">storing, processing, and protecting data</strong>. It can be used to control access permissions and rapidly process transactions to meet enterprise requirements.</p>
|
||||
<p id="rds_faq_0041__p113231353131616">For MySQL databases, only InnoDB supports backup and restoration functions and is therefore recommended.</p>
|
||||
<p id="rds_faq_0041__p1850610483291">For versions later than MySQL 5.6.40 and 5.7.22, some storage engines are no longer supported.</p>
|
||||
<p id="rds_faq_0041__p1850610483291">For versions later than MySQL 5.7.22, some storage engines are no longer supported.</p>
|
||||
<p id="rds_faq_0041__p517234102220"><strong id="rds_faq_0041__b1697865145616">RDS for MySQL does not currently support MyISAM</strong> because:</p>
|
||||
<ul id="rds_faq_0041__ul27581444181719"><li id="rds_faq_0041__li075810442175">MyISAM engine tables do not support transactions and support only table-level locks. As a result, read and write operations conflict with each other.</li><li id="rds_faq_0041__li7758344131711">MyISAM has a defect in protecting data integrity, which may cause database data damage or even data loss.</li><li id="rds_faq_0041__li37581449178">If data is damaged, MyISAM does not support data restoration provided by RDS for MySQL and requires manual restoration.</li><li id="rds_faq_0041__li17581844131713">Data can be transparently migrated from MyISAM to InnoDB, which does not require code modification for tables.</li></ul>
|
||||
<p id="rds_faq_0041__p4344152023110"><strong id="rds_faq_0041__b136051221195918">RDS for MySQL does not currently support FEDERATED</strong>, because:</p>
|
||||
|
||||
@ -22,8 +22,6 @@
|
||||
<p id="rds_migration_mysql__en-us_topic_0171122585_a1f271d93ae7f437e94d4733c90c289fc">Example:</p>
|
||||
<p id="rds_migration_mysql__en-us_topic_0171122585_a0bce502e26d94dcda286fa81223fe7a9"><strong id="rds_migration_mysql__en-us_topic_0171122585_a93c667b453e74d4f83d2959cefbbf58a">mysqldump --databases rdsdb --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="rds_migration_mysql__en-us_topic_0171122585_aae5d80e7dddc4c9a84e67a5f44def979"><strong id="rds_migration_mysql__en-us_topic_0171122585_ad8e63887da524df3933c6b37df7efe52">Enter password:</strong></p>
|
||||
<div class="note" id="rds_migration_mysql__en-us_topic_0171122585_nbed2af7dc666459abca81d229e1b3feb"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="rds_migration_mysql__en-us_topic_0171122585_a8a6212c9f41b43f6a157c3734c506157">If you use mysqldump with a version earlier than 5.6, remove <strong id="rds_migration_mysql__a11c69fb37b8f44e0907c10bf5bf3453f">--set-gtid-purged=OFF</strong> before running this command.</p>
|
||||
</div></div>
|
||||
<p id="rds_migration_mysql__en-us_topic_0171122585_aa977313388774bdf8942be66965764f4">After this command is executed, a <strong id="rds_migration_mysql__adcaafa4a1955493bb4ddbdfebef0186f">dump-defs.sql</strong> file will be generated as follows:</p>
|
||||
<pre class="screen" id="rds_migration_mysql__en-us_topic_0171122585_sa7a255cf104346ba83253e7ae22b6be5">[rds@localhost ~]$ ll dump-defs.sql
|
||||
-rw-r-----. 1 rds rds 2714 Sep 21 08:23 dump-defs.sql</pre>
|
||||
@ -34,8 +32,6 @@
|
||||
<p id="rds_migration_mysql__en-us_topic_0171122585_a5220a0c335aa4905a751b960032cfd55">Enter the database password when prompted.</p>
|
||||
<p id="rds_migration_mysql__en-us_topic_0171122585_a0ed339d9c740476082be1d62ccfb9171">Example:</p>
|
||||
<p id="rds_migration_mysql__en-us_topic_0171122585_af11253eefc3d461393216b59f22f5b40"><strong id="rds_migration_mysql__en-us_topic_0171122585_a2a5292086fa84033afb6f8d2e45142a0">mysqldump --databases rdsdb --single-transaction --hex-blob --set-gtid-purged=OFF --no-create-info --skip-triggers -u root -p -h 192.168.151.18 -P <strong id="rds_migration_mysql__en-us_topic_0171122585_a666dfb267bcf46f7ae4fb7671666d86e">8635</strong> -r dump-data.sql</strong></p>
|
||||
<div class="note" id="rds_migration_mysql__en-us_topic_0171122585_n3341bbbb3aa240d29d1e259b3298d0be"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="rds_migration_mysql__en-us_topic_0171122585_ad363fad3da9d4574be3ddb5c2a04572a">If you use mysqldump with a version earlier than 5.6, remove <strong id="rds_migration_mysql__b184795113819">--set-gtid-purged=OFF</strong> before running this command.</p>
|
||||
</div></div>
|
||||
<p id="rds_migration_mysql__en-us_topic_0171122585_a5eb9eef196f54421bd4c4e0a71613843">After this command is executed, a <strong id="rds_migration_mysql__b698854683">dump-data.sql</strong> file will be generated as follows:</p>
|
||||
<pre class="screen" id="rds_migration_mysql__en-us_topic_0171122585_s1aea20a030b649d6a6277b59d0b1ed73">[rds@localhost ~]$ ll dump-data.sql
|
||||
-rw-r-----. 1 rds rds 2714 Sep 21 08:23 dump-data.sql</pre>
|
||||
|
||||
@ -8,14 +8,14 @@
|
||||
</div>
|
||||
<div class="section" id="rds_reset_password__section59807924105129"><h4 class="sectiontitle">Method 1</h4><ol id="rds_reset_password__ol12603704105129"><li id="rds_reset_password__li17616348171"><span>Log in to the management console.</span></li><li id="rds_reset_password__li146168481712"><span>Click <span><img id="rds_reset_password__rds_modify_instance_name_en-us_topic_0192953815_image192529212293" src="en-us_image_0000001191211679.png"></span> in the upper left corner and select a region and a project.</span></li><li id="rds_reset_password__li96167481711"><span>Click <strong id="rds_reset_password__rds_modify_instance_name_b171171523153019">Service List</strong>. Under <strong id="rds_reset_password__rds_modify_instance_name_b111722319302">Database</strong>, click <strong id="rds_reset_password__rds_modify_instance_name_b15118152363010">Relational Database Service</strong>. The RDS console is displayed.</span></li><li id="rds_reset_password__li46324476105129"><span>On the <span class="parmname" id="rds_reset_password__parmname7696479058465"><b>Instances</b></span> page, locate the target DB instance and choose <span class="menucascade" id="rds_reset_password__menucascade42374616584621"><b><span class="uicontrol" id="rds_reset_password__uicontrol44568043584621">More</span></b> > <b><span class="uicontrol" id="rds_reset_password__uicontrol40620853084621">Reset Password</span></b></span> in the <strong id="rds_reset_password__b8423527069439">Operation</strong> column.</span></li><li id="rds_reset_password__li14267104105129"><span>Enter and confirm a new password.</span><p><div class="notice" id="rds_reset_password__note529322592414"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="rds_reset_password__p72930251247">Keep this password secure. The system cannot retrieve it.</p>
|
||||
</div></div>
|
||||
<p id="rds_reset_password__p148651202055">The new password must consist of 8 to 32 characters and contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters (~!@#$%^*-_=+?,()&). Enter a strong password and periodically change it for security reasons.</p>
|
||||
<p id="rds_reset_password__p148651202055">The new password must consist of 8 to 32 characters and contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters (~!@#$%^*-_=+?,()&.|). Enter a strong password and periodically change it for security reasons.</p>
|
||||
<div class="p" id="rds_reset_password__p772762414170">If provided password will be considered by system as weak, you will receive an error and you should provide stronger password.<ul id="rds_reset_password__ul564019271245"><li id="rds_reset_password__li4640192716419">To submit the new password, click <strong id="rds_reset_password__b84235270695330_3">OK</strong>.</li><li id="rds_reset_password__li196401127643">To cancel the reset operation, click <strong id="rds_reset_password__b84235270620484_1">Cancel</strong>.</li></ul>
|
||||
</div>
|
||||
</p></li></ol>
|
||||
</div>
|
||||
<div class="section" id="rds_reset_password__section4206283114638"><h4 class="sectiontitle">Method 2</h4><ol id="rds_reset_password__ol796760111472"><li id="rds_reset_password__li5634151184018"><span>Log in to the management console.</span></li><li id="rds_reset_password__li1863418114409"><span>Click <span><img id="rds_reset_password__rds_modify_instance_name_en-us_topic_0192953815_image192529212293_1" src="en-us_image_0000001191211679.png"></span> in the upper left corner and select a region and a project.</span></li><li id="rds_reset_password__li156356113404"><span>Click <strong id="rds_reset_password__rds_modify_instance_name_b171171523153019_1">Service List</strong>. Under <strong id="rds_reset_password__rds_modify_instance_name_b111722319302_1">Database</strong>, click <strong id="rds_reset_password__rds_modify_instance_name_b15118152363010_1">Relational Database Service</strong>. The RDS console is displayed.</span></li><li id="rds_reset_password__li61161897172844"><span>On the <strong id="rds_reset_password__b84235270615219">Instances</strong> page, click the target DB instance.</span></li><li id="rds_reset_password__li152771616238"><span>In the <span class="uicontrol" id="rds_reset_password__uicontrol171114375230"><b>DB Information</b></span> area on the <span class="uicontrol" id="rds_reset_password__uicontrol8561174113234"><b>Basic Information</b></span> page, click <span class="uicontrol" id="rds_reset_password__uicontrol31331755122316"><b>Reset Password</b></span> in the <span class="uicontrol" id="rds_reset_password__uicontrol15032179246"><b>Administrator</b></span> field.</span></li><li id="rds_reset_password__li36398892172958"><span>Enter and confirm a new password.</span><p><div class="notice" id="rds_reset_password__note5427133210139"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="rds_reset_password__en-us_topic_0086556964_p72930251247">Keep this password secure. The system cannot retrieve it.</p>
|
||||
</div></div>
|
||||
<p id="rds_reset_password__p1548436881">The new password must consist of 8 to 32 characters and contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters (~!@#$%^*-_=+?,()&). Enter a strong password and periodically change it for security reasons.</p>
|
||||
<p id="rds_reset_password__p1548436881">The new password must consist of 8 to 32 characters and contain at least three types of the following characters: uppercase letters, lowercase letters, digits, and special characters (~!@#$%^*-_=+?,()&.|). Enter a strong password and periodically change it for security reasons.</p>
|
||||
<div class="p" id="rds_reset_password__p1134534912219">If provided password will be considered by system as weak, you will receive an error and you should provide stronger password.<ul id="rds_reset_password__udeca270c0f4c49a991fae926b1a90eb0"><li id="rds_reset_password__l47afef1c78ec44c4b6feab9ec6c68324">To submit the new password, click <strong id="rds_reset_password__b117943189">OK</strong>.</li><li id="rds_reset_password__l830e34f1e56244b899449f020bd1c5cf">To cancel the reset operation, click <strong id="rds_reset_password__b1817885263">Cancel</strong>.</li></ul>
|
||||
</div>
|
||||
</p></li></ol>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<p id="rds_sql_auditing_log__p15973915497">By default, SQL audit is disabled because enabling this function may affect database performance. This section describes how to enable, modify, or disable SQL audit.</p>
|
||||
<div class="note" id="rds_sql_auditing_log__note179644333573"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="rds_sql_auditing_log__ul1855831193115"><li id="rds_sql_auditing_log__li1971583715151">After you enable the SQL audit function, the system records all SQL operations and uploads logs every half an hour or when the size is accumulated to 100 MB.</li><li id="rds_sql_auditing_log__li5890165831513">After SQL audit is enabled, log files will occupy your backup space.</li></ul>
|
||||
</div></div>
|
||||
<div class="section" id="rds_sql_auditing_log__section278632010277"><h4 class="sectiontitle">Constraints</h4><div class="p" id="rds_sql_auditing_log__p8551437132718">Only the versions listed below support SQL audit. .<ul id="rds_sql_auditing_log__ul19479193392713"><li id="rds_sql_auditing_log__li64791133152716">MySQL 5.6.43 and later versions for DB instances using cloud disks, MySQL 5.6.47.3 and later versions for DB instances using local disks</li><li id="rds_sql_auditing_log__li5479833152717">MySQL 5.7.23 and later versions for DB instances using cloud disks, MySQL 5.7.29.3 and later versions for DB instances using local disks</li><li id="rds_sql_auditing_log__li19479193318275">MySQL 8.0</li></ul>
|
||||
<div class="section" id="rds_sql_auditing_log__section278632010277"><h4 class="sectiontitle">Constraints</h4><div class="p" id="rds_sql_auditing_log__p8551437132718">Only the versions listed below support SQL audit. .<ul id="rds_sql_auditing_log__ul19479193392713"><li id="rds_sql_auditing_log__li5479833152717">MySQL 5.7.23 and later versions for DB instances using cloud disks, MySQL 5.7.29.3 and later versions for DB instances using local disks</li><li id="rds_sql_auditing_log__li19479193318275">MySQL 8.0</li></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="rds_sql_auditing_log__section981825064617"><h4 class="sectiontitle">Procedure</h4><ol id="rds_sql_auditing_log__ol111420545476"><li id="rds_sql_auditing_log__li17616348171"><span>Log in to the management console.</span></li><li id="rds_sql_auditing_log__li146168481712"><span>Click <span><img id="rds_sql_auditing_log__rds_modify_instance_name_en-us_topic_0192953815_image192529212293" src="en-us_image_0000001191211679.png"></span> in the upper left corner and select a region and a project.</span></li><li id="rds_sql_auditing_log__li96167481711"><span>Click <strong id="rds_sql_auditing_log__rds_modify_instance_name_b171171523153019">Service List</strong>. Under <strong id="rds_sql_auditing_log__rds_modify_instance_name_b111722319302">Database</strong>, click <strong id="rds_sql_auditing_log__rds_modify_instance_name_b15118152363010">Relational Database Service</strong>. The RDS console is displayed.</span></li><li id="rds_sql_auditing_log__li31156544472"><span>On the <strong id="rds_sql_auditing_log__b1733914193610">Instances</strong> page, click the target DB instance.</span></li><li id="rds_sql_auditing_log__li07214302817"><span>In the navigation pane on the left, choose <strong id="rds_sql_auditing_log__b45621441264">SQL Audits</strong>. On the displayed page, click <strong id="rds_sql_auditing_log__b1656319446610">Set SQL Audit</strong> above the list. In the displayed dialog box, configure information as required and click <strong id="rds_sql_auditing_log__b9701258377">OK</strong>.</span><p><div class="p" id="rds_sql_auditing_log__p61971855218"><strong id="rds_sql_auditing_log__b57268181186">Enabling or setting SQL audit</strong><ul id="rds_sql_auditing_log__ul198300391119"><li id="rds_sql_auditing_log__li14830103914113">To retain SQL audit logs, set <span><img id="rds_sql_auditing_log__image1068217323429" src="en-us_image_0000001191131431.png"></span> (disabled) to <span><img id="rds_sql_auditing_log__image9315238114310" src="en-us_image_0000001191211583.png"></span> (enabled).</li><li id="rds_sql_auditing_log__li183018391511">Audit logs are retained for 7 days by default but can be retained from anywhere from 1 to 732 days if needed.</li></ul>
|
||||
|
||||
Reference in New Issue
Block a user