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 (20)

Parallel Database
Parallel DatabaseParallel Database
Parallel Database
 
Relational database
Relational database Relational database
Relational database
 
Object oriented database
Object oriented databaseObject oriented database
Object oriented database
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databases
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Distributed database management system
Distributed database management  systemDistributed database management  system
Distributed database management system
 
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUESDISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
DISTRIBUTED DATABASE WITH RECOVERY TECHNIQUES
 
Database management functions
Database management functionsDatabase management functions
Database management functions
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
Key-Value NoSQL Database
Key-Value NoSQL DatabaseKey-Value NoSQL Database
Key-Value NoSQL Database
 
Data dictionary
Data dictionaryData dictionary
Data dictionary
 
NOSQL vs SQL
NOSQL vs SQLNOSQL vs SQL
NOSQL vs SQL
 
Role of a DBA
Role of a DBARole of a DBA
Role of a DBA
 
DbMs
DbMsDbMs
DbMs
 
OODM-object oriented data model
OODM-object oriented data modelOODM-object oriented data model
OODM-object oriented data model
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
 
Mongodb vs mysql
Mongodb vs mysqlMongodb vs mysql
Mongodb vs mysql
 
Active database
Active databaseActive database
Active database
 
Distributed Database
Distributed DatabaseDistributed Database
Distributed Database
 

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-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
 
ADBMS Object and Object Relational Databases
ADBMS  Object  and Object Relational Databases ADBMS  Object  and Object Relational Databases
ADBMS Object and Object Relational Databases Jayanthi Kannan MK
 
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
 

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-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
 
A02620109
A02620109A02620109
A02620109
 
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
 
ADBMS Object and Object Relational Databases
ADBMS  Object  and Object Relational Databases ADBMS  Object  and Object Relational Databases
ADBMS Object and Object Relational Databases
 
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
 
Odbms concepts
Odbms conceptsOdbms concepts
Odbms concepts
 
SAP ABAP using OOPS - JH Softech
SAP ABAP using OOPS - JH SoftechSAP ABAP using OOPS - JH Softech
SAP ABAP using OOPS - JH Softech
 

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

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 

Recently uploaded (20)

Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

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