A buffer is a main-memory area used to reduce accessto disks. The buffer holds pages from secondary storage files. A processrequesting a page causesa fault if the pageis not in the buffer: the requestedpage is read into the buffer. If no buffer space is available, a page in the buffer is replaced by the requestedone. The solution of many relational queries (e.g.joins) require the repeatedaccessof a relation through a unique clustered index. The fault rate of such queries as a function of the available buffer size is analyzed.A B-tree structure is assumed, but the results presented here carry over to most other hierarchical index structures. It is shown that the LRU replacementsuategy, commonly used with this type of access,is not the best strategy. Two alternative strategies, ILRU and OLRU, are proposed.ILRU is shown to be always better than LRU, especially for small buffer sizes and independently of the probability of page references.OLRU is proved to be optimal under the assumption...

Index Access with a Finite Buffer

SACCO, Giovanni
1987-01-01

Abstract

A buffer is a main-memory area used to reduce accessto disks. The buffer holds pages from secondary storage files. A processrequesting a page causesa fault if the pageis not in the buffer: the requestedpage is read into the buffer. If no buffer space is available, a page in the buffer is replaced by the requestedone. The solution of many relational queries (e.g.joins) require the repeatedaccessof a relation through a unique clustered index. The fault rate of such queries as a function of the available buffer size is analyzed.A B-tree structure is assumed, but the results presented here carry over to most other hierarchical index structures. It is shown that the LRU replacementsuategy, commonly used with this type of access,is not the best strategy. Two alternative strategies, ILRU and OLRU, are proposed.ILRU is shown to be always better than LRU, especially for small buffer sizes and independently of the probability of page references.OLRU is proved to be optimal under the assumption...
1987
VLDB '87 13th International Conference on Very Large Data Bases
Brighton, UK
September 1-4, 1987
VLDB '87 Proceedings of the 13th International Conference on Very Large Data Bases
Morgan Kaufmann Publishers Inc
301
309
093461346X
buffer management; relational database systems; index access; independent reference model
G. M. Sacco
File in questo prodotto:
File Dimensione Formato  
vldb2.PDF

Accesso riservato

Tipo di file: POSTPRINT (VERSIONE FINALE DELL’AUTORE)
Dimensione 841.03 kB
Formato Adobe PDF
841.03 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/115076
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact