Introduction Merged
Introduction Merged
Tribhuvan University
Comparative Study
Of
Object Oriented DBMS and Relational DBMS
Object Oriented Software Engineering (CSC-539)
Submitted To:
Professor Dr. Subarna Shakya
Central Department of Computer Science
And Information Technology
Submitted By:
Sibu Dhital
Roll No: 036/080
Regd. No: 5-2-1075-22-2016
May 2024
V
Table of Content
I. Introduction ................................................................................................................... 1
Comparison of OODBMS to RDBMS ........................................................................... 2
II. Literature Review ……................................................................................................ 2
III. Objective ……………………………………………................................................. 3
IV. Case Study Area Description ………......................................................................... 3
Scenario Overview ……………………......................................................................... 3
Challenges ……………………………........................................................................... 3
Database Requirements ………………........................................................................... 4
Implementation Consideration ….……........................................................................... 4
V. Requirement Model …………….................................................................................. 4
Scenario Overview …………………….......................................................................... 4
Functional Requirement ……………….......................................................................... 4
Non-functional Requirement..………….......................................................................... 5
VI. Analysis Model ……..……………................................................................................ 5
Comparative Analysis ………………….......................................................................... 5
VII. Design Model ……..……………................................................................................ 6
Schema Design ……..………………….......................................................................... 6
API integration ………..……………….......................................................................... 6
Security Implementation …...………….......................................................................... 6
User Interface Design ....……………….......................................................................... 6
Scalability Consideration …..………….......................................................................... 6
VIII. Implementation Model ..…….................................................................................. 6
Technology Stack Selection …..……….......................................................................... 6
Development Environment setup ..…….......................................................................... 6
Schema Implementation …....………….......................................................................... 7
API development ……...……………….......................................................................... 7
Security Implementation .…..………….......................................................................... 7
UI development ..……...……………….......................................................................... 7
Testing & Quality Assurance .………….......................................................................... 7
V
I. INTRODUCTION
In today's world, where technology is everywhere, managing data is crucial for all kinds of
organizations, big or small. From keeping track of customer information to handling internal
records, databases play a vital role in organizing and accessing large amounts of data
efficiently. However, not all databases are the same. There are different types of Database
Management Systems, which can be listed as:
- RDBMS(Relational Database Management System)
- ORDBMS(Object Relational Database Management System)
- OODBMS(Object Oriented Database Management System)
In this paper as a part of case study for the fulfillment of our course work we’re going to
discuss about two of the most common ones called RDBMS and OODBMS.
RDBMS, which stands for Relational Database Management System, is like a digital filing
cabinet that stores data in tables and keeps track of how different pieces of information are
related to each other. RDBMS allows the user to control the database through creating,
updating, administrating and interacting with relational table like structure.
End User
Database
With so much data being generated every day, especially from things like websites, mobile
apps, and social media, it's essential to understand which type of database is best suited for
different kinds of information. That's where our case study comes in.
Comparison of OODBMS to RDBMS:
Parameters OODBMS RDBMS
Full Form Object Oriented Database Relational Database Management
System System
Objective It ensures data encapsulation.It keeps data independent from
application and programmers.
Query Language Depends on products, Easy Standard Query Language (SQL). It is
to handle recursive queries. difficult to handle recursive queries.
Advanced It supports advanced It doesn’t support advanced
Applications applications. applications
Normalization No need of normalizations. Normalization is strongly
recommended
Use of Algebra Objective algebra. Relational algebra.
Representation Effective representation for Poor representation for real world
real world entities. entities.
and limitations of both RDBMS and OODBMS, underscoring the evolution of object-based
databases to address the limitations of relational databases and support advanced applications.
Theresa Beaubouef and Frederick E. Petry [5] emphasized the importance of security in
database systems, particularly in applications involving statistical databases and data
mining. They noted the criticality of maintaining data security in rough relational databases
and related systems.
III. OBJECTIVE
Our case study aims to explore and compare the strengths and weaknesses of RDBMS and
OODBMS. By looking closely at how these databases are built, how they handle data, and
how they're used in real-life situations, we hope to help organizations make better decisions
about which database system to use for their needs.
We'll use examples like managing fingerprint databases on websites and mobile apps to show
how different types of data require different approaches to storage and management. By the
end of our study, we hope to provide clear insights into the benefits of each database system
and help organizations choose the right one for their specific requirements.
Database Requirements:
1. Storage Structure: The database should support the storage of fingerprint images or
templates, along with associated metadata such as timestamps and user identifiers.
2. Access Control: Role-based access control mechanisms should be implemented to
restrict access to authorized personnel only.
3. Encryption: Fingerprint data should be encrypted both at rest and in transit to prevent
unauthorized interception or tampering.
4. Cross-Platform Compatibility: The database should be accessible from web
browsers as well as mobile applications running on iOS and Android devices.
5. Scalability: The database should scale seamlessly to accommodate growing datasets
without compromising performance or reliability.
Implementation Considerations:
1. Choice of Database System: Evaluating the suitability of both RDBMS and
OODBMS for storing and managing fingerprint data.
2. Schema Design: Designing an appropriate database schema to represent fingerprint
records and related information.
3. API Integration: Developing APIs for interacting with the database from web and
mobile applications, including methods for data retrieval, insertion, and update.
4. Security Measures: Implementing encryption, access control, and audit logging
mechanisms to ensure the security and integrity of fingerprint data.
5. Performance Testing: Conducting performance tests to evaluate the responsiveness
and scalability of the database under various load conditions.
By focusing on the management of fingerprint data in a real-world scenario, our case study
will provide valuable insights into the comparative effectiveness of RDBMS and OODBMS
in handling sensitive and complex datasets across web and mobile platforms.
V. REQUIREMENT MODEL
Scenario Description:
Our scenario involves the management of fingerprint data across web and mobile platforms
for a government agency or security company. The database system must securely store
fingerprint images or templates and associated metadata, such as timestamps and user
identifiers. Access to the database should be restricted to authorized personnel, and the system
should support both web-based portals and mobile applications for data retrieval and
manipulation.
Functional Requirements:
1. Data Storage: Store fingerprint images or templates along with associated metadata.
5
1. RDBMS: Set up the development environment with the chosen relational database
management system, including installing the database server software and configuring
database connections.
2. OODBMS: Set up the development environment with the chosen object-oriented
database management system, including installing the database server software and
configuring object mapping frameworks.
Schema Implementation:
1. RDBMS: Create relational database schemas to represent fingerprint data using
tables, columns, and relationships. Define primary keys, foreign keys, and indexes to
optimize query performance.
2. OODBMS: Define object-oriented database schemas to represent fingerprint data
using object classes, attributes, and associations. Implement inheritance,
encapsulation, and polymorphism concepts to model complex data structures.
API Development:
1. RDBMS: Develop RESTful APIs or GraphQL endpoints to interact with the relational
database system from web and mobile applications. Implement CRUD (Create, Read,
Update, Delete) operations for managing fingerprint data.
2. OODBMS: Develop object-oriented APIs or object-relational mapping (ORM)
frameworks to interact with the object-oriented database system from web and mobile
applications. Implement object persistence and retrieval methods for handling
fingerprint objects.
Security Implementation:
1. RDBMS: Implement security measures such as encryption at rest and in transit, role-
based access control (RBAC), and parameterized queries to prevent SQL injection
attacks.
2. OODBMS: Implement encryption of object attributes, access control lists (ACLs),
and object-level permissions to secure sensitive fingerprint data in the object-oriented
database system.
User Interface Development:
1. Web Interface: Develop user interfaces for web-based portals using HTML, CSS,
and JavaScript frameworks such as React, Angular, or Vue.js. Implement
authentication and authorization mechanisms to control user access to fingerprint data.
2. Mobile Interface: Develop mobile applications for Android and iOS platforms using
native or cross-platform frameworks such as React Native or Flutter. Integrate
fingerprint scanning APIs for biometric authentication on mobile devices.
Testing and Quality Assurance:
1. Unit Testing: Write unit tests to validate the functionality of database operations and
API endpoints using testing frameworks such as JUnit, NUnit, or Jest.
2. Integration Testing: Perform integration tests to ensure seamless communication
between the database system and web/mobile applications. Test data persistence,
retrieval, and security features under different scenarios.
8
IX. CONCLUSION
This comparative study has explored the strengths and weaknesses of Relational Database
Management System (RDBMS) and Object-Oriented Database Management System
(OODBMS). While it is challenging to definitively declare one as superior to the other, each
database type offers distinct advantages depending on the nature of the data and the
requirements of the application.
RDBMS excels in managing structured data efficiently, offering robust mechanisms for data
manipulation and query optimization. However, when dealing with complex and unstructured
data, OODBMS emerges as a more effective solution. OODBMS can handle big data
seamlessly, accommodating both structured and unstructured data formats with ease.
Through an analysis of various research papers, it is evident that both RDBMS and OODBMS
have their unique architectural features and benefits. While RDBMS remains widely used for
its familiarity and suitability for structured data, OODBMS offers advantages in handling
complex data structures and supporting advanced applications.
X. RECOMMENDATIONS
1. Consider the Nature of Data: Evaluate the nature of the data to be stored and
processed. If dealing primarily with structured data, RDBMS may be sufficient.
However, for applications involving complex or unstructured data, OODBMS may
offer more efficient management.
2. Assess Application Requirements: Assess the specific requirements of the
application, including scalability, performance, and compatibility. Choose the
database system that best aligns with these requirements and offers the necessary
features and capabilities.
3. Explore Hybrid Approaches: Consider hybrid approaches that combine elements of
both RDBMS and OODBMS to leverage the strengths of each. This may involve using
RDBMS for structured data storage and OODBMS for managing complex data
objects.
9
XI. REFERENCES
[1] Sirish Shetty B and Akshay KC “Performance Analysis of Queries in RDBMS vs
NoSQL”, Published in “2019 2nd International Conference on Intelligent Computing,
Instrumentation and Control Technologies (ICICICT).” Available:
https://ieeexplore.ieee.org/document/8993394
[2] M AHESH S. R AISINGHANI, University of Dallas and G ABRIEL C USTODIO,
Associates Information Services, Inc. “Object Oriented Database Management Systems:
Architecture And Application”, Published in “Journal of Information Technology Theory And
Application”.
[3] Kwok K. Yu, Byung S. Lee, Michael R. Olson “The Scalability of an Object Descriptor
Architecture OODBMS” Published in “1999, Proceedings. IDEAS’99. International Database
Engineering and Application Symposium(Cat. No. PR00265)”
[4] Hardeep Singh Damesha “Object Oriented Database Management Systems-Concepts,
Advantages, Limitations and Comparative Study with Relational Database Management
Systems” in “Global Journal of Computer Science and Technology : C Software & Data
Engineering” Volume 15 Issue 3 Version 1.0 Year 2015 Type: “Double Blind Peer Reviewed
International Research Journal”, Publisher: “Global Journals Inc. (USA) Online ISSN: 0975-
4172 & Print ISSN: 0975-4350”.
[5] Theresa Beaubouef and Frederick E. Petry “Database Security Issues in Rough Relational
Databases”, Published in “2010 42nd South Eastern Symposium on System Theory
University of Texas at Tyler” Tyler, TX, USA, March 7-9, 2010