Professional Documents
Culture Documents
Chap 1 - Fundamentals of Database Systems
Chap 1 - Fundamentals of Database Systems
Chap 1 - Fundamentals of Database Systems
Systems
(Comp 222)
Some of the notes are adapted from:
1. Manual Approach
2. Traditional File Based Approach
3. Database Approach
Database Management levels/approaches ….
1. Manual Approach
• Primitive and traditional way of information handling
• Cards and paper are used for the purpose.
• The data storage and retrieval will be performed using human
labour.
– Files for as many event and objects as the organization are used to
store information.
– Each of the files containing various kinds of information is labelled
and stored in one or more cabinets.
– The cabinets could be kept in safe places for security purpose based
on the sensitivity of the information contained in it.
– Insertion and retrieval is done by searching first for the right cabinet
then for the right file then the information.
– One could have an indexing system to facilitate access to the data
Database Management levels/approaches ….
1. Manual Approach...
• Limitations of the Manual approach
» Prone to error
» Difficult to update, retrieve, integrate
» You have the data but it is difficult to
compile the information
» Limited to small size information
» Cross referencing is difficult
Database Management levels/approaches ….
Q. Quality of data?
Database Management levels/approaches ….
• People:
– the people in the organization that are responsible or play a role in
designing, implementing, managing, administering and using the
resources in the database.
Database Development Lifecycle
• steps in designing a database system
1. Planning: that is identifying information gap in an
organization and propose a database solution to solve the
problem.
2. Analysis: concentrates more on fact finding about the
problem or the opportunity.
• Feasibility analysis,
• requirement determination and structuring, and
• selection of best design
Database Development Lifecycle…
3. Design: in database development more emphasis is given to
this phase.
1. Conceptual Design: concise description of the data, data type,
relationship between data and constraints on the data.
– There is no implementation or physical detail consideration.
– Used to elicit and structure all information requirements
– E.g ER-model
2. Logical Design: a higher level conceptual abstraction with selected
specific data model to implement the data structure.
– It is particular DBMS independent and with no other physical
considerations.
– E.g. Normalization (discover new entities and rules)
3. Physical Design: physical implementation of the logical design of the
database with respect to internal storage and file structure of the
database for the selected DBMS.
– To develop all technology and organizational specification.
Database Development Lifecycle…
4. Implementation: the testing and deployment of the designed
database for use.
5. Operation and Support: administering and maintaining the
operation of the database system and providing support to users.
Tuning the database operations for best performance.
Roles in Database Design and Use
1. Database Administrator (DBA)
• Responsible to oversee, control and manage the database resources (the
database itself, the DBMS and other related software)
– Authorizing access to the database
– Coordinating and monitoring the use of the database
– Responsible for determining and acquiring hardware and software resources
– Accountable for problems like poor security, poor performance of the
system
– Involves in all steps of database development
• In big organizations having huge amount of data and user requirement.
– Data Administrator (DA): is responsible on management of data
resources.
• database planning, and development,
• maintenance of standards policies and procedures at the conceptual and logical
design phases.
– Database Administrator (DBA): This is more technically oriented role.
• DBA is responsible for the physical realization of the database.
• Involved in physical design, implementation, security and integrity control of the
database.
Roles in Database Design and Use
2. Database Designer (DBD)
• Identifies the data to be stored and choose the appropriate structures to
represent and store the data.
• Should understand the user requirement and should choose how the user
views the database.
• Involve on the design phase before the implementation of the database
system.
• two distinctions of database designers,
– Logical and Conceptual DBD
• Identifies data (entity, attributes and relationship) relevant to the organization
• Identifies constraints on each data
• Understand data and business rules in the organization
• Sees the database independent of any data model at conceptual level and consider one
specific data model at logical design phase.
– Physical DBD
• Take logical design specification as input and decide how it should be physically realized.
• Map the logical data model on the specified DBMS with respect to tables and integrity
constraints. (DBMS dependent designing)
• Select specific storage structure and access path to the database
• Design security measures required on the database
Roles in Database Design and Use
• Data Model
– a higher-level description of the database schema
– a set of concepts to describe the structure of a database, and certain
constraints that the database should obey.
– it is a description of the way that data is stored in a database
– helps to understand the relationship between entities and to create the most
effective structure to hold data.
– is a collection of tools or concepts for describing
• Data
• Data relationships
• Data semantics
• Data constraints
Categories of data models
• Categorized according to the types of concepts they
use to describe the database structure
– Object-based (High-level or conceptual)
• provide concepts that are close to the way many users perceive
data
– Record-based (representational or implementation)
• provide concepts that may be understood by end users but that
are not too far removed from the way data is organized within the
computer.
• Representational data models hide some details of data storage
but can be implemented on a computer system in a direct way.
• Popular data model
– Physical (low-level)
• provide concepts that describe the details of how data is stored in
the computer
Categories of data models…