SlideShare a Scribd company logo
1 of 13
Download to read offline
Obj t O i t d D t bObject Oriented Databases
Group 5Group 5
RKSK Ekanayaka (8853)
W Dilhan (8855)( )
MMCK Bandara (8863)
WBR Madusala (8864)
JPS Mihiranga (8887)
Object Oriented Database11/3/2014
O tliOutline
Introduction
Introduction to Object-OrientedIntroduction to Object Oriented
Programming
Overview of Object Oriented DatabasesOverview of Object Oriented Databases
Advantages of OODBS
Disadvantages of OODBSDisadvantages of OODBS
Object Query Language (OQL)
SummarySummary
Object Oriented Database11/3/2014
I t d tiIntroduction
An integration of database capabilities with an object
oriented programming language.
Object-oriented databases are designed to work well with
object-oriented programming.
ODBMSs provide the lowest cost for development and best
performance.
Relational database technology has failed to handle the needs
of complex information systems.
Object Oriented Database11/3/2014
Introduction to Object-j
Oriented Programming
OOP views programs as sets of data structures that have
both data elements and program instructions.
traditional programming is organized around logic first
and data second, whereas OOP is organized around data
first and logic secondfirst and logic second.
When developing an object-oriented program,
Id tif th bj t i l dIdentify the objects involved
Design those objects as data elements and programs
Finally, a flowchart or pseudo code would be created
Object Oriented Database11/3/2014
Overview of Object Orientedj
Databases
An OODB combines object oriented
programming principles with database
management principles.
Object oriented programming concepts such as
encapsulation, polymorphism and inheritance arep , p y p
enforced as well as database management concepts
such as the ACID properties (Atomicity, Consistency,
Isolation and Durability) which lead to system
integrity and secondary storage managementintegrity, and secondary storage management
systems which allow for managing very large
amounts of data.
Object Oriented Database11/3/2014
Advantages of OODBS
integrated with programming
language.language.
A t ti th d t ( hAutomatic method storage (when
available)
User-defined types.yp
Object Oriented Database11/3/2014
Disadvantages of OODBS
ODBMS requires object-oriented
programming.
Converting data to an ODBMS is very
expensiveexpensive.
ODBMS do not provide effective queryODBMS do not provide effective query
and reporting tools.
Object Oriented Database11/3/2014
Object Query Language (OQL)
Declarative query language
Not computationally complete
Syntax based on SQL (select, from,
h )where)
Additional flexibility (queries with user
d fi d d )defined operators and types)
Object Oriented Database11/3/2014
Example of OQL query
The following is a sample query
“what are the names of the black product?”what are the names of the black product?
S l t di ti tSelect distinct p.name
From products p
Where p.color = “black”
⇒ Valid in both SQL and OQL, but results are⇒ Valid in both SQL and OQL, but results are
different.
Object Oriented Database11/3/2014
Result of the query (SQL)
Product no Name Color
Original table
Product no Name Color
P1 Ford Mustang Black
P2 Toyota Celica Green
P3 Mercedes SLK Black
- The statement queries a
Result
The statement queries a
relational database.
=> Returns a table with rows.
Name
Ford Mustangg
Mercedes SLK
Object Oriented Database11/3/2014
Result of the query (OQL)
Product no Name Color
Original table
P1 Ford Mustang Black
P2 Toyota Celica Green
P3 M d SLK Bl kP3 Mercedes SLK Black
- The statement queries aResult
object-oriented database
=> Returns a collection of
bj t
String
Ford Mustang
String
Mercedes SLK
objects.
g
Object Oriented Database11/3/2014
Summary
Object-oriented programming is a new style of
programming that has emerged in the last 10 years. It
has substantial advantages over traditionalhas substantial advantages over traditional
programming, and many companies have standardized
on it for their new applications. An object DBMS
(ODBMS) provides for object storage.
At t ODBMS t f tl d iAt present, ODBMS are not frequently used in
commercial environments because most organizational
data are in relational format. Also, ODBMS lack some
essential features.
11/3/2014 Object Oriented Database
11/3/2014 Object Oriented Database

More Related Content

What's hot

Database Presentation
Database PresentationDatabase Presentation
Database Presentation
a9oolq8
 
Object relational and extended relational databases
Object relational and extended relational databasesObject relational and extended relational databases
Object relational and extended relational databases
Suhad Jihad
 

What's hot (20)

Database Presentation
Database PresentationDatabase Presentation
Database Presentation
 
Relational database
Relational database Relational database
Relational database
 
Object oriented database concepts
Object oriented database conceptsObject oriented database concepts
Object oriented database concepts
 
Presentations on web database
Presentations on web databasePresentations on web database
Presentations on web database
 
Sql fundamentals
Sql fundamentalsSql fundamentals
Sql fundamentals
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
Type of database models
Type of database modelsType of database models
Type of database models
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Er model ppt
Er model pptEr model ppt
Er model ppt
 
Ordbms
OrdbmsOrdbms
Ordbms
 
Acid properties
Acid propertiesAcid properties
Acid properties
 
Data base management system and Architecture ppt.
Data base management system and Architecture ppt.Data base management system and Architecture ppt.
Data base management system and Architecture ppt.
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Database
 
Encapsulation of operations, methods & persistence
Encapsulation of operations, methods & persistenceEncapsulation of operations, methods & persistence
Encapsulation of operations, methods & persistence
 
Data warehouse physical design
Data warehouse physical designData warehouse physical design
Data warehouse physical design
 
Object relational and extended relational databases
Object relational and extended relational databasesObject relational and extended relational databases
Object relational and extended relational databases
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level 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)
 

Viewers also liked

Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database model
PAQUIAAIZEL
 
08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS
koolkampus
 
19. Distributed Databases in DBMS
19. Distributed Databases in DBMS19. Distributed Databases in DBMS
19. Distributed Databases in DBMS
koolkampus
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database System
Sulemang
 

Viewers also liked (20)

A Federated In-Memory Database System for Life Sciences
A Federated In-Memory Database System for Life SciencesA Federated In-Memory Database System for Life Sciences
A Federated In-Memory Database System for Life Sciences
 
Object oriented data model
Object oriented data modelObject oriented data model
Object oriented data model
 
Distributed Database Management System(DDMS)
Distributed Database Management System(DDMS)Distributed Database Management System(DDMS)
Distributed Database Management System(DDMS)
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Chapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
Chapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & KamberChapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
Chapter - 5 Data Mining Concepts and Techniques 2nd Ed slides Han & Kamber
 
Distributed dbms
Distributed dbmsDistributed dbms
Distributed dbms
 
Data Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysisData Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysis
 
4.2 spatial data mining
4.2 spatial data mining4.2 spatial data mining
4.2 spatial data mining
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database model
 
08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS08. Object Oriented Database in DBMS
08. Object Oriented Database in DBMS
 
Distributed Database Management System
Distributed Database Management SystemDistributed Database Management System
Distributed Database Management System
 
19. Distributed Databases in DBMS
19. Distributed Databases in DBMS19. Distributed Databases in DBMS
19. Distributed Databases in DBMS
 
Dbms models
Dbms modelsDbms models
Dbms models
 
Data Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysisData Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysis
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
Data mining: Classification and prediction
Data mining: Classification and predictionData mining: Classification and prediction
Data mining: Classification and prediction
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database System
 
Data mining
Data miningData mining
Data mining
 

Similar to Object oriented databases

Intelligent query converter a domain independent interfacefor conversion
Intelligent query converter a domain independent interfacefor conversionIntelligent query converter a domain independent interfacefor conversion
Intelligent query converter a domain independent interfacefor conversion
IAEME Publication
 
Coverage-Criteria-for-Testing-SQL-Queries
Coverage-Criteria-for-Testing-SQL-QueriesCoverage-Criteria-for-Testing-SQL-Queries
Coverage-Criteria-for-Testing-SQL-Queries
Mohamed Reda
 

Similar to Object oriented databases (20)

OODBMSvsORDBMSppt.pptx
OODBMSvsORDBMSppt.pptxOODBMSvsORDBMSppt.pptx
OODBMSvsORDBMSppt.pptx
 
Handy annotations-within-oracle-10g
Handy annotations-within-oracle-10gHandy annotations-within-oracle-10g
Handy annotations-within-oracle-10g
 
Intelligent query converter a domain independent interfacefor conversion
Intelligent query converter a domain independent interfacefor conversionIntelligent query converter a domain independent interfacefor conversion
Intelligent query converter a domain independent interfacefor conversion
 
Clean coding in plsql and sql, v2
Clean coding in plsql and sql, v2Clean coding in plsql and sql, v2
Clean coding in plsql and sql, v2
 
Coverage-Criteria-for-Testing-SQL-Queries
Coverage-Criteria-for-Testing-SQL-QueriesCoverage-Criteria-for-Testing-SQL-Queries
Coverage-Criteria-for-Testing-SQL-Queries
 
SPARTIQULATION - Verbalizing SPARQL queries
SPARTIQULATION - Verbalizing SPARQL queriesSPARTIQULATION - Verbalizing SPARQL queries
SPARTIQULATION - Verbalizing SPARQL queries
 
SQL for PHP Programmers -- Dallas PHP Users Group Jan 2015
SQL for PHP Programmers -- Dallas PHP Users Group Jan 2015SQL for PHP Programmers -- Dallas PHP Users Group Jan 2015
SQL for PHP Programmers -- Dallas PHP Users Group Jan 2015
 
Clean coding in plsql and sql
Clean coding in plsql and sqlClean coding in plsql and sql
Clean coding in plsql and sql
 
ADBMS Object and Object Relational Databases
ADBMS  Object  and Object Relational Databases ADBMS  Object  and Object Relational Databases
ADBMS Object and Object Relational Databases
 
215 oodb
215 oodb215 oodb
215 oodb
 
oodb.ppt
oodb.pptoodb.ppt
oodb.ppt
 
Scalable database, Scalable language @ JDC 2013
Scalable database, Scalable language @ JDC 2013Scalable database, Scalable language @ JDC 2013
Scalable database, Scalable language @ JDC 2013
 
Manage online profiles with oracle no sql database tht10972 - v1.1
Manage online profiles with oracle no sql database   tht10972 - v1.1Manage online profiles with oracle no sql database   tht10972 - v1.1
Manage online profiles with oracle no sql database tht10972 - v1.1
 
Jooq java object oriented querying
Jooq java object oriented queryingJooq java object oriented querying
Jooq java object oriented querying
 
Intro
IntroIntro
Intro
 
Introduction to Oracle
Introduction to OracleIntroduction to Oracle
Introduction to Oracle
 
Introduction to Oracle
Introduction to OracleIntroduction to Oracle
Introduction to Oracle
 
Intro
IntroIntro
Intro
 
Big Data Analytics Module-4 power point presentation vtu
Big Data Analytics Module-4 power point presentation vtuBig Data Analytics Module-4 power point presentation vtu
Big Data Analytics Module-4 power point presentation vtu
 
OWLED'12 Quest
OWLED'12 QuestOWLED'12 Quest
OWLED'12 Quest
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Object oriented databases

  • 1. Obj t O i t d D t bObject Oriented Databases Group 5Group 5 RKSK Ekanayaka (8853) W Dilhan (8855)( ) MMCK Bandara (8863) WBR Madusala (8864) JPS Mihiranga (8887) Object Oriented Database11/3/2014
  • 2. O tliOutline Introduction Introduction to Object-OrientedIntroduction to Object Oriented Programming Overview of Object Oriented DatabasesOverview of Object Oriented Databases Advantages of OODBS Disadvantages of OODBSDisadvantages of OODBS Object Query Language (OQL) SummarySummary Object Oriented Database11/3/2014
  • 3. I t d tiIntroduction An integration of database capabilities with an object oriented programming language. Object-oriented databases are designed to work well with object-oriented programming. ODBMSs provide the lowest cost for development and best performance. Relational database technology has failed to handle the needs of complex information systems. Object Oriented Database11/3/2014
  • 4. Introduction to Object-j Oriented Programming OOP views programs as sets of data structures that have both data elements and program instructions. traditional programming is organized around logic first and data second, whereas OOP is organized around data first and logic secondfirst and logic second. When developing an object-oriented program, Id tif th bj t i l dIdentify the objects involved Design those objects as data elements and programs Finally, a flowchart or pseudo code would be created Object Oriented Database11/3/2014
  • 5. Overview of Object Orientedj Databases An OODB combines object oriented programming principles with database management principles. Object oriented programming concepts such as encapsulation, polymorphism and inheritance arep , p y p enforced as well as database management concepts such as the ACID properties (Atomicity, Consistency, Isolation and Durability) which lead to system integrity and secondary storage managementintegrity, and secondary storage management systems which allow for managing very large amounts of data. Object Oriented Database11/3/2014
  • 6. Advantages of OODBS integrated with programming language.language. A t ti th d t ( hAutomatic method storage (when available) User-defined types.yp Object Oriented Database11/3/2014
  • 7. Disadvantages of OODBS ODBMS requires object-oriented programming. Converting data to an ODBMS is very expensiveexpensive. ODBMS do not provide effective queryODBMS do not provide effective query and reporting tools. Object Oriented Database11/3/2014
  • 8. Object Query Language (OQL) Declarative query language Not computationally complete Syntax based on SQL (select, from, h )where) Additional flexibility (queries with user d fi d d )defined operators and types) Object Oriented Database11/3/2014
  • 9. Example of OQL query The following is a sample query “what are the names of the black product?”what are the names of the black product? S l t di ti tSelect distinct p.name From products p Where p.color = “black” ⇒ Valid in both SQL and OQL, but results are⇒ Valid in both SQL and OQL, but results are different. Object Oriented Database11/3/2014
  • 10. Result of the query (SQL) Product no Name Color Original table Product no Name Color P1 Ford Mustang Black P2 Toyota Celica Green P3 Mercedes SLK Black - The statement queries a Result The statement queries a relational database. => Returns a table with rows. Name Ford Mustangg Mercedes SLK Object Oriented Database11/3/2014
  • 11. Result of the query (OQL) Product no Name Color Original table P1 Ford Mustang Black P2 Toyota Celica Green P3 M d SLK Bl kP3 Mercedes SLK Black - The statement queries aResult object-oriented database => Returns a collection of bj t String Ford Mustang String Mercedes SLK objects. g Object Oriented Database11/3/2014
  • 12. Summary Object-oriented programming is a new style of programming that has emerged in the last 10 years. It has substantial advantages over traditionalhas substantial advantages over traditional programming, and many companies have standardized on it for their new applications. An object DBMS (ODBMS) provides for object storage. At t ODBMS t f tl d iAt present, ODBMS are not frequently used in commercial environments because most organizational data are in relational format. Also, ODBMS lack some essential features. 11/3/2014 Object Oriented Database