Supercharge Your Innovation With Domain-Expert AI Agents!

User-oriented graph database query optimization method and system

An optimization method, user-oriented technology, applied in other database query, database update, other database retrieval, etc., can solve the problem of large query delay

Pending Publication Date: 2021-05-07
宋骐
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With such a large amount of data, conventional computer systems cannot load all the data into the system memory, and obtaining data from the hard disk will cause a very large query delay
[0005] At the same time, the data frequently queried by users only accounts for a small part of the overall data, so loading all the data into the system memory will cause unnecessary additional overhead

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • User-oriented graph database query optimization method and system
  • User-oriented graph database query optimization method and system
  • User-oriented graph database query optimization method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are only some of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present disclosure.

[0036] A user-oriented graph database query optimization method, comprising the following steps:

[0037] For occasions where the amount of data cannot be fully loaded into the system memory, on the basis of no user query data, according to the frequency of data acquisition, the data with the highest acquisition frequency is used as hot data, and the hot data is loaded into the system memory first ;

[0038] For user query data, the data that m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the field of graph data processing, and discloses a user-oriented graph database query optimization method and system, and the method comprises the following steps: taking data with the highest acquisition frequency as hotspot data according to the acquisition frequency of the data on the basis that no user queries the data under the occasion that the data volume cannot be completely loaded into a system memory; preferentially loading the hotspot data into a system memory; for the user query data, preferentially acquiring data matching the user query data from the data in the system memory, and if the data in the system memory cannot match the user query data, acquiring the data matching the user query data from the hard disk; compared with the existing method, the method provided by the invention can improve the query efficiency.

Description

technical field [0001] The disclosure belongs to the field of graph data processing, and in particular relates to a user-oriented graph database query optimization method and system. Background technique [0002] Graph data is a database whose core is the relationship between nodes and nodes. Compared with traditional relational databases, graph databases have great advantages in the study of entity associations, because they are widely used in social networks, the Internet, finance, and artificial intelligence. Intelligence and many other fields. A typical representative of graph-structured data is a knowledge graph, where nodes represent entities and edges represent relationships between entities. Similarly, social networks are also a typical graph data, where nodes represent users and edges represent relationships between users. [0003] As an emerging database dedicated to storing graph-structured data, graph database provides functions such as graph data storage and qu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/901G06F16/903G06F16/2453G06F16/23
CPCG06F16/23G06F16/2453G06F16/9024G06F16/90335
Inventor 宋骐罗刚汪国航田宝同
Owner 宋骐
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More