in Databases retagged by
7,152 views
11 votes
11 votes

For secondary key processing which of the following file organizations is preferred? Give a one line justification:

  1. Indexed sequential file organization.
  2. Two-way linked list.
  3. Inverted file organization.
  4. Sequential file organization.
in Databases retagged by
7.2k views

3 Comments

Is inverted file organization topic out of syllabus?
0
0
no , it is in syllabus
1
1

@Deepak Poonia Sir can u give some strong explaination regarding this question

1
1

1 Answer

4 votes
4 votes
Inverted File organization

Because of the following reasons

An index for each secondary key.

· An index entry for each distinct value of the secondary key.

It exhibits better inquiry performance

2 Comments

I think the answer is incomplete:

With respect to given 4 options, in terms of efficiency,

Indexed sequential file organization > Inverted file organization > Two way linked list > Sequential file organization (due to sorting).

Now, we may use Indexed or inverted but we'll prefer inverted so that we can save some space(as Indexed will surely take some space to store the index.
5
5
Why would inverted save more space than indexed?
Also isn’t the reason for preferring inverted that it is applied on the secondary key because the database is stored according to the primary key? Please help
0
0

Related questions