An array index implementation method and system
A technology of array index and implementation method, which is applied in the field of data processing, can solve the problems of relational database finding, increasing quantity, and low query performance, and achieve the effects of performance improvement, fast access, and avoiding a large number of comparison operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 1 It is a flowchart of a method for implementing an array index in a data processing system such as a relational database / KV database provided in Embodiment 1 of the present invention. This embodiment can be used to realize the indexing system of data processing systems such as relational database / KV database, as figure 1 As shown, the method specifically includes the following steps:
[0038] S101, the system automatically builds an array index structure at runtime: optionally, the system can automatically create a global vertex array index and edge array index when initializing; it can also be specified when creating entity tables and relational tables (such as create vertex table... etc.) to automatically create vertex array indexes and edge array indexes for specific tables, such tables become vertex tables and edge tables; SQL statements (such as alter table t1 as vertex table, etc.) Some entity tables and relationship tables are converted into vertex tabl...
Embodiment 2
[0082] figure 2 It is a flow chart of a method for implementing an array index in a data processing system such as a relational database / KV database provided by Embodiment 2 of the present invention. This embodiment can be used to realize the indexing system of data processing systems such as relational database / KV database, as figure 2 As shown, the method specifically includes the following steps:
[0083] S201, the same as S101, automatically establishes the array index structure, and this example assumes that the same initial data as S101 is used.
[0084] S202, the data processing system such as database / KV receives and processes the request select L.score match(studentsS, learn L, classes C | S-(L)->C) where S.sno="S001", this request is used to search for The name of the student with the number S001 and the course scores studied, where S-(L)->C indicates the relationship between the start vertex student S learning L and the end vertex course C. It can be determined ...
Embodiment 3
[0088] image 3 It is a schematic structural diagram of an array index implementation system of a data processing system such as a relational database / KV database provided by Embodiment 1 of the present invention. This embodiment can be used to realize the system, and the method can be executed by the array indexing device in the example of the present invention, and the device can be implemented in software and / hardware, such as image 3 As shown, the device includes: an operation analysis module 301 , an operation execution module 302 , an adjacency management module 303 , and an adjacency cache module 304 .
[0089] Operation parsing module: This module is responsible for parsing the received operation request and determining the operation type.
[0090]Operation Execution Module: This module is used to execute the received operation request. If it involves adjacency processing, after the operation is completed, it needs to transfer to the adjacency management module to co...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com