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

Disk page reading method and device

A technology for reading devices and pages, applied in the direction of instruments, calculations, electrical digital data processing, etc., to achieve an appropriate number of effects

Active Publication Date: 2019-08-23
北京华胜信泰数据技术有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a disk page reading method and device for the problem of pre-reading efficiency of disk pages

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
  • Disk page reading method and device
  • Disk page reading method and device
  • Disk page reading method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0024] Such as figure 1 As shown, in one embodiment, a schematic flow chart of a method for reading a disk page is provided, including the following steps:

[0025] Step 102: Receive a database operation instruction.

[0026] The received database operation instruction is used to operate the page, such as modifying data on the page or reading data on the page.

[0027] Step 104: Find pages required by the database operation instruction from the page buffer pool.

[0028] To operate on the data, it is necessary to search for the required pages described in step 102 in the page buffer pool.

[00...

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 relates to a disk page reading method and device. The disk page reading method comprises the steps that a database operating instruction is received, and pages required by the database operating instruction are locked up from a page buffer pool; if the pages are not looked up in the page buffer pool, whether the type of the database operating instruction belongs to one of preset database operating instruction type sets or not; if the type of the database operating instruction belongs to one of the preset database operating instruction type sets, the number of the pages to be read is determined according to the type of the database operating instruction; according to the number of the pages to be read, the pages to be read are read from a disk. By utilizing the disk page reading method, the number of the pages to be read can be proper, unnecessary occupation of resources of the page buffer pool is reduced, and the disk reading efficiency is improved.

Description

technical field [0001] The invention relates to a disk reading method and device, in particular to a disk page reading method and device. Background technique [0002] When reading data from a disk page, traditional methods usually read the data into memory first to reduce disk I / O operations. In addition, in order to improve data usage efficiency, pre-reading technology is also introduced into the database kernel to optimize database performance. In this way, in addition to the page where the data to be used is read, other adjacent pages are also pre-read into the buffer pool. [0003] Although this method improves the efficiency of disk page reading to some extent, it can only set the number of pre-read pages according to experience, which has a certain degree of blindness. If the pre-read page is not the page that the database kernel will read next, the page that does not need to be read at this time has even replaced the valid page in the cache, resulting in a decrease...

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): G06F12/0862G06F12/0884G06F16/242G06F16/2455
Inventor 李海翔宋晓眉
Owner 北京华胜信泰数据技术有限公司