forked from docs/doc-exports
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>
277 lines
36 KiB
HTML
277 lines
36 KiB
HTML
<a name="EN-US_TOPIC_0000001234042167"></a><a name="EN-US_TOPIC_0000001234042167"></a>
|
|
|
|
<h1 class="topictitle1">DSC Configuration</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p184213131849">Configure the following items:</p>
|
|
<ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul13801101185517"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li3801161185511"><a href="#EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_section65751541195812">Setting application.properties</a>: Configure the migration behavior of DSC, for example, whether to overwrite the files in the target folder and whether to format the SQL files.</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li1780131155513"><a href="#EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_section1724815444492">Setting Java Memory Allocation</a>: Configure the memory that can be used by DSC. If the memory usage exceeds the threshold, DSC displays an error and exits.</li></ul>
|
|
<div class="section" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_section65751541195812"><a name="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_section65751541195812"></a><a name="en-us_topic_0218440356_section65751541195812"></a><h4 class="sectiontitle">Setting application.properties</h4><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p168514471142">The <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b10671153217549">application.properties</strong> file contains the application parameters that are used to configure the behavior of DSC. They are general parameters and are applicable to Teradata, Oracle.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p4143750174520">Perform the following steps to configure the parameters:</p>
|
|
<ol id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ol12853174713412"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li68551547940"><span>Open the <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b572922114579">application.properties</strong> file in the <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b13651625185719">config</strong> folder.</span></li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li11495253855"><span>Set parameters in the <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b12468236151618">application.properties</strong> file as needed.</span><p><div class="p" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p10641125417511"><a href="#EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_table60771938143352">Table 1</a> describes the parameters in the <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b9817173665917">application.properties</strong> file.<div class="note" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_note161115222406"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul611182217409"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li211172215406">Parameter values are case-insensitive.</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li111119225409">Do not modify any other parameter except the listed ones.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</p></li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li944141419333"><span>Save the configuration and exit.</span></li></ol>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_table60771938143352"></a><a name="en-us_topic_0218440356_table60771938143352"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_table60771938143352" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters in the application.properties file</caption><thead align="left"><tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row57642437143352"><th align="left" class="cellrowborder" valign="top" width="21.3%" id="mcps1.3.4.2.6.1.1"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p11188405143352"><strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b1295275415538">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.7%" id="mcps1.3.4.2.6.1.2"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p33845593143352"><strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b7958354115311">Description</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18%" id="mcps1.3.4.2.6.1.3"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p57138506143352"><strong id="EN-US_TOPIC_0000001234042167__b23131955236">Value Range</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="15.950000000000001%" id="mcps1.3.4.2.6.1.4"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p64816239143352"><strong id="EN-US_TOPIC_0000001234042167__b1971091019234">Default Value</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.05%" id="mcps1.3.4.2.6.1.5"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p15623984143352"><strong id="EN-US_TOPIC_0000001234042167__b0722171614236">Example</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row76961116191912"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul2950886241"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li69501988249">formatterrequired</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p79505817246">If there are any changes in this configuration item, then the tool will not function as expected.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul129501388249"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li1495019802411">true</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li19950168122411">false</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p149501585242">true</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p109501787241">formatterrequired=true</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row16165216181916"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul39501788248"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li1995020810244">prevalidationFlag</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p79501982249">If there are any changes in this configuration item, then the tool will not function as expected.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul1695012814240"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li19950198142415">true</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li39503852412">false</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1695011813247">true</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p20951382243">prevalidationFlag=true</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row6831916171918"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul895119816242"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li695113820245">commentSeparatorFlag</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p395112810248">If there are any changes in this configuration item, then the tool will not function as expected.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul20951198182419"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li89516812411">true</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li295116810242">false</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p995112822412">true</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p79518810249">commentSeparatorFlag=true</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row11667161541920"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul133911640103418"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li239194033413">queryDelimiter</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p468322914249">If there are any changes in this configuration item, then the tool will not function as expected.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p24935753">NA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p9385185219717">NA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p6353420163413">queryDelimiter=;</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row723951501912"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul139174019349"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li193919403347">blogicDelimiter</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p196321216349">If there are any changes in this configuration item, then the tool will not function as expected.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p36654752">NA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p194021352979">NA</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p209631312183416">blogicDelimiter=/</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row077321451911"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul113911340193411"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li163913404340">Timeout</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p967281615346">Tool migration timeout duration.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1738514534258">If any changes in this configuration item, then the tool will not function as expected.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p146721416203414">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p0672161620341">4 hours</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p12672171663412">Timeout=4</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row101831014171912"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul776319567219"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li1276314562218">fileExtension</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1860650123018">Valid file extension separated by comma.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1976355672112">If there are any modifications in this configuration item, then the tool will not function as expected.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_note2621157143016"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p0509111715504">The exported scripts must be with the following postfix such as:</p>
|
|
<ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul13537115715501"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li253755713506">.sql</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li4537175785019">.txt</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li1353713573504">.fnc</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li353714576509">.proc</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li13537857145013">.tbl</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li653735785012">.tbs</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li8235113394218">.pl</li></ul>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p6926317104910">and so on.</p>
|
|
</div></div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul67631656102113"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li6763145612117">csv</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li67631156172118">txt</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li1376365622115">SQL</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p47631562211">SQL</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p9763175620219">fileExtension=SQL</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row6398135143352"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul1936739111015"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li236173918102"><a name="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li236173918102"></a><a name="en-us_topic_0218440356_li236173918102"></a>formattedSourceRequired</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p3845697174252">Whether to use <a href="dws_mt_0042.html">SQL Formatter</a> to format the source SQL files.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p97161355134213">If this parameter is set to <strong id="EN-US_TOPIC_0000001234042167__b8346518162614">true</strong>, the copies of the input files are formatted and saved to the <em id="EN-US_TOPIC_0000001234042167__i43469186267">Output path</em><strong id="EN-US_TOPIC_0000001234042167__b53462185265">/formattedSource</strong> directory.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul54929923144654"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li9487128144654">true</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li35135633144654">false</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p33408920143352">true</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p21768001143352">formattedSourceRequired=true</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row61694289143352"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul88341640131010"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li14834164081010">target_files</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1885135005417">Specifies the operations to be performed on the output folder.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__p14108115018263"><strong id="EN-US_TOPIC_0000001234042167__b51084508266">Overwrite</strong>:</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p132641120185718">overwrites the output folder.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1664184711596">This option specifies whether the files in the output folder must be overwritten.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p33801113195817"><strong id="EN-US_TOPIC_0000001234042167__b16757482568">Delete</strong>: deletes all files in the output folder.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p11511757105519"><strong id="EN-US_TOPIC_0000001234042167__b25941305578">Cancel</strong>: cancels an operation on the output folder that contains files.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul34269049144657"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li39748541144657">overwrite</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li5138058144657">delete</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li65135516144657">cancel</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p2050112143352">overwrite</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p31841420143352">target_files=overwrite</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row18137324143352"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul20458104211109"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li2458142131018">encodingFormat</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p44380566175242">Encoding format of input files.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p49389331193">If this parameter is not set (or is commented out), DSC uses the default encoding format based on locale settings.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_note167821328204419"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul5583131116183"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li45831311111812">The auto detection of file encoding is inaccurate. To ensure that the correct encoding format is used, specify the format using this parameter.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul36313220185152"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li6660486185152">UTF8</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li58806048185155">UTF16</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li1387267018522">UTF32</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li1072925711132">GB2312</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li2268675818527">ASCII, etc.</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p54587731143352">Default based on locale.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p59530090143352">encodingFormat=UTF8</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row66008765143352"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul7614544111020"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li461416442102">NoOfThreads</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p30011271143352">Number of threads used for migration.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p14993875143352">Depending on available system resources</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p6544323143352">3</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p60328127143352">NoOfThreads=3</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row843219379170"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul298984514105"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li139891445151020">MaxFileSizeWarning</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1178901101817">Warning threshold for the input file size (unit: KB, MB, or GB).</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p378914115181">If an invalid value is specified, the default value is used.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p878918115181">The following warning will be displayed if the specified source file size exceeds the threshold:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_screen1225317084913">*****************
|
|
[WARNING] : Migration of the following files(>100KB) will take more time:
|
|
bigfile001.SQL
|
|
bigfile008.SQL
|
|
*****************</pre>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p23617749">10 KB 1 GB</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p184388504178">10MB</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p13438185019178">MaxFileSizeWarning=10MB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row46195595266"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul89081023172914"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li19091523132912">MaxFileSize</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1846251817295">Maximum size of the input file allowed. If crossing this limit, the file migration will be skipped.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p144621718202910">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p6462718122916">20MB</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p146211820291">MaxFileSize=20MB</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row693644219"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul1661818594117"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li461819595112">MaxSqlLen</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p16606535549">Maximum size of a query to be migrated.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p36595616414">If an invalid value is specified, DSC resets it to the default value and displays the following warning:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_screen1762493916012">The query length parameter (MaxSqlLen) value is out of range. Resetting to default value.</pre>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p4163757749">If an input query exceeds the specified maximum length, the pre-validation of the query migration will fail. DSC skips this query and logs the following error:</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_screen51731351567">2018-07-06 12:05:57,598 ERROR TeradataBulkHandler:195 Error occurred during processing of input in Bulk Migration. PreQueryValidation failed due to: Invalid termination; OR exclude keyword found in query; OR query exceeds maximum length (MaxSqlLen config parameter). filename.SQL for Query in position : xx</pre>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p130735013113">1 to 52,428,800 bytes</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p153073501213">(1 byte to 50 MB)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p133071050019">1048576</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p15307195016113">(1 MB)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p18307165015111">MaxSqlLen=1048576</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row4482154415416"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul19630151625513"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li16630191614557">initialJVMMemory</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p46304162557">Initial memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p3235018812">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p16301216125511">256 MB</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p13630161617559">initialJVMMemory=256MB</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1630816195518">This indicates, process will startup with 256 MB of memory</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row117885012549"><td class="cellrowborder" valign="top" width="21.3%" headers="mcps1.3.4.2.6.1.1 "><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul96751242135516"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li1675742115514">maxJVMMemory</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.7%" headers="mcps1.3.4.2.6.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p14675442185516">Maximum memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.6.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p10131350286">N/A</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.950000000000001%" headers="mcps1.3.4.2.6.1.4 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p136754423556">1024 MB</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.05%" headers="mcps1.3.4.2.6.1.5 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p6675114214550">maxJVMMemory=2048m</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p3675194218551">This indicates, the process will use up to 2048 MB of memory.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_note350032301164"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_ul17282518134512"><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li19282141817453">If a parameter is set to an incorrect or invalid value, DSC uses the default value of the parameter.</li><li id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_li672718210456">If the extensions (for example, <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b173861406118">.doc</strong>) are not supported, then it is recommended you add extension in <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b12133610117">fileExtension </strong>configuration parameter in <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b106991321313">application.properties</strong> file.</li></ul>
|
|
</div></div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_section1724815444492"><a name="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_section1724815444492"></a><a name="en-us_topic_0218440356_section1724815444492"></a><h4 class="sectiontitle">Setting Java Memory Allocation</h4><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1557165311337">DSC has preset settings for the memory allocation of the Java Virtual Machine (JVM).</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p15621521507">If the memory usage exceeds the limit during migration, DSC displays the "java.lang.OutOfMemoryError: GC overhead limit exceeded" error and exit. In this case, you can increase the values of <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b15032412170">initialJVMMemory</strong> and <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b0506194181720">maxJVMMemory</strong> in the <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b1450814419172">application.properties</strong> file to allocate more memory.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_note156154589811"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p161715586815">The available system resources also determine the memory allocation.</p>
|
|
</div></div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_table4574192914815" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters for JVM Memory Allocation</caption><thead align="left"><tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row125805291683"><th align="left" class="cellrowborder" valign="top" width="12.871287128712872%" id="mcps1.3.6.5.2.4.1.1"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p175831729786"><strong id="EN-US_TOPIC_0000001234042167__b1081794575">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="39.603960396039604%" id="mcps1.3.6.5.2.4.1.2"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p958619291683"><strong id="EN-US_TOPIC_0000001234042167__b470266804">Description</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="47.524752475247524%" id="mcps1.3.6.5.2.4.1.3"><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p175889295810"><strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b209620541535">Recommended Value</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row175918295811"><td class="cellrowborder" valign="top" width="12.871287128712872%" headers="mcps1.3.6.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p165932296817">Xms</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.603960396039604%" headers="mcps1.3.6.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1459613291812">Initial memory allocation (unit: MB)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.524752475247524%" headers="mcps1.3.6.5.2.4.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p4598429982">The minimum value is 256 MB. The maximum value depends on the available system resources.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p85997291282">Default value: <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b39093361434">256</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_row11599729787"><td class="cellrowborder" valign="top" width="12.871287128712872%" headers="mcps1.3.6.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p1460111291582">Xmx</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="39.603960396039604%" headers="mcps1.3.6.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p176024291813">Upper limit for memory allocation (unit: MB)</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="47.524752475247524%" headers="mcps1.3.6.5.2.4.1.3 "><p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p3605182918811">The minimum value is 1024 MB. The maximum value depends on the available system resources.</p>
|
|
<p id="EN-US_TOPIC_0000001234042167__en-us_topic_0218440356_p26059296818">Default value: <strong id="EN-US_TOPIC_0000001234042167__en-us_topic_0237712480_b39399221045">1024</strong></p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_mt_0023.html">Configuring DSC</a></div>
|
|
</div>
|
|
</div>
|
|
|