Multi-list file organisation, Database Management System

Multi-list file Organisation

Multi-list file organisation is a multi-index linked file organisation. A linked file organisation is a logical organisation where physical ordering of records is not of concern. In linked organisation the series of records is governed by the links that verify the next record in series. Linking of records can be unordered but such a linking is very costly for searching of information from a file. Thus, it may be a good idea to link records in the order of increasing primary key. This will facilitate deletion and insertion algorithms. Also this really helps the search performance. In addition to making order during linking, search by a file can be further facilitated by producing primary and secondary indexes. All these ideas are supported in the multi-list file organisation. Let us describe these concepts further with the help of an example.

Consider the employee data as given in Figure. The record numbers are given as alphabets for better explanation. Suppose that the Empid is the key field of the data records. Let us describe the Multi-list file organisation for the data file.

 

Record

Number

Empid

Name

Job

Qualification

Gender

City

Married/

Single

Salary

A

800

Jain

Software

Engineer

B. Tech.

Male

New Delhi

Single

15,000/-

B

500

Inder

Software

Manager

B. Tech.

Female

New Delhi

Married

18,000/-

C

900

Rashi

Software

Manager

MCA

Female

Mumbai

Single

16,000/-

D

700

Gurpreet

Software

Engineer

B. Tech.

Male

Mumbai

Married

12,000/-

E

600

Meena

Software

Manager

MCA

Female

Mumbai

Single

13,000/-

                                                                  Figure: Sample data for Employee file

Since, the primary key of the file is Empid, thus the linked order of records should be defined as B (500), E(600), D(700), A(800), C(900). Though, as the file size will grow the search performance of the file would deteriorate. Therefore, we can make a primary index on the file (please note that in this file the records are in the logical series and tied together using links and not physical placement, thus, the primary index will be a linked index file rather than block indexes).

Posted Date: 3/8/2013 6:17:53 AM | Location : United States







Related Discussions:- Multi-list file organisation, Assignment Help, Ask Question on Multi-list file organisation, Get Answer, Expert's Help, Multi-list file organisation Discussions

Write discussion on Multi-list file organisation
Your posts are moderated
Related Questions
Creation of Indexes Automatically: When a primary key or Unique constraint is show in a table definition then a unique index is formed automatically. Manually: User can

Ask question #Minim 100 words accepted#what is recovery management component in database management system and how it is useful

Lossless-Join Decomposition   Let us show an intuitive decomposition of a relation. We require a better basis for deciding decompositions since intuition may not always be r

Differance between internal and external schema? Internal and external schema: Internal Schema • Describes the physical storage structure • Uses a physical data model External

Differentiate between a Global and a Local temporary table? - A local temporary table exists only for the duration of a connection or if defined inside a compound statement, fo

Explain data dictonary on oracle ? Data Dictionary - Data dictionaries are the system tables in which contain descriptions of the database objects and how they are structured.

How does a query tree represent a relational algebra expression?  Discuss any three rules for query optimisation, giving example as to when should each rule be applied.     Ans

Create centralized relational database using bottom up method.   (a) Recognize a single un-normalized relation for the above scenario.          (b) Recognize the primary key for

Create a view emp_dep containing e_name and number of dependents from the tables employee and dependent of (i) CREATE VIEW emp_dept AS SELECT ename, COUNT(*) FROM employee, dep

Describe entity referential integrity and integrity. Give an example of each. Entity Integrity Rule - If there is a attribute A of relation R is a prime attribute of R then A