SlideShare a Scribd company logo
Introduction to Persistency and Berkeley DB Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of Hawaii
Data Model: Hierarchical Tree of nodes and subnodes "Cousins" have same structure Limited data access language (traversal) Data model for XML
Data Model: Relational Set of tables containing fields Limited columns, unlimited rows Primary, secondary keys for access Powerful data access language
Data model: Object Similar to hierarchical no limitation on node structure. Nodes can contain methods to guide retrieval.
Data Model: NoSQL Generic term for all non-relational DBs key-value stores, document DBs, etc. A rejection of the RDBMS "orthodoxy" Examples:  Google's BigTable, CouchDB
Object-relational  "impedance mismatch" A primary difficulty with relational DBs How to map table-based data to objects? Issues:  Objects nested, tables flat Objects traversed, tables searched Conversion back and forth Approaches: ORM (Object-relational mapping) frameworks Object databases
Client-server vs. embedded Client-server: Database runs in one process Supports multiple connections Relatively complicated to set up, administer. Embedded: Database runs "within" the client. Only one client connects to DB. Relatively simple to set up,  administer.
How to choose? Beyond the scope of this lecture! Take ICS 321 Talk to ICS Professor Lipyeow Lim
BerkeleyDB Open source, embedded, object-oriented, key-value, non-relational, highly concurrent, transactional, high performance, cross-platform Benefits for us: Easy to set up and use. No impedance mismatch. High performance Constraints: Embedded No use of SQL language
On to the demo

More Related Content

PPT
Linking library data
PDF
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
PPTX
Data(base) taxonomy
PPTX
Open edudatawrangling
PDF
Build Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
PPTX
Semantic Web (Web 3.0)
PDF
Ontologies and semantic web
PDF
Analysing Structured Scholarly Data Embedded in Web Pages
Linking library data
EC-WEB: Validator and Preview for the JobPosting Data Model of Schema.org
Data(base) taxonomy
Open edudatawrangling
Build Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Semantic Web (Web 3.0)
Ontologies and semantic web
Analysing Structured Scholarly Data Embedded in Web Pages

What's hot (20)

PPT
Folksonomies: a bottom-up social categorization system
ODP
RDF and the Semantic Web -- Joanna Pszenicyn
PDF
Week10
PDF
co:op-READ-Convention Marburg - Basilis Gatos
PPT
Lectio Praecursoria: Search Interfaces on the Web: Querying and Characterizin...
ODP
PPTX
Linked data-tooling-xml
PDF
Linked data tooling XML
PDF
RDF and Java
PPTX
How to build a data dictionary
PDF
Scalable and privacy-preserving data integration - part 1
PPTX
Improvement of no sql technology for relational databases v2
PPTX
Dspace OAI-PMH
PDF
Knowledge Patterns for the Web: extraction, transformation, and reuse
PPTX
Databases and its representation
PDF
PPT
Intro databases (Table, Record, Field)
PPTX
Reading Group: From Database to Dataspaces
PDF
Type of Database Management System
Folksonomies: a bottom-up social categorization system
RDF and the Semantic Web -- Joanna Pszenicyn
Week10
co:op-READ-Convention Marburg - Basilis Gatos
Lectio Praecursoria: Search Interfaces on the Web: Querying and Characterizin...
Linked data-tooling-xml
Linked data tooling XML
RDF and Java
How to build a data dictionary
Scalable and privacy-preserving data integration - part 1
Improvement of no sql technology for relational databases v2
Dspace OAI-PMH
Knowledge Patterns for the Web: extraction, transformation, and reuse
Databases and its representation
Intro databases (Table, Record, Field)
Reading Group: From Database to Dataspaces
Type of Database Management System
Ad

Similar to Introduction to persistency and Berkeley DB (20)

PPT
Dbms Lec Uog 02
PPTX
Dbms classification according to data models
PPTX
Presentation1
PDF
Introduction to NoSQL
PPTX
NoSQL and MapReduce
PPTX
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
PDF
No sql databases
DOCX
data base system to new data science lerne
PPTX
NOSQL Databases types and Uses
PPT
NoSQL Databases
PPTX
Unit-10.pptx
PPTX
lecture5 (1) (2).pptx
PPTX
Lecture 2-DATABASE MODELS lecture 2.pptx
PPTX
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
PPTX
Presentation
PPTX
kfddnloiujhfsgklllmnbfhigldktktktkykydlhjjclj
PDF
Introduction to Database Management Systems: Structure, Applications, and Key...
PPTX
NO SQL Databases, Big Data and the cloud
PPTX
PPTX
assignment and database algorithmno 4.pptx
Dbms Lec Uog 02
Dbms classification according to data models
Presentation1
Introduction to NoSQL
NoSQL and MapReduce
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
No sql databases
data base system to new data science lerne
NOSQL Databases types and Uses
NoSQL Databases
Unit-10.pptx
lecture5 (1) (2).pptx
Lecture 2-DATABASE MODELS lecture 2.pptx
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
Presentation
kfddnloiujhfsgklllmnbfhigldktktktkykydlhjjclj
Introduction to Database Management Systems: Structure, Applications, and Key...
NO SQL Databases, Big Data and the cloud
assignment and database algorithmno 4.pptx
Ad

More from Philip Johnson (20)

PPTX
Kukui Cup 2012 Energy Data
PPTX
Introduction to ICS 691: Software Engineering for the Smart Grid
PPTX
Kukui Cup 2012 Organizing Committee February Meeting
PPTX
How to plan a Kukui Cup
PPT
Honors thesis overview: Katie Amberg-Johnson
PPT
Introduction to Issue Driven Project Management
PPT
Introduction to continuous integration
PPT
Introduction to WattDepot
PPT
Introduction to Subversion and Google Project Hosting
PPT
Introduction to Version Control and Configuration Management
PPT
A beginners guide to testing
PPT
Introduction to automated quality assurance
PPT
Introduction to Software Build Technology
PPT
Introduction to Software Review
PPT
Introduction to Robocode
PPT
Codings Standards
PPT
Interactive Development Environments
PPT
Introduction to Intermediate Java
PPT
Professional Persona
PPT
01.intro
Kukui Cup 2012 Energy Data
Introduction to ICS 691: Software Engineering for the Smart Grid
Kukui Cup 2012 Organizing Committee February Meeting
How to plan a Kukui Cup
Honors thesis overview: Katie Amberg-Johnson
Introduction to Issue Driven Project Management
Introduction to continuous integration
Introduction to WattDepot
Introduction to Subversion and Google Project Hosting
Introduction to Version Control and Configuration Management
A beginners guide to testing
Introduction to automated quality assurance
Introduction to Software Build Technology
Introduction to Software Review
Introduction to Robocode
Codings Standards
Interactive Development Environments
Introduction to Intermediate Java
Professional Persona
01.intro

Recently uploaded (20)

PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Classroom Observation Tools for Teachers
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Institutional Correction lecture only . . .
PPTX
Cell Types and Its function , kingdom of life
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
master seminar digital applications in india
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Cell Structure & Organelles in detailed.
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
O7-L3 Supply Chain Operations - ICLT Program
102 student loan defaulters named and shamed – Is someone you know on the list?
Classroom Observation Tools for Teachers
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
STATICS OF THE RIGID BODIES Hibbelers.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Institutional Correction lecture only . . .
Cell Types and Its function , kingdom of life
01-Introduction-to-Information-Management.pdf
Pharma ospi slides which help in ospi learning
master seminar digital applications in india
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Cell Structure & Organelles in detailed.
A systematic review of self-coping strategies used by university students to ...
Module 4: Burden of Disease Tutorial Slides S2 2025
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Microbial disease of the cardiovascular and lymphatic systems
O7-L3 Supply Chain Operations - ICLT Program

Introduction to persistency and Berkeley DB

  • 1. Introduction to Persistency and Berkeley DB Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of Hawaii
  • 2. Data Model: Hierarchical Tree of nodes and subnodes "Cousins" have same structure Limited data access language (traversal) Data model for XML
  • 3. Data Model: Relational Set of tables containing fields Limited columns, unlimited rows Primary, secondary keys for access Powerful data access language
  • 4. Data model: Object Similar to hierarchical no limitation on node structure. Nodes can contain methods to guide retrieval.
  • 5. Data Model: NoSQL Generic term for all non-relational DBs key-value stores, document DBs, etc. A rejection of the RDBMS "orthodoxy" Examples: Google's BigTable, CouchDB
  • 6. Object-relational "impedance mismatch" A primary difficulty with relational DBs How to map table-based data to objects? Issues: Objects nested, tables flat Objects traversed, tables searched Conversion back and forth Approaches: ORM (Object-relational mapping) frameworks Object databases
  • 7. Client-server vs. embedded Client-server: Database runs in one process Supports multiple connections Relatively complicated to set up, administer. Embedded: Database runs "within" the client. Only one client connects to DB. Relatively simple to set up, administer.
  • 8. How to choose? Beyond the scope of this lecture! Take ICS 321 Talk to ICS Professor Lipyeow Lim
  • 9. BerkeleyDB Open source, embedded, object-oriented, key-value, non-relational, highly concurrent, transactional, high performance, cross-platform Benefits for us: Easy to set up and use. No impedance mismatch. High performance Constraints: Embedded No use of SQL language
  • 10. On to the demo