SlideShare a Scribd company logo
1 of 21
Persistent programming
language & OQL & OODBMS
- Ramandeep kaur brar
-M.tech 2nd sem
-16003
Overview of OQL
• OQL is an object database query language.
• OQL is being used as an embedded query
language.
• OQL can also be used as a stand-along query
language.
Overview of OQL
• OQL is based on SQL. Many queries in SQL are
also valid in OQL.
• OQL also extends SQL to deal with object-
oriented notion.
• The supporting languages are small talk, C++
and java.
• OQL can also invoke operations programmed
in these language.
OQL: Object Query Language
SELECT can construct new objects, arbitrary
structures
FROM tuple variables can range over any
collection; may have sub queries.
WHERE pretty much the same as in SQL
Types in OQL
Declaring types for objects
Basic types:
Atomic types (e.g., string, integer, …)
Enumeration types (Monday, Tuesday, Wednesday….)
Constructors: can be applied without limitations.
Set: (1, 5, 6)
Bag: (1, 1, 5, 6, 6 )
List: (1, 5, 6, 1, 6 )
Array: Integer[17]
Struct: (name: string, address: string)
struct( name: “John”, childrenAges: bag (1,1,2,2))
Select-From-Where in OQL
(simple) Example:
SELECT s.name
FROM Movies m, m.stars s
WHERE m.title = “Sleepless in Seattle”
Other Features of OQL
• Ordering of the results
ORDER BY m.title, m.year.
• Subqueries wherever a collection is appropriate.
• Quantifier expressions:
• FOR ALL x IN S : C(x)
• EXISTS x IN S:C(x)
• Aggregation, grouping and HAVING clauses.
• Set operators: UNION, INTERSECT, EXCEPT (different if
operating on bags or sets).
• Remove duplicates: SELECT DISTINCT.
Object oriented database layers
architecture model
This section describes the layers architecture
in object oriented databases. Data are transfer
from database server to client, which passes
through six layers. These six layers have
different responsibility do as per requirement.
The fig 1.1 shows the six layer architecture
model for object oriented data model.
These layers are…..
• Interaction layer
• Application layer
• Administration Layer
• Security layer
• Virtual layer
• Paging layer
……
Interaction layer
• The interaction layer is first layer of Six Layers
Architecture Model for Object Oriented
Databases.
• In this layer, user can interact with the
databases.
• The user can send the data to databases as
well as data can be retrieved from database to
user.
Application layer
• The application is the second layer in this
model.
Administrative layer
• This layer is responsible for management of
administrative information.
• This layer can change responsibility as per
requirement.
• strict requirements of the quality system impose
complex data as well as document workflows.
• The success in preserving complex structures like
databases depends crucially on the amount of
information that is lost in the process.
• In this model Administration layer control the flow of
data as well as provide the permission to access the
data.
Security layer
• The security layer play important role in this
model.
• The security layer is responsible to provide the
full security to data and also provide to the
security of application used to manage the data
also.
• This layer can provide the authentication to the
uses as well as the authentication to databases
administrators.
• All the security concerned is considered in this
layer. Who can use what type of data.
Virtual layer
• The main advantage in this approach is that the
memory requirement of each slice processor is very
small and is independent of input size.
• In this model the virtual layer manage the data
virtually.
• This time the large volume of data are managed.
• The concept of virtual is to put the data outside the
memory.
• As per the requirement the data are converted in real
memory.
• In this ways, the problem to manage large data is
solved.
Paging layer
• The paging layer is responsible to divide the
data in the form of pages.
• The pages are managed easily.
• The data are divided into pages as the same
size of page frame; the page frame is that
dividing memory in equal number of
partitions.
• In this way large volume of data can be
managed efficiently.
Disadvantages of OODBMS
• Lack of experience-not easy for an end user.
We need programmers to interact.
• Competition-object relational DBMS
(ORDBMS) are much more easier to use and
capable of providing object facility to the end
user.
Looking at the object level may
impact the performance
• Complexity- OODBMS concept
implementation is complex.
• Lack of support of views- no support for views
manipulation.
• Lack of support for security
• Poor performance
• Unable to support large scale systems
Thank you

More Related Content

What's hot

Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database SystemSulemang
 
Introduction to Object Oriented databases
Introduction to Object Oriented databasesIntroduction to Object Oriented databases
Introduction to Object Oriented databasesDr. C.V. Suresh Babu
 
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
 
10. XML in DBMS
10. XML in DBMS10. XML in DBMS
10. XML in DBMSkoolkampus
 
Distributed dbms architectures
Distributed dbms architecturesDistributed dbms architectures
Distributed dbms architecturesPooja Dixit
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management SystemAjay Jha
 
Mobile dbms
Mobile dbmsMobile dbms
Mobile dbmsTech_MX
 
Object relational and extended relational databases
Object relational and extended relational databasesObject relational and extended relational databases
Object relational and extended relational databasesSuhad Jihad
 
Data decomposition techniques
Data decomposition techniquesData decomposition techniques
Data decomposition techniquesMohamed Ramadan
 
Overview of Concurrency Control & Recovery in Distributed Databases
Overview of Concurrency Control & Recovery in Distributed DatabasesOverview of Concurrency Control & Recovery in Distributed Databases
Overview of Concurrency Control & Recovery in Distributed DatabasesMeghaj Mallick
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbmsmaryeem
 

What's hot (20)

View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
 
ORDBMS.pptx
ORDBMS.pptxORDBMS.pptx
ORDBMS.pptx
 
Distributed Database System
Distributed Database SystemDistributed Database System
Distributed Database System
 
Odbms concepts
Odbms conceptsOdbms concepts
Odbms concepts
 
Type constructor
Type constructorType constructor
Type constructor
 
Introduction to Object Oriented databases
Introduction to Object Oriented databasesIntroduction to Object Oriented databases
Introduction to Object Oriented databases
 
Active database
Active databaseActive database
Active database
 
Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)Object Relational Database Management System(ORDBMS)
Object Relational Database Management System(ORDBMS)
 
10. XML in DBMS
10. XML in DBMS10. XML in DBMS
10. XML in DBMS
 
Distributed dbms architectures
Distributed dbms architecturesDistributed dbms architectures
Distributed dbms architectures
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Mobile dbms
Mobile dbmsMobile dbms
Mobile dbms
 
Object relational and extended relational databases
Object relational and extended relational databasesObject relational and extended relational databases
Object relational and extended relational databases
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
 
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
Distributed DBMS - Unit 3 - Distributed DBMS ArchitectureDistributed DBMS - Unit 3 - Distributed DBMS Architecture
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
 
Temporal database
Temporal databaseTemporal database
Temporal database
 
Data decomposition techniques
Data decomposition techniquesData decomposition techniques
Data decomposition techniques
 
Overview of Concurrency Control & Recovery in Distributed Databases
Overview of Concurrency Control & Recovery in Distributed DatabasesOverview of Concurrency Control & Recovery in Distributed Databases
Overview of Concurrency Control & Recovery in Distributed Databases
 
Ordbms
OrdbmsOrdbms
Ordbms
 
Object Oriented Dbms
Object Oriented DbmsObject Oriented Dbms
Object Oriented Dbms
 

Viewers also liked

Maqueta d’una casa domòtica
Maqueta d’una casa domòticaMaqueta d’una casa domòtica
Maqueta d’una casa domòticajacquesmarti
 
Maleta viatgera de lectura Paula
Maleta viatgera de lectura PaulaMaleta viatgera de lectura Paula
Maleta viatgera de lectura PaulaAraceli Arias Roy
 
(2017 03-09)micosis cutaneas superficiales(doc)
(2017 03-09)micosis cutaneas superficiales(doc)(2017 03-09)micosis cutaneas superficiales(doc)
(2017 03-09)micosis cutaneas superficiales(doc)UDMAFyC SECTOR ZARAGOZA II
 
Microsoft Summit 2014 Bucharest - Internet of Things - Device Side
Microsoft Summit 2014 Bucharest - Internet of Things - Device SideMicrosoft Summit 2014 Bucharest - Internet of Things - Device Side
Microsoft Summit 2014 Bucharest - Internet of Things - Device SideCatalin Gheorghiu
 
’La descentralización de la materia ambiental’’
’La descentralización de la materia ambiental’’’La descentralización de la materia ambiental’’
’La descentralización de la materia ambiental’’isabeltrejo44
 
Actividad no. 11 ecologia.
Actividad no. 11 ecologia.Actividad no. 11 ecologia.
Actividad no. 11 ecologia.isabeltrejo44
 
8 ordinary sunday year a
8 ordinary sunday  year a8 ordinary sunday  year a
8 ordinary sunday year achuyen tran
 
Using Pinterest in Undergraduate Social Work Education
Using Pinterest in Undergraduate Social Work EducationUsing Pinterest in Undergraduate Social Work Education
Using Pinterest in Undergraduate Social Work EducationLaurel Hitchcock
 
Arquitectura del eclecticismo
Arquitectura del eclecticismoArquitectura del eclecticismo
Arquitectura del eclecticismoguillencindy
 
Industrial Internet of Things -- Microsoft DC Azure Meetup
Industrial Internet of Things -- Microsoft DC Azure MeetupIndustrial Internet of Things -- Microsoft DC Azure Meetup
Industrial Internet of Things -- Microsoft DC Azure MeetupStephen Bates
 
Mobile Database
Mobile DatabaseMobile Database
Mobile DatabaseThanh Le
 
Mobile Database ,alrazgi
Mobile Database ,alrazgiMobile Database ,alrazgi
Mobile Database ,alrazgialrazgi
 
Webinar com Demo ao Vivo: SonicWall Security Solutions
Webinar com Demo ao Vivo: SonicWall Security SolutionsWebinar com Demo ao Vivo: SonicWall Security Solutions
Webinar com Demo ao Vivo: SonicWall Security SolutionsBravo Tecnologia
 

Viewers also liked (18)

Maqueta d’una casa domòtica
Maqueta d’una casa domòticaMaqueta d’una casa domòtica
Maqueta d’una casa domòtica
 
Maleta viatgera de lectura Paula
Maleta viatgera de lectura PaulaMaleta viatgera de lectura Paula
Maleta viatgera de lectura Paula
 
(2017 03-09)micosis cutaneas superficiales(doc)
(2017 03-09)micosis cutaneas superficiales(doc)(2017 03-09)micosis cutaneas superficiales(doc)
(2017 03-09)micosis cutaneas superficiales(doc)
 
Microsoft Summit 2014 Bucharest - Internet of Things - Device Side
Microsoft Summit 2014 Bucharest - Internet of Things - Device SideMicrosoft Summit 2014 Bucharest - Internet of Things - Device Side
Microsoft Summit 2014 Bucharest - Internet of Things - Device Side
 
’La descentralización de la materia ambiental’’
’La descentralización de la materia ambiental’’’La descentralización de la materia ambiental’’
’La descentralización de la materia ambiental’’
 
Tom pictorial bio FINAL
Tom pictorial bio FINALTom pictorial bio FINAL
Tom pictorial bio FINAL
 
Procesos psicologicos
Procesos psicologicosProcesos psicologicos
Procesos psicologicos
 
Actividad no. 11 ecologia.
Actividad no. 11 ecologia.Actividad no. 11 ecologia.
Actividad no. 11 ecologia.
 
8 ordinary sunday year a
8 ordinary sunday  year a8 ordinary sunday  year a
8 ordinary sunday year a
 
Using Pinterest in Undergraduate Social Work Education
Using Pinterest in Undergraduate Social Work EducationUsing Pinterest in Undergraduate Social Work Education
Using Pinterest in Undergraduate Social Work Education
 
Arquitectura del eclecticismo
Arquitectura del eclecticismoArquitectura del eclecticismo
Arquitectura del eclecticismo
 
The Industrial Internet of Things and RTI
The Industrial Internet of Things and RTIThe Industrial Internet of Things and RTI
The Industrial Internet of Things and RTI
 
Industrial Internet of Things -- Microsoft DC Azure Meetup
Industrial Internet of Things -- Microsoft DC Azure MeetupIndustrial Internet of Things -- Microsoft DC Azure Meetup
Industrial Internet of Things -- Microsoft DC Azure Meetup
 
Mobile Database
Mobile DatabaseMobile Database
Mobile Database
 
Cristian villa forero
Cristian villa foreroCristian villa forero
Cristian villa forero
 
Mobile Database ,alrazgi
Mobile Database ,alrazgiMobile Database ,alrazgi
Mobile Database ,alrazgi
 
Webinar com Demo ao Vivo: SonicWall Security Solutions
Webinar com Demo ao Vivo: SonicWall Security SolutionsWebinar com Demo ao Vivo: SonicWall Security Solutions
Webinar com Demo ao Vivo: SonicWall Security Solutions
 
Temporal database
Temporal databaseTemporal database
Temporal database
 

Similar to PPL, OQL & oodbms

UNIT 5- Other Databases.pdf
UNIT 5- Other Databases.pdfUNIT 5- Other Databases.pdf
UNIT 5- Other Databases.pdfShitalGhotekar
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdfTOUSEEQHAIDER14
 
Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)Vijayananda Ratnam Ch
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
Enterprise Software Development Patterns
Enterprise Software Development PatternsEnterprise Software Development Patterns
Enterprise Software Development PatternsJosh Lane
 
Ch-11 Relational Databases.pptx
Ch-11 Relational Databases.pptxCh-11 Relational Databases.pptx
Ch-11 Relational Databases.pptxShadowDawg
 
Adbms 1 object oriented modeling
Adbms 1 object oriented modelingAdbms 1 object oriented modeling
Adbms 1 object oriented modelingVaibhav Khanna
 
SpringPeople - Introduction to Cloud Computing
SpringPeople - Introduction to Cloud ComputingSpringPeople - Introduction to Cloud Computing
SpringPeople - Introduction to Cloud ComputingSpringPeople
 

Similar to PPL, OQL & oodbms (20)

unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
Mis assignment (database)
Mis assignment (database)Mis assignment (database)
Mis assignment (database)
 
6846222.pdf
6846222.pdf6846222.pdf
6846222.pdf
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
UNIT 5- Other Databases.pdf
UNIT 5- Other Databases.pdfUNIT 5- Other Databases.pdf
UNIT 5- Other Databases.pdf
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
 
CPP19 - Revision
CPP19 - RevisionCPP19 - Revision
CPP19 - Revision
 
SQL- Introduction to SQL database
SQL- Introduction to SQL database SQL- Introduction to SQL database
SQL- Introduction to SQL database
 
dbms introduction.pptx
dbms introduction.pptxdbms introduction.pptx
dbms introduction.pptx
 
01-Database Administration and Management.pdf
01-Database Administration and Management.pdf01-Database Administration and Management.pdf
01-Database Administration and Management.pdf
 
Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Enterprise Software Development Patterns
Enterprise Software Development PatternsEnterprise Software Development Patterns
Enterprise Software Development Patterns
 
Ch-11 Relational Databases.pptx
Ch-11 Relational Databases.pptxCh-11 Relational Databases.pptx
Ch-11 Relational Databases.pptx
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
Adbms 1 object oriented modeling
Adbms 1 object oriented modelingAdbms 1 object oriented modeling
Adbms 1 object oriented modeling
 
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
SpringPeople - Introduction to Cloud Computing
SpringPeople - Introduction to Cloud ComputingSpringPeople - Introduction to Cloud Computing
SpringPeople - Introduction to Cloud Computing
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
 

Recently uploaded

kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxchumtiyababu
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 

Recently uploaded (20)

kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 

PPL, OQL & oodbms

  • 1. Persistent programming language & OQL & OODBMS - Ramandeep kaur brar -M.tech 2nd sem -16003
  • 2.
  • 3.
  • 4. Overview of OQL • OQL is an object database query language. • OQL is being used as an embedded query language. • OQL can also be used as a stand-along query language.
  • 5. Overview of OQL • OQL is based on SQL. Many queries in SQL are also valid in OQL. • OQL also extends SQL to deal with object- oriented notion. • The supporting languages are small talk, C++ and java. • OQL can also invoke operations programmed in these language.
  • 6. OQL: Object Query Language SELECT can construct new objects, arbitrary structures FROM tuple variables can range over any collection; may have sub queries. WHERE pretty much the same as in SQL
  • 7. Types in OQL Declaring types for objects Basic types: Atomic types (e.g., string, integer, …) Enumeration types (Monday, Tuesday, Wednesday….) Constructors: can be applied without limitations. Set: (1, 5, 6) Bag: (1, 1, 5, 6, 6 ) List: (1, 5, 6, 1, 6 ) Array: Integer[17] Struct: (name: string, address: string) struct( name: “John”, childrenAges: bag (1,1,2,2))
  • 8. Select-From-Where in OQL (simple) Example: SELECT s.name FROM Movies m, m.stars s WHERE m.title = “Sleepless in Seattle”
  • 9. Other Features of OQL • Ordering of the results ORDER BY m.title, m.year. • Subqueries wherever a collection is appropriate. • Quantifier expressions: • FOR ALL x IN S : C(x) • EXISTS x IN S:C(x) • Aggregation, grouping and HAVING clauses. • Set operators: UNION, INTERSECT, EXCEPT (different if operating on bags or sets). • Remove duplicates: SELECT DISTINCT.
  • 10. Object oriented database layers architecture model This section describes the layers architecture in object oriented databases. Data are transfer from database server to client, which passes through six layers. These six layers have different responsibility do as per requirement. The fig 1.1 shows the six layer architecture model for object oriented data model.
  • 11. These layers are….. • Interaction layer • Application layer • Administration Layer • Security layer • Virtual layer • Paging layer
  • 13. Interaction layer • The interaction layer is first layer of Six Layers Architecture Model for Object Oriented Databases. • In this layer, user can interact with the databases. • The user can send the data to databases as well as data can be retrieved from database to user.
  • 14. Application layer • The application is the second layer in this model.
  • 15. Administrative layer • This layer is responsible for management of administrative information. • This layer can change responsibility as per requirement. • strict requirements of the quality system impose complex data as well as document workflows. • The success in preserving complex structures like databases depends crucially on the amount of information that is lost in the process. • In this model Administration layer control the flow of data as well as provide the permission to access the data.
  • 16. Security layer • The security layer play important role in this model. • The security layer is responsible to provide the full security to data and also provide to the security of application used to manage the data also. • This layer can provide the authentication to the uses as well as the authentication to databases administrators. • All the security concerned is considered in this layer. Who can use what type of data.
  • 17. Virtual layer • The main advantage in this approach is that the memory requirement of each slice processor is very small and is independent of input size. • In this model the virtual layer manage the data virtually. • This time the large volume of data are managed. • The concept of virtual is to put the data outside the memory. • As per the requirement the data are converted in real memory. • In this ways, the problem to manage large data is solved.
  • 18. Paging layer • The paging layer is responsible to divide the data in the form of pages. • The pages are managed easily. • The data are divided into pages as the same size of page frame; the page frame is that dividing memory in equal number of partitions. • In this way large volume of data can be managed efficiently.
  • 19. Disadvantages of OODBMS • Lack of experience-not easy for an end user. We need programmers to interact. • Competition-object relational DBMS (ORDBMS) are much more easier to use and capable of providing object facility to the end user.
  • 20. Looking at the object level may impact the performance • Complexity- OODBMS concept implementation is complex. • Lack of support of views- no support for views manipulation. • Lack of support for security • Poor performance • Unable to support large scale systems