Topic 1 Database Concepts
Topic 1 Database Concepts
Chapter 1
Database Systems
Learning outcomes
2
information
What a database is, the various types of
systems
Database Systems, 9th Edition
Learning outcomes (cont’d.)
3
More on Metadata
an image may include
metadata that describes
how large the picture is, the
color depth, the image
resolution, when the image
was created, and other data
A text document's
metadata may contain
information about how long
the document is, who the
author is, when the
document was written, and
a short summary of the
document
More on Metadata
Web pages often include metadata in the
form of meta tags. Description and
keywords meta tags are commonly used to
describe the Web page's content. Most
search engines use this data when adding
pages to their search index
Advantages of a DBMS:
Improved data sharing
Improved data security
Better data integration
Minimized data inconsistency
Improved data access
Improved decision making
Increased end-user productivity
[1] Users
Single-user database supports only one
user at a time
Desktop database: single-user; runs on PC
(locally)
E.g. Auto Teller Machine (ATM)
Multiuser database supports multiple
users at the same time
Workgroup and enterprise databases
E.g. i-Student Portal, any Web application
Categories of data
Structured data
data that is identifiable because it is organized in a
structure
e.g. database
Semi-structured data
Has structure but not enough to qualify as structured
data (Loshin, 2005)
e.g. XML
Unstructured data
No identifiable structure/in original format
e.g. bitmap images/objects, text and other data types
that are not part of a database
Database Systems, 9th Edition
Types of Databases (cont'd.)
20
Manual
File
Comput
er File
Data
Systems Systems base
IBM
DB2/
MS EXCEL DBMS
Physical
Conceptual/logical
File handling
Data entry routines
and reports
File defination
Sales files
Sales Sales
Salesapplication programs
application programs
File handling
Data entry routines
and reports
File defination
Contracts files Contracts
Sales application
Contracts programs
application
programs
Table: Customer
Table: Agent
Refer to Slide 37
Update anomaly. If agent Vishal has a new phone
number, that number must be entered in each of the
CUSTOMER file records. In this case, only three changes
must be made. In a large file system, such changes
might occur in hundreds or even thousands of records.
Insertion anomaly. If only the CUSTOMER file exists,
to add a new agent, you would also add a dummy
customer data entry to reflect the new agent’s addition.
Deletion anomaly. If you delete the customers Amit,
Naresh and Bhavik, you will also delete Vishal’s agent
data. Clearly this is not desirable.
bridge
machine components human components