Invention Grant
- Patent Title: Performing index scans in a database
- Patent Title (中): 在数据库中执行索引扫描
-
Application No.: US13224623Application Date: 2011-09-02
-
Publication No.: US09087087B2Publication Date: 2015-07-21
- Inventor: Robert W. Lyle , Ping Wang
- Applicant: Robert W. Lyle , Ping Wang
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Mollborn Patents, Inc.
- Agent Fredrik Mollborn
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
Methods and apparatus, including computer program products, implementing and using techniques for performing an index scan in a database system. A sequence of pages visited during an index scan are dynamically tracked. The tracking includes tracking the number of page accesses requiring a wait for input or output. It is determined whether prefetching of an object is desirable. The determination being made at least in part based on the number of page accesses requiring a wait for input or output. If prefetching is desirable, a prefetching method is selected among a set of available prefetching methods. An effectiveness of the selected prefetching method is continuously monitored by tracking the sequence of pages accessed and available access methods. A different prefetching method is selected from the set of available prefetching methods if the different prefetching method has a better effectiveness for a portion of the index that is being scanned.
Public/Granted literature
- US20130060781A1 PERFORMING INDEX SCANS IN A DATABASE Public/Granted day:2013-03-07
Information query