Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the graphic database?

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

The main content of this article is to explain "what is the graphic database". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what is a graphic database"?

What an enterprise architect should know

The description of the chart database you get on Google is mainly academic. I've seen a lot of descriptions of graphic databases that discuss the seven bridges of K ö nigsberg or Berners-Lee, the inventor of the Internet. It's good to have a theory and a vision, but for me, I still think it's important to guide relevance. Why is the graphic database important to you?

Imagine the data stored in the local restaurant chain. If you want to track, store the customer information in one database table, the items you provide in another database table, and your sales in the third table. It's good when I want to know the products I sell, order inventory and know who my best customer is. But what is missing is the connective tissue and the connections between projects, as well as the functions in the database, which allow me to make the most of it.

The graphic database stores the same type of data, but it can also store links between things. John bought a lot of Pepsi. Jack married Valerie and bought different drinks. I don't need to run JOIN to understand how I should sell products to every customer. I can see the relationships in the data without having to make assumptions and test them.

This new connection information layer has done a lot for you. This is not only related to the buyer's intention, but can also be helpful in many use cases, which is very useful when machine learning or when you want the machine to analyze or reason (see table below).

Example of an application at the semantic layer

Store semantic information

Example

Use case

Ownership

Susan owns a Honda. Who else owns Honda?

Buyer's intention

Benefit

Steve is interested in football. Who else?

Designer

Frank Lloyd Wright designed the Guggenheim. What else?

Knowledge graph

Guggenheim Museum. What are other museums?

Connect

Connect to server2 through a port, such as server1, via port 8080. Is this beyond expectations?

Network / IT operation

And. Association

Genes are associated with cancer. What other genes are there?

Life science

Plenty more

Because traditional databases are designed with tables instead of linked data, SQL will no longer be used. This leads to languages like SQL (but for linked datasets or graphical data structures), such as SparQL,Gremlin and Cypher, and so on. A major difference is the analysis function that you need to take action on the linked data. If I want to find the most popular time to buy a product on your website, or if I want to rank the popularity of a project, then there will be a new syntax. You need to learn the language of connecting data to make the most of it.

Can't you do that with RDBMS?

Yes, you can create these links in a traditional relational database management system (RDBMS). However, to perform these tasks in a traditional database, the database administrator must strive to maintain unique keys and rebuild the relationship with JOIN. If you use a graphical database, topics and their relationships (called topics and predicates) are known. There is no need to rebuild the connection.

If you have previously defined Mary as Zoe's mother, inference that Zoe is Mary's daughter is another example. You don't necessarily need to define these two relationships specifically, because the graphical database is smart about it. By contrast, relational databases cannot understand anything that is not defined. Therefore, this reasoning ability is of obvious value when looking at interests, families and communities.

Warning: graphics database has expertise

Like traditional RDBMS, graphical databases can be transactional or analytical. Select focus when selecting a drawing database. For example, the popular Neo4J focuses on the OLTP graph database, while AnzoGraph is the OLAP graph database. When you first try to use a graphics database, this seems to be a subtle difference. However, you may need a different engine to run quick queries involving a single entity (for example, what car does Susan have? And poll the analysis query of the entire database For example, what is the average price of a car paid by Susan and others? ). With the development of machine learning and artificial intelligence, graphical OLAP databases become very important, because many machine learning algorithms are essentially graphical algorithms, and running on graphical OLAP databases is more efficient than running them on RDBMS.

If you want to learn more about SparQL, the W3C-defined graphical database standard language, check out one of the many SparQL tutorials online. There is plenty of opportunity to try a graphics database like AnzoGraph.

At this point, I believe you have a deeper understanding of "what is a graphic database". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report