doc-exports/docs/ddm/umn/ddm_08_0021.html
Ru, Li Yi 4b09a03a51 ddm_umn
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: Ru, Li Yi <liyiru7@huawei.com>
Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
2024-04-11 11:39:26 +00:00

23 lines
3.2 KiB
HTML

<a name="ddm_08_0021"></a><a name="ddm_08_0021"></a>
<h1 class="topictitle1">Checking DDL Consistency of Physical Tables in All Logical Tables</h1>
<div id="body1599642876907"><p id="ddm_08_0021__p8282141889"><strong id="ddm_08_0021__b2519615111917">Purpose:</strong> To check DDL consistency of all logical tables in one schema</p>
<p id="ddm_08_0021__p1328481393019"><strong id="ddm_08_0021__b1343215571332">Command Format:</strong></p>
<pre class="codeblock" id="ddm_08_0021__codeblock189571212305"> <em id="ddm_08_0021__i997511531412">check table</em></pre>
<p id="ddm_08_0021__p48551722121215"><strong id="ddm_08_0021__b910922194612">Command Output:</strong></p>
<p id="ddm_08_0021__p06194263302">The following output is returned if DDL check results of all logical tables are consistent.</p>
<p id="ddm_08_0021__p51012272307"><span><img id="ddm_08_0021__image18244182363518" src="en-us_image_0000001685307210.png"></span></p>
<p id="ddm_08_0021__p386503843810">The following output is returned if there are logical tables with inconsistent DDL check results.</p>
<p id="ddm_08_0021__p4718117142014"><span><img id="ddm_08_0021__image1471821715207" src="en-us_image_0000001733146277.png"></span></p>
<p id="ddm_08_0021__p941994510383"><strong id="ddm_08_0021__b17471618182315">Output Details:</strong></p>
<p id="ddm_08_0021__p018843517345">Each row contains the check result of a logical table.</p>
<ul id="ddm_08_0021__ul1763524413013"><li id="ddm_08_0021__li6635204414305"><strong id="ddm_08_0021__b124621913155020">DATABASE_NAME</strong>: indicates the schema name.</li><li id="ddm_08_0021__li1613754163014"><strong id="ddm_08_0021__b1820194619503">TABLE_NAME</strong>: indicates the logical table name.</li><li id="ddm_08_0021__li29071545313"><strong id="ddm_08_0021__b12586163911513">TABLE_TYPE</strong>: indicates the logical table type.<ul id="ddm_08_0021__ul88071612103110"><li id="ddm_08_0021__li18553171293117"><strong id="ddm_08_0021__b13561457526">SINGLE</strong>: indicates that the logical table is unsharded.</li><li id="ddm_08_0021__li159693172311"><strong id="ddm_08_0021__b9512165755320">BROADCAST</strong>: indicates that the table is a broadcast table.</li><li id="ddm_08_0021__li37151624103117"><strong id="ddm_08_0021__b19980144310179">SHARDING</strong>: indicates that the table is sharded.</li></ul>
</li><li id="ddm_08_0021__li37641240163114"><strong id="ddm_08_0021__b1195591550">DDL_CONSISTENCY</strong>: indicates whether DDL results of all physical tables corresponding to the logical table are consistent.</li><li id="ddm_08_0021__li17845206173217"><strong id="ddm_08_0021__b11266919576">TOTAL_COUNT</strong>: indicates the number of physical tables in the logical table.</li><li id="ddm_08_0021__li218620190321"><strong id="ddm_08_0021__b18840102215716">INCONSISTENT_COUNT</strong>: indicates the number of physical tables with inconsistent DDL results.</li><li id="ddm_08_0021__li124811355143219"><strong id="ddm_08_0021__b56681748165911">DETAILS</strong>: indicates names of the physical tables with inconsistent DDL check results.</li></ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ddm_08_0014.html">CHECK TABLE</a></div>
</div>
</div>