What difference of RDBMS and Hive?

troya_adromeda picture troya_adromeda · Aug 2, 2011 · Viewed 16.1k times · Source

In RDMS like MySQL thereis database, are there database also on the Hive ?as i read on the manual, hive only have table, i bit confuse about it..

and what is different concept of RDBMS and Hive ?

Tks before

Answer

David Gruzman picture David Gruzman · Aug 3, 2011

The main difference between RDBMs databases and Hive is specialization. While MySQL is general purpose database suited both for transactional processing (OLTP) and for analytics (OLAP), Hive is built for the analytics only. Technically the main difference is lack of update/delete
functioality. Data can only by be added and selected. In the same time Hive is capable of processing data volumes which can not be processed by MySQL or other conventional RDBMS (in shy budget).
MPP (massive parallel proecssing) databases are closest to the Hive by their functionality - while they have full SQL support they are scalable up to hundreds of computers. Another serious different - is query language.
Hive do not support full SQL even in select because of it's implementation. In my view main difference is lack of join for any condition other then equal. Hive query language sintax is also a bit different so you can not connect report generation software right to Hive.