Explain the entry-sequenced file organization, Operating System

Assignment Help:

Entry-sequenced file organization

The records in an entry-sequenced file are store up in the order they are written into the file. New records are for all time appended to the end of the file. When records are removed from an entry-sequenced file the space formerly allocated to those records is not automatically reclaimed or reused. The only means to reclaim this space is by using the sfs_ReorganizeFile function. Entry-sequenced files are often used when records in the file will be accessed in the order that they are written to the file. This type of file organization is frequently used for log files, audit trail files, or for any other files that keep time-sequenced records of events.

Entry-sequenced files are able to contain fixed-length or variable-length records. When an existing record is updated then the updated record must be no longer than the original record. Every record in an entry-sequenced file has an entry sequence number (ESN) which are corresponds to the order in which it was inserted into the file. The ESN isn't part of the record, and is therefore said to be implicit. Because the value of the primary index key for entry-sequenced files isn't part of the record, merely the name of the primary index must be specified when creating an entry-sequenced file in SFS. It isn't necessary to supply names of fields on which to base the index.

When records are read by an entry-sequenced file a sequential scan on the primary index (ESN) for the file returns records in the order in which they were inserted regardless of whether they have subsequently been updated. Records that have been deleted don't show up when an entry-sequenced file is scanned.


Related Discussions:- Explain the entry-sequenced file organization

What is page fault?, What is page fault? In the computer storage techno...

What is page fault? In the computer storage technology a page fault is an exception which is raised by the memory management unit when a requested page isn't mapped in physical

Explain the demand paging system, Question : (a) In the demand paging ...

Question : (a) In the demand paging system, when a process tries to access a page that was not brought into memory, a page fault occurs that involves a series of actions. The

Explain memory management using buddy sustem, MEMORY MANAGEMENT USING BUDDY...

MEMORY MANAGEMENT USING BUDDY SUSTEM Here we are dividing the memory as powers of two as well as we are selecting the space which is smallest but large enough to hold a process

What is co-operating scheduling?, What is co-operating scheduling? CPU ...

What is co-operating scheduling? CPU scheduling decisions may possibly place under the following four circumstances: 1.      When process switches from the running state to

What are the various page replacement algorithms, What are the various page...

What are the various page replacement algorithms used for page replacement? FIFO page replacement Optimal page replacement LRU page replacement LRU approximat

Use of the computing hardware, Q. We have stressed the require for an oper...

Q. We have stressed the require for an operating system to make efficient use of the computing hardware. When is it suitable for the operating system to forsake this principle and

Explain about time sharing systems, Q. Explain about Time Sharing Systems? ...

Q. Explain about Time Sharing Systems? Time Sharing Systems Multi-programmed batched systems provide an environment where various system resources (for illustration CP

How does windows xp execute transport protocols, Q. What kinds of networkin...

Q. What kinds of networking does Windows XP support? How does Windows XP execute transport protocols? Describe two networking protocols. Answer: Support is offer for bo

Explain internal fragmentation, Explain internal fragmentation The Inter...

Explain internal fragmentation The Internal fragmentation signifies to the result of reserving a piece of space without ever intending to use it. This space is wasted that this

#network OS, what are the design issues of network OS

what are the design issues of network OS

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd