SlideShare a Scribd company logo
1 of 16
Department of Information Technology 1Data base Technologies (ITB4201)
Introduction to Object Oriented Databases
Dr. C.V. Suresh Babu
Professor
Department of IT
Hindustan Institute of Science & Technology
Department of Information Technology 2Data base Technologies (ITB4201)
Action Plan
• Object Oriented Databases
• Object Oriented Data Model(OODM)
• Characteristics of Object oriented database
• Object, Attributes and Identity
• Object oriented methodologies
• Benefit of object orientation in programming
language
• Object oriented model vs Entity Relationship model
• Advantages of OODB over RDBMS
• Quiz
Department of Information Technology 3Data base Technologies (ITB4201)
Object Oriented Database
• When the database techniques are combined with object oriented concepts, the
result is an object oriented management system (ODBMS).
• Today’s trend in programming languages is to utilize objects, thereby making
OODBMS is ideal for Object Oriented programmers because
– they can develop the product,
– store them as objects, and
– can replicate or modify existing objects to make new objects within the OODBMS.
• Object databases based on persistent programming acquired a niche in
application areas such as
– engineering and spatial databases,
– telecommunications, and
– scientific areas such as high energy physics and molecular biology.
Department of Information Technology 4Data base Technologies (ITB4201)
Object Oriented Database Standards
Some of the Object oriented DBMS standards are
• Object data management group
• Object database standard ODM 6.2.0
• Object query language
• Object query language support of SQL 92
Department of Information Technology 5Data base Technologies (ITB4201)
Object Oriented Data Model(OODM)
• Object oriented data models are a logical data models that capture the
semantics of objects supported on object oriented programming.
• OODMs implement conceptual models directly and can represent
complexities that are beyond the capabilities of relational systems.
• OODBs have adopted many of the concepts that were developed originally
for object oriented programming language.
• An object oriented database is a collection of objects defined by an object
oriented data model.
• An object oriented database can extend the existence of objects so that
they are stored permanently.
• Therefore, the objects persist beyond program termination and can be
retrieved later and shared by other programs.
Department of Information Technology 6Data base Technologies (ITB4201)
Characteristics of Object oriented database
The characteristics of object oriented database are listed below.
• It keeps up a direct relation between real world and database objects as if
objects do not loose their integrity and identity.
• OODBs provide system generated object identifier for each object so that
an object can easily be identified and operated upon.
• OODBs are extensible, which identifies new data types and the operations
to be performed on them.
• Provides encapsulation, feature which, the data representation and the
methods implementation are hidden from external entities.
• Also provides inheritance properties in which an object inherits the
properties of other objects.
Department of Information Technology 7Data base Technologies (ITB4201)
Object, Attributes and Identity
• Attributes : The attributes are the characteristics used to describe objects.
Attributes are also known as instance variables. When attributes are
assigned values at a given time, it is assumed that the object is in a given
state at that time.
• Object : An object is an abstract representation of the real world entity
which has a unique identity, embedded properties, and the ability to
interact with other objects and itself.
• Identity : The identity is an external identifier- the object ID- maintained
for each object. The Object ID is assigned by the system when the object is
created, and cannot be changed. It is unlike the relational database, for
example, where a data value stored within the object is used to identify
the object.
Department of Information Technology 8Data base Technologies (ITB4201)
Object oriented methodologies
There are certain object oriented methodologies are use in OODB. These are:
• Class: A class is assumed as a group of objects with the same or similar attributes
and behavior.
• Encapsulation: It is the property that the attributes and methods of an object
are hidden from outside world. A published interface is used to access an
object’s methods.
• Inheritance: It is the property which, when classes are arranged in a hierarchy,
each class assumes the attributes and methods of its ancestors. For example,
class students are the ancestor of undergraduate students and post graduate
students.
• Polymorphism : It allows several objects to represent to the same message in
different ways. In the object oriented database model, complex objects are
modeled more naturally and easily.
Department of Information Technology 9Data base Technologies (ITB4201)
Benefit of object orientation in programming
language
The benefits of object orientation in programming language are:
• Minimizes number of lines of code
• Reduces development time
• Increases the reusability of codes
• Makes code maintenance easier
• Increased productivity of programmers
Department of Information Technology 10Data base Technologies (ITB4201)
Merits of Object oriented database
OODBs provide the following merits
• OODBs allow for the storage of complex data structures that
cannot be easily stored using conventional database
terminology.
• OODBs support all the persistence required for object oriented
applications.
• OODBs contain active object servers which support both
distribution of data and distribution of work.
Department of Information Technology 11Data base Technologies (ITB4201)
Merits of Object oriented database
OODBs provide the following merits
• OODBs allow for the storage of complex data structures that
cannot be easily stored using conventional database
terminology.
• OODBs support all the persistence required for object oriented
applications.
• OODBs contain active object servers which support both
distribution of data and distribution of work.
Department of Information Technology 12Data base Technologies (ITB4201)
Advantages of Object oriented data model over
Relational model
When compared with the relational model, the object oriented
data model has the following advantages.
• Reusability: generic objects can be defined and then reused in
numerous application.
• Complex data types: Can manage complex data such as
document, graphics, images, voice messages, etc.
• Distributed databases: Due to mode of communication
between objects, OODBMS can support distribution of data
across networks more easily.
Department of Information Technology 13Data base Technologies (ITB4201)
Object oriented model vs Entity Relationship
model
• An entity is simply a collection of variables or data items.
• When an application is running, the ER Model will tells how
the application’s data will be persisted but the Object Oriented
Model will decide that how that data will be stored in the
memory.
Department of Information Technology 14Data base Technologies (ITB4201)
Advantages of OODB over RDBMS
Object oriented database advantages over RDBMS:
• Objects do not require assembly and dis-assembly saving coding
time and execution time to assemble or disassemble objects.
• Reduced paging
• Easier navigation
• Better concurrency control
• Data model is based on the real world
• Works well for distributed architectures
• Less code required when applications are object oriented.
Department of Information Technology 15Data base Technologies (ITB4201)
Test Yourself
1. Which of the following is true concerning on ODBMS
a. They have the ability to store complex data types on the Web.
b. They are overtaking RDBMS for all applications.
c. They are most useful for traditional, two-dimensional database table applications.
d. All of the above.
2. Using ODL, you can define which of the following?
a. Attribute
b. Structure
c. Operation
d. All of the above
3. The object definition language (ODL) is which of the following?
a. Used to develop logical schemas
b. A data definition language for OODB
c. A method to implement a logical schema
d. All of the above.
4. In an object-oriented model, one object can access data of another object by passing:
a. Instance variable
b. Message
c. Variable
d. None of these
5. Which of these simplifies an Object Relational Mapping tool?
a. Data creation
b. Data manipulation
c. Data access
d. All mentioned above
Department of Information Technology 16Data base Technologies (ITB4201)
1. Which of the following is true concerning on ODBMS
a. They have the ability to store complex data types on the Web.
b. They are overtaking RDBMS for all applications.
c. They are most useful for traditional, two-dimensional database table applications.
d. All of the above.
2. Using ODL, you can define which of the following?
a. Attribute
b. Structure
c. Operation
d. All of the above
3. The object definition language (ODL) is which of the following?
a. Used to develop logical schemas
b. A data definition language for OODB
c. A method to implement a logical schema
d. All of the above.
4. In an object-oriented model, one object can access data of another object by passing:
a. Instance variable
b. Message
c. Variable
d. None of these
5. Which of these simplifies an Object Relational Mapping tool?
a. Data creation
b. Data manipulation
c. Data access
d. All mentioned above
Answers

More Related Content

What's hot

Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Encapsulation of operations, methods & persistence
Encapsulation of operations, methods & persistenceEncapsulation of operations, methods & persistence
Encapsulation of operations, methods & persistencePrem Lamsal
 
Data base management system
Data base management systemData base management system
Data base management systemNavneet Jingar
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database modelPAQUIAAIZEL
 
Type of database models
Type of database modelsType of database models
Type of database modelsSanthiNivas
 
Object relational database management system
Object relational database management systemObject relational database management system
Object relational database management systemSaibee Alam
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbmsmaryeem
 
Object relational and extended relational databases
Object relational and extended relational databasesObject relational and extended relational databases
Object relational and extended relational databasesSuhad Jihad
 
Adbms 17 object query language
Adbms 17 object query languageAdbms 17 object query language
Adbms 17 object query languageVaibhav Khanna
 
Relational database
Relational database Relational database
Relational database Megha Sharma
 
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALADATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALASaikiran Panjala
 
Adbms 16 object definition language
Adbms 16 object definition languageAdbms 16 object definition language
Adbms 16 object definition languageVaibhav Khanna
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and BasicsSHIKHA GAUTAM
 

What's hot (20)

Odbms concepts
Odbms conceptsOdbms concepts
Odbms concepts
 
Dbms
DbmsDbms
Dbms
 
Data models
Data modelsData models
Data models
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Encapsulation of operations, methods & persistence
Encapsulation of operations, methods & persistenceEncapsulation of operations, methods & persistence
Encapsulation of operations, methods & persistence
 
Data base management system
Data base management systemData base management system
Data base management system
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database model
 
Type of database models
Type of database modelsType of database models
Type of database models
 
Data Models.ppt
Data Models.pptData Models.ppt
Data Models.ppt
 
Object relational database management system
Object relational database management systemObject relational database management system
Object relational database management system
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbms
 
Object relational and extended relational databases
Object relational and extended relational databasesObject relational and extended relational databases
Object relational and extended relational databases
 
Adbms 17 object query language
Adbms 17 object query languageAdbms 17 object query language
Adbms 17 object query language
 
Oracle Tablespace - Basic
Oracle Tablespace - BasicOracle Tablespace - Basic
Oracle Tablespace - Basic
 
Relational database
Relational database Relational database
Relational database
 
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALADATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
DATA WAREHOUSE IMPLEMENTATION BY SAIKIRAN PANJALA
 
Adbms 16 object definition language
Adbms 16 object definition languageAdbms 16 object definition language
Adbms 16 object definition language
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
DDBMS Paper with Solution
DDBMS Paper with SolutionDDBMS Paper with Solution
DDBMS Paper with Solution
 
Oodbms ch 20
Oodbms ch 20Oodbms ch 20
Oodbms ch 20
 

Similar to Introduction to Object Oriented databases

Comparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented DatabaseComparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented DatabaseEditor IJMTER
 
Survey of Object Oriented Database
Survey of Object Oriented DatabaseSurvey of Object Oriented Database
Survey of Object Oriented DatabaseEditor IJMTER
 
OODBMSvsORDBMSppt.pptx
OODBMSvsORDBMSppt.pptxOODBMSvsORDBMSppt.pptx
OODBMSvsORDBMSppt.pptxMEHMOODNadeem
 
Object oriented modeling
Object oriented modelingObject oriented modeling
Object oriented modelingPooja Dixit
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Rabin BK
 
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...cscpconf
 
Adbms 12 encapsulation and its benefits
Adbms 12 encapsulation and its benefitsAdbms 12 encapsulation and its benefits
Adbms 12 encapsulation and its benefitsVaibhav Khanna
 
object database conceptual design.pptx
object database conceptual design.pptxobject database conceptual design.pptx
object database conceptual design.pptxPradipPoudel4
 
Concepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.pptConcepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.pptnafsigenet
 
MIT302 Lesson 2_Advanced Database Systems.pptx
MIT302 Lesson 2_Advanced Database Systems.pptxMIT302 Lesson 2_Advanced Database Systems.pptx
MIT302 Lesson 2_Advanced Database Systems.pptxelsagalgao
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)inventionjournals
 
Object Oriented Programming Lecture Notes
Object Oriented Programming Lecture NotesObject Oriented Programming Lecture Notes
Object Oriented Programming Lecture NotesFellowBuddy.com
 
itft-Fundamentals of object–oriented programming in java
itft-Fundamentals of object–oriented programming in javaitft-Fundamentals of object–oriented programming in java
itft-Fundamentals of object–oriented programming in javaAtul Sehdev
 
SAP ABAP using OOPS - JH Softech
SAP ABAP using OOPS - JH SoftechSAP ABAP using OOPS - JH Softech
SAP ABAP using OOPS - JH SoftechVikram P Madduri
 
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtapOverview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtapVikas Jagtap
 

Similar to Introduction to Object Oriented databases (20)

Comparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented DatabaseComparison of Relational Database and Object Oriented Database
Comparison of Relational Database and Object Oriented Database
 
Survey of Object Oriented Database
Survey of Object Oriented DatabaseSurvey of Object Oriented Database
Survey of Object Oriented Database
 
OODBMSvsORDBMSppt.pptx
OODBMSvsORDBMSppt.pptxOODBMSvsORDBMSppt.pptx
OODBMSvsORDBMSppt.pptx
 
Object oriented modeling
Object oriented modelingObject oriented modeling
Object oriented modeling
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
 
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
Object-Oriented Database Model For Effective Mining Of Advanced Engineering M...
 
Adbms 12 encapsulation and its benefits
Adbms 12 encapsulation and its benefitsAdbms 12 encapsulation and its benefits
Adbms 12 encapsulation and its benefits
 
object database conceptual design.pptx
object database conceptual design.pptxobject database conceptual design.pptx
object database conceptual design.pptx
 
OOP-1.pptx
OOP-1.pptxOOP-1.pptx
OOP-1.pptx
 
Unit v(dsc++)
Unit v(dsc++)Unit v(dsc++)
Unit v(dsc++)
 
Concepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.pptConcepts for Object Oriented Databases.ppt
Concepts for Object Oriented Databases.ppt
 
MIT302 Lesson 2_Advanced Database Systems.pptx
MIT302 Lesson 2_Advanced Database Systems.pptxMIT302 Lesson 2_Advanced Database Systems.pptx
MIT302 Lesson 2_Advanced Database Systems.pptx
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
A02620109
A02620109A02620109
A02620109
 
A02620109
A02620109A02620109
A02620109
 
Unit-10.pptx
Unit-10.pptxUnit-10.pptx
Unit-10.pptx
 
Object Oriented Programming Lecture Notes
Object Oriented Programming Lecture NotesObject Oriented Programming Lecture Notes
Object Oriented Programming Lecture Notes
 
itft-Fundamentals of object–oriented programming in java
itft-Fundamentals of object–oriented programming in javaitft-Fundamentals of object–oriented programming in java
itft-Fundamentals of object–oriented programming in java
 
SAP ABAP using OOPS - JH Softech
SAP ABAP using OOPS - JH SoftechSAP ABAP using OOPS - JH Softech
SAP ABAP using OOPS - JH Softech
 
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtapOverview of Object-Oriented Concepts Characteristics by vikas jagtap
Overview of Object-Oriented Concepts Characteristics by vikas jagtap
 

More from Dr. C.V. Suresh Babu (20)

Data analytics with R
Data analytics with RData analytics with R
Data analytics with R
 
Association rules
Association rulesAssociation rules
Association rules
 
Clustering
ClusteringClustering
Clustering
 
Classification
ClassificationClassification
Classification
 
Blue property assumptions.
Blue property assumptions.Blue property assumptions.
Blue property assumptions.
 
Introduction to regression
Introduction to regressionIntroduction to regression
Introduction to regression
 
DART
DARTDART
DART
 
Mycin
MycinMycin
Mycin
 
Expert systems
Expert systemsExpert systems
Expert systems
 
Dempster shafer theory
Dempster shafer theoryDempster shafer theory
Dempster shafer theory
 
Bayes network
Bayes networkBayes network
Bayes network
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
Knowledge based agents
Knowledge based agentsKnowledge based agents
Knowledge based agents
 
Rule based system
Rule based systemRule based system
Rule based system
 
Formal Logic in AI
Formal Logic in AIFormal Logic in AI
Formal Logic in AI
 
Production based system
Production based systemProduction based system
Production based system
 
Game playing in AI
Game playing in AIGame playing in AI
Game playing in AI
 
Diagnosis test of diabetics and hypertension by AI
Diagnosis test of diabetics and hypertension by AIDiagnosis test of diabetics and hypertension by AI
Diagnosis test of diabetics and hypertension by AI
 
A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”
 
A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”
 

Recently uploaded

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 

Recently uploaded (20)

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 

Introduction to Object Oriented databases

  • 1. Department of Information Technology 1Data base Technologies (ITB4201) Introduction to Object Oriented Databases Dr. C.V. Suresh Babu Professor Department of IT Hindustan Institute of Science & Technology
  • 2. Department of Information Technology 2Data base Technologies (ITB4201) Action Plan • Object Oriented Databases • Object Oriented Data Model(OODM) • Characteristics of Object oriented database • Object, Attributes and Identity • Object oriented methodologies • Benefit of object orientation in programming language • Object oriented model vs Entity Relationship model • Advantages of OODB over RDBMS • Quiz
  • 3. Department of Information Technology 3Data base Technologies (ITB4201) Object Oriented Database • When the database techniques are combined with object oriented concepts, the result is an object oriented management system (ODBMS). • Today’s trend in programming languages is to utilize objects, thereby making OODBMS is ideal for Object Oriented programmers because – they can develop the product, – store them as objects, and – can replicate or modify existing objects to make new objects within the OODBMS. • Object databases based on persistent programming acquired a niche in application areas such as – engineering and spatial databases, – telecommunications, and – scientific areas such as high energy physics and molecular biology.
  • 4. Department of Information Technology 4Data base Technologies (ITB4201) Object Oriented Database Standards Some of the Object oriented DBMS standards are • Object data management group • Object database standard ODM 6.2.0 • Object query language • Object query language support of SQL 92
  • 5. Department of Information Technology 5Data base Technologies (ITB4201) Object Oriented Data Model(OODM) • Object oriented data models are a logical data models that capture the semantics of objects supported on object oriented programming. • OODMs implement conceptual models directly and can represent complexities that are beyond the capabilities of relational systems. • OODBs have adopted many of the concepts that were developed originally for object oriented programming language. • An object oriented database is a collection of objects defined by an object oriented data model. • An object oriented database can extend the existence of objects so that they are stored permanently. • Therefore, the objects persist beyond program termination and can be retrieved later and shared by other programs.
  • 6. Department of Information Technology 6Data base Technologies (ITB4201) Characteristics of Object oriented database The characteristics of object oriented database are listed below. • It keeps up a direct relation between real world and database objects as if objects do not loose their integrity and identity. • OODBs provide system generated object identifier for each object so that an object can easily be identified and operated upon. • OODBs are extensible, which identifies new data types and the operations to be performed on them. • Provides encapsulation, feature which, the data representation and the methods implementation are hidden from external entities. • Also provides inheritance properties in which an object inherits the properties of other objects.
  • 7. Department of Information Technology 7Data base Technologies (ITB4201) Object, Attributes and Identity • Attributes : The attributes are the characteristics used to describe objects. Attributes are also known as instance variables. When attributes are assigned values at a given time, it is assumed that the object is in a given state at that time. • Object : An object is an abstract representation of the real world entity which has a unique identity, embedded properties, and the ability to interact with other objects and itself. • Identity : The identity is an external identifier- the object ID- maintained for each object. The Object ID is assigned by the system when the object is created, and cannot be changed. It is unlike the relational database, for example, where a data value stored within the object is used to identify the object.
  • 8. Department of Information Technology 8Data base Technologies (ITB4201) Object oriented methodologies There are certain object oriented methodologies are use in OODB. These are: • Class: A class is assumed as a group of objects with the same or similar attributes and behavior. • Encapsulation: It is the property that the attributes and methods of an object are hidden from outside world. A published interface is used to access an object’s methods. • Inheritance: It is the property which, when classes are arranged in a hierarchy, each class assumes the attributes and methods of its ancestors. For example, class students are the ancestor of undergraduate students and post graduate students. • Polymorphism : It allows several objects to represent to the same message in different ways. In the object oriented database model, complex objects are modeled more naturally and easily.
  • 9. Department of Information Technology 9Data base Technologies (ITB4201) Benefit of object orientation in programming language The benefits of object orientation in programming language are: • Minimizes number of lines of code • Reduces development time • Increases the reusability of codes • Makes code maintenance easier • Increased productivity of programmers
  • 10. Department of Information Technology 10Data base Technologies (ITB4201) Merits of Object oriented database OODBs provide the following merits • OODBs allow for the storage of complex data structures that cannot be easily stored using conventional database terminology. • OODBs support all the persistence required for object oriented applications. • OODBs contain active object servers which support both distribution of data and distribution of work.
  • 11. Department of Information Technology 11Data base Technologies (ITB4201) Merits of Object oriented database OODBs provide the following merits • OODBs allow for the storage of complex data structures that cannot be easily stored using conventional database terminology. • OODBs support all the persistence required for object oriented applications. • OODBs contain active object servers which support both distribution of data and distribution of work.
  • 12. Department of Information Technology 12Data base Technologies (ITB4201) Advantages of Object oriented data model over Relational model When compared with the relational model, the object oriented data model has the following advantages. • Reusability: generic objects can be defined and then reused in numerous application. • Complex data types: Can manage complex data such as document, graphics, images, voice messages, etc. • Distributed databases: Due to mode of communication between objects, OODBMS can support distribution of data across networks more easily.
  • 13. Department of Information Technology 13Data base Technologies (ITB4201) Object oriented model vs Entity Relationship model • An entity is simply a collection of variables or data items. • When an application is running, the ER Model will tells how the application’s data will be persisted but the Object Oriented Model will decide that how that data will be stored in the memory.
  • 14. Department of Information Technology 14Data base Technologies (ITB4201) Advantages of OODB over RDBMS Object oriented database advantages over RDBMS: • Objects do not require assembly and dis-assembly saving coding time and execution time to assemble or disassemble objects. • Reduced paging • Easier navigation • Better concurrency control • Data model is based on the real world • Works well for distributed architectures • Less code required when applications are object oriented.
  • 15. Department of Information Technology 15Data base Technologies (ITB4201) Test Yourself 1. Which of the following is true concerning on ODBMS a. They have the ability to store complex data types on the Web. b. They are overtaking RDBMS for all applications. c. They are most useful for traditional, two-dimensional database table applications. d. All of the above. 2. Using ODL, you can define which of the following? a. Attribute b. Structure c. Operation d. All of the above 3. The object definition language (ODL) is which of the following? a. Used to develop logical schemas b. A data definition language for OODB c. A method to implement a logical schema d. All of the above. 4. In an object-oriented model, one object can access data of another object by passing: a. Instance variable b. Message c. Variable d. None of these 5. Which of these simplifies an Object Relational Mapping tool? a. Data creation b. Data manipulation c. Data access d. All mentioned above
  • 16. Department of Information Technology 16Data base Technologies (ITB4201) 1. Which of the following is true concerning on ODBMS a. They have the ability to store complex data types on the Web. b. They are overtaking RDBMS for all applications. c. They are most useful for traditional, two-dimensional database table applications. d. All of the above. 2. Using ODL, you can define which of the following? a. Attribute b. Structure c. Operation d. All of the above 3. The object definition language (ODL) is which of the following? a. Used to develop logical schemas b. A data definition language for OODB c. A method to implement a logical schema d. All of the above. 4. In an object-oriented model, one object can access data of another object by passing: a. Instance variable b. Message c. Variable d. None of these 5. Which of these simplifies an Object Relational Mapping tool? a. Data creation b. Data manipulation c. Data access d. All mentioned above Answers