Cosc411 M2 2023
Cosc411 M2 2023
(a)
Page 1 of 7
COSC 411: DATABASE SYSTEMS II 2022/2023 SESSION
(b)
Figure 2.1: Relational Database Model
Features of Relational Databases
1. It must store data as relations such that each column is independently identified by its
column name and the ordering of rows is immaterial.
2. The operations available to the user, as well as those used internally by the system, should
be true relational operations; that is, they should be able to generate new relations from old
relations.
3. The system must support at least one variant of the JOIN operation.
Page 2 of 7
COSC 411: DATABASE SYSTEMS II 2022/2023 SESSION
are many free and open source options, but the system built around it will require developer
time and may also incorporate other, paid-for software.
3. Higher impact of failure: The database system is at the core of the information system of
an organization. All data is stored centrally, in the database. As a result, most applications
rely on this data. If the DBMS fails, the whole organization is paralyzed, unlike a
decentralized system, where a failure in one system will only directly affect the department
that uses it.
4. Performance: A database performance depends on the number of tables. If there were
more number of tables there would be slower response to queries.
5. Physical storage: RDBM software requires tremendous amount of physical storage since
it is made up of rows and columns.
Object-Oriented Databases (OODBs)
Database systems that are based on the object data model were known originally as object-oriented
databases (OODBs) but are now referred to as object databases (ODBs). An OODB represents
information in the form of objects as used in object-oriented programming. It can extend the
existence of objects so that they are stored permanently in a database, and hence the objects
become persistent objects that exist beyond program termination and can be retrieved later and
shared by other programs. Examples of OODBs include ObjectStore, Versant Object Database,
Objectivity/DB, etc. Figure 2.2 shows the OODB model as follows:
Page 3 of 7
COSC 411: DATABASE SYSTEMS II 2022/2023 SESSION
Page 4 of 7
COSC 411: DATABASE SYSTEMS II 2022/2023 SESSION
8. Limited Popularity: Object-oriented databases are not widely adopted due to lack of
popularity. RDBs have been the most popular and widely accepted DBMSs.
9. Limited performance gain over RDBs: Requirements which include bulk database
loading; creation, update, and delete of individual objects (one at a time); retrieval from a
class of one or more objects that satisfy certain search conditions; joins of more than one
class; transaction commit, and so forth. For such applications, OODBs do not have any
performance advantages over RDBs.
OODB vs. RDB Model
RDB and OODB models differ in how various data entities are represented. The comparisons are
shown in Table 2.1 as follows:
Table 2.1: OODB vs. RDB Model
Object-Oriented Relational Database
Database Model Model
Class Relation
Object instance Tuple
Attribute Column
Method Stored procedure
The main forces behind the development of extended Object Relational Database Management
Systems (ORDBMSs) stem from the inability of the legacy DBMSs and the basic relational data
model as well as the earlier RDBMSs and the latest OODBMs to meet the challenges of new
applications. There are areas that primarily involve a variety of types of data, for example,
1. Text in computer-aided desktop publishing;
2. Images in satellite imaging or weather forecasting;
3. Complex non-conventional data in engineering designs, in the biological genome
information, and in architectural drawings;
4. Time series data in history of stock market transactions or sales histories; and
5. Spatial and geographic data in maps, air/water pollution data, and traffic data.
Hence there is a clear need to design databases that can develop, manipulate, and maintain the
complex objects arising from such applications. Furthermore, it is becoming necessary to handle
Page 5 of 7
COSC 411: DATABASE SYSTEMS II 2022/2023 SESSION
digitized information that represents audio and video data streams requiring the storage of binary
large objects in DBMSs.
Object Relational Database (ORDB)
An ORDB is a database system that is composed of both relational database (RDB) and object
oriented database (OODB). It is simply a combination of an object oriented database model and a
relational database model. So, it supports the basic components of OODB in its schemas and query
language used, such as objects, classes, inheritance, etc. as well as tabular structures of RDB.
The fundamental goal of ORDB model is to bridge the gap between RDBs and OODBs frequently
used in many programming languages, such as Java, C++, C#, etc. Examples of ORDBMS include
PostgreSQL, Informix Universal Server, Oracle, Microsoft’s SQL Server, etc. The ORDB model
is shown in figure 2.3 as follows:
1. Support for User-Defined Abstract Data Types: Abstract Data Types (ADTs) allow new
data types with structures suitable for particular applications to be defined.
2. Support for additional or extensible data types: A number of built-in data types have
been provided, including two-dimensional geometric objects (such as points, lines, circles,
and ellipses), images, time series, text, and Web pages. In addition to the built-in types,
ORDB provides the user with other constructs to declare additional types.
Page 6 of 7
COSC 411: DATABASE SYSTEMS II 2022/2023 SESSION
Page 7 of 7