SlideShare a Scribd company logo
1
Introduction to
Database Systems
Motivation
Werner Nutt
2
Databases Are Everywhere
• Database = a large (?) collection of related data
• Classically, a DB models a real-world organisation
(e.g., enterprise, university)
– Entities (e.g., students, courses)
– Relationships (e.g., “Martin is taking IDS in 2010/11”)
• Changes in the organisation = changes in the database
• Examples:
– personnel records
– banking
– airline reservations
3
Scientific Databases (Examples)
• Biology:
e.g., DNA sequences of genes, amino-acid sequences
of proteins, genes expressed in tissues
(up to several Gigabytes)
• Astronomy:
e.g., location and spectra of astronomic objects
(up to several Terabytes)
• Physics:
e.g., sensor measurements in particle physics
experiments
(up to several Petabytes)
4
DB Tendencies
• Sensors record data
Î DBs grow in size
Î DBs become more widespread
Î date may be less reliable, i.e., uncertain
• Multimedia data
Î Requirements for larger storage
Î New query operations
(e.g., find a song by humming the melody,
find pictures with a given face)
• Data on the Web
Î Accessed/changed by many people (Facebook,…)
Î Speed up access, loosen consistency (NoSQL)
5
Operations with Databases
• Design
– Define structure and types of data
• Construction
– Create data structures of DB, populate DB with data
• Manipulation of Data
– Insert, delete, update
– Query: “Which department pays the highest salary?”
– Create reports:
“List monthly salaries of employees, organised
by department, with average salary and total
sum of salaries for each dept”
6
An Ideal DB Implementation
Should Support:
• Structure
– data types
– data behaviour
• Persistence
– store data on
secondary storage
• Retrieval
– a declarative query
language
– a procedural database
programming language
• Performance
– retrieve and store data
quickly
• Data Integrity
• Sharing
– concurrency
• Reliability and resilience
• Large data volumes
7
Database Management System (DBMS)
• A DBMS is a software package designed
to store and manage databases
• A DBMS provides generic functionality (see
previous slide) that otherwise would have to be
implemented over and over again
Î Reduced application development time
• Several brands, e.g.,
– Oracle Xi/Yg (Oracle), DB2 (IBM), SQL Server, Access
(Microsoft), MySQL, PostgreSQL, HSQLDB, SQLite
(open source)
8
Database Actors
Tool Developers
Operators and Maintenance
Personnel
End Users
• sophisticated
• casual
• ‘parametric’ or
‘canned’ transactions
Database
Designers
Database
Administrator
(DBA)
Application
Programmers
DBMS developers
“on the scenes”
“behind the scenes”
Database
Database Management System
9
File System: A Physical Interface
Student
Admin
Scheduler
Payroll
Timetable
Year
Lists
Money
Transfer
Student
Data
Lecturer
Data
Course
Data
10
Sharing Data: Replication Î Redundancy
Student Data
Course Data
Lecturer Data
Student
Admin
Payroll
Teaching
Schedule
Lab
Timetable
Tutorials
Scheduler
11
Sharing Data and Operations
Course
Data
Lecturer
Data
Student Admin
Scheduler
Payroll
Schedule
Lab Timetable
Tutorials
Student Data
Teaching
12
DBMS: A Logical Interface
University
Database
Metadata
student
course
lecturer
Lab
Timetable
Teaching
Schedule
Tutorials
Database
Management
System
University Database
Data
Data Dictionary
or
System Catalog
?QUERIES
13
File System Approach
• Uncontrolled redundancy
• Inconsistent data
• Inflexibility
• Limited data sharing
• Poor enforcement of standards
• Low programmer productivity
• Excessive program maintenance
• Excessive data maintenance
14
DBMS Approach
• Controlled redundancy
– consistency of data &
integrity constraints
• Integration of data
– self-contained
– represents semantics
of application
• Data and operation
sharing
– multiple interfaces
• Services & controls
– security & privacy
controls
– backup & recovery
– enforcement of
standards
• Flexibility
– data independence
– data accessibility
– reduced program
maintenance
• Ease of application
development
15
However....
If an application is
• simple
• stringent real-time
• single user
• static,
files are the option of choice
DBMS downside:
• more expensive
• more complex
• general
• In a file system, data is
physically accessed and
not integrated
• In a DBMS, data is
logically accessed and
integrated:
– query language
– data dictionary
Summary:

More Related Content

PPT
PPTX
Ch 2-introduction to dbms
PPTX
DBMS introduction
PPT
Elag workshop sessie 1 en 2 v10
PPTX
Integrating an electronic lab notebook with a data repository; American Chemi...
PDF
Elns and repositories, American Chemical Society, Dallas, March 2014
PPT
Database Management Systems Lecture notes Unit-1.ppt
PPTX
Introduction to Database_konsep dasar basis data.pptx
Ch 2-introduction to dbms
DBMS introduction
Elag workshop sessie 1 en 2 v10
Integrating an electronic lab notebook with a data repository; American Chemi...
Elns and repositories, American Chemical Society, Dallas, March 2014
Database Management Systems Lecture notes Unit-1.ppt
Introduction to Database_konsep dasar basis data.pptx

Similar to Database Systems Introduction Powerpoint (20)

PPTX
Database Systems Lec 1.pptx
PPTX
Database_Systems_(CSC_206)_-_2024-2025_STU_PT_1.pptx
PDF
Database Systems - Lecture Week 1
PPT
1.Databases for bioinformatics and its types
PDF
PPTX
rdbms1-191014080818000000000000000000000000000000000
PPTX
Database part1-
PDF
PPTX
Overview of Data Base Systems Concepts and Architecture
PPTX
REC-UNIT-I-DataBaseManagementSystems.pptx
PPT
eScience: A Transformed Scientific Method
PPT
Database Management System Processing.ppt
PPTX
Module 1 - Chapter1.pptx
PPTX
Database and Database Management System___.pptx
PDF
Database Lecture Notes
PPTX
Overview of dbms
PPTX
Scottish Digital Library Consortium Meeting: Edinburgh DataShare
PPT
Unit 01 dbms
PPTX
File system vs database
Database Systems Lec 1.pptx
Database_Systems_(CSC_206)_-_2024-2025_STU_PT_1.pptx
Database Systems - Lecture Week 1
1.Databases for bioinformatics and its types
rdbms1-191014080818000000000000000000000000000000000
Database part1-
Overview of Data Base Systems Concepts and Architecture
REC-UNIT-I-DataBaseManagementSystems.pptx
eScience: A Transformed Scientific Method
Database Management System Processing.ppt
Module 1 - Chapter1.pptx
Database and Database Management System___.pptx
Database Lecture Notes
Overview of dbms
Scottish Digital Library Consortium Meeting: Edinburgh DataShare
Unit 01 dbms
File system vs database
Ad

Recently uploaded (20)

PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
Artificial Intelligence
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
composite construction of structures.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPT
Mechanical Engineering MATERIALS Selection
PPTX
web development for engineering and engineering
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Operating System & Kernel Study Guide-1 - converted.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Safety Seminar civil to be ensured for safe working.
Artificial Intelligence
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
composite construction of structures.pdf
Lecture Notes Electrical Wiring System Components
Automation-in-Manufacturing-Chapter-Introduction.pdf
OOP with Java - Java Introduction (Basics)
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
bas. eng. economics group 4 presentation 1.pptx
Mechanical Engineering MATERIALS Selection
web development for engineering and engineering
Ad

Database Systems Introduction Powerpoint

  • 2. 2 Databases Are Everywhere • Database = a large (?) collection of related data • Classically, a DB models a real-world organisation (e.g., enterprise, university) – Entities (e.g., students, courses) – Relationships (e.g., “Martin is taking IDS in 2010/11”) • Changes in the organisation = changes in the database • Examples: – personnel records – banking – airline reservations
  • 3. 3 Scientific Databases (Examples) • Biology: e.g., DNA sequences of genes, amino-acid sequences of proteins, genes expressed in tissues (up to several Gigabytes) • Astronomy: e.g., location and spectra of astronomic objects (up to several Terabytes) • Physics: e.g., sensor measurements in particle physics experiments (up to several Petabytes)
  • 4. 4 DB Tendencies • Sensors record data Î DBs grow in size Î DBs become more widespread Î date may be less reliable, i.e., uncertain • Multimedia data Î Requirements for larger storage Î New query operations (e.g., find a song by humming the melody, find pictures with a given face) • Data on the Web Î Accessed/changed by many people (Facebook,…) Î Speed up access, loosen consistency (NoSQL)
  • 5. 5 Operations with Databases • Design – Define structure and types of data • Construction – Create data structures of DB, populate DB with data • Manipulation of Data – Insert, delete, update – Query: “Which department pays the highest salary?” – Create reports: “List monthly salaries of employees, organised by department, with average salary and total sum of salaries for each dept”
  • 6. 6 An Ideal DB Implementation Should Support: • Structure – data types – data behaviour • Persistence – store data on secondary storage • Retrieval – a declarative query language – a procedural database programming language • Performance – retrieve and store data quickly • Data Integrity • Sharing – concurrency • Reliability and resilience • Large data volumes
  • 7. 7 Database Management System (DBMS) • A DBMS is a software package designed to store and manage databases • A DBMS provides generic functionality (see previous slide) that otherwise would have to be implemented over and over again Î Reduced application development time • Several brands, e.g., – Oracle Xi/Yg (Oracle), DB2 (IBM), SQL Server, Access (Microsoft), MySQL, PostgreSQL, HSQLDB, SQLite (open source)
  • 8. 8 Database Actors Tool Developers Operators and Maintenance Personnel End Users • sophisticated • casual • ‘parametric’ or ‘canned’ transactions Database Designers Database Administrator (DBA) Application Programmers DBMS developers “on the scenes” “behind the scenes” Database Database Management System
  • 9. 9 File System: A Physical Interface Student Admin Scheduler Payroll Timetable Year Lists Money Transfer Student Data Lecturer Data Course Data
  • 10. 10 Sharing Data: Replication Î Redundancy Student Data Course Data Lecturer Data Student Admin Payroll Teaching Schedule Lab Timetable Tutorials Scheduler
  • 11. 11 Sharing Data and Operations Course Data Lecturer Data Student Admin Scheduler Payroll Schedule Lab Timetable Tutorials Student Data Teaching
  • 12. 12 DBMS: A Logical Interface University Database Metadata student course lecturer Lab Timetable Teaching Schedule Tutorials Database Management System University Database Data Data Dictionary or System Catalog ?QUERIES
  • 13. 13 File System Approach • Uncontrolled redundancy • Inconsistent data • Inflexibility • Limited data sharing • Poor enforcement of standards • Low programmer productivity • Excessive program maintenance • Excessive data maintenance
  • 14. 14 DBMS Approach • Controlled redundancy – consistency of data & integrity constraints • Integration of data – self-contained – represents semantics of application • Data and operation sharing – multiple interfaces • Services & controls – security & privacy controls – backup & recovery – enforcement of standards • Flexibility – data independence – data accessibility – reduced program maintenance • Ease of application development
  • 15. 15 However.... If an application is • simple • stringent real-time • single user • static, files are the option of choice DBMS downside: • more expensive • more complex • general • In a file system, data is physically accessed and not integrated • In a DBMS, data is logically accessed and integrated: – query language – data dictionary Summary: