doc-exports/docs/dws/tool/gds_cmd_reference.html
Lu, Huayi 4194b50d78 DWS TOOL 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2022-12-14 20:46:26 +00:00

74 lines
29 KiB
HTML

<a name="EN-US_TOPIC_0000001145713107"></a><a name="EN-US_TOPIC_0000001145713107"></a>
<h1 class="topictitle1">gds</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_s8fe201f9d4234a5c86f7f75fc91ddd7b"><h4 class="sectiontitle">Context</h4><p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_en-us_topic_0059777832_p31284135366"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b35751835191720">gds</strong> is used to import and export data of <span id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_text65751635131713">GaussDB(DWS)</span>.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_se39df03880a04915ac3455eab20a5dd4"><h4 class="sectiontitle">Syntax</h4><pre class="screen" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_s6c6c8718b04f4102aa7ae4feb9771c6c">gds [ <em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_abe00a8829ed246639bdf6761ea1852f3">OPTION </em>] -d DIRECTORY</pre>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a2148b01aec57498aac1f7f1a1441c6cc">The <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b1864153820173">-d</strong> and -<strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b1787073816170">H</strong> parameters are mandatory and <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b387110385176">option</strong> is optional. <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b8423527062002">gds</strong> provides the file data from DIRECTORY for <span id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_text1561341504">GaussDB(DWS)</span> to access.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a54b2af16ecea4eb0b1dfe9af22d29c09">Before starting GDS, you need to ensure that your GDS version is consistent with the database version. Otherwise, the database will display an error message and terminate the import and export operations. You can view the specific version through the <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270691354">-V</strong> parameter.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_sf1f7fcfb730940088ff51a17fc47c106"><h4 class="sectiontitle">Parameter Description</h4><ul id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_uda3a908707b94f4185c87799e96254d5"><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l10760535c8f049209688ee0942e53063">-d dir<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a1592d78c41c74253a714310e8f80956f"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l10760535c8f049209688ee0942e53063"></a><a name="en-us_topic_0000001145770401_l10760535c8f049209688ee0942e53063"></a>Set the directory of the data file to be imported. If the GDS process permission is sufficient, the directory specified by <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b393319333448">-</strong>d is automatically created.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l085f3b03f7ad47b4890d58251578a3b8">-p ip:port<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a24b597d402a14cf3a040a23471a616e1"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l085f3b03f7ad47b4890d58251578a3b8"></a><a name="en-us_topic_0000001145770401_l085f3b03f7ad47b4890d58251578a3b8"></a>Set the IP address and port to be listened to of the GDS.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ade97fa38ae0b44b5945e5b1f549361ca">Value range of the IP address: The IP address must be valid.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a4bd2602b9b3c434fa2cc5947f2cf82a4">Default value: <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270614356">127.0.0.1</strong></p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a0d860fae65fa40f1ae77a888f9aab38f">Value range of the listening port is a positive integer ranging from 1024 to 65535.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_acc2915ecbdf544d2931a0db775b16528">Default value of <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706114737">port</strong>: <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706184950">8098</strong></p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_lfb861b9d0eea4ab38321d18ca5b40898">-l log_file<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ab142b3e3b9934cf79846e243e1b6a1a9"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_lfb861b9d0eea4ab38321d18ca5b40898"></a><a name="en-us_topic_0000001145770401_lfb861b9d0eea4ab38321d18ca5b40898"></a>Set the log file. This feature adds the function of automatical log splitting. After the <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b18144460458">-R</strong> parameter is set, GDS generates a new file based on the set value to prevent a single log file from being too large.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p84831227185314">Generation rule: By default, GDS identifies only files with the <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b277168124613">.log</strong> extension name and generates new log files.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p10258134814471">For example, if <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b9695131912467">-l</strong> is set to <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b2921153734617">gds.log</strong> and <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b8784115215468">-R</strong> is set to 20 MB, a <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b5150849472">gds-2020-01-17_115425.log</strong> file will be created when the size of <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b19871810124711">gds.log</strong> reaches 20 MB.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p13452140155214">If the log file name specified by <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b1218920598472">-l</strong> does not end with <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b135692520485">.log</strong>, for example, <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b883115319487">gds.log.txt</strong>, the name of the new log file is <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b6471104984816">gds.log-2020-01-19_122739.txt</strong>.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p4923335145413">When GDS is started, it checks whether the log file specified by <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b1144511814912">-l</strong> exists. If the log file exists, a new log file is generated based on the current date and time, and the original log file is not overwritten.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ld66bf4d8bd234c899f9cda399f7ff492">-H address_string<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_aa4889750d37f42e7ab2e2a71f73afc0e"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ld66bf4d8bd234c899f9cda399f7ff492"></a><a name="en-us_topic_0000001145770401_ld66bf4d8bd234c899f9cda399f7ff492"></a>Set the hosts that can be connected to the GDS. This parameter must be the CIDR format and it supports the Linux system only. If multiple network segments need to be configured, use commas (,) to separate them. For example, <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b1166435312130">-H 10.10.0.0/24, 10.10.5.0/24</strong>.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l0bac28e3a5e241e59470b2f9ae0467f6">-e dir<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ab6c2ceb4affa40779c81b38642e2795a"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l0bac28e3a5e241e59470b2f9ae0467f6"></a><a name="en-us_topic_0000001145770401_l0bac28e3a5e241e59470b2f9ae0467f6"></a>Set the saving path of error logs generated when data is imported.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a8c68e0a2975748da8dd9a5124b7dd80f">Default value: <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270620191">data file directory</strong></p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l26edaeda700047fb8df7b3fd596e853a">-E size<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a923db1b88ce34bb1acc8eca6129579aa"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l26edaeda700047fb8df7b3fd596e853a"></a><a name="en-us_topic_0000001145770401_l26edaeda700047fb8df7b3fd596e853a"></a>Set the upper thread of error logs generated when data is imported.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p242202864">Value range: 0 &lt; size &lt; 1 TB. The value must be a positive integer plus the unit. The unit can be KB, MB, or GB.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ldd726ce3760d4d5b98d77c37190e4eb0">-S size<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_aea9f1b9340f549548e49f4b6b6eb03b8"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ldd726ce3760d4d5b98d77c37190e4eb0"></a><a name="en-us_topic_0000001145770401_ldd726ce3760d4d5b98d77c37190e4eb0"></a>Set the upper limit of the exported file size.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p176574111661">Value range: 1 MB &lt; size &lt; 100 TB. The value must be a positive integer plus the unit. The unit can be KB, MB, or GB. If KB is used, the value must be greater than 1024 KB.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_li166261168422">-R size<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p12626868426"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_li166261168422"></a><a name="en-us_topic_0000001145770401_li166261168422"></a>Set the maximum size of a single GDS log file specified by <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b690510447495">-l</strong>.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p146261661421">Value range: 1 MB &lt; size &lt; 100 TB. The value must be a positive integer plus the unit. The unit can be KB, MB, or GB. If KB is used, the value must be greater than 1024 KB.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p12118114624218">Default value: 16 MB</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l5055db1d021d4f4aa69dfac344093031">-t worker_num<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a936117fd9622460d811e9d194d0dc0bb"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l5055db1d021d4f4aa69dfac344093031"></a><a name="en-us_topic_0000001145770401_l5055db1d021d4f4aa69dfac344093031"></a>Set the number of concurrent imported and exported working threads.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_aca16189955204a208952c7cd7b5f8aa7">Value range: The value is a positive integer ranging between 0 and 200 (included).</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p085316260531">Default value: <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b154721929104818">8</strong></p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p151400348532">Recommended value: 2 x CPU cores in the common file import and export scenario; in the pipe file import and export scenario, set the value to <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b0873203254819">64</strong>.</p>
<div class="note" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_note178141405545"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p148141005546">If a large number of pipe files are imported and exported concurrently, the value of this parameter must be greater than or equal to the number of concurrent services.</p>
</div></div>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l70cb98aa453e4fa1af4182ab6e152e43">-s status_file<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_aa023620be42d40f08264c939267a5c76"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l70cb98aa453e4fa1af4182ab6e152e43"></a><a name="en-us_topic_0000001145770401_l70cb98aa453e4fa1af4182ab6e152e43"></a>Set the status file. This parameter supports the Linux system only.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ldb887c1f700d4341b36189df6136ee07">-D<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a7735e88ff2154b52a135e64b7d5b04c6"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ldb887c1f700d4341b36189df6136ee07"></a><a name="en-us_topic_0000001145770401_ldb887c1f700d4341b36189df6136ee07"></a>The GDS is running on the backend and this parameter supports the Linux system only.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ld31d5834c374413aaada3f382195150f">-r<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a620b4a2f6cda40aaa0e7693c88c92418"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ld31d5834c374413aaada3f382195150f"></a><a name="en-us_topic_0000001145770401_ld31d5834c374413aaada3f382195150f"></a>Traverse files in the recursion directory and this parameter supports the Linux system only.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_le7eb9e4465284b1c964793b86e884a0a">-h<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a6c6d9384d5aa45728f3dd31ef5d812c5"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_le7eb9e4465284b1c964793b86e884a0a"></a><a name="en-us_topic_0000001145770401_le7eb9e4465284b1c964793b86e884a0a"></a>Show help information.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l94ecd9c659f24747b2d32bd7c1e73f61">--enable-ssl<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ad235eaa9904241e5b33149bac7e79b02"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l94ecd9c659f24747b2d32bd7c1e73f61"></a><a name="en-us_topic_0000001145770401_l94ecd9c659f24747b2d32bd7c1e73f61"></a>Use the SSL authentication mode to communicate with clusters.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l6d7a8b7665744067889db54bc4ae7db3">--ssl-dir Cert_file<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ad159b97458b840f2b7ece37a80b24dd6"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l6d7a8b7665744067889db54bc4ae7db3"></a><a name="en-us_topic_0000001145770401_l6d7a8b7665744067889db54bc4ae7db3"></a>Before using the SSL authentication mode, specify the path for storing the authentication certificates.</p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_li3541359121814">--debug-level<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p856145910181"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_li3541359121814"></a><a name="en-us_topic_0000001145770401_li3541359121814"></a>Set the debug log level of the GDS to control the output of GDS debug logs.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_aee317e181dd64b79b5d9f955cb8a01ab"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b66499804">Value range:</strong> <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706111635">0</strong>, <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706111638">1</strong>, and <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706202531">2</strong></p>
<ul id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_u6639deb980fa41e0aff2c912209160d6"><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l176b0507a7f04700bae8e4ba188153b4"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706202724">0</strong>: Only the file list related to log import and export is printed. If the log volume is small, set the parameter to this value only when the system is at normal state.</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l0f5d4aaacae548aa9b061bcb56711032"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706202850">1</strong>: All the log information is printed, including the connection information, session switch information, and statistics on each node.</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_li8191310184217"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706203057">2</strong>: Detailed interaction logs and their status are printed to generate a huge number of debug logs to help identify the fault causes. You are advised to set the parameter to this value only during troubleshooting.</li></ul>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p1970151494411"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b13686113817301">Default value</strong>: <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706165429">0</strong></p>
</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_li157184812313">--pipe-timeout<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p47181982314"><a name="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_li157184812313"></a><a name="en-us_topic_0000001145770401_li157184812313"></a>Specify the timeout period for GDS to wait for operating a pipe.</p>
<div class="note" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_note99112313137"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ul1184510186398"><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_li20508919104111">This parameter is used to prevent the following situation: One end of the pipe file is not read or written for a long time due to human or program problems. As a result, the read or write operation on the other end of the pipe is hung.</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_li2013135512">This parameter does not indicate the maximum duration of a data import or export task. It indicates the maximum timeout duration of each read, open, or write operation on the pipe. If the timeout duration exceeds the value of <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b136371225121219">--pipe-timeout</strong>, an error is reported to the frontend.</li></ul>
</div></div>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p1271818820310"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b188795344133">Value range</strong>: greater than 1s Use a positive integer with the time unit, seconds (s), minutes (m), or hours (h). Example: <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b10387164016135">3600s</strong>, <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b13871401131">60m</strong>, or <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b1538794091317">1h</strong>, indicating one hour.</p>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_p187181481333">Default value: <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b198882423133">1h</strong>/<strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b288824213133">60m</strong>/<strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b17888542131317">3600s</strong></p>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_sbc9605e832934a14a3a941dadbe7d115"><h4 class="sectiontitle">Examples</h4><p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_abd98b696e88f4b5884480aa73a703625">Data file is saved in the <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706153459">/data</strong> directory, the IP address is 192.168.0.90, and the listening port number is 5000.</p>
<pre class="screen" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_sc2a742d1ce934594b00132090843115e"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a6529664b371e4643aeead8bf206d71a3">gds -d </strong><em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_aebf19dcab4e8492aa57adbf3d304365c">/data/</em> <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ac20b488f71e14c5587ec191e4d0d446e">-p</strong><em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a599cb2d11d0643f282b2120522ca7550"> 192.168.0.90:5000 </em><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_af526cad2f02a412cbee83d361f46534c">-H</strong> 10.10.0.1/24<em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a5c324f0b62f34de883319f2dbfdab3ba"> </em></pre>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a5890228cb892406586ed20b9a1f8c01b">Data file is saved in the subdirectory of the <strong id="EN-US_TOPIC_0000001145713107__b1406097823">/data</strong> directory, the IP address is 192.168.0.90, and the listening port number is 5000.</p>
<pre class="screen" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_se71ea874967d4f2c81e42bd9f7eeffcb"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a31bcf264344b44b3ad4ecc838734f0a7">gds -d </strong><em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a70cc822e585d47839387eb6643fb9ac0">/data/</em> <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a6845ab7b0fde446aaffc61742a8cd4d6">-p</strong> <em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a0d842277ccaa41b6bda638147175a462">192.168.0.90:5000 </em><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a06287a1f63094479b0197254e675dead">-H</strong> 10.10.0.1/24 <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_af2ee51a89ef44f11b6e8742179e0624c">-r</strong></pre>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a6443bf05e5f54c3ab4ba3da5900a5b35">Data file is saved in the <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b198006861415532">/data</strong> directory, the IP address is 192.168.0.90, and the listening port number is 5000 which is running on the backend. The log file is saved in the <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706155717">/log/gds_log.txt</strong> file, and the specified number of the concurrently imported working threads is 32.</p>
<pre class="screen" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_sf91115cda7a34147bfe1507610c5503e"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ac94102151679498bbaa04008d7082d5f">gds -d </strong><em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a2abec686940c424896a92bd7dc20e353">/data/</em> <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_aea2125f4ff944d2d992168bb1c0e5366">-p</strong> <em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_abee4f700c44f41d58846318bcf4f130e">192.168.0.90:5000 </em><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_ab65aa5132a1345ada67d9345fc54c231">-H</strong> 10.10.0.1/24<em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a5c8f53a5f41a4009a3b928622b2afd37"> </em><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a44a3869232964c6abb94813c78948642">-l</strong><em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_aaf4ddbe483be4e8b9d1674b5114db6d1"> /log/gds_log.txt </em><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_abb1d9a8822704cdeb6380fa7d80df4b1">-D</strong> <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a0be56d6201f94e78abffafb8ee638d82">-t</strong> 32</pre>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a8a12e6c2dd4f4e7584103c23bcd5cd42">Data file is saved in the <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b164273789416218">/data</strong> directory, the IP address is 192.168.0.90, and the listening port number is 5000. Only the IP address of <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b8423527061649">10.10.0.*</strong> can be connected.</p>
<pre class="screen" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_sd27655605a34462590ec3cf1e6c2d506"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_aa9e401aac302455191f2c9a0f1462de0">gds -d </strong><em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a7ed3226a2b734eb1bbd2e1b848786d2d">/data/</em> <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a4453da1d7693432cb9b2fe9feb1952ff">-p</strong> <em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a83d9b5dcec904e238c6c1fbcc62eccf2">192.168.0.90:5000</em> <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a047270b59f0f4e18b91c241e4987f4c6">-H </strong><em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a7519d26c95364bd99425959980ef5867">10.10.0.1/24</em></pre>
<p id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a215f5faaee0b47e1be3376a970678c81">Data files are stored in the <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b8423527069172">/data/</strong> directory, the IP address of the directory is <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270692022">192.168.0.90</strong>, and the listening port number is <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270692017">5000</strong>. Only the node whose IP address is <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270692049">10.10.0.*</strong> can be connected to. The node communicates with the cluster using the SSL authentication mode, and the certificate files are stored in the <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270692614">/certfiles/</strong> directory.</p>
<pre class="screen" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_s77c164931b3e41e2a87907c2c067673a"><strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a63edce8178f54d40875ba0a19a8a9402">gds -d </strong><em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a529af7f6b40e402691f3b9fd9724713d">/data/</em> <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a1752b0e7962c4e0a8622daafc15a1417">-p</strong> <em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a10b62ff2de944d08b57d0f8d7091e911">192.168.0.90:5000</em> <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a77aa53d5bbbc48959da3a75b1a26e199">-H </strong><em id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_a4af2427d71a5493bbf6296c981748017">10.10.0.1/24 --enable-ssl --ssl-dir /certfiles/</em></pre>
<div class="note" id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_n568e30280d8d42dda98b465047d0cef4"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_u7674a7e20b61466c80786eca28c86782"><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l9964f708793f49648d69eec5eb3d22ee">One GDS provides the import and export services for one cluster only at a time.</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_lb94c821910a14adc9415c6467056787c">For security purpose, specify the IP address and the listening port through <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b842352706161116">-p</strong>.</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_l8f1da75147d8462fb15e4fa9defa4cdd">The certificate file includes the root certificate <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270610655">cacert.pem</strong>, level-2 certificate file <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b8423527061089">client.crt</strong>, and private key file <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270610824">client.key</strong>.</li><li id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_en-us_topic_0059777832_li6434479516">The password protection files <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270610100">client.key.rand</strong> and <strong id="EN-US_TOPIC_0000001145713107__en-us_topic_0000001145770401_b84235270610103">client.key.cipher</strong> are used when the system loading certificates.</li></ul>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_gds_index.html">GDS: Parallel Data Loader</a></div>
</div>
</div>