Data , Database & DBMS
Data , Database & DBMS
Lesson Objective
● Understand the concept of data and its distinction from information.
● Some common uses of database systems.
● Characteristics of file-based systems.
● Problems with file-based approach.
● Grasp the principles of relational databases.
● DBMS and application
● Comprehend the importance of effective database design.
Definitions
Data: stored representations of meaningful objects and events or
Referred to facts concerning objects and events that could be recorded and stored on
computer media
❑ Structured: numbers, text, dates
❑ Unstructured: images, video, documents
Information: data processed to increase knowledge in the person using the data
Metadata: data that describes the properties and context of user data
Structured data is data that fits neatly into data tables and includes discrete data types such as numbers, short text, and dates.
Unstructured data doesn't fit neatly into a data table because its size or nature: for example, audio and video files and large text document
3
Examples of Database Applications
Def 2: A database is a shared collection of logically related data that is stored to meet the
requirements of different users of an organization
Def 4: A database models a particular real world system in the computer in the form of
data
Data in Context
Management Marketing
Product
Planning Control Sales
Development
Corporate
Database
Accounting Manufacturing
Accounts Accounts
Scheduling Production
Receivable Payable
History
Computer initially used for computational/ engineering purposes
12
File Processing System
Library Examination Registration
This requires a
Database and Database Management System (DBMS)
Advantages of Database Approach
Library Examination Registration
Database
Management
System
- Data Independence
- Data Sharing
- Controlled Redundancy - Better Data Integrity
University
Students
Database
DBMS
A software system that is used to create, maintain, and provide
controlled access to users of a database
192-83-7465 Johnson
Alma Palo Alto A-101
019-28-3746 Smith
North Rye A-215
192-83-7465 Johnson
Alma Palo Alto A-201
321-12-3123 Jones
Main Harrison A-217
019-28-3746 Smith
North Rye A-201
Logically related Database
Database Users
Users are differentiated by the way they expect to interact with the system
• Specialized users – write specialized database applications that do not fit into the
traditional data processing framework
• Naïve users – invoke one of the permanent application programs that have been written
previously
✔ E.g. people accessing database over the web, bank tellers, clerical staff
24
Database Administrator
✔ Schema definition
✔ Storage structure and access method definition
✔ Schema and physical organization modification
✔ Granting user authority to access the database
✔ Specifying integrity constraints
✔ Acting as liaison with users
✔ Monitoring performance and responding to changes in requirements
Transaction Management
26
Overall System
Structure
DDL stands for Data Definition Language and refers to SQL commands used to create, modify, and delete database structures such as tables,
indexes, and views.
DML stands for Data Manipulation Language and refers to SQL commands used to insert, update, and delete data within a database.
Homework
VIDEO 1
VIDEO 2