Database Engineering
Database Engineering
INTRODUCTION
1
Chapter 1
DATABASE ENGINEERING
EC-316
• Credits 4(3,1)
• Text Book: Modern Database Management, by
Hoffer, Prescott, MsFadden, 2008, Latest Edition
• Grading Criteria:
– Sessional 60%
• Assignments: 8%
• Quizzes: 10%
• Sessional 1: 20%
• Sessional 2: 20%
• Project: 8%
• Practical 34%
– Final 40%
2
Chapter 1
The Database Environment
3
Chapter 1
Topics
4
Chapter 1
Definitions
5
Chapter 1
Database (Definition)
In the broadest sense, a database is anything that stores
data. A phone book, for instance, could be considered a
database as it stores related pieces of information such as
name and phone number. However, in the world of
computers, a database usually refers to a collection of
related pieces of information stored electronically. Aside
from the ability to store data, a database also provides a
way for other computer programs to quickly retrieve and
update desired pieces of data.
Reference:
http://www.mariosalexandrou.com/definition/database.asp
6
Chapter 1
Database (Definition)
A database is an application that manages
data and allows fast storage and retrieval
of that data.
Reference
http://cplus.about.com/od/glossar1/g/databasedefn.htm
7
Chapter 1
Database (Definition)
A database is a collection
of information that is organized so that it
can easily be accessed, managed, and
updated.
Reference:
http://searchsqlserver.techtarget.com/sDefinition/0,,sid87
_gci211895,00.html
8
Chapter 1
Definitions (By Hoffer)
• Database (Concluded): organized collection of
logically related data
• Data: stored representations of meaningful
objects and events
– 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
9
Chapter 1
Figure 1-1a Data in context
13
Chapter 1
Problems with Data Dependency
• Each application programmer must maintain
his/her own data
• Each application program needs to include
code for the metadata of each file
• Each application program must have its own
processing routines for reading, inserting,
updating, and deleting data
• Lack of coordination and central control
• Non-standard file formats
14
Chapter 1
Figure 1-3 Old file processing systems at Pine Valley
Furniture Company
Duplicate Data
15
Chapter 1
Problems with Data
Redundancy
16
Chapter 1