×

Method and mechanism for pipelined prefetching

  • US 7,610,351 B1
  • Filed: 05/10/2002
  • Issued: 10/27/2009
  • Est. Priority Date: 05/10/2002
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for prefetching data in a database system using multiple levels of prefetching to retrieve data between networked machines, comprising:

  • at a first prefetching level,receiving a client request for a data item to be sent from a first database server to a client, the first database server executing database query operations against data in a database to satisfy the client request;

    determining by using a first processor, a first prefetch condition for the first prefetching level to satisfy the client request, wherein the first prefetch condition is used to control what data items to prefetch on the first prefetching level; and

    sending at least part of the data item from the first database server to the client;

    prefetching, based at least upon the first prefetch condition, a second data item from the first database server to the client in anticipation of a future request from the client and storing, by using a bus, the second data item in a first data structure on a tangible computer readable medium or a storage device;

    at a second prefetching level,in response to the client request, receiving a first server request for a server data item to be sent from a second database server to the first database server, the first server request is to satisfy the client request;

    receiving the server data item from the second database server to the first database server;

    determining, by using a second processor, a second prefetch condition of the first prefetch condition for the second prefetching level to service the first server request, wherein the second prefetch condition is used to control what data items to prefetch on the second prefetching level;

    determining existence of data redundancies when prefetching the second server data item by calculating row differences between successive rows in the second server data item by consulting a bitmap corresponding to changes between a first row and a second row of data; and

    prefetching, based at least upon the second prefetch condition, a second server data item from the second database server to the first database server in anticipation of a future request from the first database.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×