Organization of Records in Files

Organization of Records in Files - Organization of Records...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Organization of Records in Files There are several ways of organizing records in files. heap file organization . Any record can be placed anywhere in the file where there is space for the record. There is no ordering of records. sequential file organization . Records are stored in sequential order, based on the value of the search key of each record. hashing file organization . A hash function is computed on some attribute of each record. The result of the function specifies in which block of the file the record should be placed -- to be discussed in chapter 11 since it is closely related to the indexing structure. clustering file organization . Records of several different relations can be stored in the same file. Related records of the different relations are stored on the same block so that one I/O operation fetches related records from all the relations. Sequential File Organization Clustering File Organization Sequential File Organization 1. A sequential file
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/25/2010 for the course CMPN SEM4 taught by Professor Thakur during the Spring '07 term at University of Mumbai.

Page1 / 2

Organization of Records in Files - Organization of Records...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online