forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
20 lines
3.1 KiB
HTML
20 lines
3.1 KiB
HTML
<a name="EN-US_TOPIC_0000001381728573"></a><a name="EN-US_TOPIC_0000001381728573"></a>
|
|
|
|
<h1 class="topictitle1">How Can I Import Data to GaussDB(DWS)?</h1>
|
|
<div id="body0000001381728573"><p id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_p9891143513242">GaussDB(DWS) supports efficient data import from multiple data sources. The following lists typical data import modes. For details, see section "Importing Data" in the <em id="EN-US_TOPIC_0000001381728573__i16719151604112">Data Warehouse Service (DWS) Developer Guide</em>.</p>
|
|
<ul id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_ul164851348134914"><li id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_li1748564824914">Importing data from the OBS<p id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_p12370103812425"><a name="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_li1748564824914"></a><a name="en-us_topic_0000001098976724_li1748564824914"></a>Upload data to OBS and then export it to GaussDB(DWS) clusters. Data formats such as CSV and TEXT are supported.</p>
|
|
</li></ul>
|
|
<ul id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_ul64808512494"><li id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_li154801351104910">Inserting data with <strong id="EN-US_TOPIC_0000001381728573__b121432062593229">INSERT</strong> statements<p id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_p5480195112493">Use the gsql client tool provided by GaussDB(DWS) or the JDBC/ODBC driver to write data to GaussDB(DWS) from upper-layer applications. GaussDB(DWS) supports complete database transaction-level CRUD operations. This is the simplest method and is applicable to scenarios with small data volume and low concurrency.</p>
|
|
</li></ul>
|
|
<ul id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_ul46981355104913"><li id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_li523119495012">Importing data from MRS with MRS as the ETL. </li></ul>
|
|
<ul id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_ul889595815497"><li id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_li1389515864910">Importing data with the <strong id="EN-US_TOPIC_0000001381728573__b100458219893229">COPY FROM STDIN</strong> command<p id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_p1164511021212">Run the <strong id="EN-US_TOPIC_0000001381728573__b80401308193229">COPY FROM STDIN</strong> command to write data to a table.</p>
|
|
</li><li id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_li10968250145913">Importing data from a remote server to GaussDB(DWS) using GDS<p id="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_p0911256724"><a name="EN-US_TOPIC_0000001381728573__en-us_topic_0000001098976724_li10968250145913"></a><a name="en-us_topic_0000001098976724_li10968250145913"></a>Use the GDS data import function provided by GaussDB(DWS) to import data files from a common file system (for example, an ECS).</p>
|
|
</li></ul>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_03_0026.html">Data Import and Export</a></div>
|
|
</div>
|
|
</div>
|
|
|