Describe sequential file organization, Database Management System

Assignment Help:

Describe sequential file organization.  Explain the rules for

(i)  Inserting a new record.

(ii)  Deleting an existing record.       

 Ans:A sequential file consists of records organized by the order in which they were entered. The order of the records is fixed.

Records in sequential files can be written or read just sequentially.

After you placed a record into a sequential file, you cannot lengthen, shorten, or delete the record. Though, you can update (REWRITE) a record if the length does not alter. New records are added at the end of the file.

If the order in which you maintain records in a file is not significant, sequential organization is a good choice if there are many records or only a few. Sequential output is as well useful for printing reports.

(i) Inserting a new record:  Insertion poses problems if no space in which new record should go. If space, use it, if not then put new record in an overflow block.

(ii) Deleting an existing record: Deletion can be managed along with the pointer chains


Related Discussions:- Describe sequential file organization

What are the general transformation rules, What are the General Transformat...

What are the General Transformation Rules for Relational operations?  Ans: The transformation rules transform one relational algebra expression to AN EQUIVALENT ONE  1. E

Explain the two types of participation constraint., Explain the two types o...

Explain the two types of participation constraint. 1. Total: The participation of an entity set E in a relationship set R is said to be total if each entity in E participates i

Incident report to the database, The Form input elements are:           ...

The Form input elements are:             Reporter name                                                text type input             Password

What are axioms, What are axioms? Axioms or rules of inference give a s...

What are axioms? Axioms or rules of inference give a simpler technique for reasoning about

Draw an er diagram for organization of a student database, Draw an ER diagr...

Draw an ER diagram that shows the organization of a simple student database. The database captures the information about letter grades obtained by university students who enrolled

How does the two phase protocol ensure serializability, How does the two ph...

How does the two phase protocol ensure serializability in database schedules?   Ans:  A transaction is termed to follow the two-phase locking protocol if all locking operations

Explain the fourth normal form, Fourth Normal Form (4NF) When attribut...

Fourth Normal Form (4NF) When attributes in a relation have multi-valued dependency, further Normalization to 4NF and 5NF are needed. Let us first find out what multi-valued d

Need for distributed database systems, Need For Distributed Database System...

Need For Distributed Database Systems A distributed database is a set of database kept on multiple computers that appears to applications as a one database. As a result, an app

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