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 inability to limit the size of program memory usage, and achieve the effect of ensuring normal operation and avoiding excessive memory usage.

Active Publication Date: 2019-08-09
BEIJING QIANXIN TECH
View PDF3 Cites 3 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. Usual

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 processing method and device
  • Data query processing method and device
  • 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 invention discloses a data query processing method and device, and the method comprises the steps: carrying out the query of to-be-queried data according to a current query timeinterval, and obtaining the query execution time and query result data volume of the current query time interval; if the query execution time is greater than the time threshold, determining a first query time interval according to the query time interval, the query execution time and the time threshold; if the query result data volume is greater than the data volume threshold, determining a secondquery time interval according to the query time interval, the query result data volume and the data volume threshold; and further determining the updated query time interval, and continuously querying the to-be-queried data; and judging whether the query execution time and the query result data volume in the current query time interval meet the requirements or not through the time threshold and the data volume threshold, and if not, adjusting the query time interval in time to limit the queried data volume, thereby avoiding overflowing caused by excessive memory occupation and ensuring 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
IPC IPC(8): G06F16/2458
CPCG06F16/2477
Inventor 王彬覃永靖程诗尧
Owner BEIJING QIANXIN TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products