forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
20 lines
2.9 KiB
HTML
20 lines
2.9 KiB
HTML
<a name="ddm_06_0007"></a><a name="ddm_06_0007"></a>
|
|
|
|
<h1 class="topictitle1">Importing Schema Information</h1>
|
|
<div id="body1602663326928"><div class="section" id="ddm_06_0007__s552cbf55930d41ca950715928fa86554"><h4 class="sectiontitle">Scenarios</h4><p id="ddm_06_0007__en-us_topic_0057918826_p41181381">When you deploy DR or migrate data across regions, you can import schema information in destination DDM instances. The imported information includes schema information and shard information, excluding service data and index data.</p>
|
|
</div>
|
|
<div class="section" id="ddm_06_0007__s2e6dd0a283024771aff961abc306652a"><h4 class="sectiontitle">Precautions</h4><p id="ddm_06_0007__p598643802114">The destination DDM instance has no schemas with the same name.</p>
|
|
</div>
|
|
<div class="section" id="ddm_06_0007__section862114653117"><h4 class="sectiontitle">Procedure</h4><ol id="ddm_06_0007__ol12323258"><li id="ddm_06_0007__li1135718381115"><span>Log in to the DDM console, in the instance list, locate the DDM instance that you want to import schema information into and click its name.</span></li><li id="ddm_06_0007__li58659836"><span>On the displayed page, in the navigation pane, choose <strong id="ddm_06_0007__b54061697557">Schemas</strong>.</span></li><li id="ddm_06_0007__li3554164620431"><span>On the displayed page, click <strong id="ddm_06_0007__b91206152555">Import Schema Information</strong>.</span></li><li id="ddm_06_0007__li144106359409"><span>On the displayed page, click <strong id="ddm_06_0007__b1616517267243">Select File</strong> to select the required JSON file which has been exported in <a href="ddm_06_0015.html">Exporting Schema Information</a>.</span></li><li id="ddm_06_0007__li11342421162014"><span>Select the required data nodes, enter a database account with required permissions, and click <strong id="ddm_06_0007__b14811013192615">Finish</strong>.</span><p><div class="note" id="ddm_06_0007__note1089312310479"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="ddm_06_0007__ul1549091153420"><li id="ddm_06_0007__li1249081193415">The number of selected data nodes is the same as the number of data nodes imported into the DDM instance.</li><li id="ddm_06_0007__li104903163416">Required permissions: SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER WITH GRANT OPTION<p id="ddm_06_0007__p590985054416"><a name="ddm_06_0007__li104903163416"></a><a name="li104903163416"></a>You can create a database account for the RDS for MySQL instance and assign it the above permissions in advance.</p>
|
|
</li></ul>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ddm_03_0006.html">Schema Management</a></div>
|
|
</div>
|
|
</div>
|
|
|