storage
Document Type Database
* MongoDB: Open source, document-oriented* COUNCHDB: A document database using JSON, a MapReduce query using JavaScript, and an API that uses HTTP* Couchbase: Based on JSON model* RavenDB: A document-oriented database based on the. NET language* MarkLogic: Used to store XML-based and document-centric information to support flexible patterns
Graph Database (graph)
* neo4j: A graph da
Tags: span EPO calculates a very ORM domain data structure location www.: Network Disk DownloadContent Introduction······NoSQL Essentials provides a reliable decision-making basis for businesses that consider whether they can use and how to use NoSQL databases. It is co-authored by world-class software development gurus and software development "Godfather" Martin Fowler and Jolt Productivity Award book author Pramod J. Sadalage. This paper compares the similarities and differences between relati
transactions do not apply to microservices architectures.
First, for a microservices architecture, data access becomes more complex because the data is private to the microservices, and the only way to access it is through the API. This way of packaging data access makes microservices loosely coupled, independent of each other and easier to scale performance.
Second, different microservices often use different databases. Applications produce a variety of different types of data, and relational
, easy to deploy, and high concurrency for IT systems.Typical Products: Memcache, Redis, Memcachedb, BerkeleyDB2. Columnstore (column-oriented) databaseThe Columnstore database stores the database in the column family (column family), a column family stores data about queries that are often abandoned,3. Document-oriented (document-oriented) databaseThe document database is inspired by Lotus-notes Office software, and it is similar to the first key-value store.Typical products : MongoDB, CouchDB4
NoSQL Essentials provides a reliable decision-making basis for businesses that consider whether they can use and how to use NoSQL databases. It is co-authored by World software development guru and software development "Godfather" Martin Fowler and Jolt Productivity Award book author Pramod J. Sadalage. This paper compares the similarities and differences between relational database and NoSQL database, and explains the advantages and disadvantages of the 4 kinds of NoSQL databases, such as Riak,
represents a graph, to gracefully render any type of data in a very convenient manner. Survival database now generally has 3 classes,neo4j database,graphdb Survival database,orientdb, Survival database query will mimic the traversal of the graph to find, through friends to find friends, and finally find a goal. nosql 4 Span style= "Font-family:times New Roman" >2 l.z algorithm series, now it should have been many versions of it, is based on th
data is divided into points and edges, and by adding tag (s) to distinguish different points and edges.Neo4j is written in Java/scala, which includes a restful (highly deprecated) server mode, cypher (cypher is the standard for a graph DB query language), and embeded Mode of Java and Gremlin (using groovy).# # # Next day: Rest, indexes and algorithmsThird Day of # # #: Distributed High AvailabilityNEO4J cluster can be managed with ZK# # Add:I personally like graph db, and
graphics breakpoint, or a property of a path between endpoints. The neo4j is a typical graphical database.Which data model do you choose?Data models have their own pros and cons, and they apply to different areas. Whether you choose a relational model or a non-relational model, you have to make a choice based on the actual application scenario. You may find that a single data model does not meet your solution, and many large applications may need to
Strengths
Find Fast, scalable, and easily distributed extensions
Weaknesses
function relative limitation
3. Document-based database
Examples
CouchDB, MongoDb
Typical application Scenarios
Web applications (similar to Key-value, value is structured, but the database is able to understand the contents of value)
Data model
Key-value corresponding key-value pairs, value is structured data
data storage
Document Type Database
* Mongodb: Open source, document-oriented* COUNCHDB: A document database using JSON, a MapReduce query using JavaScript, and an API that uses HTTP* Couchbase: Based on JSON model* RavenDB: A document-oriented database based on the. NET language* MarkLogic: Used to store XML-based and document-centric information to support flexible patterns
Graph Database (graph)
* neo4j: A gra
. Originally belonged to the Apache Lucene project.
The most active project in SPARK-ASF is an open-source, clustered computing framework.
memcached– Universal Distributed Cache system.
Apache hive-supports class-SQL encapsulation in Hadoop, which turns SQL statements into Mr Programs to execute.
The Apache kafka– high-throughput, distributed, messaging-subscription system was first developed by Linkin.
Akka–java was developed to build highly concurrent, JVM-based resilient messag
you want to create a relationship between two nodes, such as Alice and Bob, we need to create two know_about relationships between them. One of the relationships is directed to Bob by Alice, and the other relationship is directed by Bob to Alice:It is important to note that although the relationship in the graph database is one-way, in some graphical database implementations, such as neo4j, we can find not only the relationship from a node, but also
relationship
3 Non-relational database
NoSQL (not only SQL) refers to non-relational databases, mainly for ultra-large-scale and high-concurrency
Key-Value Store database
Use a hash table primarily to add a query to delete data by key
Typical product: Redis
Column Store Database
Storing data in a column family is often used to store distributed, massive amounts of data
Typical product: HBase
Document-oriented database
Based on versioned documents, data ca
storing user information, such as session, configuration file, parameters, shopping cart and so on. This information is usually linked to the ID (key), which is a good choice for a key-value database.
Document database: MongoDB stores the data as a document. Each document is a collection of a series of data items. Each data item has a name and corresponding value, which can be a simple data type, such as a string, a number, a date, and so on, or a complex type, such as a sequence table and
also has the document type database SEQUOIADB, already open source.Typical application ScenariosWeb applications (similar to Key-value, value is structured, but the database is able to understand the contents of value)Data modelKey-value corresponding key-value pairs, value is structured dataStrengthsData structure requirements are not strict, table structure is variable, do not need to be like a relational database need to pre-defined table structureWeaknessesQuery performance is not high, and
introduces the "column family" which can be considered a "super-column". Columnstore supports row retrieval, but this requires that the matching column values be fetched from each column and the rows re-formed. 5. Graphics Database The graphical database stores information about vertices and edges, and some supports adding annotations. A graphical database can be used to model things, such as social maps, real-world objects. The content of the IMDB Web site consists of a complex image, where ac
1. IntroductionBefore in a lot of places have seen this spring Data magical things, do not know what east, finally, today to simple to find out, the bottom is I from the online finishing ...First, explain why you should use spring to integrate MongoDB: Because MongoDB's Java drivers are cumbersome to use, especially when dealing with multiple, deep-level relationships. You need to write a lot of code to construct DBObject. The first thing you must think of is the "Tiger Balm" spring. Spring data
and b both sides has to has at least one match, O R nothing is returned. 5, we ' ll start with a simple example, where We find all email addresses that is connected to the person "admin ”. This was an ordinary one-to-many relationship. 6, there is no join table here, but if one is necessary the next exampleWriting the pattern relationship like so:-[r:belongs_to]-> 'll introduce (the E Quivalent of) Join table available asthe variable R. In reali
results. A bit like the count (*) in the SQL statement. Db.mycol.aggregate ([{$group: {_id: "$by _user", num_tutorial: {$sum: 1}}]) { "Result": [ { "_id": "w3cschool.cc", "Num_tutorial": 2 }, { "_id": "Neo4j", "Num_tutorial": 1 } ], "OK": 1 }
Regular expressions
Db.posts.find ({post_text:{$regex: "w3cschool.cc", $options: "$i"}}) The above is a command-line operation for MongoDB, but for programmers it is easy for us to use some simpl
, it is beyond the ability of language to focus onalgorithms, Emerging technologies。The algorithm each look at their own good fortune, I only read the "programming of the United States," the middle number and the two chapters of the string, feel benefited, if you can look at the "sword Point offer" (Do not like this book, feel too utilitarian, it is a collection of the past years, haha) is better, and then on the Leetcode on the brushAs for emerging technologies, preferably with your project-rel
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.