drs umn 20230210 version

Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
This commit is contained in:
Wang , Deng Ke 2024-01-11 07:40:50 +00:00 committed by zuul
parent 050b395397
commit b937f7e416
142 changed files with 6694 additions and 1020 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -13,8 +13,8 @@
<p id="drs_01_0004__en-us_topic_0000001160467742_p1473765385220">Supported network types during migration to GaussDB(for MySQL) on the current cloud:</p>
<ul id="drs_01_0004__en-us_topic_0000001160467742_ul15737053205212"><li id="drs_01_0004__en-us_topic_0000001160467742_li1173745345217">VPC</li><li id="drs_01_0004__en-us_topic_0000001160467742_li773755311525">VPN</li><li id="drs_01_0004__en-us_topic_0000001160467742_li13737195318522">Direct Connect</li><li id="drs_01_0004__en-us_topic_0000001160467742_li77381253165210">Public network</li></ul>
</div>
<div class="section" id="drs_01_0004__en-us_topic_0000001160467742_section19001457124318"><h4 class="sectiontitle">GaussDB(for openGauss)</h4><p id="drs_01_0004__en-us_topic_0000001160467742_p234415913458">DRS can migrate data from your databases to GaussDB(for openGauss) on the current cloud. For more information about GaussDB(for openGauss), see GaussDB(for openGauss) User Guide.</p>
<p id="drs_01_0004__en-us_topic_0000001160467742_p05203221464">Supported network types during migration to GaussDB(for openGauss) on the current cloud:</p>
<div class="section" id="drs_01_0004__en-us_topic_0000001160467742_section19001457124318"><h4 class="sectiontitle">GaussDB</h4><p id="drs_01_0004__en-us_topic_0000001160467742_p234415913458">DRS can migrate data from your databases to GaussDB on the current cloud. For more information about GaussDB, see GaussDB User Guide.</p>
<p id="drs_01_0004__en-us_topic_0000001160467742_p05203221464">Supported network types during migration to GaussDB on the current cloud:</p>
<ul id="drs_01_0004__en-us_topic_0000001160467742_ul105216223465"><li id="drs_01_0004__en-us_topic_0000001160467742_li852162212469">VPC</li><li id="drs_01_0004__en-us_topic_0000001160467742_li652162204612">VPN</li><li id="drs_01_0004__en-us_topic_0000001160467742_li10521162216461">Direct Connect</li><li id="drs_01_0004__en-us_topic_0000001160467742_li1352152274611">Public network</li></ul>
</div>
</div>

View File

@ -24,10 +24,10 @@
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section19219175720532"><h4 class="sectiontitle">Region and AZ</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p947413593532">A region and availability zone (AZ) identify the location of a data center. You can create resources in a specific region and AZ.</p>
<ul id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_ul15009154544"><li id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_li15001615175410">A region is a physical data center. Each region is completely independent, improving fault tolerance and stability. After a resource is created, its region cannot be changed.</li><li id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_li1850014152541">An AZ is a physical location using independent power supplies and networks. Faults in an AZ do not affect other AZs. A region can contain multiple AZs, which are physically isolated but interconnected through internal networks. This ensures the independence of AZs and provides low-cost and low-latency network connections.</li></ul>
<p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p358635610541"><a href="#drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716">Figure 1</a> shows the relationship between regions and AZs.</p>
<div class="fignone" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716"><a name="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716"></a><a name="en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716"></a><span class="figcap"><b>Figure 1 </b>Region and AZ</span><br><span><img id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_image221039023" src="en-us_image_0000001341254148.png"></span></div>
<div class="fignone" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716"><a name="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716"></a><a name="en-us_topic_0000001205747781_en-us_topic_0000001102434640_en-us_topic_0171122769_fig2922183194716"></a><span class="figcap"><b>Figure 1 </b>Region and AZ</span><br><span><img id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_image221039023" src="en-us_image_0000001710470628.png"></span></div>
</div>
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0172714178_section415012145264"><h4 class="sectiontitle">Project</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0172714178_p1289616261242">A project corresponds to a region. Projects group and isolate resources (including compute, storage, and network resources) across physical regions. Users can be granted permissions in a default project to access all resources in the region associated with the project. If you need more refined access control, create subprojects under a default project and create resources in subprojects. Then you can assign users the permissions required to access only the resources in the specific subprojects.</p>
<div class="fignone" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0172714178_fig1032520265332"><span class="figcap"><b>Figure 2 </b>Project isolating model</span><br><span><img id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0172714178_image1732632614336" src="en-us_image_0000001341094488.gif"></span></div>
<div class="fignone" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0172714178_fig1032520265332"><span class="figcap"><b>Figure 2 </b>Project isolating model</span><br><span><img id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0172714178_image1732632614336" src="en-us_image_0000001710470624.gif"></span></div>
</div>
<div class="section" id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_section13642481187"><h4 class="sectiontitle">Account Entrustment</h4><p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p4627484188">DRS will <span class="keyword" id="drs_01_0005__en-us_topic_0000001205747781_keyword1989095518195">entrust your account to the administrator</span> to implement some functions. For example, if you enable scheduled startup tasks, DRS will automatically entrust your account to DRS administrator <strong id="drs_01_0005__en-us_topic_0000001205747781_b1817811158142">op_svc_rds</strong> during the task creation to implement automated management on the scheduled tasks.</p>
<p id="drs_01_0005__en-us_topic_0000001205747781_en-us_topic_0000001102434640_p106272814181">Account entrustment can be implemented in the same region only.</p>

View File

@ -4,7 +4,7 @@
<div id="body8662426"><div class="section" id="drs_01_0021__en-us_topic_0000001160307832_section991392816495"><h4 class="sectiontitle">Prerequisites</h4><p id="drs_01_0021__en-us_topic_0000001160307832_p95172014204914">To begin using DRS, register an account on the official website. When the registration is successful, you can access all cloud services, including DRS and RDS.</p>
<p id="drs_01_0021__en-us_topic_0000001160307832_p368064294915">If you have registered an account, you can log in to the management console and access your DRS.</p>
</div>
<div class="section" id="drs_01_0021__en-us_topic_0000001160307832_section13232289420"><h4 class="sectiontitle">Procedure</h4><ol id="drs_01_0021__en-us_topic_0000001160307832_ol111216151427"><li id="drs_01_0021__en-us_topic_0000001160307832_li5121159427"><span>Log in to the management console.</span></li><li id="drs_01_0021__en-us_topic_0000001160307832_li20121815154219"><span>Click <span><img id="drs_01_0021__en-us_topic_0000001160307832_image71281517423" src="en-us_image_0000001391854173.png"></span> in the upper left corner and select a region and project.</span></li><li id="drs_01_0021__en-us_topic_0000001160307832_l3212c99a6cc54bf48a88fc4e81c201d2"><span>Log in to the management console, click <strong id="drs_01_0021__en-us_topic_0000001160307832_b24791519203714">Data Replication Service</strong> under <strong id="drs_01_0021__en-us_topic_0000001160307832_b5223163216378">Databases</strong> to go to the DRS console.</span></li></ol>
<div class="section" id="drs_01_0021__en-us_topic_0000001160307832_section13232289420"><h4 class="sectiontitle">Procedure</h4><ol id="drs_01_0021__en-us_topic_0000001160307832_ol111216151427"><li id="drs_01_0021__en-us_topic_0000001160307832_li5121159427"><span>Log in to the management console.</span></li><li id="drs_01_0021__en-us_topic_0000001160307832_li20121815154219"><span>Click <span><img id="drs_01_0021__en-us_topic_0000001160307832_image71281517423" src="en-us_image_0000001710630116.png"></span> in the upper left corner and select a region and project.</span></li><li id="drs_01_0021__en-us_topic_0000001160307832_l3212c99a6cc54bf48a88fc4e81c201d2"><span>Log in to the management console, click <strong id="drs_01_0021__en-us_topic_0000001160307832_b24791519203714">Data Replication Service</strong> under <strong id="drs_01_0021__en-us_topic_0000001160307832_b5223163216378">Databases</strong> to go to the DRS console.</span></li></ol>
</div>
</div>
<div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,10 @@
<a name="drs_01_0326"></a><a name="drs_01_0326"></a>
<h1 class="topictitle1">MySQL-&gt;GaussDB(for openGauss)</h1>
<h1 class="topictitle1">MySQL-&gt;GaussDB</h1>
<div id="body0000001283665433">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_01_0326__en-us_topic_0000001160467804_en-us_topic_0000001193299815_en-us_topic_0000001149034423_table13512737132917" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Data type mapping</caption><thead align="left"><tr id="drs_01_0326__en-us_topic_0000001160467804_en-us_topic_0000001193299815_en-us_topic_0000001149034423_row751263713296"><th align="left" class="cellrowborder" valign="top" width="32.56325632563256%" id="mcps1.3.1.2.4.1.1"><p id="drs_01_0326__en-us_topic_0000001160467804_en-us_topic_0000001193299815_en-us_topic_0000001149034423_p351253717295">Data Type (MySQL)</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35.03350335033503%" id="mcps1.3.1.2.4.1.2"><p id="drs_01_0326__en-us_topic_0000001160467804_en-us_topic_0000001193299815_en-us_topic_0000001149034423_p10512143792915">Data Type (GaussDB(for openGauss))</p>
<th align="left" class="cellrowborder" valign="top" width="35.03350335033503%" id="mcps1.3.1.2.4.1.2"><p id="drs_01_0326__en-us_topic_0000001160467804_en-us_topic_0000001193299815_en-us_topic_0000001149034423_p10512143792915">Data Type (GaussDB)</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="32.4032403240324%" id="mcps1.3.1.2.4.1.3"><p id="drs_01_0326__en-us_topic_0000001160467804_en-us_topic_0000001193299815_en-us_topic_0000001149034423_p4512103713297">Whether to Support Mapping</p>
</th>
@ -198,8 +198,8 @@
<div class="note" id="drs_01_0326__note162691845124617"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="drs_01_0326__ul113181914165"><li id="drs_01_0326__li923921217164">DATE values supported by MySQL range from '1000-01-01' to '9999-12-31'.<p id="drs_01_0326__p1997014166166"><a name="drs_01_0326__li923921217164"></a><a name="li923921217164"></a>DATETIME values supported by MySQL range from '1000-01-01 00:00:00' to '9999-12-31 23:59:59'.</p>
<p id="drs_01_0326__p669714193163">TIMESTAMP values supported by MySQL range from '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07' UTC.</p>
<p id="drs_01_0326__p152111427201620">For details, see <a href="https://dev.mysql.com/doc/refman/5.7/en/datetime.html" target="_blank" rel="noopener noreferrer">official MySQL documentation</a>.</p>
<p id="drs_01_0326__p5220735101611">For GaussDB(or openGauss), 0000-00-00 is an invalid date and will be converted to 1970-01-01 by DRS. For example, '0000-00-00' of the DATE type in MySQL is converted to '1970-01-01' by DRS, and '1000-00-31 23:59:59' of the DATETIME or TIMESTAMP type in MySQL is converted to '1970-01-01 00:00:00' by DRS.</p>
</li><li id="drs_01_0326__li13961843111619">TIME values supported by MySQL range from '-838:59:59' to '838:59:59'. For details, see the <a href="https://dev.mysql.com/doc/refman/5.7/en/time.html" target="_blank" rel="noopener noreferrer">official MySQL documentation</a>. For GaussDB(for openGauss), the minimum value of the TIME type is 00:00:00 and the maximum value is 24:00:00. In MySQL, if a value of the TIME type is less than 00:00:00 or greater than 24:00:00, DRS will convert it to 00:00:00.</li><li id="drs_01_0326__li91661551713">YEAR value ranges supported by MySQL are 1901 to 2155 and 0000. For details, see <a href="https://dev.mysql.com/doc/refman/5.7/en/year.html" target="_blank" rel="noopener noreferrer">official MySQL documentation</a>. GaussDB(for openGauss) does not have the YEAR type, so DRS will convert the YEAR type of MySQL to the SMALLINT type.</li><li id="drs_01_0326__li17807365162">For MySQL databases, '0000' of the DATE type will be converted to 0 by DRS.</li></ul>
<p id="drs_01_0326__p5220735101611">For GaussDB, 0000-00-00 is an invalid date and will be converted to 1970-01-01 by DRS. For example, '0000-00-00' of the DATE type in MySQL is converted to '1970-01-01' by DRS, and '1000-00-31 23:59:59' of the DATETIME or TIMESTAMP type in MySQL is converted to '1970-01-01 00:00:00' by DRS.</p>
</li><li id="drs_01_0326__li13961843111619">TIME values supported by MySQL range from '-838:59:59' to '838:59:59'. For details, see the <a href="https://dev.mysql.com/doc/refman/5.7/en/time.html" target="_blank" rel="noopener noreferrer">official MySQL documentation</a>. For GaussDB, the minimum value of the TIME type is 00:00:00 and the maximum value is 24:00:00. In MySQL, if a value of the TIME type is less than 00:00:00 or greater than 24:00:00, DRS will convert it to 00:00:00.</li><li id="drs_01_0326__li91661551713">YEAR value ranges supported by MySQL are 1901 to 2155 and 0000. For details, see <a href="https://dev.mysql.com/doc/refman/5.7/en/year.html" target="_blank" rel="noopener noreferrer">official MySQL documentation</a>. GaussDB does not have the YEAR type, so DRS will convert the YEAR type of MySQL to the SMALLINT type.</li><li id="drs_01_0326__li17807365162">For MySQL databases, '0000' of the DATE type will be converted to 0 by DRS.</li></ul>
</div></div>
</div>
<div>

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,8 @@
<a name="drs_01_0337"></a><a name="drs_01_0337"></a>
<h1 class="topictitle1">GaussDB(for openGauss)-&gt;MySQL</h1>
<h1 class="topictitle1">GaussDB-&gt;MySQL</h1>
<div id="body0000001283553489">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_01_0337__table952062182217" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Data type mapping</caption><thead align="left"><tr id="drs_01_0337__row195213202218"><th align="left" class="cellrowborder" valign="top" width="33%" id="mcps1.3.1.2.4.1.1"><p id="drs_01_0337__p2521824221">Data Type (GaussDB(for openGauss))</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_01_0337__table952062182217" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Data type mapping</caption><thead align="left"><tr id="drs_01_0337__row195213202218"><th align="left" class="cellrowborder" valign="top" width="33%" id="mcps1.3.1.2.4.1.1"><p id="drs_01_0337__p2521824221">Data Type (GaussDB)</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33%" id="mcps1.3.1.2.4.1.2"><p id="drs_01_0337__p145220215229">Data Type (MySQL)</p>
</th>

View File

@ -3,7 +3,7 @@
<h1 class="topictitle1">Step 1: Create a Migration Task</h1>
<div id="body0000001206795698"><div class="section" id="drs_02_0002__section41121470161527"><h4 class="sectiontitle">Process</h4><p id="drs_02_0002__p13816125811427">A complete real-time migration consists of creating a migration task, tracking task progress, analyzing migration logs, and comparing data consistency. By comparing multiple items and data, you can determine the proper time for service migration to minimize the service downtime.</p>
<p id="drs_02_0002__p912511081818">A complete migration involves the following procedures.</p>
<div class="fignone" id="drs_02_0002__fig5324659154"><span class="figcap"><b>Figure 1 </b>Migration process</span><br><span><img id="drs_02_0002__image19325759156" src="en-us_image_0000001341574036.png"></span></div>
<div class="fignone" id="drs_02_0002__fig5324659154"><span class="figcap"><b>Figure 1 </b>Migration process</span><br><span><img id="drs_02_0002__image19325759156" src="en-us_image_0000001710470900.png"></span></div>
<ul id="drs_02_0002__ul16328143214159"><li id="drs_02_0002__li10997194194213"><a href="#drs_02_0002__section3535102285710">Step 1: Create a migration task.</a> Select the source and destination databases as required and create a migration task.</li><li id="drs_02_0002__li49975414427"><a href="drs_02_0006.html">Step 2: Check the migration progress.</a> During migration, you can view the migration progress.</li><li id="drs_02_0002__li179977415420"><a href="drs_02_0005.html">Step 3: View migration logs.</a> Migration logs contain alarms, errors, and prompt information. You can analyze system problems based on such information.</li><li id="drs_02_0002__li999794104213"><a href="drs_02_0007.html">Step 4: Compare migration items.</a> You can compare objects and data to be migrated to ensure data consistency.</li></ul>
<p id="drs_02_0002__p53065685419">This section uses the migration from MySQL to RDS MySQL as an example to describe how to configure a migration task over a VPC network on the DRS console.</p>
<p id="drs_02_0002__p13301956105413">VPC is suitable for migrations of cloud databases in the same region.</p>
@ -168,7 +168,7 @@
<tr id="drs_02_0002__drs_04_0088_row19827128212"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.3.2.3.2.2.1.1.2.3.1.1 "><p id="drs_02_0002__drs_04_0088_p1882715215211">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.3.2.3.2.2.1.1.2.3.1.2 "><p id="drs_02_0002__drs_04_0088_p68272021522">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_02_0002__drs_04_0088_note118041213163"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_02_0002__drs_04_0088_ul266710518121"><li id="drs_02_0002__drs_04_0088_li36671451181216">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_02_0002__drs_04_0088_li1657285318124">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_02_0002__drs_04_0088_note118041213163"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_02_0002__drs_04_0088_ul266710518121"><li id="drs_02_0002__drs_04_0088_li36671451181216">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_02_0002__drs_04_0088_li1657285318124">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -265,10 +265,10 @@
<tr id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_row2592193212194"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.4.2.1.2.3.1.1 "><p id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p7592232201911">Migrate Account</p>
</td>
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.3.2.4.2.1.2.3.1.2 "><p id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p11670239171013">During a database migration, accounts need to be migrated separately.</p>
<div class="p" id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p106411111205412">There are accounts that can be migrated completely, accounts whose permissions need to be reduced, and accounts that cannot be migrated. You can choose whether to migrate the accounts based on service requirements. If you select <span class="uicontrol" id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_uicontrol1845534122119"><b>Yes</b></span>, you can select the accounts to be migrated as required.<ul id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul52489455107"><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li52487450107"><strong id="drs_02_0002__drs_04_0088_b816160519">Yes</strong><p id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_p10236114416406">If you need to migrate accounts, see <a href="drs_09_0017.html">Migrating Accounts</a>.</p>
<div class="p" id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p106411111205412">There are accounts that can be migrated completely, accounts whose permissions need to be reduced, and accounts that cannot be migrated. You can choose whether to migrate the accounts based on service requirements. If you select <span class="uicontrol" id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_uicontrol1845534122119"><b>Yes</b></span>, you can select the accounts to be migrated as required.<ul id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul52489455107"><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li52487450107"><strong id="drs_02_0002__drs_04_0088_b1182679">Yes</strong><p id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_p10236114416406">If you need to migrate accounts, see <a href="drs_09_0017.html">Migrating Accounts</a>.</p>
</li></ul>
</div>
<ul id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul17378301111"><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li07371535115"><strong id="drs_02_0002__drs_04_0088_b310462314">No</strong><p id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p794655681211">During migration, accounts, permissions, and passwords are not migrated.</p>
<ul id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul17378301111"><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li07371535115"><strong id="drs_02_0002__drs_04_0088_b532696104">No</strong><p id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p794655681211">During migration, accounts, permissions, and passwords are not migrated.</p>
</li></ul>
</td>
</tr>
@ -283,7 +283,7 @@
</td>
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.3.2.4.2.1.2.3.1.2 "><p id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p1384592151414">You can choose to migrate all objects, tables, or databases based on your service requirements.</p>
<ul id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul78601316141810"><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li1486001601818"><strong id="drs_02_0002__drs_04_0088_b1437618103812">All</strong>: All objects in the source database are migrated to the destination database. After the migration, the object names will remain the same as those in the source database and cannot be modified.</li><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_li156818580599"><strong id="drs_02_0002__drs_04_0088_b14439158381">Tables</strong>: The selected table-level objects will be migrated.</li><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_li165086239593"><strong id="drs_02_0002__drs_04_0088_b21461518123810">Databases</strong>: The selected database-level objects will be migrated.</li></ul>
<p id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_image959917843110" src="en-us_image_0000001341254308.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<p id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_image959917843110" src="en-us_image_0000001710470728.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<div class="note" id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_note6192135932115"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_ul19601624657"><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_li1960112416510">If you choose not to migrate all of the databases, the migration may fail because the objects, such as stored procedures and views, in the databases to be migrated may have dependencies on other objects that are not migrated. To prevent migration failure, migrate all of the databases.</li><li id="drs_02_0002__drs_04_0088_li1650961216398">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_02_0002__drs_04_0088_li95123124391">The name of the selected migration object cannot contain spaces.</li><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_li01376524218">To quickly select the desired database objects, you can use the search function.</li></ul>
</div></div>
</td>
@ -325,7 +325,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_02_0002__drs_04_0088_li10985938122918"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_02_0002__drs_04_0088_li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_02_0002__drs_04_0088_image9514202614340" src="en-us_image_0000001391694113.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li><li id="drs_02_0002__drs_04_0088_li10985938122918"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_02_0002__drs_04_0088_li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_02_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_02_0002__drs_04_0088_image9514202614340" src="en-us_image_0000001758429809.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -2,10 +2,10 @@
<h1 class="topictitle1">Step 4: Compare Migration Items</h1>
<div id="body0000001174487492"><p id="drs_02_0007__p11333715573">This section describes how to <span class="keyword" id="drs_02_0007__keyword114964153510">compare migration items</span> to check if there are any differences between source and destination databases. By comparing migration objects, you can determine the proper time for service migration to minimize the service downtime.</p>
<div class="fignone" id="drs_02_0007__fig204261848141112"><span class="figcap"><b>Figure 1 </b>Comparison process</span><br><span><img id="drs_02_0007__image174261148111115" src="en-us_image_0000001391773841.png"></span></div>
<div class="fignone" id="drs_02_0007__fig204261848141112"><span class="figcap"><b>Figure 1 </b>Comparison process</span><br><span><img id="drs_02_0007__image174261148111115" src="en-us_image_0000001758549373.png"></span></div>
<div class="section" id="drs_02_0007__section19393124916129"><h4 class="sectiontitle">Comparison Scenarios</h4><p id="drs_02_0007__p59703782111">You can compare migration objects with different dimensions:</p>
<ul id="drs_02_0007__ul11730174214215"><li id="drs_02_0007__li873111428211">Object-level comparison: It helps you compare databases, indexes, tables, views, stored procedures and functions, and sorting rules of tables. You are advised to perform the comparison after a full migration is complete.</li><li id="drs_02_0007__li188011335252">Data-level comparison is classified into row comparison and value comparison.<ul id="drs_02_0007__ul32931437162518"><li id="drs_02_0007__li51552002410">Row comparison: It helps you compare the number of rows in the tables to be migrated. This comparison method is recommended because it is fast.</li><li id="drs_02_0007__li92667062511">Value comparison: It helps you check whether data in the migrated table is consistent. The comparison process is relatively slow.</li></ul>
</li></ul>
</li><li id="drs_02_0007__li1870619153318">Account comparison: It compares usernames and permissions of the source and destination databases.</li><li id="drs_02_0007__li1992110476534">Periodic comparison: DRS periodically compares the number of rows or objects in the source database table with those in the destination database table and displays the comparison results. To compare rows or objects periodically, enable <a href="#drs_02_0007__section1841019111454">comparison policy</a>.</li></ul>
<p id="drs_02_0007__p844074253515">When you check data consistency, compare the number of rows first. If the number of rows are inconsistent, you can then compare the data in the table to determine the inconsistent data.</p>
</div>
<div class="section" id="drs_02_0007__section488581433410"><h4 class="sectiontitle">Comparison Restrictions</h4><ul id="drs_02_0007__ul188511047103419"><li id="drs_02_0007__li116291748114018">A comparison task can be created only when the task is in the incremental phase. When a full task is complete, DRS automatically creates object-level and row comparison tasks.</li><li id="drs_02_0007__li1962904894013">If DDL operations were performed on the source database, you need to compare the objects again to ensure the accuracy of the comparison results.</li><li id="drs_02_0007__li18844449454">If data in the destination database is modified separately, the comparison results may be inconsistent.</li><li id="drs_02_0007__li1421932319422">Currently, only tables with primary keys support value comparison. For tables that do not support value comparison, you can compare rows. Therefore, you can compare data by row or value based on scenarios.</li><li id="drs_02_0007__li8629848144013">To prevent resources from being occupied for a long time, DRS limits the row comparison duration. If the row comparison duration exceeds the threshold, the row comparison task stops automatically. If the source database is a relational database, the row comparison duration is 60 minutes. If the source database is a non-relational database, for example, MongoDB, the row comparison duration is 30 minutes.</li></ul>
@ -20,7 +20,7 @@
<ol id="drs_02_0007__ol37422375153513"><li id="drs_02_0007__li2924397143744"><span>On the <span class="uicontrol" id="drs_02_0007__uicontrol19352122093616"><b>Online Migration Management</b></span> page, click the target migration task name in the <strong id="drs_02_0007__b13548209369">Task Name/ID</strong> column.</span></li><li id="drs_02_0007__li50159828153513"><span>On the <strong id="drs_02_0007__b185984343378">Migration Comparison</strong> tab, compare objects of the source and destination databases.</span><p><ol type="a" id="drs_02_0007__ol137029917265"><li id="drs_02_0007__li161767577273">Check the integrity of the database object.<p id="drs_02_0007__p11692257124820"><a name="drs_02_0007__li161767577273"></a><a name="li161767577273"></a>Click <strong id="drs_02_0007__b5676412133515">Validate Objects</strong>. On the <strong id="drs_02_0007__b46881712183511">Object-Level Comparison</strong> tab, view the comparison result of each comparison item.</p>
<p id="drs_02_0007__p76642058202512">Locate a comparison item you want to view and click <strong id="drs_02_0007__b46986251330">View Details</strong> in the <strong id="drs_02_0007__b1233917584237">Operation</strong> column.</p>
</li><li id="drs_02_0007__li28278341571"><a name="drs_02_0007__li28278341571"></a><a name="li28278341571"></a>After the check is complete, compare the number of rows and values.<div class="p" id="drs_02_0007__p5541103719718"><a name="drs_02_0007__li28278341571"></a><a name="li28278341571"></a><ol class="substepthirdol" id="drs_02_0007__ol823529862"><li id="drs_02_0007__li197671734761">In the <strong id="drs_02_0007__b19898194618593">Before You Start</strong> pane, click <strong id="drs_02_0007__b128981246135920">Validate All Rows/Values</strong>.</li><li id="drs_02_0007__li9321281360">In the displayed <span class="uicontrol" id="drs_02_0007__uicontrol209851227163319"><b>Create Comparison Task</b></span> dialog box, specify <strong id="drs_02_0007__b149861827103311">Comparison Type</strong>, <strong id="drs_02_0007__b15989102710337">Comparison Time</strong>, and <strong id="drs_02_0007__b109901827163319">Object</strong>. Then, click <strong id="drs_02_0007__b1599192719332">OK</strong>.<ul id="drs_02_0007__ul11393268312"><li id="drs_02_0007__li73814264315"><strong id="drs_02_0007__b102001851191617">Comparison Type</strong>: compares rows and values.</li><li id="drs_02_0007__li5383261836"><strong id="drs_02_0007__b32158211716">Comparison Time</strong>: You can select <strong id="drs_02_0007__b183120271284">Start upon task creation</strong> or <strong id="drs_02_0007__b182555341581">Start at a specified time</strong>. There is a slight difference in time between the source and destination databases during synchronization. Data inconsistency may occur. You are advised to compare migration items during off-peak hours for more accurate results.</li><li id="drs_02_0007__li73812612317"><strong id="drs_02_0007__b147481131815">Object</strong>: You can select objects to be compared based on the scenarios.</li></ul>
<p id="drs_02_0007__p1839162619319">After the comparison creation task is submitted, the <strong id="drs_02_0007__b1872717807">Data-Level Comparison</strong> tab is displayed. Click <span><img id="drs_02_0007__image1767441011812" src="en-us_image_0000001391773845.png"></span> to refresh the list and view the comparison result of the specified comparison type.</p>
<p id="drs_02_0007__p1839162619319">After the comparison creation task is submitted, the <strong id="drs_02_0007__b1872717807">Data-Level Comparison</strong> tab is displayed. Click <span><img id="drs_02_0007__image1767441011812" src="en-us_image_0000001758429533.png"></span> to refresh the list and view the comparison result of the specified comparison type.</p>
<p id="drs_02_0007__p183911261130">To view the comparison details, locate the target comparison type and click <strong id="drs_02_0007__b86711557102311">View Results</strong> in the <strong id="drs_02_0007__b244172982716">Operation</strong> column. On the displayed page, locate a pair of source and destination databases, and click <strong id="drs_02_0007__b1340183019288">View Details</strong> in the <strong id="drs_02_0007__b865112373288">Operation</strong> column to view detailed comparison results.</p>
<div class="note" id="drs_02_0007__note20392261536"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="drs_02_0007__p143917261136">You can cancel a running task at any time and view the comparison report of a canceled comparison task.</p>
</div></div>
@ -33,6 +33,12 @@
</li></ol>
</p></li></ol>
</div>
<div class="section" id="drs_02_0007__section1841019111454"><a name="drs_02_0007__section1841019111454"></a><a name="section1841019111454"></a><h4 class="sectiontitle">Periodic Comparison</h4><p id="drs_02_0007__p6106678411">Periodic comparison indicates that DRS periodically compares the number of rows or objects in the source database table with those in the destination database table and displays the comparison results.</p>
<ol id="drs_02_0007__ol963210251163"><li id="drs_02_0007__li8965834966"><span>On the <span class="uicontrol" id="drs_02_0007__uicontrol125371219854"><b>Online Migration Management</b></span> page, click the target migration task name in the <strong id="drs_02_0007__b253713191957">Task Name/ID</strong> column.</span></li><li id="drs_02_0007__li7966113410614"><span>Choose <strong id="drs_02_0007__b185165321513">Migration Comparison</strong>.</span></li><li id="drs_02_0007__li17447141415816"><span>Click the <strong id="drs_02_0007__b1011417341572">Periodic Comparison</strong> tab and click <span class="uicontrol" id="drs_02_0007__uicontrol111156346717"><b>Modify Comparison Policy</b></span>.</span></li><li id="drs_02_0007__li696612342611"><span>In the <strong id="drs_02_0007__b17867125418812">Modify Comparison Policy</strong> dialog box, enable periodic comparison, specify the comparison frequency, time interval, effective time and comparison type, and click <strong id="drs_02_0007__b12868155410819">Yes</strong>.</span><p><div class="note" id="drs_02_0007__note4798103641714"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="drs_02_0007__ul2011819198161"><li id="drs_02_0007__li1111918196162">After periodic comparison is enabled, DRS compares the number of rows or objects at the scheduled time. You can view the comparison results on the <strong id="drs_02_0007__b968632312171">Data-Level Comparison</strong> or <strong id="drs_02_0007__b39489518176">Object-Level Comparison</strong> tab.</li><li id="drs_02_0007__li204841197176">After periodic comparison is disabled, only historical comparison results can be viewed.</li><li id="drs_02_0007__li16119171910166">Modifications to the comparison policy settings take effect from the next comparison and do not affect the on-going periodic comparison tasks.</li><li id="drs_02_0007__li311901981612">During periodic comparison, the source and destination databases will be read. Perform the comparison during off-peak hours.</li><li id="drs_02_0007__li811931961611">During periodic comparison, ultra-large tables (those with more than 100 million rows) are automatically filtered out. You can use data-level comparison to spot check such large tables. It is not recommended that these large tables be compared periodically.</li></ul>
</div></div>
<p id="drs_02_0007__p13627955172019"></p>
</p></li></ol>
</div>
<div class="section" id="drs_02_0007__section129217413480"><h4 class="sectiontitle">Quick Comparison</h4><p id="drs_02_0007__p8060118">To accelerate and simplify the migration process, DRS provides the quick comparison function. You can directly perform a comparison on the migration task list. This function can be used to compare all migration objects only when incremental migration tasks are in progress.</p>
<ol id="drs_02_0007__ol9827153125115"><li id="drs_02_0007__li178272395111"><span>On the <span class="uicontrol" id="drs_02_0007__uicontrol1455113155346"><b>Online Migration Management</b></span> page, locate the target migration task and click <strong id="drs_02_0007__b855114153343">Compare</strong> in the <strong id="drs_02_0007__b1855231563420">Operation</strong> column.</span></li><li id="drs_02_0007__li1822745019517"><span>On the <strong id="drs_02_0007__b1519151893418">Create Comparison Task</strong> page, select <strong id="drs_02_0007__b221151893417">Start upon task creation</strong> or <strong id="drs_02_0007__b321181816348">Start at a specified time</strong> and click <strong id="drs_02_0007__b322121853419">Yes</strong> to start the comparison task.</span></li></ol>
</div>

View File

@ -9,10 +9,10 @@
</tr>
</thead>
<tbody><tr id="drs_02_0009__en-us_topic_0000001149314327_row929311399458"><td class="cellrowborder" valign="top" width="48.84%" headers="mcps1.3.1.2.2.3.1.1 "><p id="drs_02_0009__en-us_topic_0000001149314327_p85941333139">On-premises and other cloud's Microsoft SQL Server backup file versions:</p>
<ul id="drs_02_0009__en-us_topic_0000001149314327_ul46381143191017"><li id="drs_02_0009__en-us_topic_0000001149314327_li138441752165511">Microsoft SQL Server 2000</li><li id="drs_02_0009__en-us_topic_0000001149314327_li11828135913559">Microsoft SQL Server 2005</li><li id="drs_02_0009__en-us_topic_0000001149314327_li18625172192813">Microsoft SQL Server 2008</li><li id="drs_02_0009__en-us_topic_0000001149314327_li15204147155610">Microsoft SQL Server 2012</li><li id="drs_02_0009__en-us_topic_0000001149314327_li0625222284">Microsoft SQL Server 2014</li><li id="drs_02_0009__en-us_topic_0000001149314327_li18638124351015">Microsoft SQL Server 2016</li><li id="drs_02_0009__en-us_topic_0000001149314327_li1940755318113">Microsoft SQL Server 2017</li></ul>
<ul id="drs_02_0009__en-us_topic_0000001149314327_ul46381143191017"><li id="drs_02_0009__en-us_topic_0000001149314327_li138441752165511">Microsoft SQL Server 2000</li><li id="drs_02_0009__en-us_topic_0000001149314327_li11828135913559">Microsoft SQL Server 2005</li><li id="drs_02_0009__en-us_topic_0000001149314327_li18625172192813">Microsoft SQL Server 2008</li><li id="drs_02_0009__en-us_topic_0000001149314327_li15204147155610">Microsoft SQL Server 2012</li><li id="drs_02_0009__en-us_topic_0000001149314327_li0625222284">Microsoft SQL Server 2014</li><li id="drs_02_0009__en-us_topic_0000001149314327_li18638124351015">Microsoft SQL Server 2016</li><li id="drs_02_0009__en-us_topic_0000001149314327_li1940755318113">Microsoft SQL Server 2017</li><li id="drs_02_0009__li131681639111613">Microsoft SQL Server 2019</li></ul>
</td>
<td class="cellrowborder" valign="top" width="51.160000000000004%" headers="mcps1.3.1.2.2.3.1.2 "><p id="drs_02_0009__p2080112392713">RDS for Microsoft SQL Server</p>
<ul id="drs_02_0009__en-us_topic_0000001149314327_ul183432325289"><li id="drs_02_0009__en-us_topic_0000001149314327_li6343123242819">Microsoft SQL Server 2008</li><li id="drs_02_0009__en-us_topic_0000001149314327_li3913938165020">Microsoft SQL Server 2012</li><li id="drs_02_0009__en-us_topic_0000001149314327_li1634323217288">Microsoft SQL Server 2014</li><li id="drs_02_0009__en-us_topic_0000001149314327_li1135913217283">Microsoft SQL Server 2016</li><li id="drs_02_0009__en-us_topic_0000001149314327_li995415616113">Microsoft SQL Server 2017</li></ul>
<ul id="drs_02_0009__en-us_topic_0000001149314327_ul183432325289"><li id="drs_02_0009__en-us_topic_0000001149314327_li6343123242819">Microsoft SQL Server 2008</li><li id="drs_02_0009__en-us_topic_0000001149314327_li3913938165020">Microsoft SQL Server 2012</li><li id="drs_02_0009__en-us_topic_0000001149314327_li1634323217288">Microsoft SQL Server 2014</li><li id="drs_02_0009__en-us_topic_0000001149314327_li1135913217283">Microsoft SQL Server 2016</li><li id="drs_02_0009__en-us_topic_0000001149314327_li995415616113">Microsoft SQL Server 2017</li><li id="drs_02_0009__li75411754162513">Microsoft SQL Server 2019</li></ul>
<p id="drs_02_0009__p990741210277"></p>
</td>
</tr>

View File

@ -5,7 +5,7 @@
<p id="drs_02_0027__p6208163861312">A complete online disaster recovery consists of creating a DR task, tracking task progress, analyzing DR logs, and comparing data consistency. By comparing multiple items and data, you can synchronize data between different service systems.</p>
</div>
<div class="section" id="drs_02_0027__section12749194818132"><h4 class="sectiontitle">Process</h4><p id="drs_02_0027__p912511081818">The following flowchart shows the basic processes for disaster recovery.</p>
<div class="fignone" id="drs_02_0027__fig64231735959"><span class="figcap"><b>Figure 1 </b>Disaster recovery process</span><br><span><img id="drs_02_0027__image1242311351053" src="en-us_image_0000001391693933.png"></span></div>
<div class="fignone" id="drs_02_0027__fig64231735959"><span class="figcap"><b>Figure 1 </b>Disaster recovery process</span><br><span><img id="drs_02_0027__image1242311351053" src="en-us_image_0000001710471004.png"></span></div>
<ul id="drs_02_0027__ul18358946458"><li id="drs_02_0027__li103581946558"><a href="#drs_02_0027__section184484536520">Step 1: Create a DR task.</a> Select the service and DR databases as required and create a DR task.</li><li id="drs_02_0027__li2358946450"><a href="drs_02_0028.html">Step 2: Query the DR progress.</a> During the disaster recovery, you can view the DR progress.</li><li id="drs_02_0027__li7358846752"><a href="drs_02_0029.html">Step 3: View DR logs.</a> Disaster recovery logs contain alarms, errors, and prompt information. You can analyze system problems based on such information.</li><li id="drs_02_0027__li53581646355"><a href="drs_02_0033.html">Step 4: Compare DR items.</a> The DR system supports object-level, data-level comparison to ensure data consistency.</li></ul>
<p id="drs_02_0027__p4713914668">This section uses disaster recovery from a MySQL instance to an RDS MySQL instance as an example describes how to configure a DR task on the DRS console over a public network.</p>
<p id="drs_02_0027__p11963131817616">You can create a DR task that will walk you through each step of the process. After a DR task is created, you can manage it on the DRS console.</p>
@ -280,7 +280,7 @@
<ul id="drs_02_0027__drs_04_0122_en-us_topic_0135097933_en-us_topic_0078078071_ul9762123112510"><li id="drs_02_0027__drs_04_0122_li517519468357"><strong id="drs_02_0027__drs_04_0122_b166481220144613">Yes</strong><p id="drs_02_0027__drs_04_0122_p1462275010350">You can customize the maximum DR speed.</p>
<p id="drs_02_0027__drs_04_0122_en-us_topic_0135097933_en-us_topic_0078078071_p1383414227396">In addition, you can set the time range based on your service requirements. The traffic rate setting usually includes setting of a rate limiting time period and a traffic rate value. Flow can be controlled all day or during specific time ranges. The default value is <strong id="drs_02_0027__drs_04_0122_b1720625652016">All day</strong>. A maximum of three time ranges can be set, and they cannot overlap.</p>
<p id="drs_02_0027__drs_04_0122_en-us_topic_0135097933_p543392816321">The flow rate must be set based on the service scenario and cannot exceed 9,999 MB/s.</p>
<div class="fignone" id="drs_02_0027__drs_04_0122_en-us_topic_0135097933_fig218884774210"><span class="figcap"><b>Figure 2 </b>Flow control</span><br><span><img id="drs_02_0027__drs_04_0122_image143315554126" src="en-us_image_0000001341574056.png"></span></div>
<div class="fignone" id="drs_02_0027__drs_04_0122_en-us_topic_0135097933_fig218884774210"><span class="figcap"><b>Figure 2 </b>Flow control</span><br><span><img id="drs_02_0027__drs_04_0122_image143315554126" src="en-us_image_0000001710630288.png"></span></div>
</li><li id="drs_02_0027__drs_04_0122_li8461101763611"><strong id="drs_02_0027__drs_04_0122_b16878439134614">No</strong><div class="p" id="drs_02_0027__drs_04_0122_p18586122063613">The DR speed is not limited and the outbound bandwidth of the source database is maximally used, which causes read consumption on the source database accordingly. For example, if the outbound bandwidth of the source database is 100 MB/s and 80% bandwidth is used, the I/O consumption on the source database is 80 MB/s.<div class="note" id="drs_02_0027__drs_04_0122_en-us_topic_0135097933_note133345121551"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_02_0027__drs_04_0122_en-us_topic_0135097933_ul1933411217553"><li id="drs_02_0027__drs_04_0122_en-us_topic_0135097933_li93348121557">Flow control mode takes effect during the initial DR phase only.</li><li id="drs_02_0027__drs_04_0122_en-us_topic_0135097933_li9334171285515">You can also change the flow control mode when the task is in the <strong id="drs_02_0027__drs_04_0122_b1047210271567">Configuration</strong> state. On the <strong id="drs_02_0027__drs_04_0122_b15807914182517">Basic Information</strong> tab, In the <strong id="drs_02_0027__drs_04_0122_b9809614152518">DR Information</strong> area, click <strong id="drs_02_0027__drs_04_0122_b15810514162517">Modify</strong> next to <strong id="drs_02_0027__drs_04_0122_b18111214182510">Flow Control</strong>. In the dialog box that is displayed, change the flow control mode. The flow control mode cannot be changed for a task that is in <strong id="drs_02_0027__drs_04_0122_b1028312163258">Starting</strong> state.</li></ul>
</div></div>
</div>
@ -318,7 +318,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_02_0027__drs_04_0122_li34303618172657"><span>After the DR task is submitted, view and manage it on the <span class="uicontrol" id="drs_02_0027__drs_04_0122_uicontrol423713226481"><b>Disaster Recovery Management</b></span> page.</span><p><ul id="drs_02_0027__drs_04_0122_ul46880011174414"><li id="drs_02_0027__drs_04_0122_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_02_0025.html">Task Statuses</a>.</li><li id="drs_02_0027__drs_04_0122_li56201830174851">You can click <span><img id="drs_02_0027__drs_04_0122_image188381437172712" src="en-us_image_0000001341414072.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_02_0027__drs_04_0122_li34303618172657"><span>After the DR task is submitted, view and manage it on the <span class="uicontrol" id="drs_02_0027__drs_04_0122_uicontrol423713226481"><b>Disaster Recovery Management</b></span> page.</span><p><ul id="drs_02_0027__drs_04_0122_ul46880011174414"><li id="drs_02_0027__drs_04_0122_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_02_0025.html">Task Statuses</a>.</li><li id="drs_02_0027__drs_04_0122_li56201830174851">You can click <span><img id="drs_02_0027__drs_04_0122_image188381437172712" src="en-us_image_0000001710630300.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -15,13 +15,13 @@
</div>
<div class="section" id="drs_02_0033__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><ul id="drs_02_0033__ul1086414912191"><li id="drs_02_0033__li1586469151917">You have logged in to the DRS console.</li><li id="drs_02_0033__li1579171391314">A DR task has been started.</li></ul>
</div>
<div class="section" id="drs_02_0033__section59386647165940"><h4 class="sectiontitle">Procedure</h4><ol id="drs_02_0033__ol37422375153513"><li id="drs_02_0033__li2924397143744"><span>On the <span class="uicontrol" id="drs_02_0033__uicontrol141720165710"><b>Disaster Recovery Management</b></span> page, click the target DR task in the <strong id="drs_02_0033__b1820111577">Task Name/ID</strong> column.</span></li><li id="drs_02_0033__li50159828153513"><span>On the <strong id="drs_02_0033__b5992611736">Disaster Recovery Comparison</strong> tab, compare the service and DR databases.</span><p><ol type="a" id="drs_02_0033__ol137029917265"><li id="drs_02_0033__li161767577273">Check the integrity of the database object.<p id="drs_02_0033__p6694165842715"><a name="drs_02_0033__li161767577273"></a><a name="li161767577273"></a>Click <strong id="drs_02_0033__b58241712194">Validate Objects</strong>. On the <strong id="drs_02_0033__b182511171911">Object-Level Comparison</strong> tab, click <span class="uicontrol" id="drs_02_0033__uicontrol08261011195"><b>Compare</b></span>. Wait for a while and click <span><img id="drs_02_0033__image113765332415" src="en-us_image_0000001391853909.png"></span>, and view the comparison result of each comparison item.</p>
<div class="section" id="drs_02_0033__section59386647165940"><h4 class="sectiontitle">Procedure</h4><ol id="drs_02_0033__ol37422375153513"><li id="drs_02_0033__li2924397143744"><span>On the <span class="uicontrol" id="drs_02_0033__uicontrol141720165710"><b>Disaster Recovery Management</b></span> page, click the target DR task in the <strong id="drs_02_0033__b1820111577">Task Name/ID</strong> column.</span></li><li id="drs_02_0033__li50159828153513"><span>On the <strong id="drs_02_0033__b5992611736">Disaster Recovery Comparison</strong> tab, compare the service and DR databases.</span><p><ol type="a" id="drs_02_0033__ol137029917265"><li id="drs_02_0033__li161767577273">Check the integrity of the database object.<p id="drs_02_0033__p6694165842715"><a name="drs_02_0033__li161767577273"></a><a name="li161767577273"></a>Click <strong id="drs_02_0033__b58241712194">Validate Objects</strong>. On the <strong id="drs_02_0033__b182511171911">Object-Level Comparison</strong> tab, click <span class="uicontrol" id="drs_02_0033__uicontrol08261011195"><b>Compare</b></span>. Wait for a while and click <span><img id="drs_02_0033__image113765332415" src="en-us_image_0000001758549857.png"></span>, and view the comparison result of each comparison item.</p>
<p id="drs_02_0033__p76642058202512">Locate a comparison item you want to view and click <strong id="drs_02_0033__b9894104215193">View Details</strong> in the <strong id="drs_02_0033__b178955429199">Operation</strong> column.</p>
</li><li id="drs_02_0033__li15367162113275">After the check is complete, compare the number of rows and values.<p id="drs_02_0033__p166465815258"><a name="drs_02_0033__li15367162113275"></a><a name="li15367162113275"></a>On the <strong id="drs_02_0033__b2153116194412">Data-Level Comparison</strong> tab, click <strong id="drs_02_0033__b1549110207444">Create Comparison Task</strong>. In the displayed dialog box, specify <strong id="drs_02_0033__b61061229154413">Comparison Type</strong>, <strong id="drs_02_0033__b152737392444">Comparison Time</strong>, and <strong id="drs_02_0033__b104974215443">Object</strong>. Then, click <strong id="drs_02_0033__b766064416440">OK</strong>.</p>
<ul id="drs_02_0033__ul1925720551454"><li id="drs_02_0033__en-us_topic_0168837609_li73814264315"><strong id="drs_02_0033__b180588670191612">Comparison Type</strong>: compares rows and values.</li><li id="drs_02_0033__en-us_topic_0168837609_li5383261836"><strong id="drs_02_0033__b33222741591612">Comparison Time</strong>: You can select <strong id="drs_02_0033__b184191609691612">Start upon task creation</strong> or <strong id="drs_02_0033__b178500684291612">Start at a specified time</strong>. There is a slight difference in time between the source and destination databases during synchronization. Data inconsistency may occur. You are advised to compare migration items during off-peak hours for more accurate results.</li><li id="drs_02_0033__en-us_topic_0168837609_li73812612317"><strong id="drs_02_0033__b47834188391612">Object</strong>: You can select objects to be compared based on the scenarios.</li></ul>
<div class="note" id="drs_02_0033__note7664135842518"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="drs_02_0033__ul1666425817256"><li id="drs_02_0033__li0664205820253">Data-level comparison cannot be performed for tasks in initialization.</li></ul>
</div></div>
</li><li id="drs_02_0033__li4736154104710">After the comparison creation task is submitted, the <strong id="drs_02_0033__b137571509485">Data-Level Comparison</strong> tab is displayed. Click <span><img id="drs_02_0033__image8249514102914" src="en-us_image_0000001341573876.png"></span> to refresh the list and view the comparison result of the specified comparison type.</li><li id="drs_02_0033__li6573104504713">To view the comparison details, locate the target comparison type and click <strong id="drs_02_0033__b89631347174514">View Results</strong> in the <strong id="drs_02_0033__b17970164714511">Operation</strong> column. On the displayed page, locate a pair of service and DR databases, and click <strong id="drs_02_0033__b109751547164513">View Details</strong> in the <strong id="drs_02_0033__b1198034711451">Operation</strong> column to view detailed comparison results.<div class="note" id="drs_02_0033__note10665175862511"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="drs_02_0033__p2066595812252">You can also view comparison details of canceled comparison tasks.</p>
</li><li id="drs_02_0033__li4736154104710">After the comparison creation task is submitted, the <strong id="drs_02_0033__b137571509485">Data-Level Comparison</strong> tab is displayed. Click <span><img id="drs_02_0033__image8249514102914" src="en-us_image_0000001758430021.png"></span> to refresh the list and view the comparison result of the specified comparison type.</li><li id="drs_02_0033__li6573104504713">To view the comparison details, locate the target comparison type and click <strong id="drs_02_0033__b89631347174514">View Results</strong> in the <strong id="drs_02_0033__b17970164714511">Operation</strong> column. On the displayed page, locate a pair of service and DR databases, and click <strong id="drs_02_0033__b109751547164513">View Details</strong> in the <strong id="drs_02_0033__b1198034711451">Operation</strong> column to view detailed comparison results.<div class="note" id="drs_02_0033__note10665175862511"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="drs_02_0033__p2066595812252">You can also view comparison details of canceled comparison tasks.</p>
</div></div>
</li></ol>
</p></li></ol>

View File

@ -4,7 +4,7 @@
<div id="body8662426"><p id="drs_02_0100__en-us_topic_0000001160307850_p1930144313422">Before data migration, ensure that network preparations and security rule settings are complete. If the connection is abnormal, check whether the network configuration is correct.</p>
<p id="drs_02_0100__en-us_topic_0000001160307850_p12956195818232">This section uses the migration from MySQL to RDS MySQL as an example to describe three migration scenarios: cross-cloud real-time migration, on-premises database migration, and real-time migration of self-built ECS databases.</p>
<div class="section" id="drs_02_0100__en-us_topic_0000001160307850_section1981111255253"><h4 class="sectiontitle">Cross-Cloud Real-Time Migration</h4><ol id="drs_02_0100__en-us_topic_0000001160307850_ol154470952610"><li id="drs_02_0100__en-us_topic_0000001160307850_li1655110212613">Network settings<div class="p" id="drs_02_0100__en-us_topic_0000001160307850_p134881133613"><a name="drs_02_0100__en-us_topic_0000001160307850_li1655110212613"></a><a name="en-us_topic_0000001160307850_li1655110212613"></a>Enable public accessibility for the source database.<ul id="drs_02_0100__en-us_topic_0000001160307850_ul134831211137"><li id="drs_02_0100__en-us_topic_0000001160307850_li8560181115494">Source database network settings:<p id="drs_02_0100__en-us_topic_0000001160307850_p88101112124911"><a name="drs_02_0100__en-us_topic_0000001160307850_li8560181115494"></a><a name="en-us_topic_0000001160307850_li8560181115494"></a>Enable public accessibility for the source database.</p>
<p id="drs_02_0100__en-us_topic_0000001160307850_p17616141335">For details, see related documents provided by Alibaba Cloud.</p>
<p id="drs_02_0100__en-us_topic_0000001160307850_p17616141335">For details, see related documents provided by other Cloud.</p>
</li><li id="drs_02_0100__en-us_topic_0000001160307850_li129304223410">Destination database network settings:<p id="drs_02_0100__en-us_topic_0000001160307850_p91955250418"><a name="drs_02_0100__en-us_topic_0000001160307850_li129304223410"></a><a name="en-us_topic_0000001160307850_li129304223410"></a>By default, the destination database and the DRS replication instance are in the same VPC and can communicate with each other. No further configuration is required.</p>
</li></ul>
</div>

View File

@ -29,10 +29,10 @@
<tr id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_row2592193212194"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.3.2.1.2.3.1.1 "><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p7592232201911">Migrate Account</p>
</td>
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.4.2.3.2.1.2.3.1.2 "><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p11670239171013">During a database migration, accounts need to be migrated separately.</p>
<div class="p" id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p106411111205412">There are accounts that can be migrated completely, accounts whose permissions need to be reduced, and accounts that cannot be migrated. You can choose whether to migrate the accounts based on service requirements. If you select <span class="uicontrol" id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_uicontrol1845534122119"><b>Yes</b></span>, you can select the accounts to be migrated as required.<ul id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul52489455107"><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li52487450107"><strong id="drs_03_0002__drs_04_0088_b816160519">Yes</strong><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_p10236114416406">If you need to migrate accounts, see <a href="drs_09_0017.html">Migrating Accounts</a>.</p>
<div class="p" id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p106411111205412">There are accounts that can be migrated completely, accounts whose permissions need to be reduced, and accounts that cannot be migrated. You can choose whether to migrate the accounts based on service requirements. If you select <span class="uicontrol" id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_uicontrol1845534122119"><b>Yes</b></span>, you can select the accounts to be migrated as required.<ul id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul52489455107"><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li52487450107"><strong id="drs_03_0002__drs_04_0088_b1182679">Yes</strong><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_p10236114416406">If you need to migrate accounts, see <a href="drs_09_0017.html">Migrating Accounts</a>.</p>
</li></ul>
</div>
<ul id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul17378301111"><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li07371535115"><strong id="drs_03_0002__drs_04_0088_b310462314">No</strong><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p794655681211">During migration, accounts, permissions, and passwords are not migrated.</p>
<ul id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul17378301111"><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li07371535115"><strong id="drs_03_0002__drs_04_0088_b532696104">No</strong><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p794655681211">During migration, accounts, permissions, and passwords are not migrated.</p>
</li></ul>
</td>
</tr>
@ -47,7 +47,7 @@
</td>
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.4.2.3.2.1.2.3.1.2 "><p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_p1384592151414">You can choose to migrate all objects, tables, or databases based on your service requirements.</p>
<ul id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul78601316141810"><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li1486001601818"><strong id="drs_03_0002__drs_04_0088_b1437618103812">All</strong>: All objects in the source database are migrated to the destination database. After the migration, the object names will remain the same as those in the source database and cannot be modified.</li><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_li156818580599"><strong id="drs_03_0002__drs_04_0088_b14439158381">Tables</strong>: The selected table-level objects will be migrated.</li><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_li165086239593"><strong id="drs_03_0002__drs_04_0088_b21461518123810">Databases</strong>: The selected database-level objects will be migrated.</li></ul>
<p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_image959917843110" src="en-us_image_0000001341254308.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<p id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_image959917843110" src="en-us_image_0000001710470728.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<div class="note" id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_note6192135932115"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_ul19601624657"><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_li1960112416510">If you choose not to migrate all of the databases, the migration may fail because the objects, such as stored procedures and views, in the databases to be migrated may have dependencies on other objects that are not migrated. To prevent migration failure, migrate all of the databases.</li><li id="drs_03_0002__drs_04_0088_li1650961216398">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_03_0002__drs_04_0088_li95123124391">The name of the selected migration object cannot contain spaces.</li><li id="drs_03_0002__drs_04_0088_en-us_topic_0135097933_li01376524218">To quickly select the desired database objects, you can use the search function.</li></ul>
</div></div>
</td>
@ -62,7 +62,7 @@
</li></ul>
</p></li><li id="drs_03_0002__li56954539172654"><span>On the <span class="uicontrol" id="drs_03_0002__uicontrol1937784813620"><b>Confirm Task</b></span> page, specify <strong id="drs_03_0002__b537713484618">Start Time</strong>, confirm that the configured information is correct, and click <span class="uicontrol" id="drs_03_0002__uicontrol193776481614"><b>Submit</b></span> to submit the task.</span><p><div class="note" id="drs_03_0002__note71503405106"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="drs_03_0002__ul1146871311818"><li id="drs_03_0002__en-us_topic_0141658663_li18335120825">Set <strong id="drs_03_0002__b178151743162317">Start Time</strong> to <strong id="drs_03_0002__b1381774322318">Start upon task creation</strong> or <strong id="drs_03_0002__b18819104310230">Start at a specified time</strong> based on site requirements.</li><li id="drs_03_0002__en-us_topic_0141658663_li3617221320">After a migration task is started, the performance of the source and destination databases may be affected. You are advised to start a migration task during off-peak hours.</li><li id="drs_03_0002__li19813162312185">Under specific conditions, the destination database needs to be restarted once during the task startup, which may interrupt database services.</li></ul>
</div></div>
</p></li><li id="drs_03_0002__li620112563620"><a name="drs_03_0002__li620112563620"></a><a name="li620112563620"></a><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_03_0002__uicontrol56961558105815"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_03_0002__ul9201162553611"><li id="drs_03_0002__li149793418594">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_03_0002__li3201152543617">You can click <span><img id="drs_03_0002__image774471515913" src="en-us_image_0000001391693937.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_03_0002__li620112563620"><a name="drs_03_0002__li620112563620"></a><a name="li620112563620"></a><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_03_0002__uicontrol56961558105815"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_03_0002__ul9201162553611"><li id="drs_03_0002__li149793418594">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_03_0002__li3201152543617">You can click <span><img id="drs_03_0002__image774471515913" src="en-us_image_0000001758429493.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
<div class="section" id="drs_03_0002__section11473394154445"><h4 class="sectiontitle">Method 2</h4><ol id="drs_03_0002__ol45572614154457"><li id="drs_03_0002__li18429954154457"><span>On the <span class="uicontrol" id="drs_03_0002__uicontrol12220713105915"><b>Online Migration Management</b></span> page, click the target migration task name in the <strong id="drs_03_0002__b1422211313591">Task Name/ID</strong> column.</span></li><li id="drs_03_0002__li16355278154459"><span>On the displayed page, click <strong id="drs_03_0002__b01213105528">edit this task</strong> to go to the <strong id="drs_03_0002__b19131710155210">Configure Source and Destination Databases</strong> page.</span></li><li id="drs_03_0002__li5681675815469"><span>Perform steps <a href="#drs_03_0002__li105671010104417">2</a> to <a href="#drs_03_0002__li620112563620">6</a>.</span></li></ol>

View File

@ -26,7 +26,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_03_0026__li34303618172657"><a name="drs_03_0026__li34303618172657"></a><a name="li34303618172657"></a><span>After the DR task is submitted, view and manage it on the <span class="uicontrol" id="drs_03_0026__drs_04_0122_uicontrol423713226481"><b>Disaster Recovery Management</b></span> page.</span><p><ul id="drs_03_0026__drs_04_0122_ul46880011174414"><li id="drs_03_0026__drs_04_0122_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_02_0025.html">Task Statuses</a>.</li><li id="drs_03_0026__drs_04_0122_li56201830174851">You can click <span><img id="drs_03_0026__drs_04_0122_image188381437172712" src="en-us_image_0000001341414072.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_03_0026__li34303618172657"><a name="drs_03_0026__li34303618172657"></a><a name="li34303618172657"></a><span>After the DR task is submitted, view and manage it on the <span class="uicontrol" id="drs_03_0026__drs_04_0122_uicontrol423713226481"><b>Disaster Recovery Management</b></span> page.</span><p><ul id="drs_03_0026__drs_04_0122_ul46880011174414"><li id="drs_03_0026__drs_04_0122_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_02_0025.html">Task Statuses</a>.</li><li id="drs_03_0026__drs_04_0122_li56201830174851">You can click <span><img id="drs_03_0026__drs_04_0122_image188381437172712" src="en-us_image_0000001710630300.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
<div class="section" id="drs_03_0026__section15449821133212"><h4 class="sectiontitle">Method 2</h4><ol id="drs_03_0026__ol45572614154457"><li id="drs_03_0026__li18429954154457"><span>On the <span class="uicontrol" id="drs_03_0026__uicontrol640275412394"><b>Disaster Recovery Management</b></span> page, click the target DR task in the <strong id="drs_03_0026__b16404205413394">Task Name/ID</strong> column.</span></li><li id="drs_03_0026__li16355278154459"><span>On the displayed page, click <strong id="drs_03_0026__b01213105528">edit this task</strong> to go to the <strong id="drs_03_0026__b19131710155210">Configure Source and Destination Databases</strong> page.</span></li><li id="drs_03_0026__li5681675815469"><span>Perform <a href="#drs_03_0026__li105671010104417">2</a> through <a href="#drs_03_0026__li34303618172657">5</a> in method 1.</span></li></ol>

View File

@ -28,9 +28,9 @@
</div></div>
</p></li><li id="drs_03_0035__li348613213196"><span>Click <strong id="drs_03_0035__b13684335818">Confirm</strong>.</span></li><li id="drs_03_0035__li15488192111199"><span>Click <strong id="drs_03_0035__b188359451585">Next</strong>.</span></li></ol>
</div>
<div class="section" id="drs_03_0035__section1558714972414"><h4 class="sectiontitle">Viewing Data Filtering Results</h4><ol id="drs_03_0035__ol187795215257"><li id="drs_03_0035__li67794217259"><span>In the task list, click the task to be processed.</span></li><li id="drs_03_0035__li77798218258"><span>Click the <strong id="drs_03_0035__b12441229192913">Process Data</strong> tab to view data filtering records. Click <span><img id="drs_03_0035__image1077942119256" src="en-us_image_0000001341254064.png"></span> in the upper right corner to refresh the record list.</span></li></ol>
<div class="section" id="drs_03_0035__section1558714972414"><h4 class="sectiontitle">Viewing Data Filtering Results</h4><ol id="drs_03_0035__ol187795215257"><li id="drs_03_0035__li67794217259"><span>In the task list, click the task to be processed.</span></li><li id="drs_03_0035__li77798218258"><span>Click the <strong id="drs_03_0035__b12441229192913">Process Data</strong> tab to view data filtering records. Click <span><img id="drs_03_0035__image1077942119256" src="en-us_image_0000001758430197.png"></span> in the upper right corner to refresh the record list.</span></li></ol>
</div>
<div class="section" id="drs_03_0035__section10112163911412"><h4 class="sectiontitle">View Column Processing</h4><ol id="drs_03_0035__ol1112239246"><li id="drs_03_0035__li1911353919417"><span>On the task management page, click the target task name in the <strong id="drs_03_0035__b3353164114284">Task Name/ID</strong> column.</span></li><li id="drs_03_0035__li171137391549"><span>In the navigation pane on the left, choose <strong id="drs_03_0035__b8145546122920">Synchronization Mapping</strong>. In the upper right corner, and select <strong id="drs_03_0035__b6855102983011">Columns</strong> to view column mapping records. Click <span><img id="drs_03_0035__image8587124212167" src="en-us_image_0000001391773837.png"></span> in the upper right corner to refresh the record list.</span></li></ol>
<div class="section" id="drs_03_0035__section10112163911412"><h4 class="sectiontitle">View Column Processing</h4><ol id="drs_03_0035__ol1112239246"><li id="drs_03_0035__li1911353919417"><span>On the task management page, click the target task name in the <strong id="drs_03_0035__b3353164114284">Task Name/ID</strong> column.</span></li><li id="drs_03_0035__li171137391549"><span>In the navigation pane on the left, choose <strong id="drs_03_0035__b8145546122920">Synchronization Mapping</strong>. In the upper right corner, and select <strong id="drs_03_0035__b6855102983011">Columns</strong> to view column mapping records. Click <span><img id="drs_03_0035__image8587124212167" src="en-us_image_0000001710630596.png"></span> in the upper right corner to refresh the record list.</span></li></ol>
<p id="drs_03_0035__p7113173912413"></p>
</div>
</div>

View File

@ -2,8 +2,8 @@
<h1 class="topictitle1">Modifying the Flow Control Mode</h1>
<div id="body1586335509477"><p id="drs_03_0046__p12553528014">You can choose whether to control the flow. DRS allows you to change the flow control mode after a task is created. Currently, only the following real-time migration types support this function:</p>
<ul id="drs_03_0046__ul672911951510"><li id="drs_03_0046__li572916910150">To the cloud<ul id="drs_03_0046__ul2390200151"><li id="drs_03_0046__li114741013101511">MySQL-&gt;MySQL</li></ul>
</li><li id="drs_03_0046__li1415725521515">From of the cloud<ul id="drs_03_0046__ul29145412164"><li id="drs_03_0046__li18188281161">MySQL-&gt;MySQL</li></ul>
<ul id="drs_03_0046__ul672911951510"><li id="drs_03_0046__li572916910150">To the cloud<ul id="drs_03_0046__ul2390200151"><li id="drs_03_0046__li114741013101511">MySQL-&gt;MySQL</li><li id="drs_03_0046__li14142102417275">MongoDB-&gt;DDS</li></ul>
</li><li id="drs_03_0046__li1415725521515">From of the cloud<ul id="drs_03_0046__ul29145412164"><li id="drs_03_0046__li18188281161">MySQL-&gt;MySQL</li><li id="drs_03_0046__li16886428142717">DDS-&gt;MongoDB</li></ul>
</li></ul>
<div class="note" id="drs_03_0046__en-us_topic_0135097933_note133345121551"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="drs_03_0046__ul153719333619"><li id="drs_03_0046__li7372633561">Flow control mode takes effect only during a full migration.</li><li id="drs_03_0046__li1687520372614">After the traffic rate is modified in the incremental migration phase, the modification takes effect when the task enters the full migration phase again.</li></ul>
</div></div>

File diff suppressed because it is too large Load Diff

View File

@ -3,8 +3,9 @@
<h1 class="topictitle1">Pausing a Synchronization Task</h1>
<div id="body1585882064568"><p id="drs_03_0110__p169721643104211">DRS allows you to pause real-time synchronization tasks.</p>
<p id="drs_03_0110__p659562012449">The following tasks can be paused during incremental synchronization:</p>
<ul id="drs_03_0110__ul9956177646"><li id="drs_03_0110__li205301455658">To the cloud<ul id="drs_03_0110__ul15180135311814"><li id="drs_03_0110__li1470371998">MySQL-&gt;MySQL</li><li id="drs_03_0110__li990375720106">PostgreSQL-&gt;PostgreSQL</li></ul>
</li><li id="drs_03_0110__li24531858150">From the cloud<ul id="drs_03_0110__ul20200531590"><li id="drs_03_0110__li143913992">MySQL-&gt;MySQL</li></ul>
<ul id="drs_03_0110__ul9956177646"><li id="drs_03_0110__li205301455658">To the cloud<ul id="drs_03_0110__ul15180135311814"><li id="drs_03_0110__li1470371998">MySQL-&gt;MySQL</li><li id="drs_03_0110__li990375720106">PostgreSQL-&gt;PostgreSQL</li><li id="drs_03_0110__li144076618114">Oracle-&gt;PostgreSQL</li></ul>
</li><li id="drs_03_0110__li24531858150">From the cloud<ul id="drs_03_0110__ul20200531590"><li id="drs_03_0110__li143913992">MySQL-&gt;MySQL</li><li id="drs_03_0110__li520013391">MySQL-&gt;Kafka</li></ul>
</li><li id="drs_03_0110__li1859212012618">Self-built -&gt; Self-built<ul id="drs_03_0110__ul429813341360"><li id="drs_03_0110__li179416331676">MySQL-&gt;Kafka</li></ul>
</li></ul>
<p id="drs_03_0110__p1832632712502">In addition, the following tasks can be paused during full synchronization:</p>
<ul id="drs_03_0110__ul122041523125110"><li id="drs_03_0110__li491613348512">MySQL-&gt;MySQL</li></ul>

View File

@ -0,0 +1,31 @@
<a name="drs_03_043"></a><a name="drs_03_043"></a>
<h1 class="topictitle1">Checking Whether the Source Database Character Set Is Supported</h1>
<div id="body8662426"><div class="section" id="drs_03_043__en-us_topic_0000001160467810_section79874427016"><h4 class="sectiontitle">Oracle Synchronization</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_043__en-us_topic_0000001160467810_table119871342607" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Checking whether the source database character set is supported</caption><tbody><tr id="drs_03_043__en-us_topic_0000001160467810_row6986184219011"><th class="firstcol" valign="top" width="11%" id="mcps1.3.1.2.2.3.1.1"><p id="drs_03_043__en-us_topic_0000001160467810_p149861342802">Check Item</p>
</th>
<td class="cellrowborder" valign="top" width="89%" headers="mcps1.3.1.2.2.3.1.1 "><p id="drs_03_043__en-us_topic_0000001160467810_p109861425013">Whether the source database character set is supported</p>
</td>
</tr>
<tr id="drs_03_043__en-us_topic_0000001160467810_row298616421019"><th class="firstcol" valign="top" width="11%" id="mcps1.3.1.2.2.3.2.1"><p id="drs_03_043__en-us_topic_0000001160467810_p17986124219018">Description</p>
</th>
<td class="cellrowborder" valign="top" width="89%" headers="mcps1.3.1.2.2.3.2.1 "><p id="drs_03_043__en-us_topic_0000001160467810_p169861242703">If the character set of the source database is not supported, data synchronization may fail. A migration task from Oracle only supports the following character sets: ZHS16GBK, AL32UTF8, UTF8, US7ASCII, WE8MSWIN1252, and WE8ISO8859P1.</p>
</td>
</tr>
<tr id="drs_03_043__en-us_topic_0000001160467810_row15986164211011"><th class="firstcol" valign="top" width="11%" id="mcps1.3.1.2.2.3.3.1"><p id="drs_03_043__en-us_topic_0000001160467810_p69861242307">Failure Cause and Handling Suggestion</p>
</th>
<td class="cellrowborder" valign="top" width="89%" headers="mcps1.3.1.2.2.3.3.1 "><p id="drs_03_043__en-us_topic_0000001160467810_p198619422011">Failure cause: The source database character set is not supported.</p>
<p id="drs_03_043__en-us_topic_0000001160467810_p2986114217013">Handling suggestion: Go back to the connection test page and select a source database with supported character sets or change the character set of the source database to AL32UTF8.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_12_0008.html">Database Parameters</a></div>
</div>
</div>

View File

@ -4,7 +4,11 @@
<div id="body0000001089145473"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="drs_03_1131.html">Forcibly Stopping Synchronization of GaussDB(for openGauss) Distributed</a></strong><br>
<li class="ulchildlink"><strong><a href="drs_03_0052.html">Kafka Message Format</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="drs_05_0018.html">Kafka Authentication</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="drs_03_1131.html">Forcibly Stopping Synchronization of GaussDB Distributed</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="drs_12_0009.html">Forcibly Stopping Synchronization of PostgreSQL</a></strong><br>
</li>

View File

@ -208,7 +208,7 @@
<tr id="drs_03_1117__row19827128212"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.5.3.3.2.1.2.3.1.1 "><p id="drs_03_1117__p1882715215211">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.5.3.3.2.1.2.3.1.2 "><p id="drs_03_1117__p68272021522">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_03_1117__note118041213163"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1117__ul266710518121"><li id="drs_03_1117__li36671451181216">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_03_1117__li1657285318124">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_03_1117__note118041213163"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1117__ul266710518121"><li id="drs_03_1117__li36671451181216">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_03_1117__li1657285318124">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -247,7 +247,7 @@
<tr id="drs_03_1117__row1697263113449"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.5.3.3.2.3.2.3.1.1 "><p id="drs_03_1117__p169721731164419">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.5.3.3.2.3.2.3.1.2 "><p id="drs_03_1117__p59727312441">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_03_1117__note20972831204411"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1117__ul597215312442"><li id="drs_03_1117__li119721531144416">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_03_1117__li16972163164419">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_03_1117__note20972831204411"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1117__ul597215312442"><li id="drs_03_1117__li119721531144416">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_03_1117__li16972163164419">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -303,7 +303,7 @@
</td>
<td class="cellrowborder" valign="top" width="83.89999999999999%" headers="mcps1.3.5.3.4.2.1.2.3.1.2 "><p id="drs_03_1117__en-us_topic_0135097933_en-us_topic_0078078071_p1384592151414">You can choose to migrate all objects, tables, or databases based on your service requirements.</p>
<ul id="drs_03_1117__en-us_topic_0135097933_en-us_topic_0078078071_ul78601316141810"><li id="drs_03_1117__en-us_topic_0135097933_en-us_topic_0078078071_li1486001601818"><strong id="drs_03_1117__b202852013831710">All</strong>: All objects in the source database are migrated to the destination database. After the migration, the object names will remain the same as those in the source database and cannot be modified.</li><li id="drs_03_1117__en-us_topic_0135097933_li156818580599"><strong id="drs_03_1117__b202385169731710">Tables</strong>: The selected table-level objects will be migrated.</li><li id="drs_03_1117__en-us_topic_0135097933_li165086239593"><strong id="drs_03_1117__b87633568031710">Databases</strong>: The selected database-level objects will be migrated.</li></ul>
<p id="drs_03_1117__en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_03_1117__en-us_topic_0135097933_image959917843110" src="en-us_image_0000001341094584.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<p id="drs_03_1117__en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_03_1117__en-us_topic_0135097933_image959917843110" src="en-us_image_0000001758429581.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<div class="note" id="drs_03_1117__note127225415467"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1117__drs_04_0088_en-us_topic_0135097933_ul19601624657"><li id="drs_03_1117__drs_04_0088_en-us_topic_0135097933_li1960112416510">If you choose not to migrate all of the databases, the migration may fail because the objects, such as stored procedures and views, in the databases to be migrated may have dependencies on other objects that are not migrated. To prevent migration failure, migrate all of the databases.</li><li id="drs_03_1117__drs_04_0088_li1650961216398">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_03_1117__drs_04_0088_li95123124391">The name of the selected migration object cannot contain spaces.</li><li id="drs_03_1117__drs_04_0088_en-us_topic_0135097933_li01376524218">To quickly select the desired database objects, you can use the search function.</li></ul>
</div></div>
</td>
@ -362,7 +362,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_03_1117__li44061116144511"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_03_1117__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_03_1117__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_03_1117__drs_04_0088_li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_03_1117__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_03_1117__drs_04_0088_image9514202614340" src="en-us_image_0000001391694113.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li><li id="drs_03_1117__li44061116144511"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_03_1117__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_03_1117__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_03_1117__drs_04_0088_li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_03_1117__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_03_1117__drs_04_0088_image9514202614340" src="en-us_image_0000001758429809.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -207,7 +207,7 @@
<tr id="drs_03_1118__row7611101151711"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.5.2.3.2.1.2.3.1.1 "><p id="drs_03_1118__p10611101116178">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.5.2.3.2.1.2.3.1.2 "><p id="drs_03_1118__p1661141171717">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_03_1118__note1611151113171"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1118__ul10611111110172"><li id="drs_03_1118__li161171110178">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_03_1118__li18611191114170">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_03_1118__note1611151113171"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1118__ul10611111110172"><li id="drs_03_1118__li161171110178">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_03_1118__li18611191114170">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -277,20 +277,20 @@
</tr>
<tr id="drs_03_1118__row1161761181716"><td class="cellrowborder" valign="top" width="16.1%" headers="mcps1.3.5.2.4.2.1.2.3.1.1 "><p id="drs_03_1118__p1561751131719">Synchronize</p>
</td>
<td class="cellrowborder" valign="top" width="83.89999999999999%" headers="mcps1.3.5.2.4.2.1.2.3.1.2 "><p id="drs_03_1118__p1261761117170">Supports index synchronization. You can determine whether to synchronize indexes based on the service requirements.</p>
<td class="cellrowborder" valign="top" width="83.89999999999999%" headers="mcps1.3.5.2.4.2.1.2.3.1.2 "><p id="drs_03_1118__p1261761117170">Supports index synchronization. You can determine whether to synchronize indexes based on the service requirements. If you deselect <strong id="drs_03_1118__b10202132082316">Normal index</strong>, DDL statements related to index adding will be filtered out in the incremental phase. If the DDL statements contain other operations, they may also be filtered out.</p>
</td>
</tr>
<tr id="drs_03_1118__row166170119176"><td class="cellrowborder" valign="top" width="16.1%" headers="mcps1.3.5.2.4.2.1.2.3.1.1 "><p id="drs_03_1118__p9617171110178">Start Point</p>
</td>
<td class="cellrowborder" valign="top" width="83.89999999999999%" headers="mcps1.3.5.2.4.2.1.2.3.1.2 "><p id="drs_03_1118__p86171411121715">The position where the incremental log was created based on the source log. It allows you to perform resumable data transfer.</p>
<p id="drs_03_1118__p1618171121710">For an incremental synchronization task, the start point must be in the standard format. You can run the <strong id="drs_03_1118__b749698106">show master status</strong> command in the source database to obtain the start point.</p>
<p id="drs_03_1118__p1618171121710">For an incremental synchronization task, the start point must be in the standard format. You can run the <strong id="drs_03_1118__b965705398">show master status</strong> command in the source database to obtain the start point.</p>
<ul id="drs_03_1118__ul5618121111713"><li id="drs_03_1118__li261861111173">If GTID mode is disabled, the format of the start point is File:Position (for example, mysql-bin.014734:8937).</li><li id="drs_03_1118__li1561811117179">After the GTID is enabled, the format of the start point is File:Position; Executed_Gtid_Set (for example, mysql-bin.014734:8937;ea352a82-e9a0-11ea-b650-fa163e1e82ed:1-23377228, 8404bb4b-cc96-11ea-ae7f-fa163ead1b99:1-59684135)</li></ul>
</td>
</tr>
<tr id="drs_03_1118__row1961810114172"><td class="cellrowborder" valign="top" width="16.1%" headers="mcps1.3.5.2.4.2.1.2.3.1.1 "><p id="drs_03_1118__p1361801191720">Synchronization Object</p>
</td>
<td class="cellrowborder" valign="top" width="83.89999999999999%" headers="mcps1.3.5.2.4.2.1.2.3.1.2 "><p id="drs_03_1118__p4618131112179">Select <strong id="drs_03_1118__b32592653043044">Tables</strong>, <strong id="drs_03_1118__b90984827143044">Databases</strong>, or <strong id="drs_03_1118__b61208337143044">Import object file</strong> as required.</p>
<div class="note" id="drs_03_1118__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1118__drs_04_0102_ul12221742164912"><li id="drs_03_1118__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_03_1118__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_03_1118__drs_04_0102_image20940105054917" src="en-us_image_0000001341574132.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<div class="note" id="drs_03_1118__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1118__drs_04_0102_ul12221742164912"><li id="drs_03_1118__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_03_1118__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_03_1118__drs_04_0102_image20940105054917" src="en-us_image_0000001758549389.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<ul id="drs_03_1118__drs_04_0102_ul19601624657"><li id="drs_03_1118__drs_04_0102_li10479103119262">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_03_1118__drs_04_0102_li01376524218">The name of the selected synchronization object cannot contain spaces.</li></ul>
</div></div>
</td>
@ -318,7 +318,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_03_1118__li0622171151718"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_03_1118__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_03_1118__drs_04_0102_ul46880011174414"><li id="drs_03_1118__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_03_1118__drs_04_0102_li56201830174851">You can click <span><img id="drs_03_1118__drs_04_0102_image728174522212" src="en-us_image_0000001341414140.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_03_1118__li0622171151718"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_03_1118__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_03_1118__drs_04_0102_ul46880011174414"><li id="drs_03_1118__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_03_1118__drs_04_0102_li56201830174851">You can click <span><img id="drs_03_1118__drs_04_0102_image728174522212" src="en-us_image_0000001758549405.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -146,12 +146,6 @@
</div></div>
</td>
</tr>
<tr id="drs_03_1124__row481272212"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.5.3.2.2.2.2.3.1.1 "><p id="drs_03_1124__en-us_topic_0000001158043927_p65921748463">AZ</p>
</td>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.5.3.2.2.2.2.3.1.2 "><p id="drs_03_1124__en-us_topic_0000001158043927_p55924474615">This parameter is available only when you select <strong id="drs_03_1124__b96355805571515">primary/standby</strong> for <strong id="drs_03_1124__b99054139771515">Instance Type</strong>. It indicates the type of the DRS instance. If the source or destination database is in the same AZ as the DRS instance, you can get better performance.</p>
<p id="drs_03_1124__en-us_topic_0000001158043927_p38142191099">If <strong id="drs_03_1124__b30633431071515">Instance Type</strong> is set to <strong id="drs_03_1124__b17697213671515">primary/standby</strong>, you can specify <strong id="drs_03_1124__b113022915671515">Primary AZ</strong> and <strong id="drs_03_1124__b188609772671515">Standby AZ</strong>.</p>
</td>
</tr>
<tr id="drs_03_1124__row11681455143620"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.5.3.2.2.2.2.3.1.1 "><p id="drs_03_1124__p1276314133599">Tags</p>
</td>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.5.3.2.2.2.2.3.1.2 "><ul id="drs_03_1124__ul18366437153711"><li id="drs_03_1124__drs_04_0102_li118251138171510">This setting is optional. Adding tags helps you better identify and manage your tasks. Each task can have up to 20 tags.</li><li id="drs_03_1124__drs_04_0102_li1382517381156">After a task is created, you can view its tag details on the <strong id="drs_03_1124__drs_04_0102_b4510183112113">Tags</strong> tab. For details, see <a href="drs_synchronization_tag.html">Tag Management</a>.</li></ul>
@ -261,6 +255,7 @@
</td>
<td class="cellrowborder" valign="top" width="79.4%" headers="mcps1.3.5.3.4.2.1.2.3.1.2 "><p id="drs_03_1124__p12981737151915">Whether to synchronize normal indexes.</p>
<p id="drs_03_1124__p177893082014">By default, DRS synchronizes the primary key or unique index. A normal index refers to an index other than the primary key or unique index. If you select normal index, all indexes will be synchronized. If you do not select normal index, only the primary key and unique index will be synchronized.</p>
<p id="drs_03_1124__p109931132151919">If you deselect <strong id="drs_03_1124__b10202132082316">Normal index</strong>, DDL statements related to index adding will be filtered out in the incremental phase. If the DDL statements contain other operations, they may also be filtered out.</p>
</td>
</tr>
<tr id="drs_03_1124__row7298103791920"><td class="cellrowborder" valign="top" width="20.599999999999998%" headers="mcps1.3.5.3.4.2.1.2.3.1.1 "><p id="drs_03_1124__p12984372199">Synchronization Object</p>
@ -268,7 +263,7 @@
<td class="cellrowborder" valign="top" width="79.4%" headers="mcps1.3.5.3.4.2.1.2.3.1.2 "><p id="drs_03_1124__p16298637101913">Select <strong id="drs_03_1124__b1476854271910">Tables</strong> or <strong id="drs_03_1124__b97848429197">Databases</strong> as required.</p>
<ul id="drs_03_1124__ul14298153711196"><li id="drs_03_1124__li1390164719575">If the synchronization objects in source and destination databases have different names, you can map the source object name to the destination one. For details, see <a href="drs_10_0015.html">Mapping Object Names</a>.<p id="drs_03_1124__p991383152515">If the database table name contains characters other than letters, digits, and underscores (_), or the mapped database table name contains hyphens (-) and number signs (#), the name length cannot exceed 42 characters.</p>
</li></ul>
<div class="note" id="drs_03_1124__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1124__drs_04_0102_ul12221742164912"><li id="drs_03_1124__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_03_1124__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_03_1124__drs_04_0102_image20940105054917" src="en-us_image_0000001341574132.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<div class="note" id="drs_03_1124__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_03_1124__drs_04_0102_ul12221742164912"><li id="drs_03_1124__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_03_1124__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_03_1124__drs_04_0102_image20940105054917" src="en-us_image_0000001758549389.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<ul id="drs_03_1124__drs_04_0102_ul19601624657"><li id="drs_03_1124__drs_04_0102_li10479103119262">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_03_1124__drs_04_0102_li01376524218">The name of the selected synchronization object cannot contain spaces.</li></ul>
</div></div>
</td>
@ -296,7 +291,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_03_1124__li8977172817311"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_03_1124__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_03_1124__drs_04_0102_ul46880011174414"><li id="drs_03_1124__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_03_1124__drs_04_0102_li56201830174851">You can click <span><img id="drs_03_1124__drs_04_0102_image728174522212" src="en-us_image_0000001341414140.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_03_1124__li8977172817311"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_03_1124__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_03_1124__drs_04_0102_ul46880011174414"><li id="drs_03_1124__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_03_1124__drs_04_0102_li56201830174851">You can click <span><img id="drs_03_1124__drs_04_0102_image728174522212" src="en-us_image_0000001758549405.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -1,10 +1,10 @@
<a name="drs_03_1131"></a><a name="drs_03_1131"></a>
<h1 class="topictitle1">Forcibly Stopping Synchronization of GaussDB(for openGauss) Distributed</h1>
<div id="body0000001188935632"><p id="drs_03_1131__p8060118">This section describes how to clear the streaming replication slots of the source GaussDB(for openGauss) distributed database after the incremental or full+incremental synchronization task is forcibly stopped.</p>
<div class="section" id="drs_03_1131__section131903017311"><h4 class="sectiontitle">Prerequisites</h4><p id="drs_03_1131__p139533783410">Common users do not have the permission to perform the execute direct operation. To delete streaming replication slots, contact GaussDB(for openGauss) O&amp;M personnel.</p>
<h1 class="topictitle1">Forcibly Stopping Synchronization of GaussDB Distributed</h1>
<div id="body0000001188935632"><p id="drs_03_1131__p8060118">This section describes how to clear the streaming replication slots of the source GaussDB distributed database after the incremental or full+incremental synchronization task is forcibly stopped.</p>
<div class="section" id="drs_03_1131__section131903017311"><h4 class="sectiontitle">Prerequisites</h4><p id="drs_03_1131__p139533783410">Common users do not have the permission to perform the execute direct operation. To delete streaming replication slots, contact GaussDB O&amp;M personnel.</p>
</div>
<div class="section" id="drs_03_1131__section429621210368"><h4 class="sectiontitle">Procedure</h4><ol id="drs_03_1131__ol927453512617"><li id="drs_03_1131__li152741335102619"><span>Log in to each primary DN node of GaussDB(for openGauss) distributed instance as the user used when you tested the connectivity between the DRS instance and the GaussDB(for openGauss) distributed instance.</span></li><li id="drs_03_1131__li4276143622720"><a name="drs_03_1131__li4276143622720"></a><a name="li4276143622720"></a><span>Run the following statement to query the streaming replication slot name of the database object selected for the synchronization task:</span><p><pre class="screen" id="drs_03_1131__screen9362152918514">select slot_name from pg_replication_slots where database = '<em id="drs_03_1131__i1525493347">database</em>';</pre>
<div class="section" id="drs_03_1131__section429621210368"><h4 class="sectiontitle">Procedure</h4><ol id="drs_03_1131__ol927453512617"><li id="drs_03_1131__li152741335102619"><span>Log in to each primary DN node of GaussDB distributed instance as the user used when you tested the connectivity between the DRS instance and the GaussDB distributed instance.</span></li><li id="drs_03_1131__li4276143622720"><a name="drs_03_1131__li4276143622720"></a><a name="li4276143622720"></a><span>Run the following statement to query the streaming replication slot name of the database object selected for the synchronization task:</span><p><pre class="screen" id="drs_03_1131__screen9362152918514">select slot_name from pg_replication_slots where database = '<em id="drs_03_1131__i1525493347">database</em>';</pre>
<div class="notice" id="drs_03_1131__note290614316501"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="drs_03_1131__p490664335011">In the preceding command, <em id="drs_03_1131__i256413546342">database</em> indicates the database selected in the synchronization task.</p>
</div></div>
</p></li><li id="drs_03_1131__li1972122552918"><span>Run the following statement to delete the streaming replication slot:</span><p><pre class="screen" id="drs_03_1131__screen865111885316">select * from pg_drop_replication_slot('<em id="drs_03_1131__i975474753518">slot_name</em>');</pre>

View File

@ -6,7 +6,7 @@
<ul id="drs_03_1134__ul11811637153915"><li id="drs_03_1134__li418110376393">Task name</li><li id="drs_03_1134__li2181163733918">Description</li><li id="drs_03_1134__li11811337123919">Task start time</li></ul>
<div class="section" id="drs_03_1134__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><p id="drs_03_1134__p198941020113312">You have logged in to the DRS console.</p>
</div>
<div class="section" id="drs_03_1134__section0711639144016"><h4 class="sectiontitle">Procedure</h4><ol id="drs_03_1134__en-us_topic_0049044698_ol36506495172844"><li id="drs_03_1134__li1996848121019"><span>On the <span class="uicontrol" id="drs_03_1134__uicontrol97688013902412"><b>Disaster Recovery Management</b></span> page, click the target DR task in the <strong id="drs_03_1134__b212851648402412">Task Name/ID</strong> column.</span></li><li id="drs_03_1134__li16509857151712"><span>On the <strong id="drs_03_1134__b52030057902412">Basic Information</strong> tab, locate the information to be modified in the <strong id="drs_03_1134__b212725520402412">Task Information</strong> area.</span><p><ul id="drs_03_1134__ul11666701180"><li id="drs_03_1134__li3209162081011">You can click <span><img id="drs_03_1134__image125923263515" src="en-us_image_0000001391774109.png"></span> to modify the task name and description.<ul id="drs_03_1134__ul1765113206412"><li id="drs_03_1134__li165122018412">To submit the change, click <span><img id="drs_03_1134__image1573742415363" src="en-us_image_0000001391853873.png"></span>.</li><li id="drs_03_1134__li1565192014114">To cancel the change, click <span><img id="drs_03_1134__image148013133711" src="en-us_image_0000001391773741.png"></span>.</li></ul>
<div class="section" id="drs_03_1134__section0711639144016"><h4 class="sectiontitle">Procedure</h4><ol id="drs_03_1134__en-us_topic_0049044698_ol36506495172844"><li id="drs_03_1134__li1996848121019"><span>On the <span class="uicontrol" id="drs_03_1134__uicontrol97688013902412"><b>Disaster Recovery Management</b></span> page, click the target DR task in the <strong id="drs_03_1134__b212851648402412">Task Name/ID</strong> column.</span></li><li id="drs_03_1134__li16509857151712"><span>On the <strong id="drs_03_1134__b52030057902412">Basic Information</strong> tab, locate the information to be modified in the <strong id="drs_03_1134__b212725520402412">Task Information</strong> area.</span><p><ul id="drs_03_1134__ul11666701180"><li id="drs_03_1134__li3209162081011">You can click <span><img id="drs_03_1134__image125923263515" src="en-us_image_0000001710631156.png"></span> to modify the task name and description.<ul id="drs_03_1134__ul1765113206412"><li id="drs_03_1134__li165122018412">To submit the change, click <span><img id="drs_03_1134__image1573742415363" src="en-us_image_0000001710471092.png"></span>.</li><li id="drs_03_1134__li1565192014114">To cancel the change, click <span><img id="drs_03_1134__image148013133711" src="en-us_image_0000001758430185.png"></span>.</li></ul>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_03_1134__table146511420114120" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Real-time DR task information</caption><thead align="left"><tr id="drs_03_1134__row265292015411"><th align="left" class="cellrowborder" valign="top" width="26.13%" id="mcps1.3.5.2.2.2.1.1.3.2.3.1.1"><p id="drs_03_1134__p1365211206413">Task Information</p>
</th>

View File

@ -6,7 +6,7 @@
<ul id="drs_04_0006__ul290022872012"><li id="drs_04_0006__li4900228122014">Task name</li><li id="drs_04_0006__li15429104872012">Description</li><li id="drs_04_0006__li2220927182912">Task start time</li></ul>
<div class="section" id="drs_04_0006__section16256919193311"><h4 class="sectiontitle">Prerequisites</h4><ul id="drs_04_0006__ul268371811469"><li id="drs_04_0006__li10683111894614">You have logged in to the DRS console.</li><li id="drs_04_0006__li1876513216463">A migration task has been created.</li></ul>
</div>
<div class="section" id="drs_04_0006__section94001015141112"><h4 class="sectiontitle">Procedure</h4><ol id="drs_04_0006__en-us_topic_0049044698_ol36506495172844"><li id="drs_04_0006__li1996848121019"><span>On the <strong id="drs_04_0006__b2014595718171">Online Migration Management</strong> page, click the target migration task name in the <strong id="drs_04_0006__b1014513574172">Task Name/ID</strong> column.</span></li><li id="drs_04_0006__li1778536913"><span>On the <strong id="drs_04_0006__b1135752818344">Basic Information</strong> tab, locate the information to be modified in the <strong id="drs_04_0006__b4357172883414">Task Information</strong> area.</span><p><ul id="drs_04_0006__ul102091220131019"><li id="drs_04_0006__li3209162081011">You can click <span><img id="drs_04_0006__image125923263515" src="en-us_image_0000001391534429.png"></span> to modify the task name and description.<ul id="drs_04_0006__ul226810515119"><li id="drs_04_0006__li6670101918019">To submit the change, click <span><img id="drs_04_0006__image1573742415363" src="en-us_image_0000001341414096.png"></span>.</li><li id="drs_04_0006__li202681159115">To cancel the change, click <span><img id="drs_04_0006__image148013133711" src="en-us_image_0000001341094536.png"></span>.</li></ul>
<div class="section" id="drs_04_0006__section94001015141112"><h4 class="sectiontitle">Procedure</h4><ol id="drs_04_0006__en-us_topic_0049044698_ol36506495172844"><li id="drs_04_0006__li1996848121019"><span>On the <strong id="drs_04_0006__b2014595718171">Online Migration Management</strong> page, click the target migration task name in the <strong id="drs_04_0006__b1014513574172">Task Name/ID</strong> column.</span></li><li id="drs_04_0006__li1778536913"><span>On the <strong id="drs_04_0006__b1135752818344">Basic Information</strong> tab, locate the information to be modified in the <strong id="drs_04_0006__b4357172883414">Task Information</strong> area.</span><p><ul id="drs_04_0006__ul102091220131019"><li id="drs_04_0006__li3209162081011">You can click <span><img id="drs_04_0006__image125923263515" src="en-us_image_0000001710470864.png"></span> to modify the task name and description.<ul id="drs_04_0006__ul226810515119"><li id="drs_04_0006__li6670101918019">To submit the change, click <span><img id="drs_04_0006__image1573742415363" src="en-us_image_0000001710630012.png"></span>.</li><li id="drs_04_0006__li202681159115">To cancel the change, click <span><img id="drs_04_0006__image148013133711" src="en-us_image_0000001758429613.png"></span>.</li></ul>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_04_0006__table11403142202410" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Task information </caption><thead align="left"><tr id="drs_04_0006__row17404132212417"><th align="left" class="cellrowborder" valign="top" width="26.13%" id="mcps1.3.5.2.2.2.1.1.3.2.3.1.1"><p id="drs_04_0006__p15404192292420">Task Information</p>
</th>

View File

@ -6,7 +6,7 @@
<ul id="drs_04_0008__ul290022872012"><li id="drs_04_0008__li4900228122014">Task name</li><li id="drs_04_0008__li15429104872012">Description</li></ul>
<div class="section" id="drs_04_0008__section26651432141410"><h4 class="sectiontitle">Prerequisites</h4><p id="drs_04_0008__p366543216144">You have logged in to the DRS console.</p>
</div>
<div class="section" id="drs_04_0008__section94001015141112"><h4 class="sectiontitle">Procedure</h4><ol id="drs_04_0008__ol2665532141411"><li id="drs_04_0008__li2665183241416"><span>On the <strong id="drs_04_0008__b321311463446">Backup Migration Management</strong> page, click the target migration task name in the <strong id="drs_04_0008__b321418462440">Task Name/ID</strong> column.</span></li><li id="drs_04_0008__li1778536913"><span>On the <strong id="drs_04_0008__b0998174917443">Basic Information</strong> page, click <span><img id="drs_04_0008__image08337287383" src="en-us_image_0000001391534429.png"></span> next to the information to modify.</span><p><ul id="drs_04_0008__ul1166516328145"><li id="drs_04_0008__li6670101918019">To submit the change, click <span><img id="drs_04_0008__image1176495314019" src="en-us_image_0000001341414096.png"></span>.</li><li id="drs_04_0008__li20665103216148">To cancel the change, click <span><img id="drs_04_0008__image24101336114116" src="en-us_image_0000001341094536.png"></span>.</li></ul>
<div class="section" id="drs_04_0008__section94001015141112"><h4 class="sectiontitle">Procedure</h4><ol id="drs_04_0008__ol2665532141411"><li id="drs_04_0008__li2665183241416"><span>On the <strong id="drs_04_0008__b321311463446">Backup Migration Management</strong> page, click the target migration task name in the <strong id="drs_04_0008__b321418462440">Task Name/ID</strong> column.</span></li><li id="drs_04_0008__li1778536913"><span>On the <strong id="drs_04_0008__b0998174917443">Basic Information</strong> page, click <span><img id="drs_04_0008__image08337287383" src="en-us_image_0000001710470864.png"></span> next to the information to modify.</span><p><ul id="drs_04_0008__ul1166516328145"><li id="drs_04_0008__li6670101918019">To submit the change, click <span><img id="drs_04_0008__image1176495314019" src="en-us_image_0000001710630012.png"></span>.</li><li id="drs_04_0008__li20665103216148">To cancel the change, click <span><img id="drs_04_0008__image24101336114116" src="en-us_image_0000001758429613.png"></span>.</li></ul>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_04_0008__table11403142202410" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Task information description</caption><thead align="left"><tr id="drs_04_0008__row17404132212417"><th align="left" class="cellrowborder" valign="top" width="26.13%" id="mcps1.3.5.2.2.2.2.2.3.1.1"><p id="drs_04_0008__p15404192292420"><strong id="drs_04_0008__b19787915184510">Task Information</strong></p>
</th>

View File

@ -3,9 +3,9 @@
<h1 class="topictitle1">How Do I Ensure that All Services on the Database Are Stopped?</h1>
<div id="body8662426"><p id="drs_04_0020__en-us_topic_0000001160307870_p146828490437">To ensure that all services on the database are stopped, perform the following steps:</p>
<ol id="drs_04_0020__en-us_topic_0000001160307870_ol1592828141017"><li id="drs_04_0020__en-us_topic_0000001160307870_li199284881017"><span>Run the following statement on the source database to check whether active connections exist:</span><p><pre class="codeblock" id="drs_04_0020__en-us_topic_0000001160307870_codeblock9660165784015">show processlist;</pre>
<div class="fignone" id="drs_04_0020__en-us_topic_0000001160307870_fig1166302975716"><span class="figcap"><b>Figure 1 </b>Checking active connections</span><br><span><img id="drs_04_0020__en-us_topic_0000001160307870_image156637293574" src="en-us_image_0000001391694041.png"></span></div>
<div class="fignone" id="drs_04_0020__en-us_topic_0000001160307870_fig1166302975716"><span class="figcap"><b>Figure 1 </b>Checking active connections</span><br><span><img id="drs_04_0020__en-us_topic_0000001160307870_image156637293574" src="en-us_image_0000001758429757.png"></span></div>
</p></li><li id="drs_04_0020__en-us_topic_0000001160307870_li1918692395914"><strong>Optional: </strong><span>If there are active connections, locate the service processes based on the values in the <strong id="drs_04_0020__en-us_topic_0000001160307870_b1289023316459">Host</strong> column in the command output and stop the service processes.</span></li><li id="drs_04_0020__en-us_topic_0000001160307870_li6896418171013"><span>Run the following statement in the source database to check the binlog position. Then, record the two values in the <strong id="drs_04_0020__en-us_topic_0000001160307870_b7533258135811">file</strong> and <strong id="drs_04_0020__en-us_topic_0000001160307870_b1728474135919">position</strong> columns as <strong id="drs_04_0020__en-us_topic_0000001160307870_b1777946195315">ckpt1</strong>:</span><p><pre class="codeblock" id="drs_04_0020__en-us_topic_0000001160307870_codeblock113013219581">show master status;</pre>
<div class="fignone" id="drs_04_0020__en-us_topic_0000001160307870_fig31414917597"><span class="figcap"><b>Figure 2 </b>Viewing the binlog position</span><br><span><img id="drs_04_0020__en-us_topic_0000001160307870_image2142497597" src="en-us_image_0000001341414136.png"></span></div>
<div class="fignone" id="drs_04_0020__en-us_topic_0000001160307870_fig31414917597"><span class="figcap"><b>Figure 2 </b>Viewing the binlog position</span><br><span><img id="drs_04_0020__en-us_topic_0000001160307870_image2142497597" src="en-us_image_0000001758549585.png"></span></div>
</p></li><li id="drs_04_0020__en-us_topic_0000001160307870_li3220131011241"><span>Wait for more than 30s. Run the following statement in the source database to check the binlog position again. Then, record the two values in the <strong id="drs_04_0020__en-us_topic_0000001160307870_b6680104510596">file</strong> and <strong id="drs_04_0020__en-us_topic_0000001160307870_b146800454598">position</strong> columns as <strong id="drs_04_0020__en-us_topic_0000001160307870_b176807450597">ckpt2</strong>. If <strong id="drs_04_0020__en-us_topic_0000001160307870_b65811947115518">ckpt1</strong> and <strong id="drs_04_0020__en-us_topic_0000001160307870_b98898498551">ckpt2</strong> are equal, no data is written to the source database.</span><p><pre class="codeblock" id="drs_04_0020__en-us_topic_0000001160307870_codeblock5288823717">show master status;</pre>
</p></li></ol>
<p id="drs_04_0020__en-us_topic_0000001160307870_p8060118"></p>

View File

@ -8,6 +8,10 @@
</li>
<li class="ulchildlink"><strong><a href="drs_16_1124.html">Can Online DDL Tools Be Used for Real-time Synchronization?</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="drs_16_1151.html">Why Do I Use the SCAN IP Address to Connect to an Oracle RAC Cluster?</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="drs_16_1155.html">How Do I Check Supplemental Logging of the Source Oracle Database?</a></strong><br>
</li>
</ul>
<div class="familylinks">

View File

@ -20,7 +20,7 @@
<p id="drs_04_0034__en-us_topic_0000001205627867_p1988914541285">Full+incremental migration:</p>
<p id="drs_04_0034__en-us_topic_0000001205627867_p1088913541989">SELECT, SHOW VIEW, EVENT, LOCK TABLES, REPLICATION SLAVE, and REPLICATION CLIENT</p>
<ul id="drs_04_0034__en-us_topic_0000001205627867_ul327172591218"><li id="drs_04_0034__en-us_topic_0000001205627867_li10398175451210">REPLICATION SLAVE and REPLICATION CLIENT are global permissions and must be enabled separately. The reference statement is as follows:<p id="drs_04_0034__en-us_topic_0000001205627867_p2606555171212"><a name="drs_04_0034__en-us_topic_0000001205627867_li10398175451210"></a><a name="en-us_topic_0000001205627867_li10398175451210"></a><strong id="drs_04_0034__en-us_topic_0000001205627867_b185962019456">GRANT</strong> REPLICATION SLAVE, REPLICATION CLIENT <strong id="drs_04_0034__en-us_topic_0000001205627867_b3721346455">ON</strong> *.* <strong id="drs_04_0034__en-us_topic_0000001205627867_b1830814615457">TO</strong> 'user1';</p>
</li><li id="drs_04_0034__en-us_topic_0000001205627867_li841692851212">SELECT, SHOW VIEW, EVENT, and LOCK TABLES are non-global permissions. The reference statement is as follows:<p id="drs_04_0034__en-us_topic_0000001205627867_p17656615101311"><a name="drs_04_0034__en-us_topic_0000001205627867_li841692851212"></a><a name="en-us_topic_0000001205627867_li841692851212"></a><strong id="drs_04_0034__en-us_topic_0000001205627867_b13712165819443">GRANT</strong> SELECT, SHOW VIEW, EVENT, LOCK TABLES, <strong id="drs_04_0034__en-us_topic_0000001205627867_b0564952144415">ON</strong> [Database to be migrated].* <strong id="drs_04_0034__en-us_topic_0000001205627867_b81451255184418">TO</strong> 'user1';</p>
</li><li id="drs_04_0034__en-us_topic_0000001205627867_li841692851212">SELECT, SHOW VIEW, EVENT, and LOCK TABLES are non-global permissions. The reference statement is as follows:<p id="drs_04_0034__en-us_topic_0000001205627867_p17656615101311"><a name="drs_04_0034__en-us_topic_0000001205627867_li841692851212"></a><a name="en-us_topic_0000001205627867_li841692851212"></a><strong id="drs_04_0034__en-us_topic_0000001205627867_b13712165819443">GRANT</strong> SELECT, SHOW VIEW, EVENT, LOCK TABLES <strong id="drs_04_0034__en-us_topic_0000001205627867_b0564952144415">ON</strong> [Database to be migrated].* <strong id="drs_04_0034__en-us_topic_0000001205627867_b81451255184418">TO</strong> 'user1';</p>
</li></ul>
</td>
<td class="cellrowborder" valign="top" width="48.4048404840484%" headers="mcps1.3.2.2.2.2.2.4.1.3 "><p id="drs_04_0034__en-us_topic_0000001205627867_p228318401793">Full migration:</p>
@ -35,7 +35,7 @@
</td>
<td class="cellrowborder" valign="top" width="42.06420642064206%" headers="mcps1.3.2.2.2.2.2.4.1.2 "><p id="drs_04_0034__en-us_topic_0000001205627867_p12915011714">SELECT, SHOW VIEW, EVENT, LOCK TABLES, REPLICATION SLAVE, and REPLICATION CLIENT</p>
<ul id="drs_04_0034__en-us_topic_0000001205627867_ul18326201910346"><li id="drs_04_0034__en-us_topic_0000001205627867_li232681943418">REPLICATION SLAVE and REPLICATION CLIENT are global permissions and must be enabled separately. The reference statement is as follows:<p id="drs_04_0034__en-us_topic_0000001205627867_p133271419143417"><a name="drs_04_0034__en-us_topic_0000001205627867_li232681943418"></a><a name="en-us_topic_0000001205627867_li232681943418"></a><strong id="drs_04_0034__en-us_topic_0000001205627867_b13937123719446">GRANT</strong> REPLICATION SLAVE, REPLICATION CLIENT <strong id="drs_04_0034__en-us_topic_0000001205627867_b316844019441">ON</strong> *.* <strong id="drs_04_0034__en-us_topic_0000001205627867_b1540144214448">TO</strong> 'user1';</p>
</li><li id="drs_04_0034__en-us_topic_0000001205627867_li2032791914347">SELECT, SHOW VIEW, EVENT, and LOCK TABLES are non-global permissions. The reference statement is as follows:<p id="drs_04_0034__en-us_topic_0000001205627867_p332711920342"><a name="drs_04_0034__en-us_topic_0000001205627867_li2032791914347"></a><a name="en-us_topic_0000001205627867_li2032791914347"></a><strong id="drs_04_0034__en-us_topic_0000001205627867_b179982094313">GRANT</strong> SELECT, SHOW VIEW, EVENT, LOCK TABLES, <strong id="drs_04_0034__en-us_topic_0000001205627867_b129981892033">ON</strong> [Database to be synchronized].* <strong id="drs_04_0034__en-us_topic_0000001205627867_b5999892038">TO</strong> 'user1';</p>
</li><li id="drs_04_0034__en-us_topic_0000001205627867_li2032791914347">SELECT, SHOW VIEW, EVENT, and LOCK TABLES are non-global permissions. The reference statement is as follows:<p id="drs_04_0034__en-us_topic_0000001205627867_p332711920342"><a name="drs_04_0034__en-us_topic_0000001205627867_li2032791914347"></a><a name="en-us_topic_0000001205627867_li2032791914347"></a><strong id="drs_04_0034__en-us_topic_0000001205627867_b179982094313">GRANT</strong> SELECT, SHOW VIEW, EVENT, LOCK TABLES <strong id="drs_04_0034__en-us_topic_0000001205627867_b129981892033">ON</strong> [Database to be synchronized].* <strong id="drs_04_0034__en-us_topic_0000001205627867_b5999892038">TO</strong> 'user1';</p>
</li></ul>
</td>
<td class="cellrowborder" valign="top" width="48.4048404840484%" headers="mcps1.3.2.2.2.2.2.4.1.3 "><p id="drs_04_0034__en-us_topic_0000001205627867_p1328320580107">The root account of RDS for MySQL has the following permissions by default: SELECT, CREATE, DROP, DELETE, INSERT, UPDATE, ALTER, CREATE VIEW, CREATE ROUTINE, and REFERENCES If the destination database version is in the range 8.0.14 to 8.0.18, the SESSION_VARIABLES_ADMIN permission is required.</p>

View File

@ -282,7 +282,7 @@
<tr id="drs_04_0088__row19827128212"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.7.3.3.2.2.1.1.2.3.1.1 "><p id="drs_04_0088__p1882715215211">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.7.3.3.2.2.1.1.2.3.1.2 "><p id="drs_04_0088__p68272021522">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_04_0088__note118041213163"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0088__ul266710518121"><li id="drs_04_0088__li36671451181216">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0088__li1657285318124">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_04_0088__note118041213163"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0088__ul266710518121"><li id="drs_04_0088__li36671451181216">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0088__li1657285318124">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -379,10 +379,10 @@
<tr id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_row2592193212194"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.3.4.2.1.2.3.1.1 "><p id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_p7592232201911">Migrate Account</p>
</td>
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.7.3.4.2.1.2.3.1.2 "><p id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_p11670239171013">During a database migration, accounts need to be migrated separately.</p>
<div class="p" id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_p106411111205412">There are accounts that can be migrated completely, accounts whose permissions need to be reduced, and accounts that cannot be migrated. You can choose whether to migrate the accounts based on service requirements. If you select <span class="uicontrol" id="drs_04_0088__en-us_topic_0135097933_uicontrol1845534122119"><b>Yes</b></span>, you can select the accounts to be migrated as required.<ul id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_ul52489455107"><li id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_li52487450107"><strong id="drs_04_0088__b816160519">Yes</strong><p id="drs_04_0088__en-us_topic_0135097933_p10236114416406">If you need to migrate accounts, see <a href="drs_09_0017.html">Migrating Accounts</a>.</p>
<div class="p" id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_p106411111205412">There are accounts that can be migrated completely, accounts whose permissions need to be reduced, and accounts that cannot be migrated. You can choose whether to migrate the accounts based on service requirements. If you select <span class="uicontrol" id="drs_04_0088__en-us_topic_0135097933_uicontrol1845534122119"><b>Yes</b></span>, you can select the accounts to be migrated as required.<ul id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_ul52489455107"><li id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_li52487450107"><strong id="drs_04_0088__b1182679">Yes</strong><p id="drs_04_0088__en-us_topic_0135097933_p10236114416406">If you need to migrate accounts, see <a href="drs_09_0017.html">Migrating Accounts</a>.</p>
</li></ul>
</div>
<ul id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_ul17378301111"><li id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_li07371535115"><strong id="drs_04_0088__b310462314">No</strong><p id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_p794655681211">During migration, accounts, permissions, and passwords are not migrated.</p>
<ul id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_ul17378301111"><li id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_li07371535115"><strong id="drs_04_0088__b532696104">No</strong><p id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_p794655681211">During migration, accounts, permissions, and passwords are not migrated.</p>
</li></ul>
</td>
</tr>
@ -397,7 +397,7 @@
</td>
<td class="cellrowborder" valign="top" width="75%" headers="mcps1.3.7.3.4.2.1.2.3.1.2 "><p id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_p1384592151414">You can choose to migrate all objects, tables, or databases based on your service requirements.</p>
<ul id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_ul78601316141810"><li id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_li1486001601818"><strong id="drs_04_0088__b1437618103812">All</strong>: All objects in the source database are migrated to the destination database. After the migration, the object names will remain the same as those in the source database and cannot be modified.</li><li id="drs_04_0088__en-us_topic_0135097933_li156818580599"><strong id="drs_04_0088__b14439158381">Tables</strong>: The selected table-level objects will be migrated.</li><li id="drs_04_0088__en-us_topic_0135097933_li165086239593"><strong id="drs_04_0088__b21461518123810">Databases</strong>: The selected database-level objects will be migrated.</li></ul>
<p id="drs_04_0088__en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_04_0088__en-us_topic_0135097933_image959917843110" src="en-us_image_0000001341254308.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<p id="drs_04_0088__en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_04_0088__en-us_topic_0135097933_image959917843110" src="en-us_image_0000001710470728.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<div class="note" id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_note6192135932115"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0088__en-us_topic_0135097933_ul19601624657"><li id="drs_04_0088__en-us_topic_0135097933_li1960112416510">If you choose not to migrate all of the databases, the migration may fail because the objects, such as stored procedures and views, in the databases to be migrated may have dependencies on other objects that are not migrated. To prevent migration failure, migrate all of the databases.</li><li id="drs_04_0088__li1650961216398">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_04_0088__li95123124391">The name of the selected migration object cannot contain spaces.</li><li id="drs_04_0088__en-us_topic_0135097933_li01376524218">To quickly select the desired database objects, you can use the search function.</li></ul>
</div></div>
</td>
@ -439,7 +439,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0088__li10985938122918"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_04_0088__li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_04_0088__image9514202614340" src="en-us_image_0000001391694113.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0088__li10985938122918"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_04_0088__li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_04_0088__en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_04_0088__image9514202614340" src="en-us_image_0000001758429809.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -8,9 +8,9 @@
</th>
</tr>
</thead>
<tbody><tr id="drs_04_0095__row98172391416"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.1 "><ul id="drs_04_0095__en-us_topic_0000001147220024_en-us_topic_0000001102794420_ul05091027162417"><li id="drs_04_0095__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li1050902722417">On-premises Mongo database (versions 3.2, 3.4, and 4.0)</li><li id="drs_04_0095__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li1050913273244">Self-built MongoDB on ECS (versions 3.2, 3.4, and 4.0)</li><li id="drs_04_0095__li19632205665910">MongoDB 3.2, 3.4, and 4.0 on other clouds</li><li id="drs_04_0095__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li95091427122414">DDS DB instances (versions 3.4 and 4.0)</li></ul>
<tbody><tr id="drs_04_0095__row98172391416"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.1 "><ul id="drs_04_0095__en-us_topic_0000001147220024_en-us_topic_0000001102794420_ul05091027162417"><li id="drs_04_0095__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li1050902722417">On-premises MongoDB (versions 3.2, 3.4, 3.6, 4.0, 4.2, and 4.4)</li><li id="drs_04_0095__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li1050913273244">ECS-hosted MongoDB (versions 3.2, 3.4, 3.6, 4.0, 4.2, and 4.4)</li><li id="drs_04_0095__li19632205665910">Other Cloud MongoDB 3.2, 3.4, 3.6, 4.0, 4.2, and 4.4</li><li id="drs_04_0095__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li95091427122414">DDS DB instances (versions 3.2, 3.4, 4.0, 4.2, and 4.4)</li></ul>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.2 "><ul id="drs_04_0095__ul1511621519251"><li id="drs_04_0095__li17116115182516">DDS DB instance (versions 3.4, 4.0, and 4.2)<div class="note" id="drs_04_0095__note1841273541416"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="drs_04_0095__p1256681085419">The destination database version must be the same as or later than the source database version.</p>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.2 "><ul id="drs_04_0095__ul1511621519251"><li id="drs_04_0095__li17116115182516">DDS DB instances (versions 3.4, 4.0, 4.2, and 4.4)<div class="note" id="drs_04_0095__note1841273541416"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="drs_04_0095__p1256681085419">The destination database version must be the same as or later than the source database version.</p>
</div></div>
</li></ul>
</td>
@ -29,7 +29,7 @@
</thead>
<tbody><tr id="drs_04_0095__row1691585554016"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.3.2.3.1.1 "><p id="drs_04_0095__p191525513403">Migration objects</p>
</td>
<td class="cellrowborder" valign="top" width="82%" headers="mcps1.3.2.3.2.3.1.2 "><ul id="drs_04_0095__ul13915175554017"><li id="drs_04_0095__li17112031123813">Object level: table Level, database level, or instance level (full migration).</li><li id="drs_04_0095__li1191535514408">Supported migration objects:<ul id="drs_04_0095__ul923225103815"><li id="drs_04_0095__li72016134013">Associated objects must be migrated at the same time to avoid migration failure caused by missing associated objects. Common dependencies: collections referenced by views, and views referenced by views</li><li id="drs_04_0095__li1224152511387">Replica set: Only collections (including validator and capped collections), indexes, and views can be migrated.</li><li id="drs_04_0095__li024225143819">Cluster: Only collections (including validator and capped collections), shard keys, indexes, and views can be migrated.</li><li id="drs_04_0095__li16247255381">Single node: Only collections (including validator and capped collections), indexes, and views can be migrated.</li><li id="drs_04_0095__li122417251386">Only user data and source database account information can be migrated. The system databases (for example, local, admin, and config) and system collection cannot be migrated. If service data is stored in the system database, run the <strong id="drs_04_0095__b626419250366">renameCollection</strong> command to move the service data to the user database.</li><li id="drs_04_0095__li14248252387">The statement for creating a view cannot contain a regular expression.</li><li id="drs_04_0095__li3241125153815">Collections that contain the <strong id="drs_04_0095__b8897856032576">_id</strong> field without indexes are not supported.</li><li id="drs_04_0095__li824925183812">The first parameter of <strong id="drs_04_0095__b65894231468">BinData()</strong> cannot be <strong id="drs_04_0095__b1474711201668">2</strong>.</li><li id="drs_04_0095__li82402512382">If ranged sharding is used, <strong id="drs_04_0095__b11658573643468">maxKey</strong> cannot be used as the primary key.</li></ul>
<td class="cellrowborder" valign="top" width="82%" headers="mcps1.3.2.3.2.3.1.2 "><ul id="drs_04_0095__ul13915175554017"><li id="drs_04_0095__li17112031123813">Object level: table Level, database level, or instance level (full migration).</li><li id="drs_04_0095__li1191535514408">Supported migration objects:<ul id="drs_04_0095__ul923225103815"><li id="drs_04_0095__li72016134013">Associated objects must be migrated at the same time to avoid migration failure caused by missing associated objects. Common dependencies: collections referenced by views, and views referenced by views</li><li id="drs_04_0095__li1224152511387">Replica set: Only collections (including validator and capped collections), indexes, and views can be migrated.</li><li id="drs_04_0095__li024225143819">Cluster: Only collections (including validator and capped collections), shard keys, indexes, and views can be migrated.</li><li id="drs_04_0095__li16247255381">Single node: Only collections (including validator and capped collections), indexes, and views can be migrated.</li><li id="drs_04_0095__li122417251386">Only user data and source database account information can be migrated. The system databases (for example, local, admin, and config) and system collection cannot be migrated. If service data is stored in the system database, run the <strong id="drs_04_0095__b626419250366">renameCollection</strong> command to move the service data to the user database.</li><li id="drs_04_0095__li14248252387">The statement for creating a view cannot contain a regular expression.</li><li id="drs_04_0095__li3241125153815">Collections that contain the <strong id="drs_04_0095__b8897856032576">_id</strong> field without indexes are not supported.</li><li id="drs_04_0095__li824925183812">The first parameter of <strong id="drs_04_0095__b65894231468">BinData()</strong> cannot be <strong id="drs_04_0095__b1474711201668">2</strong>.</li><li id="drs_04_0095__li82402512382">If ranged sharding is used, <strong id="drs_04_0095__b11658573643468">maxKey</strong> cannot be used as the primary key.</li><li id="drs_04_0095__li135318444365">Do not store non-UTF-8 character strings in the String field of the source database collection. Otherwise, data will be inconsistent before and after the migration.</li><li id="drs_04_0095__li3260655103519">If the source is a cluster instance of version 4.4, composite hash indexes and composite hash shard keys are not supported.</li><li id="drs_04_0095__li142601255123515">If the source is a replica set instance of version 4.4, composite hash indexes are not supported.</li></ul>
<div class="note" id="drs_04_0095__note109467198613"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="drs_04_0095__en-us_topic_0000001089078059_p462623811588">The objects that can be migrated have the following constraints:</p>
<ul id="drs_04_0095__ul1543211124118"><li id="drs_04_0095__li943215110419">The source database name cannot contain /\.$ or spaces. The collection name and view name cannot start with <strong id="drs_04_0095__b7911342323468">system.</strong> or contain the dollar sign ($).</li></ul>
</div></div>
@ -293,7 +293,7 @@
<tr id="drs_04_0095__row123367521676"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.7.3.3.2.1.1.1.2.3.1.1 "><p id="drs_04_0095__p1933610528713">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.7.3.3.2.1.1.1.2.3.1.2 "><p id="drs_04_0095__p203361052676">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_04_0095__note1033612522077"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0095__ul533616521376"><li id="drs_04_0095__li103367527711">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0095__li1533665210716">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_04_0095__note1033612522077"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0095__ul533616521376"><li id="drs_04_0095__li103367527711">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0095__li1533665210716">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -368,7 +368,7 @@
</td>
<td class="cellrowborder" valign="top" width="83.27%" headers="mcps1.3.7.3.4.2.1.2.3.1.2 "><p id="drs_04_0095__p189288361457">You can choose to migrate all objects, tables, or databases based on your service requirements.</p>
<ul id="drs_04_0095__ul692812368518"><li id="drs_04_0095__li192843619520"><strong id="drs_04_0095__b1437618103812">All</strong>: All objects in the source database are migrated to the destination database. After the migration, the object names will remain the same as those in the source database and cannot be modified.</li><li id="drs_04_0095__li156818580599"><strong id="drs_04_0095__b14439158381">Tables</strong>: The selected table-level objects will be migrated.</li><li id="drs_04_0095__li165086239593"><strong id="drs_04_0095__b21461518123810">Databases</strong>: The selected database-level objects will be migrated.</li></ul>
<p id="drs_04_0095__p759715540459">If the source database is changed, click <span><img id="drs_04_0095__en-us_topic_0135097933_image959917843110" src="en-us_image_0000001391693901.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<p id="drs_04_0095__p759715540459">If the source database is changed, click <span><img id="drs_04_0095__en-us_topic_0135097933_image959917843110" src="en-us_image_0000001710470416.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<div class="note" id="drs_04_0095__note127225415467"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0095__drs_04_0088_en-us_topic_0135097933_ul19601624657"><li id="drs_04_0095__drs_04_0088_en-us_topic_0135097933_li1960112416510">If you choose not to migrate all of the databases, the migration may fail because the objects, such as stored procedures and views, in the databases to be migrated may have dependencies on other objects that are not migrated. To prevent migration failure, migrate all of the databases.</li><li id="drs_04_0095__drs_04_0088_li1650961216398">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_04_0095__drs_04_0088_li95123124391">The name of the selected migration object cannot contain spaces.</li><li id="drs_04_0095__drs_04_0088_en-us_topic_0135097933_li01376524218">To quickly select the desired database objects, you can use the search function.</li></ul>
</div></div>
</td>
@ -397,7 +397,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0095__li1362614331799"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0095__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_04_0095__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_04_0095__drs_04_0088_li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_04_0095__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_04_0095__drs_04_0088_image9514202614340" src="en-us_image_0000001391694113.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0095__li1362614331799"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0095__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_04_0095__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_04_0095__drs_04_0088_li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_04_0095__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_04_0095__drs_04_0088_image9514202614340" src="en-us_image_0000001758429809.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -154,7 +154,7 @@
</tr>
<tr id="drs_04_0100__row134451814141212"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.6.3.2.2.1.2.1.2.3.1.1 "><p id="drs_04_0100__p15445314141213">Destination DB Engine</p>
</td>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.6.3.2.2.1.2.1.2.3.1.2 "><p id="drs_04_0100__p1445201421211">Select <strong id="drs_04_0100__b977693758">MySQL</strong>.</p>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.6.3.2.2.1.2.1.2.3.1.2 "><p id="drs_04_0100__p1445201421211">Select <strong id="drs_04_0100__b55002655">MySQL</strong>.</p>
</td>
</tr>
<tr id="drs_04_0100__row15445181415124"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.6.3.2.2.1.2.1.2.3.1.1 "><p id="drs_04_0100__p444571481213">Network Type</p>
@ -258,7 +258,7 @@
<tr id="drs_04_0100__row8901105010294"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.6.3.3.2.3.2.3.1.1 "><p id="drs_04_0100__p190145082911">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.6.3.3.2.3.2.3.1.2 "><p id="drs_04_0100__p1790120506297">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_04_0100__note20901150112914"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0100__ul6901750142918"><li id="drs_04_0100__li1090105018290">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0100__li99012501296">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_04_0100__note20901150112914"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0100__ul6901750142918"><li id="drs_04_0100__li1090105018290">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0100__li99012501296">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -316,7 +316,7 @@
</td>
<td class="cellrowborder" valign="top" width="83.89999999999999%" headers="mcps1.3.6.3.4.2.1.2.3.1.2 "><p id="drs_04_0100__en-us_topic_0135097933_en-us_topic_0078078071_p1384592151414">You can choose to migrate all objects, tables, or databases based on your service requirements.</p>
<ul id="drs_04_0100__en-us_topic_0135097933_en-us_topic_0078078071_ul78601316141810"><li id="drs_04_0100__en-us_topic_0135097933_en-us_topic_0078078071_li1486001601818"><strong id="drs_04_0100__b1437618103812">All</strong>: All objects in the source database are migrated to the destination database. After the migration, the object names will remain the same as those in the source database and cannot be modified.</li><li id="drs_04_0100__en-us_topic_0135097933_li156818580599"><strong id="drs_04_0100__b14439158381">Tables</strong>: The selected table-level objects will be migrated.</li><li id="drs_04_0100__en-us_topic_0135097933_li165086239593"><strong id="drs_04_0100__b21461518123810">Databases</strong>: The selected database-level objects will be migrated.</li></ul>
<p id="drs_04_0100__en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_04_0100__en-us_topic_0135097933_image959917843110" src="en-us_image_0000001341094436.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<p id="drs_04_0100__en-us_topic_0135097933_p759715540459">If the source database is changed, click <span><img id="drs_04_0100__en-us_topic_0135097933_image959917843110" src="en-us_image_0000001710630464.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<div class="note" id="drs_04_0100__note127225415467"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0100__drs_04_0088_en-us_topic_0135097933_ul19601624657"><li id="drs_04_0100__drs_04_0088_en-us_topic_0135097933_li1960112416510">If you choose not to migrate all of the databases, the migration may fail because the objects, such as stored procedures and views, in the databases to be migrated may have dependencies on other objects that are not migrated. To prevent migration failure, migrate all of the databases.</li><li id="drs_04_0100__drs_04_0088_li1650961216398">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_04_0100__drs_04_0088_li95123124391">The name of the selected migration object cannot contain spaces.</li><li id="drs_04_0100__drs_04_0088_en-us_topic_0135097933_li01376524218">To quickly select the desired database objects, you can use the search function.</li></ul>
</div></div>
</td>
@ -346,7 +346,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0100__li44061116144511"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0100__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_04_0100__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_04_0100__drs_04_0088_li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_04_0100__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_04_0100__drs_04_0088_image9514202614340" src="en-us_image_0000001391694113.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0100__li44061116144511"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0100__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_04_0100__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_04_0100__drs_04_0088_li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_04_0100__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_04_0100__drs_04_0088_image9514202614340" src="en-us_image_0000001758429809.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -8,9 +8,9 @@
</th>
</tr>
</thead>
<tbody><tr id="drs_04_0101__row98172391416"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.1 "><ul id="drs_04_0101__ul6724102652216"><li id="drs_04_0101__li187241026192218">DDS DB instances (versions 3.2, 3.4, and 4.0)</li></ul>
<tbody><tr id="drs_04_0101__row98172391416"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.1 "><ul id="drs_04_0101__ul6724102652216"><li id="drs_04_0101__li187241026192218">DDS DB instances (versions 3.2, 3.4, 4.0, 4.2, and 4.4)</li></ul>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.2 "><ul id="drs_04_0101__en-us_topic_0000001147220024_en-us_topic_0000001102794420_ul1619075611425"><li id="drs_04_0101__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li145612011124320">On-premises Mongo database (versions 3.2, 3.4, and 4.0)</li><li id="drs_04_0101__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li16561711114315">Self-built MongoDB on ECS (versions 3.2, 3.4, and 4.0)</li><li id="drs_04_0101__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li5319174653718">MongoDB 3.2, 3.4, and 4.0 on other clouds<div class="note" id="drs_04_0101__note1841273541416"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="drs_04_0101__p1256681085419">The destination database version must be the same as or later than the source database version.</p>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.2 "><ul id="drs_04_0101__en-us_topic_0000001147220024_en-us_topic_0000001102794420_ul1619075611425"><li id="drs_04_0101__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li145612011124320">On-premises MongoDB (versions 3.2, 3.4, 3.6, 4.0, 4.2, and 4.4)</li><li id="drs_04_0101__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li16561711114315">ECS-hosted MongoDB (versions 3.2, 3.4, 3.6, 4.0, 4.2, and 4.4)</li><li id="drs_04_0101__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li5319174653718">Other cloud MongoDB (versions 3.2, 3.4, 3.6, 4.0, 4.2, and 4.4)<div class="note" id="drs_04_0101__note1841273541416"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="drs_04_0101__p1256681085419">The destination database version must be the same as or later than the source database version.</p>
</div></div>
</li></ul>
</td>
@ -29,7 +29,7 @@
</thead>
<tbody><tr id="drs_04_0101__row1691585554016"><td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.2.3.2.3.1.1 "><p id="drs_04_0101__p191525513403">Migration objects</p>
</td>
<td class="cellrowborder" valign="top" width="82%" headers="mcps1.3.2.3.2.3.1.2 "><ul id="drs_04_0101__ul13915175554017"><li id="drs_04_0101__li17112031123813">Object level: table Level, database level, or instance level (full migration).</li><li id="drs_04_0101__li1191535514408">Supported migration objects:<ul id="drs_04_0101__ul923225103815"><li id="drs_04_0101__li2041181641614">Associated objects must be migrated at the same time to avoid migration failure caused by missing associated objects. Common dependencies: collections referenced by views, and views referenced by views</li><li id="drs_04_0101__li1341101616163">Replica set: Only collections (including validator and capped collections), indexes, and views can be migrated.</li><li id="drs_04_0101__li11411151615162">Cluster: Only collections (including validator and capped collections), shard keys, indexes, and views can be migrated.</li><li id="drs_04_0101__li541131612169">Single node: Only collections (including validator and capped collections), indexes, and views can be migrated.</li><li id="drs_04_0101__li1816163717165">System databases (such as local, admin, and config) cannot be migrated. You need to manually create usernames and roles in the destination database.</li><li id="drs_04_0101__li841171617167">The statement for creating a view cannot contain a regular expression.</li><li id="drs_04_0101__li114111916141615">Collections that contain the <strong id="drs_04_0101__drs_04_0095_b8897856032576">_id</strong> field without indexes are not supported.</li><li id="drs_04_0101__li134114169169">The first parameter of <strong id="drs_04_0101__drs_04_0095_b65894231468">BinData()</strong> cannot be <strong id="drs_04_0101__drs_04_0095_b1474711201668">2</strong>.</li></ul>
<td class="cellrowborder" valign="top" width="82%" headers="mcps1.3.2.3.2.3.1.2 "><ul id="drs_04_0101__ul13915175554017"><li id="drs_04_0101__li17112031123813">Object level: table Level, database level, or instance level (full migration).</li><li id="drs_04_0101__li1191535514408">Supported migration objects:<ul id="drs_04_0101__ul923225103815"><li id="drs_04_0101__li2041181641614">Associated objects must be migrated at the same time to avoid migration failure caused by missing associated objects. Common dependencies: collections referenced by views, and views referenced by views</li><li id="drs_04_0101__li1341101616163">Replica set: Only collections (including validator and capped collections), indexes, and views can be migrated.</li><li id="drs_04_0101__li11411151615162">Cluster: Only collections (including validator and capped collections), shard keys, indexes, and views can be migrated.</li><li id="drs_04_0101__li541131612169">Single node: Only collections (including validator and capped collections), indexes, and views can be migrated.</li><li id="drs_04_0101__li1816163717165">System databases (such as local, admin, and config) cannot be migrated. You need to manually create usernames and roles in the destination database.</li><li id="drs_04_0101__li841171617167">The statement for creating a view cannot contain a regular expression.</li><li id="drs_04_0101__li114111916141615">Collections that contain the <strong id="drs_04_0101__drs_04_0095_b8897856032576">_id</strong> field without indexes are not supported.</li><li id="drs_04_0101__li134114169169">The first parameter of <strong id="drs_04_0101__drs_04_0095_b65894231468">BinData()</strong> cannot be <strong id="drs_04_0101__drs_04_0095_b1474711201668">2</strong>.</li><li id="drs_04_0101__li135318444365">Do not store non-UTF-8 character strings in the String field of the source database collection. Otherwise, data will be inconsistent before and after the migration.</li></ul>
</li></ul>
</td>
</tr>
@ -277,7 +277,7 @@
<tr id="drs_04_0101__row19827128212"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.7.3.3.2.3.2.3.1.1 "><p id="drs_04_0101__p1882715215211">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.7.3.3.2.3.2.3.1.2 "><p id="drs_04_0101__p68272021522">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_04_0101__note14630114741717"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0101__ul7406173631314"><li id="drs_04_0101__li740673671315">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0101__li3391133821316">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_04_0101__note14630114741717"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0101__ul7406173631314"><li id="drs_04_0101__li740673671315">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0101__li3391133821316">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -314,7 +314,7 @@
</td>
<td class="cellrowborder" valign="top" width="83.57%" headers="mcps1.3.7.3.4.2.1.2.3.1.2 "><p id="drs_04_0101__en-us_topic_0078078071_p1384592151414">You can choose to migrate all objects, tables, or databases based on your service requirements.</p>
<ul id="drs_04_0101__en-us_topic_0078078071_ul78601316141810"><li id="drs_04_0101__en-us_topic_0078078071_li1486001601818"><strong id="drs_04_0101__b1437618103812">All</strong>: All objects in the source database are migrated to the destination database. After the migration, the object names will remain the same as those in the source database and cannot be modified.</li><li id="drs_04_0101__li156818580599"><strong id="drs_04_0101__b14439158381">Tables</strong>: The selected table-level objects will be migrated.</li><li id="drs_04_0101__li165086239593"><strong id="drs_04_0101__b21461518123810">Databases</strong>: The selected database-level objects will be migrated.</li></ul>
<p id="drs_04_0101__p759715540459">If the source database is changed, click <span><img id="drs_04_0101__en-us_topic_0135097933_image959917843110" src="en-us_image_0000001391534285.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<p id="drs_04_0101__p759715540459">If the source database is changed, click <span><img id="drs_04_0101__en-us_topic_0135097933_image959917843110" src="en-us_image_0000001758549869.png"></span> in the upper right corner before selecting migration objects to ensure that the objects to be selected are from the changed source database.</p>
<div class="note" id="drs_04_0101__note127225415467"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0101__drs_04_0088_en-us_topic_0135097933_ul19601624657"><li id="drs_04_0101__drs_04_0088_en-us_topic_0135097933_li1960112416510">If you choose not to migrate all of the databases, the migration may fail because the objects, such as stored procedures and views, in the databases to be migrated may have dependencies on other objects that are not migrated. To prevent migration failure, migrate all of the databases.</li><li id="drs_04_0101__drs_04_0088_li1650961216398">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_04_0101__drs_04_0088_li95123124391">The name of the selected migration object cannot contain spaces.</li><li id="drs_04_0101__drs_04_0088_en-us_topic_0135097933_li01376524218">To quickly select the desired database objects, you can use the search function.</li></ul>
</div></div>
</td>
@ -344,7 +344,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0101__li44061116144511"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0101__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_04_0101__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_04_0101__drs_04_0088_li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_04_0101__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_04_0101__drs_04_0088_image9514202614340" src="en-us_image_0000001391694113.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0101__li44061116144511"><span>After the task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0101__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_uicontrol2841808711922"><b>Online Migration Management</b></span> page.</span><p><ul id="drs_04_0101__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_ul46880011174414"><li id="drs_04_0101__drs_04_0088_li155061840145018">You can view the task status. For more information about task status, see <a href="drs_03_0001.html">Task Statuses</a>.</li><li id="drs_04_0101__drs_04_0088_en-us_topic_0135097933_en-us_topic_0078078071_li56201830174851">You can click <span><img id="drs_04_0101__drs_04_0088_image9514202614340" src="en-us_image_0000001758429809.png"></span> in the upper right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -206,7 +206,7 @@
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.5.3.3.2.1.1.1.1.2.3.1.2 "><p id="drs_04_0102__p871913489220">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<p id="drs_04_0102__p187722253110">This parameter is unavailable when the network type is VPC network and the database type is RDS DB instance.</p>
<div class="note" id="drs_04_0102__note197191548172216"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0102__ul17719548112214"><li id="drs_04_0102__li1971911481221">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0102__li10719104832218">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_04_0102__note197191548172216"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0102__ul17719548112214"><li id="drs_04_0102__li1971911481221">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0102__li10719104832218">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -284,7 +284,7 @@
</tr>
<tr id="drs_04_0102__row1244143720811"><td class="cellrowborder" valign="top" width="16.24%" headers="mcps1.3.5.3.4.2.1.2.3.1.1 "><p id="drs_04_0102__p124426371816">Synchronize</p>
</td>
<td class="cellrowborder" valign="top" width="83.76%" headers="mcps1.3.5.3.4.2.1.2.3.1.2 "><p id="drs_04_0102__p1262714517356">Normal indexes and incremental DDLs can be synchronized. You can determine whether to synchronize data based on service requirements.</p>
<td class="cellrowborder" valign="top" width="83.76%" headers="mcps1.3.5.3.4.2.1.2.3.1.2 "><p id="drs_04_0102__p1262714517356">Normal indexes and incremental DDLs can be synchronized. You can determine whether to synchronize data based on service requirements. If you deselect <strong id="drs_04_0102__b10202132082316">Normal index</strong>, DDL statements related to index adding will be filtered out in the incremental phase. If the DDL statements contain other operations, they may also be filtered out.</p>
</td>
</tr>
<tr id="drs_04_0102__row65551312171616"><td class="cellrowborder" valign="top" width="16.24%" headers="mcps1.3.5.3.4.2.1.2.3.1.1 "><p id="drs_04_0102__p18832121621612">Start Point</p>
@ -298,7 +298,7 @@
<td class="cellrowborder" valign="top" width="83.76%" headers="mcps1.3.5.3.4.2.1.2.3.1.2 "><p id="drs_04_0102__p16298637101913">Select <strong id="drs_04_0102__b1956119114169">Tables</strong> or <strong id="drs_04_0102__b1556231111612">Databases</strong> as required.</p>
<ul id="drs_04_0102__ul14298153711196"><li id="drs_04_0102__li1390164719575">If the synchronization objects in source and destination databases have different names, you can map the source object name to the destination one. For details, see <a href="drs_10_0015.html">Mapping Object Names</a>.<p id="drs_04_0102__p5907922242">If the database table name contains characters other than letters, digits, and underscores (_), or the mapped database table name contains hyphens (-) and number signs (#), the name length cannot exceed 42 characters.</p>
</li></ul>
<div class="note" id="drs_04_0102__en-us_topic_0078078071_note6192135932115"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0102__ul12221742164912"><li id="drs_04_0102__li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_04_0102__li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_04_0102__image20940105054917" src="en-us_image_0000001341574132.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<div class="note" id="drs_04_0102__en-us_topic_0078078071_note6192135932115"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0102__ul12221742164912"><li id="drs_04_0102__li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_04_0102__li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_04_0102__image20940105054917" src="en-us_image_0000001758549389.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<ul id="drs_04_0102__ul19601624657"><li id="drs_04_0102__li10479103119262">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_04_0102__li01376524218">The name of the selected synchronization object cannot contain spaces.</li></ul>
</div></div>
</td>
@ -326,7 +326,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0102__li2946246115512"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_04_0102__uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_04_0102__ul46880011174414"><li id="drs_04_0102__li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_04_0102__li56201830174851">You can click <span><img id="drs_04_0102__image728174522212" src="en-us_image_0000001341414140.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0102__li2946246115512"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_04_0102__uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_04_0102__ul46880011174414"><li id="drs_04_0102__li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_04_0102__li56201830174851">You can click <span><img id="drs_04_0102__image728174522212" src="en-us_image_0000001758549405.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -1,6 +1,6 @@
<a name="drs_04_0104"></a><a name="drs_04_0104"></a>
<h1 class="topictitle1">From MySQL to GaussDB(for openGauss) Distributed</h1>
<h1 class="topictitle1">From MySQL to GaussDB Distributed</h1>
<div id="body0000001089584215"><div class="section" id="drs_04_0104__section972219465132"><h4 class="sectiontitle">Supported Source and Destination Databases</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_04_0104__table98082311144" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Supported databases</caption><thead align="left"><tr id="drs_04_0104__row18172361412"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.2.2.3.1.1"><p id="drs_04_0104__p1281723171412">Source DB</p>
</th>
@ -10,7 +10,7 @@
</thead>
<tbody><tr id="drs_04_0104__row98172391416"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.1 "><ul id="drs_04_0104__en-us_topic_0000001147220024_en-us_topic_0000001102794420_ul14815142918916"><li id="drs_04_0104__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li1815122916910">On-premises MySQL databases</li><li id="drs_04_0104__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li138152029698">MySQL databases on an ECS</li><li id="drs_04_0104__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li12815102915919">MySQL databases on other clouds</li><li id="drs_04_0104__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li1581572911919">RDS for MySQL</li></ul>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.2 "><ul id="drs_04_0104__ul1629884661718"><li id="drs_04_0104__li12961134651717">GaussDB(for openGauss) distributed</li></ul>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.2 "><ul id="drs_04_0104__ul1629884661718"><li id="drs_04_0104__li12961134651717">GaussDB distributed</li></ul>
</td>
</tr>
</tbody>
@ -35,7 +35,7 @@
</thead>
<tbody><tr id="drs_04_0104__row1737218108388"><td class="cellrowborder" valign="top" width="18.42%" headers="mcps1.3.4.3.2.3.1.1 "><p id="drs_04_0104__p14372310143813">Database permissions</p>
</td>
<td class="cellrowborder" valign="top" width="81.58%" headers="mcps1.3.4.3.2.3.1.2 "><ul id="drs_04_0104__ul137391012384"><li id="drs_04_0104__li2373181003810">The source database user must have the following permissions: SELECT, SHOW VIEW, EVENT, LOCK TABLES, REPLICATION SLAVE, and REPLICATION CLIENT.</li><li id="drs_04_0104__li1072613411302">The destination GaussDB(for openGauss) database user must have the following permissions:<ul id="drs_04_0104__ul141507123018"><li id="drs_04_0104__li64921146713">Database-level permissions: Log in to the postgres base database as user <strong id="drs_04_0104__b144791282157">root</strong> or other DATABASE users with the Sysadmin role, and grant the CREATE and CONNECT permissions to user <strong id="drs_04_0104__b14811628161516">DATABASE</strong>.</li><li id="drs_04_0104__li644511111160">Schema-level permission: Log in to the database as user <strong id="drs_04_0104__b88137343159">root</strong> or user <strong id="drs_04_0104__b1881463418153">DATABASE</strong> with the Sysadmin role, or the owner of the object, and grant the CREATE and USAGE permissions of the schema to the user.</li><li id="drs_04_0104__li8244319944">Table-level permission: Log in to the database as user <strong id="drs_04_0104__b2092444211912">root</strong> or user <strong id="drs_04_0104__b1892719427192">DATABASE</strong> with the Sysadmin role, or the owner of the object, and grant the SELECT, UPDATE, INSERT, ALTER, INDEX, and DELETE permissions for all tables in the SCHEMA to the user.</li></ul>
<td class="cellrowborder" valign="top" width="81.58%" headers="mcps1.3.4.3.2.3.1.2 "><ul id="drs_04_0104__ul137391012384"><li id="drs_04_0104__li2373181003810">The source database user must have the following permissions: SELECT, SHOW VIEW, EVENT, LOCK TABLES, REPLICATION SLAVE, and REPLICATION CLIENT.</li><li id="drs_04_0104__li1072613411302">The destination GaussDB database user must have the following permissions:<ul id="drs_04_0104__ul141507123018"><li id="drs_04_0104__li64921146713">Database-level permissions: Log in to the postgres base database as user <strong id="drs_04_0104__b144791282157">root</strong> or other DATABASE users with the Sysadmin role, and grant the CREATE and CONNECT permissions to user <strong id="drs_04_0104__b14811628161516">DATABASE</strong>.</li><li id="drs_04_0104__li644511111160">Schema-level permission: Log in to the database as user <strong id="drs_04_0104__b88137343159">root</strong> or user <strong id="drs_04_0104__b1881463418153">DATABASE</strong> with the Sysadmin role, or the owner of the object, and grant the CREATE and USAGE permissions of the schema to the user.</li><li id="drs_04_0104__li8244319944">Table-level permission: Log in to the database as user <strong id="drs_04_0104__b2092444211912">root</strong> or user <strong id="drs_04_0104__b1892719427192">DATABASE</strong> with the Sysadmin role, or the owner of the object, and grant the SELECT, UPDATE, INSERT, ALTER, INDEX, and DELETE permissions for all tables in the SCHEMA to the user.</li></ul>
</li></ul>
</td>
</tr>
@ -59,14 +59,14 @@
</td>
<td class="cellrowborder" valign="top" width="81.58%" headers="mcps1.3.4.3.2.3.1.2 "><ul id="drs_04_0104__ul295994716384"><li id="drs_04_0104__li1960247113818">If the network is reconnected within 30 seconds, real-time synchronization will not be affected. If the network is interrupted for more than 30 seconds, the synchronization task will fail.</li><li id="drs_04_0104__li10960647143817">If the character sets of the source and destination databases are different, data may be inconsistent or synchronization may fail.</li><li id="drs_04_0104__li12960204718380">If the data types are incompatible, the synchronization may fail.</li><li id="drs_04_0104__li139609471382">After a table in the source database is synchronized to the destination database, the table is distributed in hash mode and cannot be replicated.</li><li id="drs_04_0104__li109601647133815">If the source DB instance is an RDS MySQL instance, tables encrypted using Transparent Data Encryption (TDE) cannot be synchronized.</li><li id="drs_04_0104__li83797815414">If the source MySQL database does not support TLS 1.2 or is a self-built database of an earlier version (earlier than 5.6.46 or between 5.7 and 5.7.28), you need to submit an O&amp;M application for testing the SSL connection.</li><li id="drs_04_0104__li17862132392814">The destination table can contain more columns than the source table. However, the following failures must be avoided:<ul id="drs_04_0104__ul17287327103315"><li id="drs_04_0104__li781092416334">Assume that extra columns on the destination cannot be null or have default values. If newly inserted data records are synchronized from the source to the destination, the extra columns will become null, which does not meet the requirements of the destination and will cause the task to fail.</li><li id="drs_04_0104__li2019597173512">Assume that extra columns on the destination must be fixed at a default value and have a unique constraint. If newly inserted data records are synchronized from the source to the destination, the extra columns will contain multiple default values. That does not meet the unique constraint of the destination and will cause the task to fail.</li></ul>
</li></ul>
<ul id="drs_04_0104__ul1110921283915"><li id="drs_04_0104__li111091412113914">The changes to the source database cannot be synchronized to the destination database in multiple tasks at the same time. Otherwise, data inconsistency and synchronization failure may occur.</li><li id="drs_04_0104__li1048411119163">In a full synchronization for the table structure, the length of char, varchar, nvarchar, enum, and set characters in the source database automatically increases by byte in the destination database (because the length of the destination database is in the unit of byte). The increase multiple depends on the character set of columns in the source database. For example, if the character set of the source database is UTF8, increase the length (byte) by three times. If the character set of the source database is UTF8MB4, increase the length (byte) by four times.</li><li id="drs_04_0104__li10109112183910">During an incremental synchronization, do not modify or delete the usernames, passwords, permissions, or ports of the source and destination databases.</li><li id="drs_04_0104__li12109312173919">During an incremental synchronization, DDLs of the source database cannot be replicated.</li><li id="drs_04_0104__li2109412153916">During an incremental synchronization, do not perform the restoration operation on the source database.</li><li id="drs_04_0104__li1611011123399">During task startup or full synchronization, you are not advised to perform DDL operations, such as the deletion operation. Otherwise, the task may fail.</li><li id="drs_04_0104__li1471210714241">Cascade operations cannot be performed on tables with foreign keys. If the foreign key index of a table is a common index, the table structure may fail to be created. You are advised to use a unique index.</li><li id="drs_04_0104__li1425531352413">The source database cannot be restored.</li><li id="drs_04_0104__li87304497346">The source database does not support the <strong id="drs_04_0104__b13434194273912">reset master</strong> or <strong id="drs_04_0104__b1343554273917">reset master to</strong> command, which may cause DRS task failures or data inconsistency.</li><li id="drs_04_0104__li387215193157">Do not use an imprecise value type as the primary key in the database. This feature affects the synchronization of UPDATE and DELETE statements in the DRS incremental scenario.</li><li id="drs_04_0104__li1689121981517">If tables without primary keys contain large fields (BLOB, TEXT, CLOB, NCLOB, or BYTEA), data of the large fields may be inconsistent during incremental synchronization.</li><li id="drs_04_0104__li29941255124819">Floating-point data is approximate numbers and depends on the OS platform and underlying implementation. FLOAT and DOUBLE data is inaccurate. If you synchronize floating-point data between MySQL and GaussDB(for openGauss), there may be some differences. For details, see the <a href="https://dev.mysql.com/doc/refman/5.7/en/floating-point-types.html" target="_blank" rel="noopener noreferrer">official MySQL documentation</a>.</li><li id="drs_04_0104__li1511001214398">Two-phase commit is not supported.</li><li id="drs_04_0104__li1411051218396">The ongoing synchronization task cannot be paused.</li><li id="drs_04_0104__li81103125397">Data processing is not supported.</li><li id="drs_04_0104__li20132244104819">If the source table to be synchronized has the AUTO_INCREMENT attribute, DRS automatically updates the start value of the GaussDB(for openGauss) auto-increment sequence corresponding to the integer sequence of the table when the task is complete. The updated value is the maximum value of the sequence plus 10,000.</li></ul>
<ul id="drs_04_0104__ul1110921283915"><li id="drs_04_0104__li111091412113914">The changes to the source database cannot be synchronized to the destination database in multiple tasks at the same time. Otherwise, data inconsistency and synchronization failure may occur.</li><li id="drs_04_0104__li1048411119163">In a full synchronization for the table structure, the length of char, varchar, nvarchar, enum, and set characters in the source database automatically increases by byte in the destination database (because the length of the destination database is in the unit of byte). The increase multiple depends on the character set of columns in the source database. For example, if the character set of the source database is UTF8, increase the length (byte) by three times. If the character set of the source database is UTF8MB4, increase the length (byte) by four times.</li><li id="drs_04_0104__li10109112183910">During an incremental synchronization, do not modify or delete the usernames, passwords, permissions, or ports of the source and destination databases.</li><li id="drs_04_0104__li12109312173919">During an incremental synchronization, DDLs of the source database cannot be replicated.</li><li id="drs_04_0104__li2109412153916">During an incremental synchronization, do not perform the restoration operation on the source database.</li><li id="drs_04_0104__li1611011123399">During task startup or full synchronization, you are not advised to perform DDL operations, such as the deletion operation. Otherwise, the task may fail.</li><li id="drs_04_0104__li1471210714241">Cascade operations cannot be performed on tables with foreign keys. If the foreign key index of a table is a common index, the table structure may fail to be created. You are advised to use a unique index.</li><li id="drs_04_0104__li1425531352413">The source database cannot be restored.</li><li id="drs_04_0104__li87304497346">The source database does not support the <strong id="drs_04_0104__b13434194273912">reset master</strong> or <strong id="drs_04_0104__b1343554273917">reset master to</strong> command, which may cause DRS task failures or data inconsistency.</li><li id="drs_04_0104__li387215193157">Do not use an imprecise value type as the primary key in the database. This feature affects the synchronization of UPDATE and DELETE statements in the DRS incremental scenario.</li><li id="drs_04_0104__li1689121981517">If tables without primary keys contain large fields (BLOB, TEXT, CLOB, NCLOB, or BYTEA), data of the large fields may be inconsistent during incremental synchronization.</li><li id="drs_04_0104__li29941255124819">Floating-point data is approximate numbers and depends on the OS platform and underlying implementation. FLOAT and DOUBLE data is inaccurate. If you synchronize floating-point data between MySQL and GaussDB, there may be some differences. For details, see the <a href="https://dev.mysql.com/doc/refman/5.7/en/floating-point-types.html" target="_blank" rel="noopener noreferrer">official MySQL documentation</a>.</li><li id="drs_04_0104__li1511001214398">Two-phase commit is not supported.</li><li id="drs_04_0104__li1411051218396">The ongoing synchronization task cannot be paused.</li><li id="drs_04_0104__li81103125397">Data processing is not supported.</li><li id="drs_04_0104__li20132244104819">If the source table to be synchronized has the AUTO_INCREMENT attribute, DRS automatically updates the start value of the GaussDB auto-increment sequence corresponding to the integer sequence of the table when the task is complete. The updated value is the maximum value of the sequence plus 10,000.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="drs_04_0104__section13305822425"><h4 class="sectiontitle">Procedure</h4><p id="drs_04_0104__p189006810188">This section uses real-time synchronization from MySQL to GaussDB(for openGauss) distributed as an example to describe how to configure a real-time synchronization task.</p>
<div class="section" id="drs_04_0104__section13305822425"><h4 class="sectiontitle">Procedure</h4><p id="drs_04_0104__p189006810188">This section uses real-time synchronization from MySQL to GaussDB distributed as an example to describe how to configure a real-time synchronization task.</p>
</div>
<ol id="drs_04_0104__en-us_topic_0060142340_en-us_topic_0023328311_ol7649021113044"><li id="drs_04_0104__en-us_topic_0060142340_en-us_topic_0023328311_li1732328113044"><span>On the <strong id="drs_04_0104__b172161156565734">Data Synchronization Management</strong> page, click <strong id="drs_04_0104__b214050345365734">Create Synchronization Task</strong>.</span></li><li id="drs_04_0104__en-us_topic_0060142340_li63527764101958"><span>On the <strong id="drs_04_0104__b10911002665734">Create Synchronization Instance</strong> page, specify the task name, description, and the synchronization instance details, and click <strong id="drs_04_0104__b60341003965734">Next</strong>.</span><p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_04_0104__table15565164395919" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Task and recipient description</caption><thead align="left"><tr id="drs_04_0104__drs_04_0102_row0847164475419"><th align="left" class="cellrowborder" valign="top" width="18.43%" id="mcps1.3.6.2.2.1.2.3.1.1"><p id="drs_04_0104__drs_04_0102_p3847204475419">Parameter</p>
@ -117,7 +117,7 @@
</tr>
<tr id="drs_04_0104__row42411630204436"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.6.2.2.2.2.3.1.1 "><p id="drs_04_0104__p12790028204436">Destination DB Engine</p>
</td>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.6.2.2.2.2.3.1.2 "><p id="drs_04_0104__p1969552512018">Select <span class="uicontrol" id="drs_04_0104__uicontrol203651750142419"><b>GaussDB(for openGauss) Distributed Edition</b></span>.</p>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.6.2.2.2.2.3.1.2 "><p id="drs_04_0104__p1969552512018">Select <span class="uicontrol" id="drs_04_0104__uicontrol203651750142419"><b>GaussDB Distributed Edition</b></span>.</p>
</td>
</tr>
<tr id="drs_04_0104__row62907306204436"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.6.2.2.2.2.3.1.1 "><p id="drs_04_0104__p62327044204436">Network Type</p>
@ -127,7 +127,7 @@
</tr>
<tr id="drs_04_0104__row658644204515"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.6.2.2.2.2.3.1.1 "><p id="drs_04_0104__p53350183204515">Destination DB Instance</p>
</td>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.6.2.2.2.2.3.1.2 "><p id="drs_04_0104__p26397538204515">An available GaussDB(for openGauss) distributed instance.</p>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.6.2.2.2.2.3.1.2 "><p id="drs_04_0104__p26397538204515">An available GaussDB distributed instance.</p>
</td>
</tr>
<tr id="drs_04_0104__row15177111612817"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.6.2.2.2.2.3.1.1 "><p id="drs_04_0104__p01021256155315">Synchronization Instance Subnet</p>
@ -184,7 +184,7 @@
<tr id="drs_04_0104__row161801553161810"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.6.3.2.1.2.3.1.1 "><p id="drs_04_0104__p118045361819">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.6.3.2.1.2.3.1.2 "><p id="drs_04_0104__p718095319187">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_04_0104__note1318016536186"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0104__ul131801653191816"><li id="drs_04_0104__li1318015361813">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0104__li15180253101815">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_04_0104__note1318016536186"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0104__ul131801653191816"><li id="drs_04_0104__li1318015361813">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0104__li15180253101815">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -202,7 +202,7 @@
</thead>
<tbody><tr id="drs_04_0104__row4181453161819"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.6.3.2.3.1.2.3.1.1 "><p id="drs_04_0104__p318195361819">DB Instance Name</p>
</td>
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.6.3.2.3.1.2.3.1.2 "><p id="drs_04_0104__p1073513381682">The GaussDB(for openGauss) distributed instance selected during synchronization task creation. This parameter cannot be changed.</p>
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.6.3.2.3.1.2.3.1.2 "><p id="drs_04_0104__p1073513381682">The GaussDB distributed instance selected during synchronization task creation. This parameter cannot be changed.</p>
</td>
</tr>
<tr id="drs_04_0104__row618118532187"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.6.3.2.3.1.2.3.1.1 "><p id="drs_04_0104__p12181553121810">Database Username</p>
@ -246,7 +246,7 @@
</td>
<td class="cellrowborder" valign="top" width="79.4%" headers="mcps1.3.6.4.2.1.2.3.1.2 "><p id="drs_04_0104__p16298637101913">You can synchronize tables based on the service requirements.</p>
<p id="drs_04_0104__p272614314527">If the synchronization objects in source and destination databases have different names, you can map the source object name to the destination one. For details, see <a href="drs_10_0015.html">Mapping Object Names</a>.</p>
<div class="note" id="drs_04_0104__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0104__drs_04_0102_ul12221742164912"><li id="drs_04_0104__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_04_0104__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_04_0104__drs_04_0102_image20940105054917" src="en-us_image_0000001341574132.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<div class="note" id="drs_04_0104__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0104__drs_04_0102_ul12221742164912"><li id="drs_04_0104__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_04_0104__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_04_0104__drs_04_0102_image20940105054917" src="en-us_image_0000001758549389.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<ul id="drs_04_0104__drs_04_0102_ul19601624657"><li id="drs_04_0104__drs_04_0102_li10479103119262">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_04_0104__drs_04_0102_li01376524218">The name of the selected synchronization object cannot contain spaces.</li></ul>
</div></div>
</td>
@ -274,7 +274,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0104__li8977172817311"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_04_0104__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_04_0104__drs_04_0102_ul46880011174414"><li id="drs_04_0104__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_04_0104__drs_04_0102_li56201830174851">You can click <span><img id="drs_04_0104__drs_04_0102_image728174522212" src="en-us_image_0000001341414140.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0104__li8977172817311"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_04_0104__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_04_0104__drs_04_0102_ul46880011174414"><li id="drs_04_0104__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_04_0104__drs_04_0102_li56201830174851">You can click <span><img id="drs_04_0104__drs_04_0102_image728174522212" src="en-us_image_0000001758549405.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
<div>

View File

@ -281,7 +281,7 @@
<tr id="drs_04_0107__row19827128212"><td class="cellrowborder" valign="top" width="23.29%" headers="mcps1.3.7.3.3.2.4.1.1.2.3.1.1 "><p id="drs_04_0107__p1882715215211">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.7.3.3.2.4.1.1.2.3.1.2 "><p id="drs_04_0107__p68272021522">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_04_0107__note118041213163"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0107__ul266710518121"><li id="drs_04_0107__li36671451181216">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0107__li1657285318124">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_04_0107__note118041213163"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0107__ul266710518121"><li id="drs_04_0107__li36671451181216">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0107__li1657285318124">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -389,7 +389,7 @@
<ul id="drs_04_0107__ul49866423414"><li id="drs_04_0107__li1698614173413">Table-level synchronization: In full synchronization, the inventory data of the selected tables, sequences, views, or materialized views is synchronized. In incremental synchronization, the DML and some DDL statements of the selected tables are synchronized.</li></ul>
<ul id="drs_04_0107__ul16647183454214"><li id="drs_04_0107__li19978102112410">If the synchronization objects in source and destination databases have different names, you can map the source object name to the destination one. For details, see <a href="drs_10_0015.html">Mapping Object Names</a>.<p id="drs_04_0107__p109631126117">When a schema name or table name is mapped, to prevent conflicts between indexes and constraint names, the original index name in the table is changed to the following format after synchronization: i_+hash value+original index name (which may be truncated)+_key The hash value is calculated based on the original schema name_original table name_original index name. Similarly, after the synchronization, the original constraint name on the table is changed to c_ + hash value + original constraint name (which may be truncated) + _key.</p>
</li></ul>
<div class="note" id="drs_04_0107__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0107__drs_04_0102_ul12221742164912"><li id="drs_04_0107__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_04_0107__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_04_0107__drs_04_0102_image20940105054917" src="en-us_image_0000001341574132.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<div class="note" id="drs_04_0107__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0107__drs_04_0102_ul12221742164912"><li id="drs_04_0107__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_04_0107__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_04_0107__drs_04_0102_image20940105054917" src="en-us_image_0000001758549389.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<ul id="drs_04_0107__drs_04_0102_ul19601624657"><li id="drs_04_0107__drs_04_0102_li10479103119262">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_04_0107__drs_04_0102_li01376524218">The name of the selected synchronization object cannot contain spaces.</li></ul>
</div></div>
</td>
@ -423,7 +423,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0107__li8977172817311"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_04_0107__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_04_0107__drs_04_0102_ul46880011174414"><li id="drs_04_0107__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_04_0107__drs_04_0102_li56201830174851">You can click <span><img id="drs_04_0107__drs_04_0102_image728174522212" src="en-us_image_0000001341414140.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0107__li8977172817311"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_04_0107__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_04_0107__drs_04_0102_ul46880011174414"><li id="drs_04_0107__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_04_0107__drs_04_0102_li56201830174851">You can click <span><img id="drs_04_0107__drs_04_0102_image728174522212" src="en-us_image_0000001758549405.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -220,7 +220,7 @@
</td>
<td class="cellrowborder" valign="top" width="76.71%" headers="mcps1.3.5.3.3.2.1.2.1.1.2.3.1.2 "><p id="drs_04_0117__p871913489220">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<p id="drs_04_0117__p187722253110">This parameter is unavailable when the network type is VPC network and the database type is RDS DB instance.</p>
<div class="note" id="drs_04_0117__note197191548172216"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0117__ul17719548112214"><li id="drs_04_0117__li1971911481221">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0117__li10719104832218">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_04_0117__note197191548172216"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0117__ul17719548112214"><li id="drs_04_0117__li1971911481221">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0117__li10719104832218">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -269,7 +269,7 @@
</tr>
<tr id="drs_04_0117__row1244143720811"><td class="cellrowborder" valign="top" width="16.24%" headers="mcps1.3.5.3.4.2.1.2.3.1.1 "><p id="drs_04_0117__p124426371816">Synchronize</p>
</td>
<td class="cellrowborder" valign="top" width="83.76%" headers="mcps1.3.5.3.4.2.1.2.3.1.2 "><p id="drs_04_0117__p1262714517356">Normal indexes and incremental DDLs can be synchronized. You can determine whether to synchronize data based on service requirements.</p>
<td class="cellrowborder" valign="top" width="83.76%" headers="mcps1.3.5.3.4.2.1.2.3.1.2 "><p id="drs_04_0117__p1262714517356">Normal indexes and incremental DDLs can be synchronized. You can determine whether to synchronize data based on service requirements. If you deselect <strong id="drs_04_0117__b10202132082316">Normal index</strong>, DDL statements related to index adding will be filtered out in the incremental phase. If the DDL statements contain other operations, they may also be filtered out.</p>
</td>
</tr>
<tr id="drs_04_0117__row559273214193"><td class="cellrowborder" valign="top" width="16.24%" headers="mcps1.3.5.3.4.2.1.2.3.1.1 "><p id="drs_04_0117__p14592132171916">Synchronization Object</p>
@ -277,7 +277,7 @@
<td class="cellrowborder" valign="top" width="83.76%" headers="mcps1.3.5.3.4.2.1.2.3.1.2 "><p id="drs_04_0117__p16298637101913">Select <strong id="drs_04_0117__b133312875325347">Tables</strong> or <strong id="drs_04_0117__b61360849425347">Databases</strong> as required.</p>
<ul id="drs_04_0117__ul14298153711196"><li id="drs_04_0117__li1390164719575">If the synchronization objects in source and destination databases have different names, you can map the source object name to the destination one. For details, see <a href="drs_10_0015.html">Mapping Object Names</a>.<p id="drs_04_0117__p3644560284">If the database table name contains characters other than letters, digits, and underscores (_), or the mapped database table name contains hyphens (-) and number signs (#), the name length cannot exceed 42 characters.</p>
</li></ul>
<div class="note" id="drs_04_0117__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0117__drs_04_0102_ul12221742164912"><li id="drs_04_0117__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_04_0117__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_04_0117__drs_04_0102_image20940105054917" src="en-us_image_0000001341574132.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<div class="note" id="drs_04_0117__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0117__drs_04_0102_ul12221742164912"><li id="drs_04_0117__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_04_0117__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_04_0117__drs_04_0102_image20940105054917" src="en-us_image_0000001758549389.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<ul id="drs_04_0117__drs_04_0102_ul19601624657"><li id="drs_04_0117__drs_04_0102_li10479103119262">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_04_0117__drs_04_0102_li01376524218">The name of the selected synchronization object cannot contain spaces.</li></ul>
</div></div>
</td>
@ -305,7 +305,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0117__li8977172817311"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_04_0117__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_04_0117__drs_04_0102_ul46880011174414"><li id="drs_04_0117__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_04_0117__drs_04_0102_li56201830174851">You can click <span><img id="drs_04_0117__drs_04_0102_image728174522212" src="en-us_image_0000001341414140.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0117__li8977172817311"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_04_0117__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_04_0117__drs_04_0102_ul46880011174414"><li id="drs_04_0117__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_04_0117__drs_04_0102_li56201830174851">You can click <span><img id="drs_04_0117__drs_04_0102_image728174522212" src="en-us_image_0000001758549405.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
<a name="drs_04_0121"></a><a name="drs_04_0121"></a>
<h1 class="topictitle1">From GaussDB(for openGauss) Distributed to MySQL</h1>
<h1 class="topictitle1">From GaussDB Distributed to MySQL</h1>
<div id="body0000001089538767"><div class="section" id="drs_04_0121__section972219465132"><h4 class="sectiontitle">Supported Source and Destination Databases</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_04_0121__table98082311144" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Supported databases</caption><thead align="left"><tr id="drs_04_0121__row18172361412"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.1.2.2.3.1.1"><p id="drs_04_0121__p1281723171412">Source DB</p>
</th>
@ -8,7 +8,7 @@
</th>
</tr>
</thead>
<tbody><tr id="drs_04_0121__row98172391416"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.1 "><ul id="drs_04_0121__ul1850551507"><li id="drs_04_0121__li18555517506">GaussDB(for openGauss) distributed</li></ul>
<tbody><tr id="drs_04_0121__row98172391416"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.1 "><ul id="drs_04_0121__ul1850551507"><li id="drs_04_0121__li18555517506">GaussDB distributed</li></ul>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.1.2.2.3.1.2 "><ul id="drs_04_0121__ul1629884661718"><li id="drs_04_0121__li7465611183">RDS for MySQL 5.6 and 5.7</li><li id="drs_04_0121__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li1815122916910">On-premises MySQL 5.5, 5.6, and 5.7 databases</li><li id="drs_04_0121__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li138152029698">MySQL 5.5, 5.6, and 5.7 databases on an ECS</li><li id="drs_04_0121__en-us_topic_0000001147220024_en-us_topic_0000001102794420_li12815102915919">MySQL 5.5, 5.6, and 5.7 databases on other clouds</li></ul>
</td>
@ -87,7 +87,7 @@
</tr>
<tr id="drs_04_0121__row750973505012"><td class="cellrowborder" valign="top" width="18.29%" headers="mcps1.3.5.3.2.3.1.1 "><p id="drs_04_0121__p1050923513506">Incremental synchronization</p>
</td>
<td class="cellrowborder" valign="top" width="81.71000000000001%" headers="mcps1.3.5.3.2.3.1.2 "><ul id="drs_04_0121__ul1564293111519"><li id="drs_04_0121__li142117814592">Do not change the port of the source and destination databases, or change or delete the passwords and permissions of the source and destination database users. Otherwise, the task may fail.</li><li id="drs_04_0121__li204247875918">Before a task enters the incremental synchronization phase, ensure that long-running transactions are not started in the source database. Starting the long transaction will block the creation of the logical replication slot and cause the task to fail.</li><li id="drs_04_0121__li5425128165914">Do not execute any DDL statement in the source database. Restricted by the GaussDB(for openGauss) logical replication function, DDL statements cannot be synchronized. If you synchronize DDL statements, data may be inconsistent or the task may fail.</li><li id="drs_04_0121__li56651431985">Do not change the REPLICA IDENTITY value of a table in the source database. Otherwise, incremental data may be inconsistent or the task may fail.</li><li id="drs_04_0121__li859444376">Do not write data to the destination database. Otherwise, data may be inconsistent.</li></ul>
<td class="cellrowborder" valign="top" width="81.71000000000001%" headers="mcps1.3.5.3.2.3.1.2 "><ul id="drs_04_0121__ul1564293111519"><li id="drs_04_0121__li142117814592">Do not change the port of the source and destination databases, or change or delete the passwords and permissions of the source and destination database users. Otherwise, the task may fail.</li><li id="drs_04_0121__li204247875918">Before a task enters the incremental synchronization phase, ensure that long-running transactions are not started in the source database. Starting the long transaction will block the creation of the logical replication slot and cause the task to fail.</li><li id="drs_04_0121__li5425128165914">Do not execute any DDL statement in the source database. Restricted by the GaussDB logical replication function, DDL statements cannot be synchronized. If you synchronize DDL statements, data may be inconsistent or the task may fail.</li><li id="drs_04_0121__li56651431985">Do not change the REPLICA IDENTITY value of a table in the source database. Otherwise, incremental data may be inconsistent or the task may fail.</li><li id="drs_04_0121__li859444376">Do not write data to the destination database. Otherwise, data may be inconsistent.</li></ul>
</td>
</tr>
<tr id="drs_04_0121__row2079615524597"><td class="cellrowborder" valign="top" width="18.29%" headers="mcps1.3.5.3.2.3.1.1 "><p id="drs_04_0121__p4796105214598">Synchronization comparison</p>
@ -100,7 +100,7 @@
<td class="cellrowborder" valign="top" width="81.71000000000001%" headers="mcps1.3.5.3.2.3.1.2 "><p id="drs_04_0121__p64986231916"><strong id="drs_04_0121__b42995398497">Stop a task normally.</strong></p>
<ul id="drs_04_0121__ul21951111191413"><li id="drs_04_0121__li519571119147">After the task is complete, the streaming replication slot created in the source database is automatically deleted.</li></ul>
<p id="drs_04_0121__p7842115619138"><strong id="drs_04_0121__b532245314916">Forcibly stop a task.</strong></p>
<ul id="drs_04_0121__ul34973437148"><li id="drs_04_0121__li74971843191414">To forcibly stop a synchronization task, you need to manually delete the replication slots that may remain in the source database. For details, see <a href="drs_03_1131.html">Forcibly Stopping Synchronization of GaussDB(for openGauss) Distributed</a>.</li></ul>
<ul id="drs_04_0121__ul34973437148"><li id="drs_04_0121__li74971843191414">To forcibly stop a synchronization task, you need to manually delete the replication slots that may remain in the source database. For details, see <a href="drs_03_1131.html">Forcibly Stopping Synchronization of GaussDB Distributed</a>.</li></ul>
</td>
</tr>
</tbody>
@ -154,7 +154,7 @@
</tr>
<tr id="drs_04_0121__en-us_topic_0288918853_row0414184610580"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.7.2.2.2.2.2.3.1.1 "><p id="drs_04_0121__en-us_topic_0288918853_p1414046115813">Source DB Engine</p>
</td>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.7.2.2.2.2.2.3.1.2 "><p id="drs_04_0121__en-us_topic_0288918853_p168249357197">Select <strong id="drs_04_0121__b85964340025919">GaussDB(for openGauss) Distributed Edition</strong>.</p>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.7.2.2.2.2.2.3.1.2 "><p id="drs_04_0121__en-us_topic_0288918853_p168249357197">Select <strong id="drs_04_0121__b85964340025919">GaussDB Distributed Edition</strong>.</p>
</td>
</tr>
<tr id="drs_04_0121__en-us_topic_0288918853_row42411630204436"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.7.2.2.2.2.2.3.1.1 "><p id="drs_04_0121__en-us_topic_0288918853_p12790028204436">Destination DB Engine</p>
@ -169,7 +169,7 @@
</tr>
<tr id="drs_04_0121__en-us_topic_0288918853_row658644204515"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.7.2.2.2.2.2.3.1.1 "><p id="drs_04_0121__en-us_topic_0288918853_p53350183204515">Source DB Instance</p>
</td>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.7.2.2.2.2.2.3.1.2 "><p id="drs_04_0121__en-us_topic_0288918853_p26397538204515">The GaussDB(for openGauss) distributed instance you created.</p>
<td class="cellrowborder" valign="top" width="76.13%" headers="mcps1.3.7.2.2.2.2.2.3.1.2 "><p id="drs_04_0121__en-us_topic_0288918853_p26397538204515">The GaussDB distributed instance you created.</p>
</td>
</tr>
<tr id="drs_04_0121__en-us_topic_0288918853_row1169913195320"><td class="cellrowborder" valign="top" width="23.87%" headers="mcps1.3.7.2.2.2.2.2.3.1.1 "><p id="drs_04_0121__en-us_topic_0288918853_p06786155538">Synchronization Mode</p>
@ -199,7 +199,7 @@
</thead>
<tbody><tr id="drs_04_0121__en-us_topic_0288918853_en-us_topic_0135097933_row1265352355912"><td class="cellrowborder" valign="top" width="23.27%" headers="mcps1.3.7.2.3.2.3.2.3.1.1 "><p id="drs_04_0121__p17989341131512">DB Instance Name</p>
</td>
<td class="cellrowborder" valign="top" width="76.73%" headers="mcps1.3.7.2.3.2.3.2.3.1.2 "><p id="drs_04_0121__p1798918413155">The GaussDB(for openGauss) distributed instance selected during synchronization task creation. This parameter cannot be changed.</p>
<td class="cellrowborder" valign="top" width="76.73%" headers="mcps1.3.7.2.3.2.3.2.3.1.2 "><p id="drs_04_0121__p1798918413155">The GaussDB distributed instance selected during synchronization task creation. This parameter cannot be changed.</p>
</td>
</tr>
<tr id="drs_04_0121__en-us_topic_0288918853_en-us_topic_0135097933_row765313235597"><td class="cellrowborder" valign="top" width="23.27%" headers="mcps1.3.7.2.3.2.3.2.3.1.1 "><p id="drs_04_0121__p169901341181514">Database Username</p>
@ -247,7 +247,7 @@
<tr id="drs_04_0121__row121441622152219"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.3.7.2.3.2.5.2.3.1.1 "><p id="drs_04_0121__p118045361819">SSL Connection</p>
</td>
<td class="cellrowborder" valign="top" width="77%" headers="mcps1.3.7.2.3.2.5.2.3.1.2 "><p id="drs_04_0121__p718095319187">SSL encrypts the connections between the source and destination databases. If SSL is enabled, upload the SSL CA root certificate.</p>
<div class="note" id="drs_04_0121__note1318016536186"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0121__ul131801653191816"><li id="drs_04_0121__li1318015361813">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0121__li15180253101815">If the SSL certificate is not used, your data may be at risk.</li></ul>
<div class="note" id="drs_04_0121__note1318016536186"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0121__ul131801653191816"><li id="drs_04_0121__li1318015361813">The maximum size of a single certificate file that can be uploaded is 500 KB.</li><li id="drs_04_0121__li15180253101815">If SSL is disabled, your data may be at risk.</li></ul>
</div></div>
</td>
</tr>
@ -276,7 +276,7 @@
</td>
<td class="cellrowborder" valign="top" width="84%" headers="mcps1.3.7.2.4.2.1.2.3.1.2 "><p id="drs_04_0121__p174271414164712">DRS supports table-level synchronization. You can select data for synchronization based on your service requirements.</p>
<p id="drs_04_0121__p2356248182310">If the synchronization objects in source and destination databases have different names, you can map the source object name to the destination one. For details, see <a href="drs_10_0015.html">Mapping Object Names</a>.</p>
<div class="note" id="drs_04_0121__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0121__drs_04_0102_ul12221742164912"><li id="drs_04_0121__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_04_0121__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_04_0121__drs_04_0102_image20940105054917" src="en-us_image_0000001341574132.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<div class="note" id="drs_04_0121__note1437713208504"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0121__drs_04_0102_ul12221742164912"><li id="drs_04_0121__drs_04_0102_li1422217424493">To quickly select the desired database objects, you can use the search function.</li><li id="drs_04_0121__drs_04_0102_li10940195064913">If there are changes made to the source databases or objects, click <span><img id="drs_04_0121__drs_04_0102_image20940105054917" src="en-us_image_0000001758549389.png"></span> in the upper right corner to update the objects to be synchronized.</li></ul>
<ul id="drs_04_0121__drs_04_0102_ul19601624657"><li id="drs_04_0121__drs_04_0102_li10479103119262">If the object name contains spaces, the spaces before and after the object name are not displayed. If there are multiple spaces between the object name and the object name, only one space is displayed.</li><li id="drs_04_0121__drs_04_0102_li01376524218">The name of the selected synchronization object cannot contain spaces.</li></ul>
</div></div>
</td>
@ -304,7 +304,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0121__li8977172817311"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_04_0121__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_04_0121__drs_04_0102_ul46880011174414"><li id="drs_04_0121__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_04_0121__drs_04_0102_li56201830174851">You can click <span><img id="drs_04_0121__drs_04_0102_image728174522212" src="en-us_image_0000001341414140.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0121__li8977172817311"><span>After the task is submitted, you can view and manage it on the <span class="uicontrol" id="drs_04_0121__drs_04_0102_uicontrol37213334488"><b>Data Synchronization Management</b></span> page.</span><p><ul id="drs_04_0121__drs_04_0102_ul46880011174414"><li id="drs_04_0121__drs_04_0102_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_06_0004.html">Task Statuses</a>.</li><li id="drs_04_0121__drs_04_0102_li56201830174851">You can click <span><img id="drs_04_0121__drs_04_0102_image728174522212" src="en-us_image_0000001758549405.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -333,7 +333,7 @@
<ul id="drs_04_0122__en-us_topic_0135097933_en-us_topic_0078078071_ul9762123112510"><li id="drs_04_0122__li517519468357"><strong id="drs_04_0122__b166481220144613">Yes</strong><p id="drs_04_0122__p1462275010350">You can customize the maximum DR speed.</p>
<p id="drs_04_0122__en-us_topic_0135097933_en-us_topic_0078078071_p1383414227396">In addition, you can set the time range based on your service requirements. The traffic rate setting usually includes setting of a rate limiting time period and a traffic rate value. Flow can be controlled all day or during specific time ranges. The default value is <strong id="drs_04_0122__b1720625652016">All day</strong>. A maximum of three time ranges can be set, and they cannot overlap.</p>
<p id="drs_04_0122__en-us_topic_0135097933_p543392816321">The flow rate must be set based on the service scenario and cannot exceed 9,999 MB/s.</p>
<div class="fignone" id="drs_04_0122__en-us_topic_0135097933_fig218884774210"><span class="figcap"><b>Figure 1 </b>Flow control</span><br><span><img id="drs_04_0122__image143315554126" src="en-us_image_0000001341574056.png"></span></div>
<div class="fignone" id="drs_04_0122__en-us_topic_0135097933_fig218884774210"><span class="figcap"><b>Figure 1 </b>Flow control</span><br><span><img id="drs_04_0122__image143315554126" src="en-us_image_0000001710630288.png"></span></div>
</li><li id="drs_04_0122__li8461101763611"><strong id="drs_04_0122__b16878439134614">No</strong><div class="p" id="drs_04_0122__p18586122063613">The DR speed is not limited and the outbound bandwidth of the source database is maximally used, which causes read consumption on the source database accordingly. For example, if the outbound bandwidth of the source database is 100 MB/s and 80% bandwidth is used, the I/O consumption on the source database is 80 MB/s.<div class="note" id="drs_04_0122__en-us_topic_0135097933_note133345121551"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0122__en-us_topic_0135097933_ul1933411217553"><li id="drs_04_0122__en-us_topic_0135097933_li93348121557">Flow control mode takes effect during the initial DR phase only.</li><li id="drs_04_0122__en-us_topic_0135097933_li9334171285515">You can also change the flow control mode when the task is in the <strong id="drs_04_0122__b1047210271567">Configuration</strong> state. On the <strong id="drs_04_0122__b15807914182517">Basic Information</strong> tab, In the <strong id="drs_04_0122__b9809614152518">DR Information</strong> area, click <strong id="drs_04_0122__b15810514162517">Modify</strong> next to <strong id="drs_04_0122__b18111214182510">Flow Control</strong>. In the dialog box that is displayed, change the flow control mode. The flow control mode cannot be changed for a task that is in <strong id="drs_04_0122__b1028312163258">Starting</strong> state.</li></ul>
</div></div>
</div>
@ -371,7 +371,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0122__li34303618172657"><span>After the DR task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0122__uicontrol423713226481"><b>Disaster Recovery Management</b></span> page.</span><p><ul id="drs_04_0122__ul46880011174414"><li id="drs_04_0122__li32544367174414">You can view the task status. For more information about task status, see <a href="drs_02_0025.html">Task Statuses</a>.</li><li id="drs_04_0122__li56201830174851">You can click <span><img id="drs_04_0122__image188381437172712" src="en-us_image_0000001341414072.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0122__li34303618172657"><span>After the DR task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0122__uicontrol423713226481"><b>Disaster Recovery Management</b></span> page.</span><p><ul id="drs_04_0122__ul46880011174414"><li id="drs_04_0122__li32544367174414">You can view the task status. For more information about task status, see <a href="drs_02_0025.html">Task Statuses</a>.</li><li id="drs_04_0122__li56201830174851">You can click <span><img id="drs_04_0122__image188381437172712" src="en-us_image_0000001710630300.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

View File

@ -227,7 +227,7 @@
<ul id="drs_04_0123__drs_04_0122_en-us_topic_0135097933_en-us_topic_0078078071_ul9762123112510"><li id="drs_04_0123__drs_04_0122_li517519468357"><strong id="drs_04_0123__drs_04_0122_b166481220144613">Yes</strong><p id="drs_04_0123__drs_04_0122_p1462275010350">You can customize the maximum DR speed.</p>
<p id="drs_04_0123__drs_04_0122_en-us_topic_0135097933_en-us_topic_0078078071_p1383414227396">In addition, you can set the time range based on your service requirements. The traffic rate setting usually includes setting of a rate limiting time period and a traffic rate value. Flow can be controlled all day or during specific time ranges. The default value is <strong id="drs_04_0123__drs_04_0122_b1720625652016">All day</strong>. A maximum of three time ranges can be set, and they cannot overlap.</p>
<p id="drs_04_0123__drs_04_0122_en-us_topic_0135097933_p543392816321">The flow rate must be set based on the service scenario and cannot exceed 9,999 MB/s.</p>
<div class="fignone" id="drs_04_0123__drs_04_0122_en-us_topic_0135097933_fig218884774210"><span class="figcap"><b>Figure 1 </b>Flow control</span><br><span><img id="drs_04_0123__drs_04_0122_image143315554126" src="en-us_image_0000001341574056.png"></span></div>
<div class="fignone" id="drs_04_0123__drs_04_0122_en-us_topic_0135097933_fig218884774210"><span class="figcap"><b>Figure 1 </b>Flow control</span><br><span><img id="drs_04_0123__drs_04_0122_image143315554126" src="en-us_image_0000001710630288.png"></span></div>
</li><li id="drs_04_0123__drs_04_0122_li8461101763611"><strong id="drs_04_0123__drs_04_0122_b16878439134614">No</strong><div class="p" id="drs_04_0123__drs_04_0122_p18586122063613">The DR speed is not limited and the outbound bandwidth of the source database is maximally used, which causes read consumption on the source database accordingly. For example, if the outbound bandwidth of the source database is 100 MB/s and 80% bandwidth is used, the I/O consumption on the source database is 80 MB/s.<div class="note" id="drs_04_0123__drs_04_0122_en-us_topic_0135097933_note133345121551"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="drs_04_0123__drs_04_0122_en-us_topic_0135097933_ul1933411217553"><li id="drs_04_0123__drs_04_0122_en-us_topic_0135097933_li93348121557">Flow control mode takes effect during the initial DR phase only.</li><li id="drs_04_0123__drs_04_0122_en-us_topic_0135097933_li9334171285515">You can also change the flow control mode when the task is in the <strong id="drs_04_0123__drs_04_0122_b1047210271567">Configuration</strong> state. On the <strong id="drs_04_0123__drs_04_0122_b15807914182517">Basic Information</strong> tab, In the <strong id="drs_04_0123__drs_04_0122_b9809614152518">DR Information</strong> area, click <strong id="drs_04_0123__drs_04_0122_b15810514162517">Modify</strong> next to <strong id="drs_04_0123__drs_04_0122_b18111214182510">Flow Control</strong>. In the dialog box that is displayed, change the flow control mode. The flow control mode cannot be changed for a task that is in <strong id="drs_04_0123__drs_04_0122_b1028312163258">Starting</strong> state.</li></ul>
</div></div>
</div>
@ -265,7 +265,7 @@
</tbody>
</table>
</div>
</p></li><li id="drs_04_0123__li34303618172657"><span>After the DR task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0123__drs_04_0122_uicontrol423713226481"><b>Disaster Recovery Management</b></span> page.</span><p><ul id="drs_04_0123__drs_04_0122_ul46880011174414"><li id="drs_04_0123__drs_04_0122_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_02_0025.html">Task Statuses</a>.</li><li id="drs_04_0123__drs_04_0122_li56201830174851">You can click <span><img id="drs_04_0123__drs_04_0122_image188381437172712" src="en-us_image_0000001341414072.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li><li id="drs_04_0123__li34303618172657"><span>After the DR task is submitted, view and manage it on the <span class="uicontrol" id="drs_04_0123__drs_04_0122_uicontrol423713226481"><b>Disaster Recovery Management</b></span> page.</span><p><ul id="drs_04_0123__drs_04_0122_ul46880011174414"><li id="drs_04_0123__drs_04_0122_li32544367174414">You can view the task status. For more information about task status, see <a href="drs_02_0025.html">Task Statuses</a>.</li><li id="drs_04_0123__drs_04_0122_li56201830174851">You can click <span><img id="drs_04_0123__drs_04_0122_image188381437172712" src="en-us_image_0000001710630300.png"></span> in the upper-right corner to view the latest task status.</li></ul>
</p></li></ol>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,9 @@
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="drs_04_0117.html">From MySQL to MySQL</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="drs_04_0121.html">From GaussDB(for openGauss) Distributed to MySQL</a></strong><br>
<li class="ulchildlink"><strong><a href="drs_04_0118.html">From MySQL to Kafka</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="drs_04_0121.html">From GaussDB Distributed to MySQL</a></strong><br>
</li>
</ul>

Some files were not shown because too many files have changed in this diff Show More