doc-exports/docs/dws/umn/dws_03_0037.html
Lu, Huayi c5fcb46315 DWS UMN 801 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-13 12:47:57 +00:00

14 lines
2.2 KiB
HTML

<a name="EN-US_TOPIC_0000001146626748"></a><a name="EN-US_TOPIC_0000001146626748"></a>
<h1 class="topictitle1">What Are the Differences Between GaussDB(DWS) and Hive in Functions?</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_p8060118">GaussDB(DWS) and Hive have different functions in the following aspects:</p>
<ol id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_ol12175518180"><li id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_li81775181812">Hive is a data warehouse based on Hadoop MapReduce. GaussDB(DWS) is a data warehouse based on Postgres MPP.</li><li id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_li6171501818">Hive data is stored on HDFS. GaussDB(DWS) data can be stored locally or on OBS in foreign table form.</li><li id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_li171710511812">Hive does not support indexes. GaussDB(DWS) supports indexes, so querying is faster.</li><li id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_li51719521816">Hive does not support stored procedures. GaussDB(DWS) does, so it has more extensive application scenarios.</li><li id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_li2171556184">Hive supports fewer SQL statements than GaussDB(DWS), including functions, customized functions, and stored procedures.</li><li id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_li7171857181">Hive does not support transactions. GaussDB(DWS) supports complete transactions.</li><li id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_li101755171810">Both Hive and GaussDB(DWS) support backups, so the reliability is the same.</li><li id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_li13175515188">GaussDB(DWS) delivers much better performance than Hive.</li></ol>
<p id="EN-US_TOPIC_0000001146626748__en-us_topic_0000001099136628_p1766222310135">Based on their respective functions, Hive is useful for offline analysis while GaussDB(DWS) is useful for both online analysis and ad-hoc query.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_03_0001.html">General Problems</a></div>
</div>
</div>