Traditional Culture Encyclopedia - Traditional festivals - What is HBase? Why use HBase?

What is HBase? Why use HBase?

HBase's products also include Jetty. When HBase is started, Jetty is started in an embedded way, so it is very light to manage HBase and view some current running status through the web interface. Why use HBase? HBase is different from the general relational database. It is a database suitable for unstructured data storage. The so-called unstructured data storage means that HBase is based on columns rather than rows, so that you can read and write your big data content. HBase is in mapentry (key&; Value) and database rows. It is similar to the popular Memcache, but it is more than just a simple key corresponding to a value. You may need to store a data structure with multiple attributes, but there are not as many relationships as in traditional database tables. This is called loose data. Simply put, the table you create in HBase can be regarded as a very large table, and the attributes of this table can be dynamically increased according to the requirements. In HBase, there is no associated query between tables. You only need to store your data in the column family of Hbase, and you don't need to specify its specific type: char, varchar, int, tinyint, text and so on. However, you need to note that HBase does not include functions such as transactions. Apache HBase is very similar to Google Bigtable. A data row has an optional key and any number of columns. Tables are loosely stored, so users can define different columns for rows, which is very practical in large projects and can simplify the cost of design and upgrade.