📜  PostgreSQL和HBase之间的区别

📅  最后修改于: 2021-08-25 10:16:21             🧑  作者: Mango

1. HBase:
该模型用于提供对大量结构化数据的随机访问。它建立在hadoop文件系统的顶部,本质上是面向列的。它曾用于将数据存储在HDFS中。它是提供数据复制的开源数据库。 HBase的三个重要组件是HMaster,区域服务器和Zookeeper。

2. PostgreSQL:
PostgreSQL是一个功能强大的开源对象关系数据库系统。它具有较高的稳定性,因此可以在较低的维护工作量下提供良好的性能。 PostgreSQL是第一个实现多版本并发控制(MVCC)功能的DBMS。

PostgreSQL和HBase之间的区别:

S.No. HBase PostgreSQL
1. HBase is written in JAVA. PostgreSQL is written in C languages.
2. It does not supports SQL query language. It supports SQL query language.
3. It does not support XML Format. It supports XML Format.
4. It has no Secondary database models. It has Document store as Secondary database models.
5. It supports in-memory capabilities. It does not supports in-memory capabilities.
6. HBase uses a selectable replication factor. It doesn’t use selectable replication factor.
7. HBase is less complex than PostgreSQL. It is more complex than HBase.
8. HBase has triggers. PostgreSQL doesn’t have triggers.
9. HBase is based on Bigtable. PostgreSQL is based on RDBMS.
10. HBase provide more consistency. It provide less consistency.