forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com> Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
134 lines
15 KiB
HTML
134 lines
15 KiB
HTML
<a name="dataartsstudio_01_0226"></a><a name="dataartsstudio_01_0226"></a>
|
|
|
|
<h1 class="topictitle1">GaussDB(DWS) Link Parameters</h1>
|
|
<div id="body8662426"><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p8060118"><a href="#dataartsstudio_01_0226__en-us_topic_0000001402298264_table5321744015490">Table 1</a> describes the DWS link parameters.</p>
|
|
<div class="note" id="dataartsstudio_01_0226__en-us_topic_0000001402298264_note8867140110"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_en-us_topic_0108275292_p167832113185">Do not change the password or user when the job is running. If you do so, the password will not take effect immediately and the job will fail.</p>
|
|
</div></div>
|
|
|
|
<div class="tablenoborder"><a name="dataartsstudio_01_0226__en-us_topic_0000001402298264_table5321744015490"></a><a name="en-us_topic_0000001402298264_table5321744015490"></a><table cellpadding="4" cellspacing="0" summary="" id="dataartsstudio_01_0226__en-us_topic_0000001402298264_table5321744015490" frame="border" border="1" rules="all"><caption><b>Table 1 </b>DWS link parameters</caption><thead align="left"><tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row185605615490"><th align="left" class="cellrowborder" valign="top" width="16.5%" id="mcps1.3.3.2.4.1.1"><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p3088488815490">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="61.550000000000004%" id="mcps1.3.3.2.4.1.2"><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p1864797615490">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="21.95%" id="mcps1.3.3.2.4.1.3"><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p12195902165556">Example Value</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row1489193511311"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p6539611111311">Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p6573133312010">Link name, which should be defined based on the data source type, so it is easier to remember what the link is for</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p22437462113249">dws_link</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row23645714155554"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p36254680155554">Database Server</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p159175149315">IP address or domain name of the database to connect</p>
|
|
<p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p19166366171423">Click <span class="uicontrol" id="dataartsstudio_01_0226__en-us_topic_0000001402298264_uicontrol127630111084424"><b>Select</b></span> next to the text box to obtain the list of instances.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p54006514165556">192.168.0.1</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row35721234155558"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p7738819155558">Port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p3924762417149">Port of the database to connect</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p155499111367">The port number varies depending on the database.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row58054787162632"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p4817321162632">Database Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p45683474171354">Name of the database to connect</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p22858665165556">dbname</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row121116115490"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p3099525315490">Username</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p2758753215490">Username used for accessing the database. This user must have the permissions to read and write data tables and metadata.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p14053644165556">cdm</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row4576104015490"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p1565673415490">Password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p6023590815490">Password of the user</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p44559445165556">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row15561131344619"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p815422212356">Use Agent</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p2157736183911"><span id="dataartsstudio_01_0226__en-us_topic_0000001402298264_text79507435388">The agent function will be unavailable soon and does not need to be configured.</span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p4141154315252">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row19539167464"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p18412133418352">Agent</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p19986192816398"><span id="dataartsstudio_01_0226__en-us_topic_0000001402298264_text198619287390">The agent function will be unavailable soon and does not need to be configured.</span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p1798510193019">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row9583713192014"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p237624617348">Reference Sign</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p5825824617348">(Optional) Delimiter between the names of the referenced tables or columns. For details, see the product documentation of the corresponding database.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p2129746617348">"</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row2500625417340"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p1224068017340">Fetch Size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p5197104317340">(Optional) Displayed when you click <strong id="dataartsstudio_01_0226__en-us_topic_0000001402298264_b18215104819467">Show Advanced Attributes</strong>.</p>
|
|
<p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p6431931117532">Number of rows obtained by each request. Set this parameter based on the data source and the job's data size. If the value is either too large or too small, the job may run for a long time.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p4890496717340">1000</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row14516195216562"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p1989555882818">Commit Size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p1792313318298">(Optional) Displayed when you click <strong id="dataartsstudio_01_0226__en-us_topic_0000001402298264_b144193629465953">Show Advanced Attributes</strong>.</p>
|
|
<p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p13923635293">Number of records submitted each time. Set this parameter based on the destination and data size of the job. If the value is too large or too small, the job execution time may be affected.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p18345554102810">10000</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row23768220141711"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p46177674141711">SSL Encryption</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p1472085442710">Whether to connect to the data warehouse in SSL mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p42313489141711">Yes</p>
|
|
<div class="note" id="dataartsstudio_01_0226__en-us_topic_0000001402298264_note117083683210"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p117120369326">To enable SSL encryption, you must ensure that it is enabled for GaussDB(DWS).</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row6497846117345"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p2876397817345">Link Attributes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p4818086317345">(Optional) Click <span class="uicontrol" id="dataartsstudio_01_0226__en-us_topic_0000001402298264_uicontrol6617147134715"><b>Add</b></span> to add the JDBC connector attributes of multiple specified data sources. For details, see the JDBC connector document of the corresponding database.</p>
|
|
<div class="p" id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p3176513115010">The following are some examples:<ul id="dataartsstudio_01_0226__en-us_topic_0000001402298264_ul1284813922912"><li id="dataartsstudio_01_0226__en-us_topic_0000001402298264_li67681857202918"><strong id="dataartsstudio_01_0226__en-us_topic_0000001402298264_b32692413131">connectTimeout=60</strong> and <strong id="dataartsstudio_01_0226__en-us_topic_0000001402298264_b162705413139">socketTimeout=300</strong>: When a large amount of data needs to be migrated or the entire table is retrieved using query statements, the migration fails due to connection timeout. In this case, you can customize the connection timeout interval (s) and socket timeout interval (s) to prevent failures caused by timeout.</li><li id="dataartsstudio_01_0226__en-us_topic_0000001402298264_li836212252319"><strong id="dataartsstudio_01_0226__en-us_topic_0000001402298264_b166051176472">useCursorFetch=false</strong>: By default, <strong id="dataartsstudio_01_0226__en-us_topic_0000001402298264_b196051217104712">useCursorFetch</strong> is enabled, indicating that the JDBC connector communicates with relational databases using a binary protocol. Some third-party systems may have compatibility issues, causing migration time conversion errors. In this case, you can disable this function. Open-source MySQL databases support the <strong id="dataartsstudio_01_0226__en-us_topic_0000001402298264_b34210205478">useCursorFetch</strong> parameter, and you do not need to set this parameter.</li></ul>
|
|
</div>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p1033584517345">sslmode=require</p>
|
|
<div class="note" id="dataartsstudio_01_0226__en-us_topic_0000001402298264_note17140142203710"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p414015215378">If SSL encryption is enabled but <strong id="dataartsstudio_01_0226__en-us_topic_0000001402298264_b548518247103">sslmode</strong> is not set, the link may fail.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="dataartsstudio_01_0226__en-us_topic_0000001402298264_row38858246572"><td class="cellrowborder" valign="top" width="16.5%" headers="mcps1.3.3.2.4.1.1 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p1513318543325">Link Secret Attributes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="61.550000000000004%" headers="mcps1.3.3.2.4.1.2 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p17107122911366">(Optional) Displayed when you click <strong id="dataartsstudio_01_0226__en-us_topic_0000001402298264_b169439970465953">Show Advanced Attributes</strong>.</p>
|
|
<p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p11321154183220">Custom secret attributes of the link</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="21.95%" headers="mcps1.3.3.2.4.1.3 "><p id="dataartsstudio_01_0226__en-us_topic_0000001402298264_p927481593614">sk=09fUgD5WOF1L6f</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataartsstudio_01_0157.html">Configuring Link Parameters</a></div>
|
|
</div>
|
|
</div>
|
|
|