Hive versus relational databases
hive is so similar to relational databases that there is always an illusion in hive learning that hive is a database, not a database. Hive is the client side of Hadoop, with HDFS at the bottom, and the execution engine is MapReduce, which is executed on Hadoop and, in other words, a layer of Hadoop’s client package.
1. Data update
- hive read more write less
- mysql usually needs to modify
frequently
2. Data delay
- mysql usually executes in seconds
- hive for a longer time:
- hive query, there is no index, need to scan the whole table, so the delay is high
- mapreduce when the hive is executed, there will be a shuffle, shuffle to drop the disk, the delay is high
3. Data size
- hive data scale is large
- hive is stored in HDFS and built on clusters. You can add machine vertical expansion
- mysql has storage bottlenecks
Mysql store on disk - li>
Read More:
- Hive: How to Solve dearby database initialization error
- “Hive metadata problem” hive.metastore.HiveMetaException : Failed to get schema version.
- An error is reported when kettle connects Oracle database and MySQL database
- How to solve MySQL error 1049 (42000): unknown database ‘database’
- 1716438 – Error :” Failed to load database information Details: The Database connector crdb_bwquery.
- Hive SQL syntax error and corresponding solutions
- Solve the database connection failure of Discuz! Database error (1045) notconnect Forum
- Hive view execution plan
- Failed: execution error, return code 1 from org.apache.hadoop . hive.ql.exec .DDLTask…
- Java connection zookeeper high availability hive error
- The difference between onready or $() and onload
- hive is not allowed to impersonate anonymous
- Spoop export hive to MySQL
- Beeline connection hive2 reports an error permission denied
- The difference between problem and observables
- Run spark to report error while identifying ‘ org.apache.spark . sql.hive.HiveSessionState ‘
- Execution error, return code 1 from org.apache.hadoop . hive.ql.exec .DDLTask.
- Exception on start hive: caused by: java.net.noroutetohostexception: no route to host
- Error while instantiating ‘org.apache.spark.sql.hive.HiveExternalCatalog’:
- The difference between LSTM and Gru