forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
18 lines
2.0 KiB
HTML
18 lines
2.0 KiB
HTML
<a name="EN-US_TOPIC_0000001188323562"></a><a name="EN-US_TOPIC_0000001188323562"></a>
|
|
|
|
<h1 class="topictitle1">Preparing Source Data</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001188323562__s1b602d13fb7444979d12f49330a4ad87"><h4 class="sectiontitle">Scenario</h4><p id="EN-US_TOPIC_0000001188323562__p81109202911">Generally, the data to be imported has been uploaded to the data server. In this case, you only need to check the communication between the data server and <span id="EN-US_TOPIC_0000001188323562__text269702335">GaussDB(DWS)</span>, and record the data storage directory on the data server before the import.</p>
|
|
<p id="EN-US_TOPIC_0000001188323562__ac82fc11acf9c478781a5a59ec0ce1d15">If the data has not been uploaded to the data server, perform the following operations to upload it:</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188323562__s73df3a1b8eb443c18167cc89c7a91fb1"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0000001188323562__ol1487316353219"><li id="EN-US_TOPIC_0000001188323562__li187313520216"><span>Log in to the data server as user <strong id="EN-US_TOPIC_0000001188323562__b251973">root</strong>.</span></li><li id="EN-US_TOPIC_0000001188323562__li88731535327"><span>Create the directory <strong id="EN-US_TOPIC_0000001188323562__b84235270610408">/input_data</strong>.</span><p><pre class="screen" id="EN-US_TOPIC_0000001188323562__screen1287320351329"><strong id="EN-US_TOPIC_0000001188323562__b168731635322">mkdir -p</strong> <em id="EN-US_TOPIC_0000001188323562__i19873035624">/input_data</em></pre>
|
|
</p></li><li id="EN-US_TOPIC_0000001188323562__li158733351422"><span>Upload the source data files to the created directory.</span><p><p id="EN-US_TOPIC_0000001188323562__p924243561412">GDS parallel import supports source data only in CSV or TEXT format.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0189.html">Using GDS to Import Data from a Remote Server</a></div>
|
|
</div>
|
|
</div>
|
|
|