Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Primary index
A primary index is a file that has a sorted series of records having two columns: a block address for that key field in the data file; and the ordering key field. The ordering key field for this primary index can be the primary key of the data file. Primary index have one index entry for every value of the ordering key field. An entry in primary index file has the index value of the pointer to that data block and a first record of the data block.
Let us talk about primary index with the help of an instance. Let us suppose a student database as (Supposing that one block keeps only four student records.):
Enrolment Progra- Number Name City mme
BLOCK 1
2109348
ANU VERMA
CHENNAI
CIC
2109349
ABHISHEK KUMAR
CALCUTTA
MCA
2109351
VIMAL KISHOR
KOCHI
BCA
2109352
RANJEETA JULIE
BLOCK 2
2109353
MISS RAJIYA BANU
VARANASI
MBA
2238389
JITENDAR KASWAN
NEW DELHI
2238390
RITURAJ BHATI
2238411
AMIT KUMAR JAIN
BLOCK 3
2238412
PAWAN TIWARI
AJMER
2238414
SUPRIYA SWAMI
2238422
KAMLESH KUMAR
MUMBAI
BSC
2258014
DAVEN SINGHAL
BLOCK 4
2258015
S SRIVASTAVA
2258017
SHWETA SINGH
2258018
ASHISH TIWARI
2258019
SEEMA RANI
LUCKNOW
...
BLOCK r
2258616
NIDHI
2258617
JAGMEET SINGH
2258618
PRADEEP KUMAR
2318935
RAMADHAR
FARIDABAD
BLOCK N-1
2401407
BRIJMISHRA
BAREILLY
2401408
AMIT KUMAR
2401409
MD. IMRAN SAIFI
AURANGABAD
2401623
ARUN KUMAR
BLOCK N
2401666
ABHISHEK RAJPUT
2409216
TANNUJ SETHI
2409217
SANTOSH KUMAR
ALMORA
2409422
SAKSHI GINOTRA
Figure: A Student file stored in the order of student enrolment numbers
What is inheritance? Inheritance is an object orientation concept that allows reusability of code / design. Basic sense of inheritance is that if one class is predefined than a
Hi is anyone well versed in accounting information systems available now to help me work through an important assignment due tomorrow at noon?
Aggregation Aggregation is stronger form of association. It represents the "has-a" or "part-of" relationship. An aggregation association depicts a complex object which is comp
What are the disadvantages of file processing system? The drawbacks of file processing systems are a) Data redundancy and inconsistency b) Complexity in accessing data
Mention various steps required to draw an E-R Diagram. Draw an E-R Diagram for Student Information System. Mention all suitable assumptions to justify your answer.
Advantages of Observation Methods: Bailey has pointed out four advantages of observation: 1. Superior in Data Collection on Non Verbal Behavior: When a person a opi
There are three main sources of utilities and applications for a DBMS: a. Vendor applications and utilities are given for working with or maintaining the database, and generally
How Relational Calculus is different from Relational Algebra? What do understand by TRC queries and DRC queries? Ans: Relational calculus contain two calculi, the tuple relati
Evaluate: a.When transactions T1 and T2 are in a deadlock, one of the transactions will eventually implement to completion and let the other one continue implementation. b.
Discuss the methods for a hash file to expand and shrink dynamically. What are the advantages and disadvantages of each? The hashing methods that permit dyanamic file expansi
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd