This article is from Aliyun-yun-Habitat community, the original click here.
In practice, how to build a simple knowledge map, two versions, one starting from the 0 (start from scratch), one supplemented on cn-dbpedia basis, the MYSQL,POSTGRESQL,NEO4J database are all tried. I stumbled on the possibility of stepping on the pit do not know, welcome to discuss.
1. Cn-dbpedia Construction Process
The knowledge base can be divided into two types,
Characteristics:
Strong data correlation;
Often exhibit poorer memory access locality
Too little processing for a single vertex
Along with the change of parallelism in the calculation process
Large graph calculation mainly includes two kinds:
A real-time graph database based on traversal algorithm, such as NEO4J, Orientdb, Dex and Infinite graph;
Based on the vertex-centric parallel engine, such as Goldenorb, Giraph, Pregel and Hama, the graph
NEO4J, FLOCKDB
Object storage
Db4o, Versant
XML database
Berkeley DB XML, BaseX
The following is a partial SQL concept that corresponds to the MongoDB concept:
SQL Terminology/Concepts
MongoDB Terminology/Concepts
Explanation/Description
Database
Database
Database
Table
Collection
Database Tables/Collections
Row
Document
Dat
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 an associated object. The smallest unit of data storage is a document, and document properties stored in the
Introduced?? This article describes how to connect and process a MySQL database in a spring project.?? The project uses spring Data JPA and hibernate to connect and process the MySQL database, which is, of course, just one way, and you can use spring JDBC or mybatis.?? Spring Data JPA is a sub-project of spring data, which is mainly used to simplify the implementation of the database access layer, using spring data JPA to easily make additions, deletions, pagination, sorting, and more. Spring da
database, allowing for the nesting of key values. and the document database is more efficient than the key-value database query. such as: CouchDB, MongoDb. Domestic also has the document type database SEQUOIADB, already open source.4. Graph Database (graph)The graphical structure of the database is different from the other columns and the rigid structure of the SQL database, it is using a flexible graphical model, and can be extended to multiple servers. NoSQL databases do not have a standard q
Research), Cassandra (Facebook) Data Model: Store with columns as the center, storing the same column of data togetherBenefits: Fast query, high scalability, easy to implement distributed extensionsDocument Model:Application Scenario: Web application for non-strong transactional requirementsTypical products: MongoDB, ElasticSearch, CouchDB, Couchbase ServerData model: Key-value model, stored as documentPros: Data models do not need to be defined beforehandKey-value model:Scenario: Content cachi
concerned with the internal structure of a document .
This allows the storage engine to directly support a level two index , allowing efficient querying of any field .
The ability to support the nesting of documents enables the query language to have the ability to search for nested objects , and XQuery is an example. MongoDB implements similar functionality by supporting the specification of JSON field paths in queries.
MongoDB has a more comprehensive database of SQL and ACI
The pattern we are using now is for direct key value to be cached directly with memcached. Redis is used for collection types. For the content of the big data volume stuff, we are going to try to use MongoDB. Also learning neo4j to deal with deep search, recommended features.1.Memcached single Key-value size Limited, one value maximum only 1MB, Redis's maximum supported 512mb2.memcached is just a memory cache, no requirement for reliability, and Redis
.
ElasticsearchHealthIndicator
Check that the Elasticsearch cluster is started.
InfluxDbHealthIndicator
Check that the InfluxDB server is started.
JmsHealthIndicator
Check that the JMS agent is started.
MailHealthIndicator
Check that the mail server is started.
MongoHealthIndicator
Check that the Mongo database is started.
Neo4jHealthIndicator
Check that the Neo4j
. and the document database is more efficient than the key-value database query. such as: CouchDB, MongoDb. Domestic also has the document type database SEQUOIADB, already open source. Typical scenario: Web applications (similar to Key-value, value is structured, but the database is able to understand the content of value) Data model: Key-value corresponding key-value pairs, value is structured data Advantages and Disadvantages: The data structure requirements are not strict, the table structure
the same column of data in a clustered type
Find Fast, scalable,More easily distributed extensions
function relative limitation
Document Type Database
CouchDB, MongoDB
Web applications (similar to Key-value, value is structured)
A series of key-value pairs
Data structure requirements are not strict
Query performance is not high, and the lack of uniform query syntax
Graphics database
NEO4J
a simple data type, such as a string, a number, a date, or a complex type, such as a sequence table and an associated object. The smallest unit of data storage is a document, and document properties stored in the same table can be different, and data can be stored in many forms, such as XML, JSON, or JSONB.Typical products: MongoDB, CouchDB(4), graphic databaseThe graphics database allows us to store the data in a graphical way. Entities are treated as vertices, and relationships between entiti
Importing data using REIVER-JDBC in Elasticsearch2014-05-13 15:10 This site (3384) Elasticsearch use REIVER-JDBC to import data, the need for friends can refer to the next.The river module is provided in Elastisearch to fetch data from other data sources, which exists as a plug-in, and the existing river plug-ins include:River Pluginsedit1. Supported by Elasticsearch
CouchDB River Plugin
RabbitMQ River Plugin
Twitter River Plugin
Wikipedia River Plugin
2. Supported by
Tags: document definition zll relational database Val search operation God PadYou see, or you don't see me I was right there. No sorrow, no joy. You read, or you don't read me. The feeling is right there Not going to come. ----Cang Gyatso I think it is most appropriate to cite this poem to express the relationship of NoSQL. What we call NoSQL stems from a technical gathering held in San Francisco on June 11, 2009. The initiator Johan that a name, simple, easy to remember, suitable for Twitt
a good choiceThree Web, user login time any one, login information saved in Redis or memcached, log in web2 again, do not need to verify login, complete session to maintainDocument-oriented (document-oriented) database, Products: MongoDB, CouchDB, RavenDBMongoDB belongs to the document (document-oriented) database, where the data is stored as documents, and each document is a collection of a series of databases. Each data item has a name and corresponding value, which can be either a file type,
lines in the gallery such as neo4j. You can use a relational database in a social system, but you will lose your natural real-time nature.3. High-frequency trading: Most of us believe that a trading system must be an RDBMS because it guarantees transactional performance, right? Wrong. High-frequency traders tend to be the first people to use NoSQL,For HFT low latency for the king (Low latency means fast response, especially for large traffic situatio
syntax.
Graph Database (graph)
Neo4j, Infogrid, Infinite Graph
Social networks, referral systems, and more. Focus on building relational maps, dealing with a large number of complex, interconnected, and low-structured data, often with fast data changes and frequent queries
Graph structure
Using graph structure correlation algorithm. such as shortest path addressing, N-degree relationship lookup, etc.
Many times
Distributed File Systems
To store the same column of data in a clustered type
Find Fast, scalable, and easily distributed extensions
function relative limitation
Document type database [3]
CouchDB, MongoDb
Web applications (similar to Key-value, value is structured, but the database is able to understand the contents of value)
Key-value corresponding key-value pairs, value is structured data
Data structure requirements
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.