Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for database query

A database and data table technology, applied in the database field, can solve the problem of not being able to be accelerated, and achieve the effect of shortening the response time and reducing the data overhead.

Inactive Publication Date: 2016-03-30
IBM CORP
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this traditional caching scheme is only suitable for two identical queries
Different queries for the same content are still not accelerated
Moreover, this scheme requires storage of all queries, which incurs significant storage overhead

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
  • Method and system for database query
  • Method and system for database query
  • Method and system for database query

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0021] figure 1 A block diagram of an exemplary computer system / server 12 suitable for use in implementing embodiments of the invention is shown. figure 1 The computer system / server 12 shown is only an example and should not impose any limitation on the functions and scope of use of the embodiments of the present invention.

[0022] Such as figure 1 As shown, computer system / server 12 takes the form of a general purpose computing device. ...

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 present disclosure relates to a method and system for database query. According to embodiments of the present invention, a query block can be cached rather than only query results are cached. For example, a work file for storing a query block result set can be maintained for a certain period of time after related queries are completed. In the subsequent use, once a query for the query block is received, the query can be quickly processed by directly reusing the result set. In the manner, the data overhead of query processing can be significantly reduced, and response time of query processing can be shortened. The present disclosure describes a corresponding method and system.

Description

technical field [0001] Embodiments of the present invention generally relate to the field of databases, and more particularly, to a method and system for database query. Background technique [0002] The overall performance of a database system depends largely on the cost and efficiency of database query processing. In the query for the database, the query block (QueryBlock) is often used. For example, a user may first create a view (view) based on one or more data tables in the database, and then perform a query operation on the view. The query statements that create a view form a query block. As another example, when a query contains a nested data table expression representing a sub-query, each sub-query can be considered as a query block. [0003] A common technique for processing query blocks is materialization. Specifically, the data records involved in the query block are extracted from the corresponding data table and saved in the work file. The data saved in the...

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): G06F17/30
CPCG06F12/0864G06F2212/1032G06F2212/465G06F16/24552
Inventor 李硕魏可伟杨新颖周祥
Owner IBM CORP
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