Introduction to database management systems

anilkumarb48 0 views 18 slides Oct 14, 2025
Slide 1
Slide 1 of 18
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18

About This Presentation

Introduction to Databases: Definition of Data, Database, and DBMS, Overview of Database Applications, Advantages and Disadvantages of DBMS, Roles of Database Users and Administrators


Slide Content

DATABASE MANAGEMENT SYSTEM Unit - I

Database An organized collection of related data Stored and accessed electronically It is designed to efficiently manage, retrieve, and update data for various applications DBMS is the software that manages the database

Types of Database Users Database Administrators Database Designers Application Developers End Users Naive or Parametric Users Casual Users Sophisticated Users Standalone Users

Characteristics of the Database Approach Self-Describing Nature of a Database System Support for Multiple Views of Data Data Sharing and Multiuser Transaction Processing Centralized Data Management Controlled Redundancy Data Integrity Data Independence

Reduced Data Redundancy Improved Data Consistency Better Data Sharing Enhanced Data Security Data Integrity Enforcement Backup and Recovery Efficient Query Processing Multi-User Access and Concurrency Control Advantages of Using the DBMS Approach

Increased Cost Complexity Performance Frequency Upgrade/Replacement Cycles Damaged Part  Security Integrity Problems Disadvantages of DBMS

Importance of Data Models in DBMS Organized and Structured Data Ensuring Data Integrity and Consistency Facilitating Database Design and Development Enhancing Data Quality and Accuracy Optimizing Performance and Efficiency Scalability and Maintainability Supporting Informed Decision-Making

Introduction of ER Model

Keys Primary Key - Uniquely identifies each row in a table Must be unique. Cannot be NULL. One primary key per table . CREATE TABLE DEPARTMENT ( DeptID INT PRIMARY KEY , DeptName VARCHAR(50) );

Foreign Key Column (or set of columns) in one table that refers to the primary key in another table. It is used to create relationships between two tables. CREATE TABLE STUDENT ( StudentID INT PRIMARY KEY, Name VARCHAR(50), DeptID INT, FOREIGN KEY ( DeptID ) REFERENCES DEPARTMENT( DeptID ) );

Candidate Key column that can qualify as a primary key. A table can have multiple candidate keys. One is chosen as the primary key, and others remain as candidate keys. UNIQUE (Email),

Super Key A super key is any combination of columns that can uniquely identify a row in a table.

Composite Key A Composite Key is a primary key made up of two or more columns. It is used when no single column is unique by itself, but the combination of columns uniquely identifies each row. PRIMARY KEY ( StudentID , CourseID )

Alternate Key Unique Key Surrogate Key

Strong & Weak Entity Sets Strong entities have unique keys based on their own attributes While weak entities rely on relationships with other entities for unique identification
Tags