In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail what common non-relational databases are, and the editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Common non-relational databases are: 1, mongodb;2, cassandra;3, redis;4, hbase;5, neo4j. Mongodb is a very famous NoSQL database, which is an open source document-oriented database.
Several common non-relational databases:
1 、 MongoDB
MongoDB is the most famous NoSQL database. It is a document-oriented open source database. MongoDB is a scalable and accessible database. It's in C++. MongoDB can also be used as a file system. In MongoDB, JavaScript can be used as a query language. Scale horizontally by using sharding MongoDB. It is very useful in the popular JavaScript framework.
People really enjoy sharding, advanced text search, gridFS and map-reduce features. Amazing performance and new features put this NoSQL database at the top of our list.
Features: provide high performance; automatic sharding; run on multiple servers; support master-slave replication; data stored in the form of JSON-style documents; index any field in the document; because the data is placed in fragments, it has an automatic load balance configuration; support regular expression search; easy to manage in the case of failure.
Advantages: easy to install MongoDB;MongoDB Inc. Provide professional support to customers; support temporary query; high-speed database; schemaless database; scale-out database; very high performance.
Disadvantages: do not support connections; large amount of data; nested documents are limited; increase unnecessary memory use.
2 、 Cassandra
Cassandra was developed by Facebook for inbox search. Cassandra is a distributed data storage system for processing large amounts of structured data. Typically, this data is distributed on many ordinary servers. You can also add data storage capacity to keep your service online, and you can do this easily. Because all nodes in the cluster are the same, there is no need to deal with complex configurations.
Cassandra is written in Java. Cassandra query language (CQL) is a sql-like language for querying Cassandra databases. As a result, Cassandra ranks second among the best open source databases. Some of the largest companies, such as Facebook, Twitter, Cisco, Rackspace, eBay, Twitter, Netflix, and so on, are using Cassandra.
Features: linear scalability; maintain fast response time; support atomicity, consistency, isolation and durability (ACID) attributes; use Apache Hadoop to support maximum flexibility of MapReduce; distribution of data; highly scalable; peer-to-peer architecture.
Advantages: highly scalable; no single point of failure; Multi-DC replication; tight integration with other JVM-based applications; better suited for multi-data center deployment, redundancy, failover, and disaster recovery.
Disadvantages: limited support for aggregation; unpredictable performance; no support for special queries.
3 、 Redis
Redis is a store of key values. In addition, it is the most famous key value storage. Redis supports some C++, PHP, Ruby, Python, Perl, Scala and so on. Redis is written in C language. In addition, it is authorized by BSD.
Features: automatic failover; keeping its database completely in memory; transactions; Lua scripts; copying data to any number of secondary servers; limited life of keys; LRU expelling keys; support for publish / subscribe.
Pros: support for multiple data types; easy to install; very fast (about 110000 sets per second, about 81000 times per second); operations are atomic; multi-purpose tools (used in many use cases).
Disadvantages: connection is not supported; Lua knowledge required by stored procedures; dataset must be well adapted to memory.
4 、 HBase
HBase is a distributed, column-oriented open source database. This technology comes from the Google paper "Bigtable: a distributed Storage system for structured data" written by Fay Chang. Just as Bigtable takes advantage of the distributed data storage provided by the Google File system (File System), HBase provides Bigtable-like capabilities on top of Hadoop.
HBase is a subproject of Apache's Hadoop project. Different from the general relational database, HBase is a database suitable for unstructured data storage. Another difference is that HBase is column-based rather than row-based.
5 、 neo4j
Neo4j is called the native graph database because it effectively implements the attribute graph model all the way to the storage layer. This means that the data is stored exactly as a whiteboard, and the database uses pointers to navigate and traverse the graph. Neo4j has a community version and an enterprise version of the database. Enterprise Edition includes all the features that Community Edition must provide, as well as additional enterprise requirements, such as backup, clustering, and failover capabilities.
Features: it supports unique constraints; Neo4j supports complete ACID (atomicity, consistency, isolation, and persistence) rules; Java API: Cypher API and native Java API; use Apache Lucence indexes; simple query language Neo4j CQL; contains UI: Neo4j Data Browser for executing CQL commands.
Advantages: easy to retrieve details of their neighboring nodes or relationships without join or indexing; easy to learn Neo4j CQL query language commands; no complex connections to retrieve data; very easy representation of semi-structured data; high availability of large enterprise real-time applications; simplified tuning.
Disadvantages: fragmentation is not supported.
On the common non-relational databases which are shared here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.