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

A data query processing method and device

A data query and processing method technology, applied in the computer field, can solve problems such as memory overflow, insufficient memory, and the inability to limit the size of program memory usage, so as to ensure normal operation and avoid excessive memory usage.

Active Publication Date: 2021-11-16
BEIJING QIANXIN TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rapid development of computer technology, the amount of data that computers can store is increasing. In the process of data processing, it is necessary to query the large-scale table data in the existing system. Usually, all the data is queried at once. Or use a fixed-length query step, but you can't control the amount of data you query, and you can't limit the size of the program memory, which is prone to insufficient memory and memory overflow.

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
  • A data query processing method and device
  • A data query processing method and device
  • A data query processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

[0026] figure 1 It shows a schematic flowchart of a data query processing method provided in this embodiment, including:

[0027] S101. Query the data to be queried according to the current query time interval, and acquire the query execution time and query result data volume of the current query time interval.

[0028] Wherein, the query time interval is a period of data query, which is also called a query time step. For example, if the query time interval is 2s, execute a data query at 0s, 2s, 4s, 6s... times respectively.

[0029] The data to be queried is all data that needs to be queried in the current system.

[0030] The query execution time is the time use...

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 embodiment of the present invention discloses a data query processing method and device. The method includes: querying the data to be queried according to the current query time interval, and obtaining the query execution time and the amount of query result data in the current query time interval; if the query is executed If the time is greater than the time threshold, then determine the first query time interval according to the query time interval, query execution time, and time threshold; 2. Query time interval; further determine the updated query time interval, and continue to query the data to be queried. Use the time threshold and data volume threshold to judge whether the query execution time and query result data volume in the current query time interval meet the requirements. If they do not meet the requirements, adjust the query time interval in time to limit the amount of query data and avoid excessive memory usage. Overflow ensures the normal operation of each program.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a data query processing method and device. Background technique [0002] With the rapid development of computer technology, the amount of data that computers can store is increasing. In the process of data processing, it is necessary to query the large-scale table data in the existing system. Usually, all the data is queried at once. Or use a fixed-length query step, but you can't control the amount of data you query, and you can't limit the size of the program memory, which is prone to insufficient memory and memory overflow. Contents of the invention [0003] Since the above-mentioned problems exist in the existing methods, the embodiments of the present invention propose a data query processing method and device. [0004] In the first aspect, the embodiment of the present invention proposes a data query processing method, including: [0005]...

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 Patents(China)
IPC IPC(8): G06F16/2458
CPCG06F16/2477
Inventor 王彬覃永靖程诗尧
Owner BEIJING QIANXIN TECH