Short note on Object-oriented database (OODB)

Object-oriented database (OODB) 

 An object-oriented database (OODB) stores data in objects. An object is an item that contains data, as well as the actions that read or process the data. A Student object, for example, might contain data about a student such as Student ID, First Name, Last Name, Address, and so on. It also could contain instructions about how to print a student transcript or the formula required to calculate a student’s grade point average.

Object-oriented databases have several advantages compared with relational databases: they can store more types of data, access this data faster, and allow programmers to reuse objects. An object-oriented database stores unstructured data more efficiently than a relational database. Unstructured data includes photos, video clips, audio clips, and documents. When users query an object-oriented database, the results often are displayed more quickly than the same query of a relational database. If an object already exists, programmers can reuse it instead of recreating a new object — saving on program development time.

OR

Object-oriented databases represent data in the form of objects and classes. According to the object-oriented paradigm, an object is a real-world entity. In addition, a class helps to create objects. Moreover, object-oriented databases follow the principles of object-oriented programming.


In addition, object-oriented databases support OOP concepts such as inheritance, encapsulation, etc. It also supports complex objects such as maps, sets, lists, tuples, or collections of multiple primitive objects. Furthermore, an Object-oriented database allows the user to create persistent objects which help to overcome the database issues such as concurrency and recovery. These objects stay in computer memory even after completing the execution.

Object-Oriented Database Advantages and Disadvantages

Every database modeling technique has advantages and disadvantages. Before opting in for object-oriented databases, you must know the available languages in addition to the application intent.


Advantages

  The main advantages are:

  • Complex data and a wider variety of data types compared to MySQL data types.
  • Easy to save and retrieve data quickly.
  • Seamless integration with object-oriented programming languages.
  • Easier to model advanced real-world problems.
  • Extensible with custom data types.


Disadvantages

Some disadvantages include:

  • Not as widely adopted as relational databases.
  • No universal data model. Lacks theoretical foundations and standards.
  • Does not support views.
  • High complexity causes performance issues.
  • An adequate security mechanism and access rights to objects do not exist.

Comments

Popular posts from this blog

What are different steps used in JDBC? Write down a small program showing all steps.

Discuss classification or taxonomy of virtualization at different levels.

Pure Versus Partial EC