Database Overview
1
Outline
Database
â—¦ What is Database
â—¦ Why to design database
◦ How to meet the user’s need
Evolution of Database
â—¦ File System
â—¦ Data Models
â—¦ Hierarchical
â—¦ Network
â—¦ Relational
â—¦ Entity-Relationship
â—¦ Object-Oriented
â—¦ Web Database
2
Database: What
Database
â—¦ is collection of related data and its metadata organized in a structured format
â—¦ for optimized information management
Database Management System (DBMS)
â—¦ is a software that enables easy creation, access, and modification of databases
â—¦ for efficient and effective database management
Database System
â—¦ is an integrated system of hardware, software, people, procedures, and data
â—¦ that define and regulate the collection, storage, management, and use of data
within a database environment
3
Database Management System
4
Database Systems: Overview of an Organization
- End users and database : managed by the database application
Database System Environment
5
Database Systems: Example of Database system of an Organization
ď‚§ Hardware
ď‚§ CPU, Memory
ď‚§ Software
- OS
- DBMS
- Applications
 People : User’s
ď‚§ Procedures
ď‚§ Data
Database: Why
Purpose of Database
â—¦ Optimizes data management
â—¦ Transforms data into information
Importance of Database Design
◦ Defines the database’s expected use
â—¦ different approach needed for different types of databases
â—¦ Avoid data redundancy & ensure data integrity
â—¦ data is accurate and verifiable
â—¦ Poorly designed database generates errors
â—¦ leads to bad decisions
â—¦ can lead to failure of organization
Functions of DBMS/Database System
â—¦ Stores data and related data entry forms, report definitions, etc.
â—¦ Hides the complexities of relational database model from the user
â—¦ facilitates the construction/definition of data elements and their relationships
â—¦ enables data transformation and presentation
â—¦ Enforces data integrity
â—¦ Implements data security management
â—¦ access, privacy, backup & restoration
6
Database: How
Planning & Analysis
â—¦ Assess
â—¦ Goal of the organization
â—¦ Database environment
â—¦ existing hardware, software, raw data, data processing procedures
â—¦ Identify
â—¦ Database needs
â—¦ what database can do to further the goal of the organization
â—¦ User needs and characteristics
â—¦ who the users are, what they want to do, how they envision doing it
â—¦ Database system requirements
â—¦ what the database system should do to satisfy the database and user needs
Design
â—¦ From conceptual design to a detailed system specification
Implementation
â—¦ Create the database
Maintenance
â—¦ Troubleshoot, update, streamline the database
7
Business Rules
What
â—¦ Brief, precise, and unambiguous descriptions of operations in an organization
â—¦ based on policies, procedures, or principles within a specific organization
◦ help to create and enforce actions within that organization’s environment
â—¦ apply to any organization that stores and uses data to generate information
Why
â—¦ Enhance understanding & facilitate communication
◦ Standardize company’s view of data
â—¦ Constitute a communications tool between users and designers
â—¦ Allow designer to understand business process as well as the nature, role, and scope of data
â—¦ Promote creation of an accurate data model
How (sources)
â—¦ Interviews
â—¦ Company managers
â—¦ Policy makers
â—¦ Department managers
â—¦ End users
â—¦ Written documentation
â—¦ Procedures, Standards, Operations manuals
â—¦ Observation
â—¦ Business operations
8
Database: User-centered
Perspective
â—¦ The user is always right. If there is a problem with the use of the system, the
system is the problem, not the user.
Compliance
â—¦ The user has the right to a system that performs exactly as promised.
Instruction
â—¦ The user has the right to easy-to-use instructions (user guides, online or
contextual help, error messages) for understanding and utilizing a system to
achieve desired goals and recover efficiently and gracefully from problem
situations.
Usability
â—¦ The user should be the master of software and hardware technology, not vice-
versa. Products should be natural and intuitive to use.
9
Database: Data Models
Importance
â—¦ Abstraction of complex real-world data structures in relative simple (graphical)
representations
â—¦ Facilitate interaction among the designer, the applications programmer, and the
end user
Basic Building Blocks
â—¦ Entity
â—¦ thing about which data are to be collected and stored
â—¦ Attribute
â—¦ a characteristic of an entity
â—¦ Relationship
â—¦ describes an association among entities
â—¦ Constraint
â—¦ restrictions placed on the data
10

Database overview unit 4 part 1

  • 1.
  • 2.
    Outline Database ◦ What isDatabase ◦ Why to design database ◦ How to meet the user’s need Evolution of Database ◦ File System ◦ Data Models ◦ Hierarchical ◦ Network ◦ Relational ◦ Entity-Relationship ◦ Object-Oriented ◦ Web Database 2
  • 3.
    Database: What Database â—¦ iscollection of related data and its metadata organized in a structured format â—¦ for optimized information management Database Management System (DBMS) â—¦ is a software that enables easy creation, access, and modification of databases â—¦ for efficient and effective database management Database System â—¦ is an integrated system of hardware, software, people, procedures, and data â—¦ that define and regulate the collection, storage, management, and use of data within a database environment 3
  • 4.
    Database Management System 4 DatabaseSystems: Overview of an Organization - End users and database : managed by the database application
  • 5.
    Database System Environment 5 DatabaseSystems: Example of Database system of an Organization  Hardware  CPU, Memory  Software - OS - DBMS - Applications  People : User’s  Procedures  Data
  • 6.
    Database: Why Purpose ofDatabase ◦ Optimizes data management ◦ Transforms data into information Importance of Database Design ◦ Defines the database’s expected use ◦ different approach needed for different types of databases ◦ Avoid data redundancy & ensure data integrity ◦ data is accurate and verifiable ◦ Poorly designed database generates errors ◦ leads to bad decisions ◦ can lead to failure of organization Functions of DBMS/Database System ◦ Stores data and related data entry forms, report definitions, etc. ◦ Hides the complexities of relational database model from the user ◦ facilitates the construction/definition of data elements and their relationships ◦ enables data transformation and presentation ◦ Enforces data integrity ◦ Implements data security management ◦ access, privacy, backup & restoration 6
  • 7.
    Database: How Planning &Analysis â—¦ Assess â—¦ Goal of the organization â—¦ Database environment â—¦ existing hardware, software, raw data, data processing procedures â—¦ Identify â—¦ Database needs â—¦ what database can do to further the goal of the organization â—¦ User needs and characteristics â—¦ who the users are, what they want to do, how they envision doing it â—¦ Database system requirements â—¦ what the database system should do to satisfy the database and user needs Design â—¦ From conceptual design to a detailed system specification Implementation â—¦ Create the database Maintenance â—¦ Troubleshoot, update, streamline the database 7
  • 8.
    Business Rules What ◦ Brief,precise, and unambiguous descriptions of operations in an organization ◦ based on policies, procedures, or principles within a specific organization ◦ help to create and enforce actions within that organization’s environment ◦ apply to any organization that stores and uses data to generate information Why ◦ Enhance understanding & facilitate communication ◦ Standardize company’s view of data ◦ Constitute a communications tool between users and designers ◦ Allow designer to understand business process as well as the nature, role, and scope of data ◦ Promote creation of an accurate data model How (sources) ◦ Interviews ◦ Company managers ◦ Policy makers ◦ Department managers ◦ End users ◦ Written documentation ◦ Procedures, Standards, Operations manuals ◦ Observation ◦ Business operations 8
  • 9.
    Database: User-centered Perspective â—¦ Theuser is always right. If there is a problem with the use of the system, the system is the problem, not the user. Compliance â—¦ The user has the right to a system that performs exactly as promised. Instruction â—¦ The user has the right to easy-to-use instructions (user guides, online or contextual help, error messages) for understanding and utilizing a system to achieve desired goals and recover efficiently and gracefully from problem situations. Usability â—¦ The user should be the master of software and hardware technology, not vice- versa. Products should be natural and intuitive to use. 9
  • 10.
    Database: Data Models Importance â—¦Abstraction of complex real-world data structures in relative simple (graphical) representations â—¦ Facilitate interaction among the designer, the applications programmer, and the end user Basic Building Blocks â—¦ Entity â—¦ thing about which data are to be collected and stored â—¦ Attribute â—¦ a characteristic of an entity â—¦ Relationship â—¦ describes an association among entities â—¦ Constraint â—¦ restrictions placed on the data 10