Unlock instant, AI-driven research and patent intelligence for your innovation.

Cross-table inquiry method and related device

A table query and cross-table technology, applied in the computer field, can solve problems such as increasing query time, reducing query efficiency, and affecting data query time, achieving the effect of increasing speed and reducing query times

Inactive Publication Date: 2018-12-21
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the number of records in each index reaches the level of 10,000, when the same condition is queried through two indexes, two separate index query operations will be performed, which usually increases the length of the query.
Furthermore, when the number of tables increases, it will seriously affect the query time of data and reduce query efficiency

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
  • Cross-table inquiry method and related device
  • Cross-table inquiry method and related device
  • Cross-table inquiry method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The core of this application is to provide a cross-table query method, a cross-table query system, a server, and a computer-readable storage medium. By establishing the same cross-table index for multiple tables, when querying these tables at the same time, only the cross-table Table index query can complete the query operation of all content, avoiding the need to perform an index query for each table, reducing multiple queries into one query, reducing the number of queries, and improving the speed of cross-table queries.

[0050] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodimen...

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 discloses a cross-table query method, which comprises the following steps: determining index columns in a plurality of tables to be queried, and establishing each index column and corresponding ROWID as index contents in the same index to obtain a cross-table index; when a query instruction is received, the cross-table index is queried according to the query instruction to obtain a corresponding ROWID; selecting a corresponding data acquisition operation according to the number of ROWIDs, and executing the data acquisition operation to obtain a query result. By establishing the same cross-table index for multiple tables, when the tables are queried at the same time, only the cross-table index can be queried to complete the query operation for all contents, thus avoiding the need to perform index query once for each table, reducing multiple queries to one query, reducing the number of queries, and improving the speed of cross-table queries. The invention also discloses a cross-table query system, a server and a computer-readable storage medium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a cross-table query method, a cross-table query system, a server, and a computer-readable storage medium. Background technique [0002] In the database, access to the database is usually improved through various index structures, generally including but not limited to B-tree index, bitmap index, and reverse index. Suppose there is a table t1, which has columns (c1, c2, c3), and there are 10,000 records in it (assuming that 100 data blocks are required to store all records). In order to improve the query speed, an index idx1 is created on the column c1, and an index record includes a ROWID (the unique number of each row in the database) and the value of the c1 column, so an index record occupies a small storage space in the database block , a database can contain a large number of index records, so it may only need 10 database blocks to store all the records of th...

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): G06F17/30
Inventor 马国良
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD