Files
doc-exports/docs/dataartsstudio/umn/dataartsstudio_01_0252.html
chenxiaoxiong f9e2808b7c DataArts UMN 20250810 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
2025-09-02 10:44:13 +00:00

96 lines
13 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="dataartsstudio_01_0252"></a><a name="dataartsstudio_01_0252"></a>
<h1 class="topictitle1">To Oracle</h1>
<div id="body8662426"><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p1724911578015">If the destination link of a job is an <a href="dataartsstudio_01_1212.html">Oracle database link</a>, configure the destination job parameters based on <a href="#dataartsstudio_01_0252__en-us_topic_0000001400779696_table1730435212914">Table 1</a>.</p>
<div class="tablenoborder"><a name="dataartsstudio_01_0252__en-us_topic_0000001400779696_table1730435212914"></a><a name="en-us_topic_0000001400779696_table1730435212914"></a><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_0252__en-us_topic_0000001400779696_table1730435212914" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="dataartsstudio_01_0252__en-us_topic_0000001400779696_row1130416528294"><th align="left" class="cellrowborder" valign="top" width="9.950000000000001%" id="mcps1.3.2.2.5.1.1"><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p183041652112916">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.59%" id="mcps1.3.2.2.5.1.2"><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p1304105210291">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60.419999999999995%" id="mcps1.3.2.2.5.1.3"><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p113041452112917">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="18.04%" id="mcps1.3.2.2.5.1.4"><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p16304105242913">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="dataartsstudio_01_0252__en-us_topic_0000001400779696_row103045524298"><td class="cellrowborder" rowspan="4" valign="top" width="9.950000000000001%" headers="mcps1.3.2.2.5.1.1 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p33041052192911">Basic parameters</p>
<p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p63041252172910"></p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.2.2.5.1.2 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p130420522299">Schema/Tablespace</p>
</td>
<td class="cellrowborder" valign="top" width="60.419999999999995%" headers="mcps1.3.2.2.5.1.3 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p133041152102915">Name of the database to which data will be written. The schema can be automatically created. Click the icon next to the text box to select a schema or tablespace.</p>
</td>
<td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.2.2.5.1.4 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p5304195212916">schema</p>
</td>
</tr>
<tr id="dataartsstudio_01_0252__en-us_topic_0000001400779696_row23051852142910"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.1 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p18305175217299">Table Name</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.2 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p1330525212295">Name of the table to which data will be written. Click the icon next to the text box. The dialog box for selecting the table is displayed.</p>
<p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p173059524299">This parameter can be configured as a macro variable of date and time and a path name can contain multiple macro variables. When the macro variable of date and time works with a scheduled job, the incremental data can be synchronized periodically. </p>
<div class="note" id="dataartsstudio_01_0252__en-us_topic_0000001400779696_note45791757134910"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_en-us_topic_0108275319_p52974484409">If you have configured a macro variable of date and time and schedule a CDM job through <span id="dataartsstudio_01_0252__en-us_topic_0000001400779696_en-us_topic_0108275319_text9997118203">DataArts Studio DataArts Factory</span>, the system replaces the macro variable of date and time with (<em id="dataartsstudio_01_0252__en-us_topic_0000001400779696_en-us_topic_0108275319_i799871152012">Planned start time of the data development job</em> <em id="dataartsstudio_01_0252__en-us_topic_0000001400779696_en-us_topic_0108275319_i0998101192020">Offset</em>) rather than (<em id="dataartsstudio_01_0252__en-us_topic_0000001400779696_en-us_topic_0108275319_i299821132018">Actual start time of the CDM job</em> <em id="dataartsstudio_01_0252__en-us_topic_0000001400779696_en-us_topic_0108275319_i129981917200">Offset</em>).</p>
</div></div>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.3 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p13305175292917">table</p>
</td>
</tr>
<tr id="dataartsstudio_01_0252__en-us_topic_0000001400779696_row193057521292"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.1 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p143051952152912">Clear Data Before Import</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.2 "><div class="p" id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p230515232919">Whether to clear the data in the destination table before data import. The options are as follows:<ul id="dataartsstudio_01_0252__en-us_topic_0000001400779696_ul33051852142915"><li id="dataartsstudio_01_0252__en-us_topic_0000001400779696_li1530565292910"><strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_b4265122311015">Do not clear</strong>: The data in the destination table is not cleared before data import. The imported data is just added to the table.</li><li id="dataartsstudio_01_0252__en-us_topic_0000001400779696_li8305185252910"><strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_b9152525101012">Clear all data</strong>: All data is cleared from the destination table before data import.</li><li id="dataartsstudio_01_0252__en-us_topic_0000001400779696_li1530545282913"><strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_b685619284106">Clear part of data</strong>: Part of the data in the destination table is cleared before data import. If you select <strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_b10856102818105">Clear part of data</strong>, you must configure <span class="parmname" id="dataartsstudio_01_0252__en-us_topic_0000001400779696_parmname98563287103"><b>WHERE Clause</b></span> to specify which part will be deleted.</li></ul>
</div>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.3 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p3305175214297">Clear part of data</p>
</td>
</tr>
<tr id="dataartsstudio_01_0252__en-us_topic_0000001400779696_row13305155292910"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.1 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p1830518526293">WHERE Clause</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.2 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p1130614529294">If <strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_b632719445104">Clear Data Before Import</strong> is set to <strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_b03271344121020">Clear part of data</strong>, data in the destination table will be deleted based on the WHERE clause after the configuration is complete and before the import starts.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.3 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p17306115252920">age &gt; 18 and age &lt;= 60</p>
</td>
</tr>
<tr id="dataartsstudio_01_0252__en-us_topic_0000001400779696_row2030675214293"><td class="cellrowborder" rowspan="4" valign="top" width="9.950000000000001%" headers="mcps1.3.2.2.5.1.1 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p133064528296">Advanced parameters</p>
</td>
<td class="cellrowborder" valign="top" width="11.59%" headers="mcps1.3.2.2.5.1.2 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p830718523297">Import to Staging Table</p>
</td>
<td class="cellrowborder" valign="top" width="60.419999999999995%" headers="mcps1.3.2.2.5.1.3 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p5307052192910">If you set this parameter to <span class="parmvalue" id="dataartsstudio_01_0252__en-us_topic_0000001400779696_parmvalue57331055171020"><b>Yes</b></span>, the transaction mode is enabled. CDM automatically creates a temporary table and imports data to the temporary table. After the data is imported successfully, it is migrated to the destination table in transaction mode. If the import fails, the destination table is rolled back to the state before the job starts. </p>
<p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p03074527299">The default value is <span class="parmvalue" id="dataartsstudio_01_0252__en-us_topic_0000001400779696_parmvalue6130115816102"><b>No</b></span>, indicating that CDM directly imports the data to the destination table. In this case, if the job fails to be executed, the data that has been imported to the destination table will not be rolled back automatically.</p>
<div class="note" id="dataartsstudio_01_0252__en-us_topic_0000001400779696_note33071052182917"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_en-us_topic_0108275316_p938012916819">If you select <strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_en-us_topic_0108275316_b56871248124819">Clear part of data</strong> or <strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_en-us_topic_0108275316_b87505104914">Clear all data</strong> for <strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_en-us_topic_0108275316_b394614371412">Clear Data Before Import</strong>, CDM does not roll back the deleted data in transaction mode.</p>
</div></div>
</td>
<td class="cellrowborder" valign="top" width="18.04%" headers="mcps1.3.2.2.5.1.4 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p3307152162911">No</p>
</td>
</tr>
<tr id="dataartsstudio_01_0252__en-us_topic_0000001400779696_row1830805272911"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.1 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p16308205272914">Prepare for Data Import</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.2 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p13081152132919">The SQL statement that is first executed before a task is executed. Currently, only one SQL statement can be executed in wizard mode.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.3 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p17308252102916">create temp table</p>
</td>
</tr>
<tr id="dataartsstudio_01_0252__en-us_topic_0000001400779696_row1630895262919"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.1 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p103081452202911">Complete Statement After Data Import</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.2 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p16308125210291">The SQL statement that is executed after a task is executed. Currently, only one SQL statement can be executed.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.3 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p23089527296">merge into</p>
</td>
</tr>
<tr id="dataartsstudio_01_0252__en-us_topic_0000001400779696_row14148057258"><td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.1 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p9244220259">Loader Threads</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.2 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p192442202515">Number of threads started in each loader. A larger number allows more concurrent write operations.</p>
<div class="note" id="dataartsstudio_01_0252__en-us_topic_0000001400779696_note424122202515"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p13241422102516">This parameter is unavailable if <strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_b14235728111111">Constraint Conflict Handling</strong> is set to <strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_b1236122819115">replace into</strong> or <strong id="dataartsstudio_01_0252__en-us_topic_0000001400779696_b182361528201116">on duplicate key update</strong>.</p>
</div></div>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.2.2.5.1.3 "><p id="dataartsstudio_01_0252__en-us_topic_0000001400779696_p1024192215255">1</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0061.html">Configuring CDM Destination Job Parameters</a></div>
</div>
</div>