DBMS
DataBase Management System
Unit 1 Introduction
Unit 2 Relational Data Model
Unit 3 Database Design and Normalisation
Unit 4 Transaction Processing Unit
Unit 5 Concurrency Control Techniques
Unit 1 Introduction
What is DBMS?
Software used to manage database
Example, MySQL & Oracle (Commercial DB)
Provides interface to perform operations like:
Creation of Database
Storage of Data
Updation of Data
Creation of table in Database
Provides protection and security to DB
Maintains data consistency (in case fo multiple users)
Tasks Allowed using DBMS
Data Definition:
Creation, modification, removal of DB objects
Data Updation:
Data Retrieval:
User Administration:
Advantages of DBMS
Database Redundancy:
Data Sharing:
Easy Maintenance:
Time Reduction
Backup
Multiple User Interface:
Disadvantages of DBMS
Cost of h/w & s/w:
Size:
Complexity:
Higher impact of failure:
DB Users: Use and take benefits of DB
Types of DB Users
Application Programmers:
Sophisticated Users:
Specialized Users:
**
Super vs Candidate vs Primary Key
Super Key
Candidate Key
Primary Key
Attribute
Minimal set of super key
Minimal set of attributes that uniquely identifies rows in a relation
Can be null
Can be null
Cannot be null
Generalisation
Process of combination of 2 lower level entities to form higher level entity
Bottom up approach
Used to emphasise similarities among lower level entity sets & to hide the differences
Specialization
Aggregation
Unit 2 Relational Data Model
Relational Model
Collection of Conceptual tool For describing data, data relationships, data semantics and consistency constraints.
Primary data model for commercial data processing applications.
uses collection of tables to represent both data and the relationships among those data.
Each table has multiple columns and each column has a unique name.
Unit 3 Database Design and Normalisation
Unit 4 Transaction Processing Unit
Unit 5 Concurrency Control Techniques
Oracle
SQL Plus
Front end tools for Oracle
Looks similar to DOS
White background like Notepad
Allows typing in our statements
SQL Net
SQL Loader