An object-oriented database (OODBMS) or object database management system (ODBMS) is a database that is based on object-oriented programming (OOP). The data is represented and stored in the form of objects. OODBMS are also called object databases or object-oriented database management systems.
A database is a data storage. A software system that is used to manage databases is called a database management system (DBMS). There are many types of database management systems such as hierarchical, network, relational, object-oriented, graph, and document. Learn more here, Types of Database Management Systems.
In this article, we will discuss what object-oriented databases are and why they are useful.
Object-Oriented Database
- Object database management systems (ODBMSs) are based on objects in object-oriented programming (OOP). In OOP, an entity is represented as an object, and objects are stored in memory. Objects have members such as fields, properties, and methods. Objects also have a life cycle that includes the creation of an object, the use of an object, and the deletion of an object. OOP has key characteristics, encapsulation, inheritance, and polymorphism. Today, there are many popular OOP languages such as C++, Java, C#, Ruby, Python, JavaScript, and Perl.
- The idea of object databases originated in 1985 and today has become common for various common OOP languages, such as C++, Java, C#, Smalltalk, and LISP. Common examples are Smalltalk is used in GemStone, LISP is used in Gbase, and COP is used in Vbase.
- Object databases are commonly used in applications that require high performance, calculations, and faster results. Some of the common applications that use object databases are real-time systems, architectural & engineering for 3D modeling, telecommunications, and scientific products, molecular science, and astronomy.
Advantages of Object Databases
- ODBMS provides persistent storage to objects. Imagine creating objects in your program and saving them as it is in a database and reading back from the database.
- In a typical relational database, the program data is stored in rows and columns. To store and read that data and convert it into program objects in memory requires reading data, loading data into objects, and storing it in memory. Imagine creating a class in your program and saving it as it is in a database, reading back, and start using it again.
- Object databases bring permanent persistence to objects. Objects can be stored in persistent storage forever.
- In typical RDBMS, there is a layer of object-relational mapping that maps database schemas with objects in code. Reading and mapping an object database data to the objects is direct without any API or OR tool. Hence faster data access and better performance.
- Some object databases can be used in multiple languages. For example, the Gemstone database supports C++, Smalltalk, and Java programming languages.
Drawbacks of Object Databases
- Object databases are not as popular as RDBMS. It is difficult to find object DB developers.
- Not many programming languages support object databases.
- RDBMS has SQL as a standard query language. Object databases do not have a standard.
- Object databases are difficult to learn for non-programmers.
Popular Object Databases
Here is a list of some of the popular object databases and their features.
Cache
- InterSystems’s Caché is a high-performance object database. The Caché database engine is a set of services including data storage, concurrency management, transactions, and process management. You can think of the Caché engine as a powerful database toolkit.
- Caché is also a full-featured relational database. All the data within a Caché database is available as true relational tables and can be queried and modified using standard SQL via ODBC, JDBC, or object methods. Caché is one of the fastest, most reliable, and most scalable relational databases.
Cache offers the following features,
- The ability to model data as objects (each with an automatically created and synchronized native relational representation) while eliminating both the impedance mismatch between databases and object-oriented application environments as well as reducing the complexity of relational modeling.
- A simpler, object-based concurrency model.
- User-defined data types.
- The ability to take advantage of methods and inheritance, including polymorphism, within the database engine.
- Object extensions for SQL to handle object identity and relationships.
- The ability to intermix SQL and object-based access within a single application, using each for what they are best suited.
- Control over the physical layout and clustering used to store data in order to ensure the maximum performance for applications.
Cache offers a broad set of tools, which include,
- ObjectScript, the language in which most of Caché is written.
- Native implementations of SQL, MultiValue, and Basic.
- A well-developed, built-in security model
- A suite of technologies and tools that provide rapid development for database and web applications
- Native, object-based XML and web services support
- Device support (such as files, TCP/IP, and printers)
- Automatic interoperability via Java, JDBC, ActiveX, .NET, C++, ODBC, XML, SOAP, Perl, Python, and more
- Support for common Internet protocols: POP3, SMTP, MIME, FTP, and so on
- A reusable user portal for your end users
- Support for analyzing unstructured data
- Support for Business Intelligence (BI)
- Built-in testing facilities

Join the conversation! Your thoughts help the community grow.