DBMS Unit -1 - Part-1
DBMS Unit -1 - Part-1
Unit -1 Part-1
DATABASE MANAGEMENT
SYSTEMS
By B. Lokesh Joel
Unit-1:
• Database System Applications: ▪ Introduction to Database Design:
• A Historical Perspective, – Database Design and ER Diagrams,
Definition: Purpose:
DBMS is a system for managing ❑ Efficiently store and retrieve information.
interrelated data and a set of programs ❑ Manage large-scale data securely and prevent
to access that data. unauthorized access.
❑ Avoid anomalies when multiple users access
the database simultaneously.
Structured vs. Complex Data
▪ Structured Data:
– Example: University databases (courses, students, registrations).
– Fixed format and standard organization.
▪ Complex Data:
– Example: Social networks (posts, images, videos, links).
– Varying structure and formats.
Applications of Database Systems
▪ Enterprise Information: ▪ Airlines:
– Reservations, schedules, geographically distributed
– Sales: Customer, product, and purchase data. databases.
– Accounting: Payments, balances, and assets.
▪ Telecommunication:
– HR: Employee records, salaries, and payroll.
– Call records, data usage, bills, and network data.
▪ Manufacturing:
▪ Web-Based Services:
– Supply chain and inventory tracking.
– Social Media: User profiles, posts, likes.
▪ Banking and Finance:
▪ Online Retailers: Purchase history, recommendations.
– Banking: Accounts, loans, and transactions.
– Credit Card: Transactions and statements. ▪ Online Ads: Click history for targeted marketing.
– Finance: Market data for trading. ▪ Other Examples:
▪ Education: – Document databases: Articles, patents, research papers.
– Student records, course registrations, grades. – Navigation systems: Routes, transportation data.
Historical Perspective
▪ 1. Early Developments (1960s) ▪ 2. Relational Model Revolution (1970s)
– Integrated Data Store:
• First general-purpose DBMS by Charles – Relational Data Model:
Bachman at General Electric. • Proposed by Edgar Codd at IBM.
• Introduced the Network Data Model.
• Simplified data organization and retrieval.
• Bachman received the ACM Turing Award
(1973) for his contributions. • Sparked the development of relational DBMSs.
– IMS DBMS: • Codd won the 1981 Turing Award for this work.
• Developed by IBM, based on the Hierarchical
Data Model. – SQL (Structured Query Language):
• Still used in large systems today. • Introduced by IBM's System R Project.
– SABRE System: • Became the standard query language for relational
• Created by American Airlines and IBM for databases.
real-time airline reservations.
• Enabled multiple users to access data • Standardized by ANSI and ISO in the late 1980s.
simultaneously.
• Powers modern travel platforms like
Travelocity.
Historical Perspective (cont..)
▪ 3. Advancements in the 1980s and 1990s ▪ 4. DBMS in the Internet Age
– Dominance of Relational Databases: – Web Integration:
• Transition from file-based systems to DBMS for web applications.
• Relational DBMSs became the standard for
corporate data management. • Websites now store data in DBMS, making it accessible via browsers.
– Relationships:
• Dept Name in the Instructor table must match the Department table.
• Indexes: Used for fast data retrieval. • Allocating and deallocating pages.
▪ Query Execution:
– A user issues a query
(e.g., SELECT * FROM Students WHERE age > 20).
– The query is parsed, optimized, and an execution plan is generated.
– Relational operators retrieve data via file and access methods.
– The buffer manager fetches necessary pages from disk into memory.
▪ Concurrency Management:
– Multiple users accessing the same table are coordinated using locks.
– Changes are logged for recovery in case of a crash.
Unit-1:
• Database System Applications: ▪ Introduction to Database Design:
• A Historical Perspective, – Database Design and ER Diagrams,
35