Unit I Introduction 3
Unit I Introduction 3
Reference: Fundamental of Database Systems. R. Elmasri, S.B. Navathe, Pearson Education, Seventh edition
Data Models
Models Document-based:
Based on JSON (Java Script Object Notation)
Stores data as documents (represents objects)
MangoDB data model
Graph-based:
Collection of vertices (nodes) and edges
Stores objects as graph nodes and
relationships among objects as directed graph
edges
Neo4j, open source system, implemented in
Java
Big data systems/ key-value storage systems/
NOSQL systems
Reference: Fundamental of Database Systems. R. Elmasri, S.B. Navathe, Pearson Education, Sixth Edition
Hierarchical data model
Reference: Fundamental of Database Systems. R. Elmasri, S.B. Navathe, Pearson Education, Sixth Edition
Three tier architecture/ Client server
architecture
Reference: Fundamental of Database Systems. R. Elmasri, S.B. Navathe, Pearson Education, Sixth Edition
DBMS Languages
Data Definition
Language
DDL
Data
Manipulation
Language (DML)
DBMS Languages (contd.)
Storage Definition
Language (SDL)
Data Definition
Language
(DDL)
View definition
Language (VDL)
DBMS Languages
High
level/Nonprocedural
Data Manipulation Language DML
Language
(DML) Low-level/
Procedural
Language DML
DBMS Languages (contd.)
Grant
Data Control
Language
DCL
Revoke
DBMS Languages
Commit
Transaction
Control Language
TCL
Rollback
Database Languages (contd.)
• DML Commands
➢SELECT
➢INSERT
➢UPDATE
➢DELETE
DBMS Languages (contd.)
Data Control Language (DCL)
• TCL Commands:
➢COMMIT: Saves the transaction
➢ROLLBACK: Restores the database to original
➢SET TRANSACTION: Specify the characteristics for the
transaction
Transaction management
Restricting
Providing multiple
unauthorized
user interfaces
access
Representing
complex Providing backup
relationships and recovery
among data
Limitations of DBMS
High initial investment in hardware,
software and training
Overhead costs