Question

In: Computer Science

Why do we need different levels of abstraction in DBMS, explain with examples?

Why do we need different levels of abstraction in DBMS, explain with examples?

Solutions

Expert Solution

Data Abstraction is a process of hiding irrelevant details from the end user. The data abstraction provides us with a different view and help in achieving data independence and to enhance the security of data. Database systems consist of complicated data structures and relations. To make it easier for users to access the data, these complications are kept hidden, and only the relevant part of the database is made accessible to the users through data abstraction. There are three levels of data abstraction.

  1. View Level/External level :  This is the highest level of abstraction. At this level, user just interact with system with the help of GUI and enter the details at the screen, they are not aware of how the data is stored and what data is stored .This level tells the application about how the data should be shown to the user. For Example: if we have a login-id and password in a university system, a student can view his/her marks, attendance, fee structure, semester details etc. But the faculty of the university will have a different view. He/she can have options like salary, edit marks of a student, enter attendance of the students, etc. So, both the student and the faculty have a different view. By doing so, the security of the system also increases.
  2. Logical Level :   This level is also known as the conceptual level. At this level, we can see what data is stored in the database without knowing the implementation details such as the data structures and tree implementations. This level also tells us about the relations between the different fields and database tables. This level also stores the relationship among the data entities in relatively simple structures. The database administrators have full access to this level of data. For Example: in an university database system, the relationship between an entity ‘Professor’ and another entity ‘Student’, can be one-to-many. The fields describing the entity student would be the same as that describing a general entity ‘Person’ in along with fields such as subjects, marks, rank, etc.Any changes to this level should not affect the external or the physical level.
  3. Physical Level/Internal Level : This is the lowest level of data abstraction. It tells us how the data is actually stored in a DB. The Database Administrators(DBA) decide that which data should be kept at which particular disk drive, how the data has to be fragmented, where it has to be stored etc. They decide if the data has to be centralized or distributed. Implementation details such as indexing methods like B+ trees or hashing and access methods such as sequential or random access which we are used those are described in this level.

Related Solutions

This week, we learned that there are four levels of abstraction of a data model. They...
This week, we learned that there are four levels of abstraction of a data model. They are contextual, conceptual, logical, and physical. Briefly explain each level with a focus on the differences between them. When working on the final project for this course, many students go directly to the physical model. What would you say to these students? Why would you say so?
-What are GAAP? Why do we need to ponder over the levels of GAAP to do...
-What are GAAP? Why do we need to ponder over the levels of GAAP to do accounting work? -What is the mission of the Financial Accounting Standard Board (FASB) -What are the main three financial statements? How to link them together reflect the financial position and performance of a company? -Why do public companies need auditor' report? If the CEO and CFO of a company need to certify the financial statements and internal control system, why do we still need...
Explain the difference between the three different levels of virtualisation: CPU Instruction Set level, Hardware Abstraction...
Explain the difference between the three different levels of virtualisation: CPU Instruction Set level, Hardware Abstraction Layer (HAL) level, and Operating System level.
Describe the three-schema architecture. Why do we need mappings among schema levels?
Describe the three-schema architecture. Why do we need mappings among schema levels?
Why do we need to set performance objectives and continually monitor performance against these target levels?
Why do we need to set performance objectives and continually monitor performance against these target levels?
why do different kind of bonds have different levels of interest rates? why do interest rates...
why do different kind of bonds have different levels of interest rates? why do interest rates increase and decrease over time? describe in detail the yeild curve and the expectation hypothesis.what does the yeild curve look like in the current economic environment ? if the yeild curve is steep, how would that affect your borrowing and investing decisions? need it ASAP
Discuss the importance of treasury stock. Why do we need them? Explain.
Discuss the importance of treasury stock. Why do we need them? Explain.
Why do we need to learn arnis?
Why do we need to learn arnis?
1. When we (humans) exercise we need energy. Why do we need this energy? Where do...
1. When we (humans) exercise we need energy. Why do we need this energy? Where do we get this energy from? Certain tissues which account for 40-50% of our body mass utilize a lot of energy and are especially important in exercise. Describe in detail how the “energy” gets to this tissue and how it is utilized by this tissue during low and vigorous exercise. What happens when the tissue does not have enough “energy” and when would a situation...
Why do we find more product variety in larger cities? Explain with examples.
Why do we find more product variety in larger cities? Explain with examples.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT