Preview

History of File Structure

Satisfactory Essays
Open Document
Open Document
322 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
History of File Structure
History of File Structures
I. Early Work
• Early Work assumed that files were on tape.
• Access was sequential
– The cost of access grew in direct proportion to the size of the file.

II. The emergence of Disks and Indexes
• As files grew very large, sequential access was not a good solution.
• Disks allowed for direct access.
– Indexes made it possible to keep a list of keys and pointers in a small file that could be searched very quickly.
– With the key and pointer, the user had direct access to the large, primary file.

III. The emergence of Tree Structures
• Indexes also have a sequential flavor
• When they grow too much, they also become difficult to manage.
• The idea of using tree structures to manage the index emerged in the early 60’s.
• However, trees can grow very unevenly as records are added and deleted
• Resulting in long searches requiring many disk accesses to find a record.

IV. Balanced Trees
• In 1963, researchers came up with the idea of AVL trees for data in memory.
• However, AVL trees did not apply to files
• Because they work well when tree nodes are composed of single records rather than dozens or hundreds of them.
• In the 1970’s came the idea of B-Trees which require an O(logkN) access time
• Where N is the number of entries in the file and k is the number of entries indexed in a single block of the B-Tree structure
• B-Trees can guarantee that we can find an entry among millions of others with only 3 or 4 trips to the disk.

V. Hash Tables
• Retrieving entries in 3 or 4 accesses is good
• But it does not reach the goal of accessing data with a single request.
• Hashing was a good way to reach this goal with files that do not change size greatly over time.
• Recently, Extendible Dynamic Hashing guarantees one or at most two disk accesses no matter how big a file becomes.

You May Also Find These Documents Helpful

  • Best Essays

    Nt1310 Unit 4 Exercise 1

    • 1486 Words
    • 6 Pages

    Suppose there are N small files, which are merged into K merged files whose lengths are denoted as LM1, LM2, …, and LMK. The computational formula of the consumed memory of NameNode in file merging and caching technique is given…

    • 1486 Words
    • 6 Pages
    Best Essays
  • Good Essays

    Cse 373 Final Note

    • 955 Words
    • 4 Pages

    An ordered or sorted binary tree, is a node based binary tree data structure that has the following properties:…

    • 955 Words
    • 4 Pages
    Good Essays
  • Good Essays

    ECET 370 Week 5 Lab 5

    • 650 Words
    • 3 Pages

    Exercise 1: Review of the Lecture Content Create a project using the ArrayList class and the Main class provided in DocSharing. The ArrayList class contains implementations of the first three search methods explained in this week's lecture: sequential, sorted, and binary search. The Main class uses these three methods. These programs test the code discussed in the lecture. Compile the project, run it, and review the code that is given carefully.…

    • 650 Words
    • 3 Pages
    Good Essays
  • Good Essays

    9 Which of the following is a feature provided by Medisoft to assist in maintaining data files stored in a system?…

    • 484 Words
    • 4 Pages
    Good Essays
  • Good Essays

    It surprises me that data structures can look simple but once you start creating them it involves a lot of thinking and planning.…

    • 605 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Data Base Management System

    • 13596 Words
    • 55 Pages

    Fie lFile Organization Terms & Conceptscomprises a record; A computer system organizes data in a hierarchy t…

    • 13596 Words
    • 55 Pages
    Powerful Essays
  • Powerful Essays

    Isys104 Tutorial – Week 7

    • 3300 Words
    • 14 Pages

    Problems with the traditional file environment include data redundancy and confusion, program-data dependence, lack of flexibility, poor security, and lack of data sharing and availability. Data redundancy is the presence of duplicate data in multiple data files. In this situation, confusion results because the data can have different meanings in different files. Program-data dependence is the tight relationship between data stored in files and the specific programs required to…

    • 3300 Words
    • 14 Pages
    Powerful Essays
  • Good Essays

    Parallel Arrays

    • 427 Words
    • 2 Pages

    Key in saving wasted memory. The nodes of a linked data structure can also be moved individually to different locations without affecting the logical connections between them, unlike arrays. With due care, a process can add or delete nodes to one part of a data structure even while other processes are working on other parts. On the other hand, access to any particular node in a linked data structure requires following a chain of references that stored in it. If the structure has n nodes, and each node contains at most b links, there will be some nodes that cannot be reached in less than log b n steps. For many structures, some nodes may require worst case up to n -1 steps.…

    • 427 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Cobol

    • 43832 Words
    • 176 Pages

    Table Handling Indexed Tables & Index Names Search & Start Verbs Programs using OCCURS & Screen Section List of Programs…

    • 43832 Words
    • 176 Pages
    Good Essays
  • Powerful Essays

    Data Recovery

    • 15337 Words
    • 62 Pages

    FOREWORD ---------------------------------------------------------------------------------------------------------------------The core of information age is the information technology, while the core of the information technology consists in the information process and storage. Along with the rapid development of the information and the popularization of the personal computer, people find information more and more useful and need it ever more than the past. Owning to the massive data, there is a huge challenge to the data storage technology. So how to save so many documents and how to visit document as fast as possible become the key point. We know we need storage devices to save data, while there are so many kinds of storage devices and modes to save data. What’s more, when saving the data and information, it is more important to ensure the storage security as well as the accuracy, usability, reliability of data. Often, what is invaluable is that invisible data. CONTENTS ---------------------------------------------------------------------------------------------------------------------Ⅰ.Elementary knowledge of data recovery..................................................................................3 1.Connotation of data................................................................................................................3 2.The essence of data recovery .................................................................................................3 3.The scope of data recovery ....................................................................................................3 4.The principle of data recovery ...............................................................................................4 Ⅱ.Data loss…

    • 15337 Words
    • 62 Pages
    Powerful Essays
  • Satisfactory Essays

    Data Modeling

    • 1591 Words
    • 7 Pages

    – Record • data items related to a single logical entity (e.g. a student’s information) or row in a table – Field • a place for a data item in a record (first name field in a student record) or a column in a table – File • a sequence of records of the same type (the table)…

    • 1591 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Coronel PPT Ch01

    • 1962 Words
    • 13 Pages

    ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.…

    • 1962 Words
    • 13 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Ai Viva Questions

    • 2988 Words
    • 1 Page

    It is an uninformed search algorithm where the shallowest node in the search tree is expanded first.…

    • 2988 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    computer science record

    • 6312 Words
    • 26 Pages

    M.A.M. SCHOOL OF ENGINEERING, SIRUGANUR, TIRUCHIRAPPALLI – 621 105. M.A.M. SCHOOL OF ENGINEERING, SIRUGANUR, TIRUCHIRAPPALLI – 621 105. Department of Computer Science and Engineering Department of Computer Science and Engineering LABORATORY MANUAL – CS 2208 – DATA STRUCTURES LABORATORY LABORATORY MANUAL – CS 2208 – DATA STRUCTURES LABORATORY EX: NO: 1 (a) SINGLY LINKED LIST AIM: Step 3:Stop PROGRAM : To write a Program to implement a single linked list ALGORITHM: Step 1:…

    • 6312 Words
    • 26 Pages
    Good Essays
  • Powerful Essays

    Modern Database Management

    • 2683 Words
    • 11 Pages

    A stored representation of objects and events that have meaning and importance in the user’s environment.…

    • 2683 Words
    • 11 Pages
    Powerful Essays

Related Topics