SlideShare a Scribd company logo
Chapter 1: Introduction to Database
Systems
Fundamentals of Database Systems (CoSc2041)
Prepared by: Gebriye Embafresu
Computer Science Department
gebriye14@gmail.com
Oct 01, 2024
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Outline
• Define what is
– Data,
– Database
– Database Management System,
– and Database system
• Database System Applications
• Purpose of Database Systems
• Database system and file based approach
• Database users and Administrators
6-2
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
What is Data?
• The term data refers to known raw facts about
things like people, places, events and concepts.
• The word raw indicates that the facts have not yet
been processed to reveal their meaning.
• Data is any fact that can be recorded (or) stored into
a computer hard disk.
• there are various forms of data, like video, audio
image, graphics, text document,
• Data is raw , unprocessed fact.
6-3
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Information and Knowledge
• Information is the processed data presented in a form suitable for human
interpretation.
• Information is the result of processing raw data to reveal its meaning.
• Knowledge:
– The body of information and facts about a specific subject.
– Knowledge implies familiarity, awareness, and understanding of
information as it applies to an environment.
– A key characteristic is that new knowledge can be derived from old
knowledge.
6-4
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Database
• A database is an organized collection of interrelated data, generally stored
and accessed electronically from a computer system.
• It contains information relevant to an enterprise.
E.g.: Online Banking System, University website,
• Management of data involves both defining structures for storage of
information and providing mechanisms for the manipulation of information.
• The database is an important assets for many organizations.
• Database touch all aspects of our lives.
1-5
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Database (Cont.)
• The database is an integrated collection of facts about an organization.
• Organization can be a University or a department in a University , Insurance companies,
Manufacturing companies, Banks, Airlines, Telecommunications, Governmental and Non-
governmental Organizations, Research institutions ,etc.
• The database is used as a central data source for other applications
1-6
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Database Management System
• Database Management System is a program or software which is used to define,
construct, manipulate, share and retrieve the data in the database.
• A database management system (DBMS) is a collection of usually complex
pieces of software that allows a user to define, create, manipulate and protect and
manage access to a database.
• The primary goal of a DBMS is to provide a way to store and retrieve database
information that is both convenient and efficient.
1-7
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Database Management System
Functionalities:
•Define: Specifying the data type, structure, and constraints for the data to be stored.
•Construct: Process of storing data on some storage medium.
•Manipulate: Querying the database to retrieve specific data, updating database and generating
reports.
•Share: Allows multiple users and programs to access the database concurrently.
1-8
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Database Systems
• A database system is a collection of interrelated data and a
set of programs that allow users to access and modify these
data.
• Database systems are used to manage collections of data
that are:
– Highly valuable,
– Relatively large, and
– Accessed by multiple users and applications, often at the same time.
1-9
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Database Systems (Cont’d…)
• A modern database system is a complex software system whose
task is to manage a large, complex collection of data.
• The database system must ensure the safety of the information
stored, despite system crashes or attempts at unauthorized access.
• Database systems are ubiquitous today, and most people interact,
either directly or indirectly, with databases many times every day.
1-10
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Database Applications Examples
• Manufacturing: management of production, inventory, orders, supply
chain.
• Banking and finance
– customer information, accounts, loans, banking transactions, and
bank staff details.
– Credit card transactions
– Finance: sales and purchases of financial instruments (e.g.,
stocks and bonds; storing real-time market data
• Universities: registration of students, Store grades, transcripts,
academic progress, manage course offerings, schedules, and
prerequisites.
Here are some of the applications of database system
1-11
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Database Applications Examples (Cont.)
• Airlines: reservations and booking of ticket, manage flight
schedules, staff and passenger information, and real-time flight
update
• Telecommunication: keeping records of calls made, texts, and
data usage, generating monthly bills, maintaining balances on
prepaid calling cards
• Web-based services
– Online retailers: order tracking, customized recommendations
– Online advertisements
• Navigation systems: For maintaining the locations of varies places
of interest along with the exact routes of roads, train systems,
buses, etc.
1-12
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Purpose of Database Systems
• Data redundancy and inconsistency
– data is stored in multiple file formats resulting induplication of
information in different files
• Difficulty in accessing data
– Need to write a new program to carry out each new task
• Data isolation
– Multiple files and formats
• Integrity problems
– Integrity constraints (e.g., account balance > 0) become “buried” in
program code rather than being stated explicitly
– Hard to add new constraints or change existing ones
In the early days, database applications were built directly on top of file systems, which
leads to:
13
1-13
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Purpose of Database Systems (Cont.)
• Atomicity of updates
– Failures may leave database in an inconsistent state with partial updates carried
out
– Example: Transfer of funds from one account to another should either complete
or not happen at all
• Concurrent access by multiple users
– Concurrent access needed for performance
– Uncontrolled concurrent accesses can lead to inconsistencies
• Ex: Two people reading a balance (say 100) and updating it by withdrawing
money (say 50 each) at the same time
• Security problems
– Hard to provide user access to some, but not all, data
Database systems offer solutions to all the above problems
14
1-14
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Example University Database
• Mini-world for a University Database example: Part of a
UNIVERSITY environment.
• Some mini-world entities:
– STUDENTs
– PRE-REQUISITE COURSEs
– COURSEs
– DEPARTMENTs
– INSTRUCTORs
Note: The above could be expressed in the ENTITY-
RELATIONSHIP data model.
15
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
University Database Example
• Data consists of information about:
– Students
– Instructors
– Classes
• Application program examples:
– Add new students, instructors, and courses
– Register students for courses, and generate class
rosters
– Assign grades to students, compute grade point
averages (GPA) and generate transcripts
16
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Example University Database(Continued…)
• Some mini-world relationships:
– STUDENTs take COURSEs
– COURSEs have PRE-REQUISITE COURSEs
– INSTRUCTORs teach COURSEs
– COURSEs are offered by DEPARTMENTs
– STUDENTs major in DEPARTMENTs
17
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Example Relational Database Snapshot
18
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified 19
Evolution of Database Systems
• Two approaches to convert data to information:
– File-based
• Developed starting from 1960’s
• Stores, manipulates, retrieves data from large flat files
– Database (relational systems)
• Developed by E. F. Codd of IBM the early 1980's
• Widely used today
Evolution of
Database
Systems
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified 20
File-Based Approach
• A file is a collection of related information
• A system of files and collection of application programs
manipulating them is a file-based system
University
File-Based System
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified 21
Limitations of File-Based Approach
• Much efforts for ad hoc query answering:
– What is the average grade for Mr.Negacy’s student?
– List the activities for all students enrolled in CoSc2041.
– Which personnel are students as well as staff?
• Other limitations:
– Duplication of data
– Data dependency
– Slow development, high maintenance and fixed queries
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Database Users and Administrators
• A primary goal of a database system is to retrieve
information from and store new information in the
database.
• People who work with a database can be categorized as
– database users or
• Naïve users
• Application programmers
• Sophisticated users
– database administrators.
1-22
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
database users
• Naive users are unsophisticated users who
interact with the system by using predefined user
interfaces, such as web or mobile applications.
• The typical user interface for naive users is a forms
interface, where the user can fill in appropriate
fields of the form.
• Naive users may also view read reports generated
from the database.
1-23
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
database users
• Application programmers are computer professionals who
write application programs. Application programmers can
choose from many tools to develop user interfaces.
• Sophisticated users interact with the system without writing
programs. Instead, they form their requests either using a
database query language or by using tools such as data
analysis software.
• Analysts who submit queries to explore data in the
database fall in this category.
1-24
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Database Administrator
 Schema definition
 Storage structure and access-method definition
 Schema and physical-organization modification
 Granting of authorization for data access
 Routine maintenance
 Periodically backing up the database
 Ensuring that enough free disk space is available for normal
operations, and upgrading disk space as required
 Monitoring jobs running on the database
A person who has central control over the system is called a database administrator
(DBA). Responsibilities of a DBA include:
1-25
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Responsibilities of DBA
• Schema definition.
The DBA creates the original database schema by executing
a set of data definition statements in the DDL.
•Storage structure and access-method definition.
The DBA may specify some parameters pertaining to the
physical organization of the data and the indices to be created.
• Schema and physical-organization modification.
The DBA carries out changes to the schema and physical
organization to reflect the changing needs of the organization,
or to alter the physical organization to improve performance.
1-26
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Responsibilities of DBA (Cont’d.)
• Granting of authorization for data access.
By granting different types of authorization, the database administrator
can regulate which parts of the database various users can access.
The authorization information is kept in a special system structure that
the database system consults whenever a user tries to access the data
in the system.
1-27
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Responsibilities of DBA (Cont’d.)
• Routine maintenance.
Examples of the database administrator’s routine maintenance activities are:

Periodically backing up the database onto remote servers, to prevent loss of data in case of disasters such as
flooding.

Ensuring that enough free disk space is available for normal operations, and upgrading disk space as required.

Monitoring jobs running on the database and ensuring that performance is not degraded by very expensive
tasks submitted by some users.
1-28
© 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified
Fundamentals of Database Systems
End of Chapter Two !!!
Have a nice day!!
Never Stop Learning!
1-29
Ad

More Related Content

Similar to Database Management System Lecture SlideCh-1.ppt (20)

Introduction to BIG DATA
Introduction to BIG DATA Introduction to BIG DATA
Introduction to BIG DATA
Zeeshan Khan
 
Crafting highly scalable and performant Modern Data Platforms
Crafting highly scalable and performant Modern Data PlatformsCrafting highly scalable and performant Modern Data Platforms
Crafting highly scalable and performant Modern Data Platforms
Sameer Paradkar
 
Database Lecture Notes
Database Lecture NotesDatabase Lecture Notes
Database Lecture Notes
FellowBuddy.com
 
Overview of XSEDE Systems Engineering
Overview of XSEDE Systems EngineeringOverview of XSEDE Systems Engineering
Overview of XSEDE Systems Engineering
John Towns
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
M.Zalmai Rahmani
 
Database :Introduction to Database System
Database :Introduction to Database SystemDatabase :Introduction to Database System
Database :Introduction to Database System
ZakriyaMalik2
 
Database Management system : UNit I Helping to understand basics of dbms oper...
Database Management system : UNit I Helping to understand basics of dbms oper...Database Management system : UNit I Helping to understand basics of dbms oper...
Database Management system : UNit I Helping to understand basics of dbms oper...
SanthanalakshmiSelva2
 
RESUME 2016+ updated RDX
RESUME 2016+ updated RDXRESUME 2016+ updated RDX
RESUME 2016+ updated RDX
Roderick Hynson
 
Research methods group accelarating impact by sharing data
Research methods group  accelarating impact by sharing dataResearch methods group  accelarating impact by sharing data
Research methods group accelarating impact by sharing data
World Agroforestry (ICRAF)
 
2.1.2 Broad band network for engineering.pptx
2.1.2 Broad band network for engineering.pptx2.1.2 Broad band network for engineering.pptx
2.1.2 Broad band network for engineering.pptx
sakshamc18
 
bigdataintro.pptx
bigdataintro.pptxbigdataintro.pptx
bigdataintro.pptx
Albert Alex
 
Graham%2c+Julia
Graham%2c+JuliaGraham%2c+Julia
Graham%2c+Julia
Julia Graham
 
Dbms
DbmsDbms
Dbms
himanshusingh2191
 
2015 APHL Annual Meeting - Racing to the Clouds: How Cloud Computing is Advan...
2015 APHL Annual Meeting - Racing to the Clouds: How Cloud Computing is Advan...2015 APHL Annual Meeting - Racing to the Clouds: How Cloud Computing is Advan...
2015 APHL Annual Meeting - Racing to the Clouds: How Cloud Computing is Advan...
Eduardo Gonzalez Loumiet, MBA, PMP, CPHIMS
 
Competency framework: engineers, statisticians, data scientists, librarians, ...
Competency framework: engineers, statisticians, data scientists, librarians, ...Competency framework: engineers, statisticians, data scientists, librarians, ...
Competency framework: engineers, statisticians, data scientists, librarians, ...
African Open Science Platform
 
Information Storage and Management notes ssmeena
Information Storage and Management notes ssmeena Information Storage and Management notes ssmeena
Information Storage and Management notes ssmeena
ssmeena7
 
Database _Engineering_Presentation_chapter01.pptx
Database _Engineering_Presentation_chapter01.pptxDatabase _Engineering_Presentation_chapter01.pptx
Database _Engineering_Presentation_chapter01.pptx
fazlerabby04ruetcse
 
Changing the Curation Equation: A Data Lifecycle Approach to Lowering Costs a...
Changing the Curation Equation: A Data Lifecycle Approach to Lowering Costs a...Changing the Curation Equation: A Data Lifecycle Approach to Lowering Costs a...
Changing the Curation Equation: A Data Lifecycle Approach to Lowering Costs a...
SEAD
 
ISM Unit 1.pdf
ISM Unit 1.pdfISM Unit 1.pdf
ISM Unit 1.pdf
PriyanshuPatra1
 
Distributed_and_cloud_computing-unit-1.ppt
Distributed_and_cloud_computing-unit-1.pptDistributed_and_cloud_computing-unit-1.ppt
Distributed_and_cloud_computing-unit-1.ppt
lunalovegood66
 
Introduction to BIG DATA
Introduction to BIG DATA Introduction to BIG DATA
Introduction to BIG DATA
Zeeshan Khan
 
Crafting highly scalable and performant Modern Data Platforms
Crafting highly scalable and performant Modern Data PlatformsCrafting highly scalable and performant Modern Data Platforms
Crafting highly scalable and performant Modern Data Platforms
Sameer Paradkar
 
Overview of XSEDE Systems Engineering
Overview of XSEDE Systems EngineeringOverview of XSEDE Systems Engineering
Overview of XSEDE Systems Engineering
John Towns
 
Database :Introduction to Database System
Database :Introduction to Database SystemDatabase :Introduction to Database System
Database :Introduction to Database System
ZakriyaMalik2
 
Database Management system : UNit I Helping to understand basics of dbms oper...
Database Management system : UNit I Helping to understand basics of dbms oper...Database Management system : UNit I Helping to understand basics of dbms oper...
Database Management system : UNit I Helping to understand basics of dbms oper...
SanthanalakshmiSelva2
 
RESUME 2016+ updated RDX
RESUME 2016+ updated RDXRESUME 2016+ updated RDX
RESUME 2016+ updated RDX
Roderick Hynson
 
Research methods group accelarating impact by sharing data
Research methods group  accelarating impact by sharing dataResearch methods group  accelarating impact by sharing data
Research methods group accelarating impact by sharing data
World Agroforestry (ICRAF)
 
2.1.2 Broad band network for engineering.pptx
2.1.2 Broad band network for engineering.pptx2.1.2 Broad band network for engineering.pptx
2.1.2 Broad band network for engineering.pptx
sakshamc18
 
bigdataintro.pptx
bigdataintro.pptxbigdataintro.pptx
bigdataintro.pptx
Albert Alex
 
2015 APHL Annual Meeting - Racing to the Clouds: How Cloud Computing is Advan...
2015 APHL Annual Meeting - Racing to the Clouds: How Cloud Computing is Advan...2015 APHL Annual Meeting - Racing to the Clouds: How Cloud Computing is Advan...
2015 APHL Annual Meeting - Racing to the Clouds: How Cloud Computing is Advan...
Eduardo Gonzalez Loumiet, MBA, PMP, CPHIMS
 
Competency framework: engineers, statisticians, data scientists, librarians, ...
Competency framework: engineers, statisticians, data scientists, librarians, ...Competency framework: engineers, statisticians, data scientists, librarians, ...
Competency framework: engineers, statisticians, data scientists, librarians, ...
African Open Science Platform
 
Information Storage and Management notes ssmeena
Information Storage and Management notes ssmeena Information Storage and Management notes ssmeena
Information Storage and Management notes ssmeena
ssmeena7
 
Database _Engineering_Presentation_chapter01.pptx
Database _Engineering_Presentation_chapter01.pptxDatabase _Engineering_Presentation_chapter01.pptx
Database _Engineering_Presentation_chapter01.pptx
fazlerabby04ruetcse
 
Changing the Curation Equation: A Data Lifecycle Approach to Lowering Costs a...
Changing the Curation Equation: A Data Lifecycle Approach to Lowering Costs a...Changing the Curation Equation: A Data Lifecycle Approach to Lowering Costs a...
Changing the Curation Equation: A Data Lifecycle Approach to Lowering Costs a...
SEAD
 
Distributed_and_cloud_computing-unit-1.ppt
Distributed_and_cloud_computing-unit-1.pptDistributed_and_cloud_computing-unit-1.ppt
Distributed_and_cloud_computing-unit-1.ppt
lunalovegood66
 

Recently uploaded (20)

AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent LasterAI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
All Things Open
 
Unlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web AppsUnlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web Apps
Maximiliano Firtman
 
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and MLGyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
Gyrus AI
 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
 
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
CSUC - Consorci de Serveis Universitaris de Catalunya
 
How to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabberHow to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabber
eGrabber
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Wonjun Hwang
 
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
SOFTTECHHUB
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
Does Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should KnowDoes Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should Know
Pornify CC
 
Transcript: Canadian book publishing: Insights from the latest salary survey ...
Transcript: Canadian book publishing: Insights from the latest salary survey ...Transcript: Canadian book publishing: Insights from the latest salary survey ...
Transcript: Canadian book publishing: Insights from the latest salary survey ...
BookNet Canada
 
Agentic Automation - Delhi UiPath Community Meetup
Agentic Automation - Delhi UiPath Community MeetupAgentic Automation - Delhi UiPath Community Meetup
Agentic Automation - Delhi UiPath Community Meetup
Manoj Batra (1600 + Connections)
 
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Mike Mingos
 
Financial Services Technology Summit 2025
Financial Services Technology Summit 2025Financial Services Technology Summit 2025
Financial Services Technology Summit 2025
Ray Bugg
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
Q1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor PresentationQ1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor Presentation
Dropbox
 
Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)
Kaya Weers
 
Config 2025 presentation recap covering both days
Config 2025 presentation recap covering both daysConfig 2025 presentation recap covering both days
Config 2025 presentation recap covering both days
TrishAntoni1
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent LasterAI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
All Things Open
 
Unlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web AppsUnlocking Generative AI in your Web Apps
Unlocking Generative AI in your Web Apps
Maximiliano Firtman
 
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and MLGyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
Gyrus AI
 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
 
How to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabberHow to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabber
eGrabber
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Wonjun Hwang
 
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
SOFTTECHHUB
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
Does Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should KnowDoes Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should Know
Pornify CC
 
Transcript: Canadian book publishing: Insights from the latest salary survey ...
Transcript: Canadian book publishing: Insights from the latest salary survey ...Transcript: Canadian book publishing: Insights from the latest salary survey ...
Transcript: Canadian book publishing: Insights from the latest salary survey ...
BookNet Canada
 
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Mike Mingos
 
Financial Services Technology Summit 2025
Financial Services Technology Summit 2025Financial Services Technology Summit 2025
Financial Services Technology Summit 2025
Ray Bugg
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
Q1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor PresentationQ1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor Presentation
Dropbox
 
Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)
Kaya Weers
 
Config 2025 presentation recap covering both days
Config 2025 presentation recap covering both daysConfig 2025 presentation recap covering both days
Config 2025 presentation recap covering both days
TrishAntoni1
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Ad

Database Management System Lecture SlideCh-1.ppt

  • 1. Chapter 1: Introduction to Database Systems Fundamentals of Database Systems (CoSc2041) Prepared by: Gebriye Embafresu Computer Science Department gebriye14@gmail.com Oct 01, 2024
  • 2. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Outline • Define what is – Data, – Database – Database Management System, – and Database system • Database System Applications • Purpose of Database Systems • Database system and file based approach • Database users and Administrators 6-2
  • 3. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified What is Data? • The term data refers to known raw facts about things like people, places, events and concepts. • The word raw indicates that the facts have not yet been processed to reveal their meaning. • Data is any fact that can be recorded (or) stored into a computer hard disk. • there are various forms of data, like video, audio image, graphics, text document, • Data is raw , unprocessed fact. 6-3
  • 4. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Information and Knowledge • Information is the processed data presented in a form suitable for human interpretation. • Information is the result of processing raw data to reveal its meaning. • Knowledge: – The body of information and facts about a specific subject. – Knowledge implies familiarity, awareness, and understanding of information as it applies to an environment. – A key characteristic is that new knowledge can be derived from old knowledge. 6-4
  • 5. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Database • A database is an organized collection of interrelated data, generally stored and accessed electronically from a computer system. • It contains information relevant to an enterprise. E.g.: Online Banking System, University website, • Management of data involves both defining structures for storage of information and providing mechanisms for the manipulation of information. • The database is an important assets for many organizations. • Database touch all aspects of our lives. 1-5
  • 6. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Database (Cont.) • The database is an integrated collection of facts about an organization. • Organization can be a University or a department in a University , Insurance companies, Manufacturing companies, Banks, Airlines, Telecommunications, Governmental and Non- governmental Organizations, Research institutions ,etc. • The database is used as a central data source for other applications 1-6
  • 7. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Database Management System • Database Management System is a program or software which is used to define, construct, manipulate, share and retrieve the data in the database. • A database management system (DBMS) is a collection of usually complex pieces of software that allows a user to define, create, manipulate and protect and manage access to a database. • The primary goal of a DBMS is to provide a way to store and retrieve database information that is both convenient and efficient. 1-7
  • 8. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Database Management System Functionalities: •Define: Specifying the data type, structure, and constraints for the data to be stored. •Construct: Process of storing data on some storage medium. •Manipulate: Querying the database to retrieve specific data, updating database and generating reports. •Share: Allows multiple users and programs to access the database concurrently. 1-8
  • 9. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Database Systems • A database system is a collection of interrelated data and a set of programs that allow users to access and modify these data. • Database systems are used to manage collections of data that are: – Highly valuable, – Relatively large, and – Accessed by multiple users and applications, often at the same time. 1-9
  • 10. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Database Systems (Cont’d…) • A modern database system is a complex software system whose task is to manage a large, complex collection of data. • The database system must ensure the safety of the information stored, despite system crashes or attempts at unauthorized access. • Database systems are ubiquitous today, and most people interact, either directly or indirectly, with databases many times every day. 1-10
  • 11. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Database Applications Examples • Manufacturing: management of production, inventory, orders, supply chain. • Banking and finance – customer information, accounts, loans, banking transactions, and bank staff details. – Credit card transactions – Finance: sales and purchases of financial instruments (e.g., stocks and bonds; storing real-time market data • Universities: registration of students, Store grades, transcripts, academic progress, manage course offerings, schedules, and prerequisites. Here are some of the applications of database system 1-11
  • 12. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Database Applications Examples (Cont.) • Airlines: reservations and booking of ticket, manage flight schedules, staff and passenger information, and real-time flight update • Telecommunication: keeping records of calls made, texts, and data usage, generating monthly bills, maintaining balances on prepaid calling cards • Web-based services – Online retailers: order tracking, customized recommendations – Online advertisements • Navigation systems: For maintaining the locations of varies places of interest along with the exact routes of roads, train systems, buses, etc. 1-12
  • 13. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Purpose of Database Systems • Data redundancy and inconsistency – data is stored in multiple file formats resulting induplication of information in different files • Difficulty in accessing data – Need to write a new program to carry out each new task • Data isolation – Multiple files and formats • Integrity problems – Integrity constraints (e.g., account balance > 0) become “buried” in program code rather than being stated explicitly – Hard to add new constraints or change existing ones In the early days, database applications were built directly on top of file systems, which leads to: 13 1-13
  • 14. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Purpose of Database Systems (Cont.) • Atomicity of updates – Failures may leave database in an inconsistent state with partial updates carried out – Example: Transfer of funds from one account to another should either complete or not happen at all • Concurrent access by multiple users – Concurrent access needed for performance – Uncontrolled concurrent accesses can lead to inconsistencies • Ex: Two people reading a balance (say 100) and updating it by withdrawing money (say 50 each) at the same time • Security problems – Hard to provide user access to some, but not all, data Database systems offer solutions to all the above problems 14 1-14
  • 15. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Example University Database • Mini-world for a University Database example: Part of a UNIVERSITY environment. • Some mini-world entities: – STUDENTs – PRE-REQUISITE COURSEs – COURSEs – DEPARTMENTs – INSTRUCTORs Note: The above could be expressed in the ENTITY- RELATIONSHIP data model. 15
  • 16. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified University Database Example • Data consists of information about: – Students – Instructors – Classes • Application program examples: – Add new students, instructors, and courses – Register students for courses, and generate class rosters – Assign grades to students, compute grade point averages (GPA) and generate transcripts 16
  • 17. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Example University Database(Continued…) • Some mini-world relationships: – STUDENTs take COURSEs – COURSEs have PRE-REQUISITE COURSEs – INSTRUCTORs teach COURSEs – COURSEs are offered by DEPARTMENTs – STUDENTs major in DEPARTMENTs 17
  • 18. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Example Relational Database Snapshot 18
  • 19. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified 19 Evolution of Database Systems • Two approaches to convert data to information: – File-based • Developed starting from 1960’s • Stores, manipulates, retrieves data from large flat files – Database (relational systems) • Developed by E. F. Codd of IBM the early 1980's • Widely used today Evolution of Database Systems
  • 20. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified 20 File-Based Approach • A file is a collection of related information • A system of files and collection of application programs manipulating them is a file-based system University File-Based System
  • 21. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified 21 Limitations of File-Based Approach • Much efforts for ad hoc query answering: – What is the average grade for Mr.Negacy’s student? – List the activities for all students enrolled in CoSc2041. – Which personnel are students as well as staff? • Other limitations: – Duplication of data – Data dependency – Slow development, high maintenance and fixed queries
  • 22. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Database Users and Administrators • A primary goal of a database system is to retrieve information from and store new information in the database. • People who work with a database can be categorized as – database users or • Naïve users • Application programmers • Sophisticated users – database administrators. 1-22
  • 23. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified database users • Naive users are unsophisticated users who interact with the system by using predefined user interfaces, such as web or mobile applications. • The typical user interface for naive users is a forms interface, where the user can fill in appropriate fields of the form. • Naive users may also view read reports generated from the database. 1-23
  • 24. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified database users • Application programmers are computer professionals who write application programs. Application programmers can choose from many tools to develop user interfaces. • Sophisticated users interact with the system without writing programs. Instead, they form their requests either using a database query language or by using tools such as data analysis software. • Analysts who submit queries to explore data in the database fall in this category. 1-24
  • 25. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Database Administrator  Schema definition  Storage structure and access-method definition  Schema and physical-organization modification  Granting of authorization for data access  Routine maintenance  Periodically backing up the database  Ensuring that enough free disk space is available for normal operations, and upgrading disk space as required  Monitoring jobs running on the database A person who has central control over the system is called a database administrator (DBA). Responsibilities of a DBA include: 1-25
  • 26. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Responsibilities of DBA • Schema definition. The DBA creates the original database schema by executing a set of data definition statements in the DDL. •Storage structure and access-method definition. The DBA may specify some parameters pertaining to the physical organization of the data and the indices to be created. • Schema and physical-organization modification. The DBA carries out changes to the schema and physical organization to reflect the changing needs of the organization, or to alter the physical organization to improve performance. 1-26
  • 27. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Responsibilities of DBA (Cont’d.) • Granting of authorization for data access. By granting different types of authorization, the database administrator can regulate which parts of the database various users can access. The authorization information is kept in a special system structure that the database system consults whenever a user tries to access the data in the system. 1-27
  • 28. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Responsibilities of DBA (Cont’d.) • Routine maintenance. Examples of the database administrator’s routine maintenance activities are:  Periodically backing up the database onto remote servers, to prevent loss of data in case of disasters such as flooding.  Ensuring that enough free disk space is available for normal operations, and upgrading disk space as required.  Monitoring jobs running on the database and ensuring that performance is not degraded by very expensive tasks submitted by some users. 1-28
  • 29. © 2024, Gebriye E. Dept. Computer Science HCIA Security, HCIA R&S and HCIP R&S Certified Fundamentals of Database Systems End of Chapter Two !!! Have a nice day!! Never Stop Learning! 1-29
  翻译: