Neo4j_02 Understanding the Graph database

Source: Internet
Author: User
Tags neo4j

What is a graphic?

A graph consists of two elements: a node and a relationship.

Each node represents an entity (person, place, thing, category, or other data segment), and each relationship represents how two nodes are associated. For example, the relationship between the two nodes of cake and dessert is a point from cake to dessert.

This versatile structure allows you to simulate a variety of scenarios - from the road system to the device network, to the medical history of the population or any other thing defined by the relationship.

What is a graphics database?

The graph database is an online database management system, which has the creation, reading, updating and deletion of working on the Graphic data model ( CRUD) operations. Unlike other databases, in a graphical database, relationships take precedence. This means that your application does not have to use foreign keys or out-of-band processing, such as MapReduce,to infer data connections. By combining a simple abstraction of nodes and relationships into a connected structure, the graphical database enables us to build complex models that are closely related to our problem areas. The data model of graph database is much simpler and more expressive than the data model of relational database or other NoSQL database. The graphical database is built for use with transactional (OLTP) systems and takes account of transactional integrity and operational availability.

There are two important features of graph database technology:

Chart Storage

Some graphics databases use native graphics stores that are specifically designed to store and manage graphics, while others use relational databases or object-oriented databases. Non-local storage is usually more subtle.

Graphics Processing engine

Native graph processing (also known as "no index adjacency") is the most effective means of processing graph data because connected nodes physically "point" to each other in the database. Non-local graphics processing uses other means to handle CRUD operations.

Why use a graphical database? What are the benefits of using a graphical database?

today's business and user requirements require applications that connect more and more of the world's data, but still expect high levels of performance and data reliability. Many future applications will be built using a graphical database like neo4j.

today's CIOs and CTO not only need to manage large amounts of data, they also need insights from existing data. In this case, the relationships between data points are more important than the individual points themselves. To take advantage of data relationships, organizations need a database technology that stores relationship information as a first-class entity. The technology is a graphical database. Ironically, the traditional relational database management system (RDBMS) is poor at dealing with data relationships. Their rigorous model makes it difficult to add different connections or adapt to new business requirements. Graphical databases not only effectively store data relationships, they are also flexible when extending the data model or meeting changing business requirements.

Google,Facebook,LinkedIn and PayPal and other technology giants have used the power of graphic databases to create thriving businesses. Their secret is that everyone uses graphics database technology to harness the power of data connections.

The graphical database is built specifically to handle highly connected data, and today's increase in data volume and connectivity provides a huge opportunity for continuous competitive advantage.

There are three other key benefits of the chart database:

Performance: For dense data relational processing, the graphics database improves performance by several orders of magnitude. In a traditional database, relational queries will stop as the number and depth of relationships increases. In contrast, the performance of your chart database remains the same even if your data grows year after year.

Flexibility: for the graphics database,the IT and data architect teams are evolving at the speed of the business as the structure and patterns of the graphics model change as applications and industries change. Instead of modeling the domain in advance, the data team can add it to an existing graphical structure without compromising the current functionality.

Agile: Using graphical database development is fully compliant with today's flexible, test-driven development practices that allow your graphics database to evolve in sync with other applications and any changing business needs. The modern graphics database is equipped with frictionless development and elegant system maintenance.

What are the common use cases for the graph database?

Today's enterprise organizations use graphics database technology in a variety of ways:

Fraud identification

Real-time recommendation engine

Master Data Management ( MDM)

Network and IT Operations

Identity and access management ( IAM)

From businesses such as Wal-Mart,EBay and Adidas Group to cobrain,Zephyr Health and Wanderu Such startups, and even Non-profit organizations like ICIJ and the World Economic Forum, have a variety and depth of use in case studies of graphic databases.

Example of a graph database

The greatest value a chart can bring to the development stack is their ability to store relationships and connections as a whole. For example, early adopters of graphics technology re-envision their business around the value of data relationships. These companies have now become industry leaders:LinkedIn,Google,Facebook and PayPal .

What is Neo4j?

NEO4J is a database - use it to reliably store information and find it later

The NEO4J data model is a graph, especially a property graph

Cypher is the neo4j graphical query Language (SQL for graph!). )

Cypher is a declarative query language: It describes what you are interested in, not how you get it.

Cypher are very readable and expressive.

What is Cypher?

Cypher is a declarative query language that makes it possible to query and update chart data efficiently. Cypher is a relatively simple and powerful language. Complex database queries can be easily expressed through Cypher, allowing you to focus on your domain rather than getting lost in database access. Cypher 's design is a user-friendly query language suitable for developers and any other professional. Our guiding goal is to make simple things easy and complex things possible. The structure of Cypher is optimized for human reading, using English prose and images to make the query more self-explanatory.

as a declarative language,Cypherthe focus is on clearly expressing what is retrieved from the chart, not how it is retrieved. This is related to the imperative, programmatic, use of database access.APIinstead. This approach makes query optimization an implementation detail rather than a user burden, eliminating the need to update all traversal simply because of a physical database structure change. Cypherinspired by many different approaches and built on the established practice of traditional queries. LikeWHEREand theORDER byMany of these keywords are subject toSQLthe inspiration. Pattern matching fromSPARQLThe expression method is borrowed from the. Some of the collection semantics have beenHaskelland thePythonborrowed in a language like this. Cypherlanguage has been provided to anyone to implement and useOpencypher, allowing any database vendor, researcher or other stakeholder to gain the benefits of our efforts and experience in developing first-class graphical query languages over the years.

Neo4j_02 Understanding the graph database

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.