- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Explain the object oriented data model in DBMS?
The real-world problems are closely represented through the object-oriented data model.
In this type of model, both the data and relationship are represented in a single structure called an object.
We can store audio, video, images, etc. in this database, but it is advised not to store in the relational database. In this model, the attributes describe the properties of an object.
Objects that share similar characteristics are grouped in classes. Therefore, a class is a collection of similar objects with attributes and methods. In this model, two or more objects are connected with the help of links. We use this link to relate objects. It is explained in the below example.
There are two objects in the above example −
Employee
Department
Each object data and relationships are contained in a single unit. The attributes are Name, job_title. Methods are used to perform the operation with the help of attributes.
The two objects are connected through a common attribute department_id and communication between these two will be done with the help of id.
Advantages
The advantages of the object-oriented model are as follows −
Semantic content is added.
Support for complex objects.
Inheritance promotes data integrity.
Visual representation includes semantic content.
Disadvantages
The disadvantages of the object-oriented model are as follows:
It is a complex navigational system.
Slow development of standards.
High system overheads.
Slow transactions.