Supercharge Your Innovation With Domain-Expert AI Agents!

Data query method, device and equipment and computer readable storage medium

A data query and computer technology, applied in the computer field, can solve the problems of multiple batches, large amounts of data, and low efficiency of data query, and achieve the effect of avoiding too low time consumption

Pending Publication Date: 2022-03-04
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When using the above related technologies for data query, when the data that meets the conditions are distributed according to ID, if the fixed step size is small, it will lead to too many batches and the efficiency of data query is low; when the data that meets the conditions is distributed according to ID In relatively concentrated cases, if the fixed step size is large, too much data will be queried in each batch, resulting in slow data query, which will affect the quality of database external services

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
  • Data query method, device and equipment and computer readable storage medium
  • Data query method, device and equipment and computer readable storage medium
  • Data query method, device and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0051] The embodiment of this application provides a data query method, please refer to figure 1 , which shows a schematic diagram of the implementation environment of the method provided by the embodiment of the present application. The implementation environment may include: a terminal 11 and a server 12 .

[0052] Wherein, the terminal 11 can apply the method provided by the embodiment of the present application to perform data query, and send the data query result obtained from the query to the server 12 . The server 12 receives the data query result and stores the data query result.

[0053] Alternatively, the server 12 uses the method provided in the embodiment of the present application to perform data query, and stores ...

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 data query method, device and equipment and a computer readable storage medium, and belongs to the technical field of computers. The method comprises the following steps: determining a batch condition of data query, wherein the batch condition is used for indicating the sequence of the data query; determining a first step length based on the batch condition, and querying based on the first step length to obtain first data; determining a second step length based on a first index in response to the fact that the end condition of the data query is not met, the first index being used for indicating the query condition of the first data obtained based on the first step length query; and obtaining a data query result based on the second step length. Batch query is carried out through a method of determining the step length of the next batch based on the index of the batch, and the data query efficiency is adjusted by continuously adjusting the step length, so that low data query efficiency caused by too small first step length is avoided, and slow data query caused by too large first step length is also avoided; and the external overall service performance and quality of the database are influenced.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a data query method, device, equipment, and computer-readable storage medium. Background technique [0002] A database is a computer software system that stores and manages data according to its data structure. With the continuous growth of data in the database, the data range and data volume are getting larger and larger, how to query data is an urgent problem to be solved. [0003] In related technologies, a data query method is to query the largest ID (IdentityDocument, identity identification number) and the smallest ID in the data that meets the conditions, and then use a fixed step to perform batch query from the data with the smallest ID. The query ends when the data with the largest ID is reached, and then the data queried in batches is aggregated to obtain the final data query result. [0004] When using the above related technologies ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/2453G06F16/242
CPCG06F16/2453G06F16/2425
Inventor 黄准殷俊超李佳恒
Owner BEIJING SANKUAI ONLINE TECH CO LTD
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