forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
76 lines
10 KiB
HTML
76 lines
10 KiB
HTML
<a name="EN-US_TOPIC_0000001813598956"></a><a name="EN-US_TOPIC_0000001813598956"></a>
|
|
|
|
<h1 class="topictitle1">Downloading and Installing DataCheck</h1>
|
|
<div id="body0000001819577369"><div class="section" id="EN-US_TOPIC_0000001813598956__section198679399436"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0000001813598956__ul31882449371"><li id="EN-US_TOPIC_0000001813598956__li1018917446375">The server is compatible with 64-bit operating systems and can run on either Linux or Windows.</li></ul>
|
|
<ul id="EN-US_TOPIC_0000001813598956__ul11273012103812"><li id="EN-US_TOPIC_0000001813598956__li182733124386">Either JDK 1.8 or JRE 1.8 has been installed on the system.</li><li id="EN-US_TOPIC_0000001813598956__li749124223810">The DataCheck tool's server is on the same network as the database to be interconnected with.</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001813598956__section5729219591"><h4 class="sectiontitle">Downloading DataCheck</h4><p id="EN-US_TOPIC_0000001813598956__p9916203231320">Contact technical support team to download the DataCheck software.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001813598956__section11011520105915"><h4 class="sectiontitle">Installing DataCheck</h4><p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p62711524574">DataCheck is a command line tool that works on both Linux and Windows OSs. It does not require installation and can be used right after downloading the software package. You can decompress it to start using it.</p>
|
|
<p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p42014133565">Windows:</p>
|
|
<ol id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_ol13941044175711"><li id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_li510034455715"><span>Decompress the <strong id="EN-US_TOPIC_0000001813598956__b1710117523307">DataCheck-*.zip</strong> package.</span><p><div class="p" id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p1739182118915">The <strong id="EN-US_TOPIC_0000001813598956__b1288514512311">DataCheck-*</strong> folder is generated.<div class="note" id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_note92491339992"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p132505395910">You can decompress <strong id="EN-US_TOPIC_0000001813598956__b56551103312">DataCheck-*</strong> to any folder you need.</p>
|
|
</div></div>
|
|
</div>
|
|
</p></li><li id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_li1153162464715"><span>Go to the <strong id="EN-US_TOPIC_0000001813598956__b1376432613110">DataCheck-*</strong> directory.</span></li><li id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_li325419152520"><span>Find and check the files in the DataCheck directory.</span><p><p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p12422162717251"><a href="#EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_table9595434171818">Table 1</a> describes the obtained folders and files.</p>
|
|
</p></li></ol>
|
|
<p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p8286539576"><strong id="EN-US_TOPIC_0000001813598956__b1887862656115736">Linux</strong></p>
|
|
<ol id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_ol665819471720"><li id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_li86586473710"><span>Extract files from the <strong id="EN-US_TOPIC_0000001813598956__b21631823173417">DataCheck-*.zip</strong> package.</span><p><pre class="screen" id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_screen185852047386">unzip DataCheck-*.zip</pre>
|
|
</p></li><li id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_li1372919573813"><span>Go to the DataCheck directory.</span><p><pre class="screen" id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_screen6551204202">cd DataCheck-*</pre>
|
|
</p></li><li id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_li7550425794"><span>Check the files in the DataCheck directory.</span><p><pre class="screen" id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_screen6450130590">ls
|
|
conf lib bin check_input.xlsx</pre>
|
|
</p></li></ol>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_table9595434171818"></a><a name="en-us_topic_0000001290072612_en-us_topic_0218440254_table9595434171818"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_table9595434171818" frame="border" border="1" rules="all"><caption><b>Table 1 </b>DataCheck directory description</caption><thead align="left"><tr id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_row059812340182"><th align="left" class="cellrowborder" colspan="2" valign="top" id="mcps1.3.3.7.2.4.1.1"><p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p5600734151814"><strong id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_b4600173431818">File or Folder</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" id="mcps1.3.3.7.2.4.1.2"><p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p1160293414183"><strong id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_b186031334141812">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_row1374018191513"><td class="cellrowborder" rowspan="6" valign="top" width="11.68%" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p319537538">DataCheck</p>
|
|
<p id="EN-US_TOPIC_0000001813598956__p1667134161111"></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="29.189999999999998%" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p2741819012">bin</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="59.13%" headers="mcps1.3.3.7.2.4.1.2 "><p id="EN-US_TOPIC_0000001813598956__p131513441124">Stores the script for starting the tool.</p>
|
|
<p id="EN-US_TOPIC_0000001813598956__p115244201210">Windows version: datacheck.bat</p>
|
|
<p id="EN-US_TOPIC_0000001813598956__p101519441127">Linux version: datacheck.sh</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_row10605183431818"><td class="cellrowborder" valign="top" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p2607203461813">conf</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__p882875051214">Configuration file, which is used to configure the connection between the source database and the destination database and set log printing.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_row76111434181820"><td class="cellrowborder" valign="top" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_p26124344180">lib</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__p18609161410130">Stores JAR packages required for running the check tool.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_row11473151620"><td class="cellrowborder" valign="top" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__p14286177129">check_input.xlsx</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__p192101920191211">1. Information about the table to be checked, including the schema name, table name, and column name.</p>
|
|
<p id="EN-US_TOPIC_0000001813598956__p62101620171214">2. Check level information and check rules of users. Three verification levels are supported: <strong id="EN-US_TOPIC_0000001813598956__b12681132153616">high</strong>, <strong id="EN-US_TOPIC_0000001813598956__b95821234113611">middle</strong>, and <strong id="EN-US_TOPIC_0000001813598956__b8503736193618">low</strong>. The default value is <strong id="EN-US_TOPIC_0000001813598956__b1261395361">low</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813598956__en-us_topic_0000001290072612_en-us_topic_0218440254_row7673519211"><td class="cellrowborder" valign="top" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__p944715719112">logs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__p9764325181812">The compressed package does not contain this file. After the check tool is executed, this file is automatically generated to record the tool running process.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813598956__row1166783441113"><td class="cellrowborder" valign="top" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__p11194947141117">check_input_result.xlsx</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.3.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001813598956__p876518253184">The compressed package does not include this file. Once the check tool is run, a check result file will be created in the same location as <strong id="EN-US_TOPIC_0000001813598956__b823714306379">check_input.xlsx</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_07_0200.html">DataCheck</a></div>
|
|
</div>
|
|
</div>
|
|
|