What are the main differences between designing a relational database and an object database?

 


When compared to a relational database management system, an object-oriented database stores complex data and relationships between data directly, without mapping to relational rows and columns whereas a relational database stores information in tables with rows and columns.

OR,

The difference Between Relational databases and Object Oriented databases is that a relational database is a database that stores data in tables that consist of rows and columns. Each row has a primary key and each column has a unique name. A file processing environment uses the terms file, record, and field to represent data. While 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.

OR,

The main difference between Object Oriented Database and Object Relational Database is that Object Oriented Database is a database that represents data in the form of objects like in Object Oriented Programming while an Object Relational Database is a database that is based on the relational model and object-oriented database model.

A database allows for storing and managing data easily. A relational database, on the other hand, is based on the relational model proposed by E.F. Codd. Object-oriented database depends on object-oriented Programming concepts while the object-relational database is based on features of relational databases and object-oriented databases. In brief, an object-relational database is an advanced and enhanced version of an object-oriented database. In other words, an object-relational database is a hybrid of the relational model and the object-oriented model.

Comments

Popular posts from this blog

Suppose that a data warehouse for Big-University consists of the following four dimensions: student, course, semester, and instructor, and two measures count and avg_grade. When at the lowest conceptual level (e.g., for a given student, course, semester, and instructor combination), the avg_grade measure stores the actual course grade of the student. At higher conceptual levels, avg_grade stores the average grade for the given combination. a) Draw a snowflake schema diagram for the data warehouse. b) Starting with the base cuboid [student, course, semester, instructor], what specific OLAP operations (e.g., roll-up from semester to year) should one perform in order to list the average grade of CS courses for each BigUniversity student. c) If each dimension has five levels (including all), such as “student < major < status < university < all”, how many cuboids will this cube contain (including the base and apex cuboids)?

Suppose that a data warehouse consists of the four dimensions; date, spectator, location, and game, and the two measures, count and charge, where charge is the fee that a spectator pays when watching a game on a given date. Spectators may be students, adults, or seniors, with each category having its own charge rate. a) Draw a star schema diagram for the data b) Starting with the base cuboid [date; spectator; location; game], what specific OLAP operations should perform in order to list the total charge paid by student spectators at GM Place in 2004?

Pure Versus Partial EC