Chapter 7. Databases
Chapter 7. Databases
Introduction es
Chapter 7: Traditional File Processing System
Limitations of Traditional File
Processing Systems
Databases
Database Management System
Advantages of DBMS
Types of Database
MS Access
Database Design in MS Access
Introduction
• A collection of logically related data organized to be accessed, managed and
updated easily.
• Small data collection or a large scale database.
• Used for various purposes including:
Storing internal data
Analyzing the market
Analyzing users’ interest
Discovering patterns in data and more.
• Numeric data
• Textual data
• Graphic data (Pictures and videos)
• Qualitative data
• Quantitative data.
Data Information
Limitations
• Duplicate data; complex and hard to manage.
• Separate sets of files for each department or organization.
• Limited data sharing.
• Hard to develop and maintain.
• Excessive program maintenance.
• Less security.
Advantages
• Data Sharing
A centralized database, visible to every user and department.
• Concurrency
Multiple users can work with the database to add, update and update data.
• Data Quality
Improved data quality by specifying integrity constraints i.e., rules that can’t be
violated by database administrators.
• No Redundancy
Data is recorded in a centralized database accessible from everywhere.
Course Customer
Sales
Building man
Exam
One to Many
Many to many
Introduction To Computer & ICT 11
Database Design Concepts
Entity Relationship Diagram
• A detailed logical representation of the data in an organization.
Entities
Relationships among entities
Attributes of the entities and relationships.
• Example:
The information (values against each attribute) for a specific student.
Field
• A data structure for a single piece of data.
• Example:
Customer_ID, Name, Address, Phone_no are some of the fields in the table
Customer in an organization’s database.
• Output:
Entity relationship model, comprised of entities and their relationships
Embedded Database
• Runs within an application rather than a separate database application.
• Integrated with program that needs to store data.
• Hidden from the user, requiring little or no maintenance.
Knowledge Base
• Stores complex information used by computer systems.
• Structured or unstructured data.
• Examples:
Expert system, which uses knowledge base containing facts about a specific field.
Hypertext Database
• Used to organize large, dissimilar information.
• No regular structure, different from commonly used databases.
• Example:
Databases for maintaining encyclopedias.
Introduction To Computer & ICT 22
Types of Database
Operational Databases
Online Database
• Procedure:
Create Form Wizard
The report opens in Layout mode where its layout can be changed.
Switch to report view and you will see an output like this.
• Select the tables, queries and forms etc. that are to be imported into the
database.
• Click OK to finish import. The selected items should appear in your database.
• Procedure:
Similar to importing tables to database.