doc-exports/docs/dws/tool/dws_mt_0191.html
Lu, Huayi 346ac31da9 DWS TG 8.1.3.200 VERSION
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-08-28 09:20:17 +00:00

139 lines
17 KiB
HTML

<a name="EN-US_TOPIC_0000001188362586"></a><a name="EN-US_TOPIC_0000001188362586"></a>
<h1 class="topictitle1">Troubleshooting</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p26140733">This section contains a list of troubleshooting steps and solutions for issues encountered while using DSC.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p33940009">The table lists the troubleshooting symptoms/issues along with their cause and solution.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_table37024625" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Error Message Reference</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row17250524"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.3.1.1"><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p55115194"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b1718310501342">Symptom/Issue</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.3.1.2"><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p47876142"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b21867501540">Cause and Solution</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row67104594"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p66763035">Error occurred while formatting! Returning unformatted SQL: select count(* from table_temp;</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p39096789"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b17935133917257">Cause</strong>: This could be due to inconsistency in the number of opening and closing parentheses in the input file.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p47401450"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b47313652617">Solution</strong>: Ensure each opening parenthesis has a corresponding closing parenthesis.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row13015369201950"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p3432435620206">ERROR QueryConversionUtility:249 Query is not converted as it contains unsupported keyword: LAST</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p19204164202048"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b92251188265">Cause</strong>: Input query file contains an unsupported keyword.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p5702507202350"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b117101640112612">Solution</strong>: Ensure no unsupported keywords are present in the scripts to be migrated.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p12033470202048">For details, see <a href="dws_mt_0015.html">Supported Keywords and Features</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row50617849201951"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p63341622202011">Disk is almost full. Please clear the space and re-run the tool.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p64073584202448"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b7580423122717">Cause</strong>: Insufficient space on the disk.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p54997427202459"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b0241153814277">Solution</strong>: Free space from the disk and retry the operation.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row62690066201951"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p8088515202017">Please enter valid input parameters, Kindly refer the user manual to execute.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p1717344142514"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b16461017287">Cause</strong>: The possible cause could be:</p>
<ol id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_ol3512191019338"><li id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_li155121106334">No valid parameters are specified.</li><li id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_li5512910133318">The short keys are in lower case.</li></ol>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p1198620393513"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b188131290170">Solutions</strong>:</p>
<ol id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_ol720692110358"><li id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_li11205132115352">Provide all mandatory parameters when performing migration.</li><li id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_li132065219355">Ensure all short keys are in upper case.</li></ol>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p5638203202112">For details, see <a href="dws_mt_0184.html">Database Schema Conversion</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row25553729201951"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p36331568202025">No SQL files found in input folder. Hence stopping migration.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p41526759202845"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b16200175113291">Cause</strong>: No valid SQL files are present in the input folder during the migration process.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p8224284202845"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b6183119153019">Solution</strong>: Ensure SQL files to be migrated are present in the input folder.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p62187245202845">For details, see <a href="dws_mt_0032.html">Migration Process</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row12933138193719"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p103811048113810">Migration Application failed to start :</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p238104863820">Currently we are not supporting this Database : <em id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_i17716631959">&lt;</em><em id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_i125861211519">database-name&gt;</em></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p597272835519"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b41001412306">Cause</strong>: Incorrect database name mentioned in the source database parameter.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p7972132815557"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b220255673015">Solution</strong>: Use only Teradata or Oracle as values to the source database parameter.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p497202818553">For details, see <a href="dws_mt_0184.html">Database Schema Conversion</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row116431333720"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p1638154818382">Output folder is not set. Please enter an output folder and refer the user manual for syntax.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p997216281551"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b72081341327">Cause</strong>: The output folder path is not specified.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p5972928115516"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b5765165115325">Solution</strong>: Specify a valid path for the output folder parameter.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p4972162816554">For details, see <a href="dws_mt_0184.html">Database Schema Conversion</a>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row55886914615"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p45881096611">ascii "****" does not map to charset</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p9697519111816"><strong id="EN-US_TOPIC_0000001188362586__b73687834412">Cause</strong>: DSC cannot detect the encoding format of the file input, and the character set configured in the system does not match that of the file input. As a result, an alarm is reported.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p3835211162815"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b5219172719355">Solution</strong>: Set <strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b3237844183518">encodingFormat</strong> to the actual encoding format and try again.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p199222047182410">Example:</p>
<pre class="screen" id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_screen183531845162912">testmigration@BLR1000026522:~/18.1_RETEST/DSC/scripts/teradata&gt; perl sqlTDtoGS.pl -i ../../PERL -o ../../PERL_OUT/ -m /home/testmigration/18.1_FORMAT_RETEST/sep6thpackage/DSC
Extracting SQL contents from perl files started
ascii "\xFF" does not map to Unicode at core/teradatacore.pm line 1270.
ascii "\xFE" does not map to Unicode at core/teradatacore.pm line 1270.
ascii "\xFE" does not map to Unicode at core/teradatacore.pm line 1270.
ascii "\xFF" does not map to Unicode at core/teradatacore.pm line 1270.
Extracting SQL contents from perl files completed
********************** Schema Conversion Started **********************
DSC process start time : Mon Jan 20 17:24:49 IST 2020
Statement count progress 100% completed [FILE(1/1)]
Schema Conversion Progress 100% completed
**************************************************************************
Total number of files in input folder : 1
**************************************************************************
Log file path :....../DSC/DSC/log/dsc.log
DSC process end time : Mon Jan 20 17:24:49 IST 2020
DSC total process time : 0 seconds
********************* Schema Conversion Completed ************************</pre>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_section835784363718"><h4 class="sectiontitle"><span id="EN-US_TOPIC_0000001188362586__text10892754124514">GaussDB(DWS)</span></h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_table13358343103710" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Error Message Reference</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row1350674310377"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.2.3.1.1"><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p6506194343715"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b1346718441446">Symptom/Issue</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.2.3.1.2"><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p950644313719"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b184688446419">Cause and Solution</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row195067434377"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p185061432371">Cannot create index whose evaluation is enforced to remote nodes.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p1506134323710"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b1575101114519">Cause</strong>: This issue is because of Gauss limitation that distribution key columns should be super set of the unique index columns.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p13506164315376"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b16468134410415">Solution</strong>: Currently, Gauss does not support.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row8507114313378"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p5507204363712">Type "urowid" does not exist</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p8507643183716"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b14198314951">Cause</strong>: User defined type is used to create the table. <strong id="EN-US_TOPIC_0000001188362586__b1051510425814">Solution</strong>: Currently, Gauss does not support.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row3507443113717"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p15507144318371">Syntax error occurs at or near <strong id="EN-US_TOPIC_0000001188362586__b1222164118101">LOCAL</strong>.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p75074432371"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b161903014513">Cause</strong>: Gauss does not support LOCAL keyword in index.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p185071439378"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b852723317453">Solution</strong>: Local index needs to be created.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row155076439375"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p105078438377">Syntax error occurs at or near <strong id="EN-US_TOPIC_0000001188362586__b1881963161017">1</strong>.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p125071436379"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b06312550461">Cause</strong>: <span id="EN-US_TOPIC_0000001188362586__text1143633985011">GaussDB(DWS)</span> does not support additional parameters in index.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p450794312378"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b1313125854612">Solution</strong>: This needs to be commented.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_row3507144323717"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p850724393715">Syntax error occurs at or near <strong id="EN-US_TOPIC_0000001188362586__b1276431451020">=</strong>.</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p10507124393717"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b1366612984710">Cause</strong>: <span id="EN-US_TOPIC_0000001188362586__text04351543165015">GaussDB(DWS)</span> does not support <strong id="EN-US_TOPIC_0000001188362586__b1194192894116">=</strong> in constraint.</p>
<p id="EN-US_TOPIC_0000001188362586__en-us_topic_0218440456_p1550724353714"><strong id="EN-US_TOPIC_0000001188362586__en-us_topic_0237712476_b5243135519475">Solution</strong>: Currently, Gauss does not support.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_mt_index.html">DSC</a></div>
</div>
</div>