ahmadfawadazizi1979
0 views
17 slides
Oct 13, 2025
Slide 1 of 17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
About This Presentation
Fundamentals Of Database
Size: 115.15 KB
Language: en
Added: Oct 13, 2025
Slides: 17 pages
Slide Content
Afghanistan International Online Academy Computer Science Faculty CS Department Database Fundamentals Instructor: Ahmad Fawad Azizi
Chapter 1: Database Concept 'Database Fundamentals ' (Afghanistan International Online Academy ) Prepared by Ahmad Fawad Azizi
Learning Objectives - Define what a Database is - Explain why databases are used - Describe Database Systems and DBMS - Compare Database Management Systems (DBMS) and File Management Systems (FMS) - Identify components and users of a database system
Introduction to Databases A database is an organized collection of related data stored and accessed electronically. It allows users to store, retrieve, and manage data efficiently. In early computing, data was stored in simple files, but as systems grew, databases became essential.
History of Databases - 1960s: Database concept introduced to manage large data volumes. - 1970: E.F. Codd proposed the Relational Model. - 1980s: Relational Database Systems became dominant. - 1990s: Object-oriented and distributed databases appeared. - 2000s+: XML, NoSQL, and cloud-based databases emerged.
Definition of Database Database (DB): A structured set of data held in a computer, especially one that is accessible in various ways. Example: A Student table with Name, Address, and Phone columns.
Why Use Databases? - To organize large amounts of data. - To allow multiple users to access data simultaneously. - To maintain data integrity and consistency. - To support complex queries and reporting. - To reduce redundancy compared to file-based systems.
Steps in Building a Database 1. Requirement Analysis 2. Logical Design 3. Physical Design 4. Implementation 5. Maintenance & Modification
Database System Components A Database System consists of: - Data: Raw facts stored in the database. - Hardware: Physical devices where data is stored. - Software: DBMS and supporting applications. - Users: Administrators, developers, and end-users.
Types of Database Users - Application Programmers: Write software using databases. - End Users: Access data through applications. - Database Administrators (DBA): Manage and control database systems.
Database Management System (DBMS) DBMS is software that allows users to define, create, maintain, and control access to the database. Examples: MySQL, Oracle, PostgreSQL, Microsoft SQL Server, MS Access.
Functions of DBMS - Data Definition - Data Storage and Retrieval - Data Update - Transaction Management - Concurrency and Security Control - Backup and Recovery
DBMS Architecture The DBMS acts as a bridge between the database and users/applications. It ensures data consistency, security, and concurrent access. It also provides query processing via SQL.
Comparison: File Management vs. Database Management File Management System (FMS): - Stores data in separate files. - No relationships between files. - Hard to manage and update. Database Management System (DBMS): - Stores data in related tables. - Supports relationships and queries. - Easier to maintain and secure.
Advantages of DBMS over FMS - Data Integrity - Data Sharing and Security - Reduced Redundancy - Easier Backup and Recovery - Support for Multi-user Environments
Disadvantages of DBMS - Higher Cost - Complexity of Learning - Requires Trained Personnel - Slower for Small Applications
Summary • Databases are essential for modern computing. • DBMS simplifies data management, improves accuracy and security. • Understanding database concepts is fundamental for software engineers and IT professionals.