0% found this document useful (0 votes)
28 views32 pages

Lectrure Series 4 - Mid 2 - Data Resources - (Book - CH 5)

The document discusses database management systems and their key components and functions. It defines fundamental data concepts like characters, fields, records and files. It also explains database development processes including data modeling, schemas, metadata and database structures. Additionally, it compares relational and non-relational databases.

Uploaded by

shakib.alif.232
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views32 pages

Lectrure Series 4 - Mid 2 - Data Resources - (Book - CH 5)

The document discusses database management systems and their key components and functions. It defines fundamental data concepts like characters, fields, records and files. It also explains database development processes including data modeling, schemas, metadata and database structures. Additionally, it compares relational and non-relational databases.

Uploaded by

shakib.alif.232
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 32

Chapter

5Data Resource Management

James A. O'Brien, and George Marakas. Management


Information Systems with MISource 2007, 8th ed.
Boston, MA: McGraw-Hill, Inc., 2007. ISBN: 13
9780073323091
Learning Objectives
Explain the value of implementing data resource management processes and
technologies in an organization.
Outline the advantages of a database management approach to managing
the data resources of a business, compared with a file processing approach.
Explain how database management software helps business professionals
and supports the operations and management of a business.
Learning Objectives
Provide examples to illustrate each of the following concepts:
 Major types of databases
 Data warehouses and data mining
 Logical data elements
 Fundamental database structures
 Database development
Section 1
Technical Foundations of Database Management
Fundamental Data Concepts
Character
Field
Record
File
Database
Fundamental Data Concepts
Character: the most basic logical data element that can be observed, a single alpha or numeric or
other symbol, represented by one byte.

Example: “A” is a character, which represents the uppercase letter “A”. Character “A” can be
encoded as 01000001 in binary terms, which represents or corresponds to it’s ASCII (American
Standard Code for Information Interchange) code: 65.

Field – a grouping of related characters, as a last name or a salary, represents an attribute of some
entity General Purpose Application Programs – perform common information processing jobs for end
users.

Example: Field can be the smallest unit of data, contains a single attribute or property. Think about
a database about students, where “Name” field contains the names of all students.
Fundamental Data Concepts
Record – a grouping of attributes/fields that describe an entity or object.

Example: Think about the student database example, where “Name” was a field. Now a single record
about a student might contain the fields like Age, Name, section, grade etc.

File– is a collection of related records.

Example: Think about the student database example we are discussing, where a file might be a collection
of records for all the students enrolled in a particular course.
Database Development
Database– is a collection of logically related data elements, which is organized and stored in such a
way that allows the users to efficiently retrieve, manage and manipulation of data. It might be made up of
one or more files or tables.

Example: Think about a student information system where the entire student database could be made
up of multiple files, where each files containing different types of data like student records, course outline,
attendance records, section number, semester number, payment information etc.
Database Development
Database Administrator (DBA) – controls development and administration of the database.

Example: Think about your university database system, where a DBA ensures the students data is
properly stored, secured, and easily accessible for academics, administration, students and relevant
stakeholders.
Database Development
Data Definition Language (DDL) is a set of commands in SQL that are used to
create, modify, and delete the structure of a database.

 DDL commands do not manipulate the data in the database, but they do define how
the data is organized and stored.

 The most common DDL commands are:


• CREATE: This command is used to create new database objects, such as tables, indexes, views,
and schemas.
• ALTER: This command is used to modify existing database objects.
• DROP: This command is used to delete existing database objects.
Database Development
Data dictionary can be referred as centralized storage of information about the data itself in a database
which may includes the names of the data elements, types, lengths, and descriptions.

A Data Dictionary contains information about the relationships between the data elements.

DDL commands define how the data is organized and stored.

Data dictionary entry for a field called “Name”:


Field name: name
Data type: VARCHAR(255)
Description: The name of the person.
Data Dictionary Example
Data dictionary for a hypothetical student database:

Data
Data Element Description Type Length Constraints/Validation

Student ID Unique id for a student Integer Primary Key


Name Name of the Student Varchar 50 Not null

DOB Date of birth of the student Date


Marks Marks of the student Decimal Positive value

Email Email address of the employee Varchar 100 Format validation

Faculty ID Faculty ID of the Student’s Integer Foreign Key to


Database Development
Metadata – data about the data, which is a set of data that describes and gives information about
other data.
Metadata Field Description
Project Title Network Topology
Author Name of Student
Creation Date 16th of August, 2023
Document Format PDF
File Size 1.2 MB
Keywords Project, Network, Topology
Language English
Related Documents - Explanations
- Diagram
Access Permissions Restricted Access (Faculty)
Location Shared Drive > Projects > Proposal
Document Type Assignment
Audience Faculty
Purpose Submission for individual Assignment
Database Development
Data Planning and Database Design
 Data Modeling (Entity-Relationship Diagrams) – logical models of the data itself;
this must be done before choosing the database model
 Schema – the physical/internal view of a system
 Subschema – the logical/external view of a system
Database Development
Entity Relationship Diagram
SQL – Structured Query Language
SQL (pronounced "ess-que-el") stands for Structured Query Language. SQL is used to
communicate with a database. According to ANSI (American National Standards Institute), it is the
standard language for relational database management systems.
NoSQL document database
NoSQL document databases are based on a model that does not require SQL and tables, unlike
relational databases. Instead of using tables with the data types, columns, rows, schemas, and
tabular relations used in relational databases, NoSQL databases use documents with data type
descriptions and values.

The five critical differences of SQL vs NoSQL:


1. SQL databases are relational, NoSQL are non-relational.
2. SQL databases use structured query language and have a predefined schema. NoSQL databases
have dynamic schemas for unstructured data.
3. SQL databases are vertically scalable, NoSQL databases are horizontally scalable.
4. SQL databases are table based, while NoSQL databases are document, key-value, graph or wide-
column stores.
5. SQL databases are better for multi-row transactions, NoSQL are better for unstructured data like
documents or JSON (JavaScript Object Notation).
RDBMS
Relational Database Management System
What’s Inside a database?
A Library Database
Relationship & Query
in MySQL
 In a query, a relationship is represented by a join. When you add tables to a query, MySQL creates joins
that are based on relationships that have been defined between the tables. One can manually create joins
in queries, even if they do not represent relationships that have already been defined.

 A relationship in MySQL helps to combine data from two different tables. Each relationship consists of
fields in two tables with corresponding data. When a user uses related tables in a query,
the relationship lets MySQL determine which records from each table to combine in the result set.
MySQL Join Example
Left Outer Join - MySQL
DBMS
DBMS
Under the database management approach, data records are consolidated into databases that can be accessed by
many different application programs. A database management system (DBMS) is a set of computer programs
that control the creation, maintenance, and use of the databases of an organization and its end users. Four
major DBMS facilities include:

 Database Development: A DBMS allows control of development to be placed with database


administrators. The administrator uses a data definition language (DDL) to develop and specify the data
contents, relationships, and structure of each database, and to modify these specifications when necessary.
This approach improves integrity and security for the organizational databases. The information is stored in
a data dictionary, which uses data definitions to specify what all the records and files are, can be, and, if
desired, to automatically enforce data element definitions when fields, records, or files are modified.
DBMS
 Database Interrogation: A DBMS allows end users without programming skills to ask for
information from a database using a query language or report generator. Queries are usually
made one of two ways:
 SQL (Structured Query Language): This uses the basic form of SELECT ...FROM...WHERE.
After SELECT the user lists the data fields to be retrieved. After FROM the user lists the files or
tables from which the data must be retrieved. After WHERE the user specifies conditions that
limit the search.
 QBE (Query by Example): This method allows users to point and click on display boxes for
each of the data fields in one or more files to specify the rules of the search.

 Database Maintenance: Updating the databases and other maintenance are conducted by
transaction processing programs.
 Application Development: A DBMS makes application development much easier and quicker
by allowing developers to include data manipulation language (DML) statements in their
programs that let the DBMS perform necessary data-handling activities.
Data Across Enterprise
Start of a Business Intelligence –
Data Across Enterprise
 A data warehouse stores data that has been extracted from various operational, external, and other
databases within the organization.

 To create a data warehouse, data from various databases are captured, cleaned e.g. sorted, filtered,
converted, and transformed into data that can be better used for analysis. The data is then stored in the
enterprise data warehouse, from where it can be moved into data marts or to an analytical data store that
holds data to support certain types of analysis.

 Metadata, that defines the data in the data warehouse, is stored in a Metadata Directory that is used to
support data administration. A variety of analytical software tools can then be used to query, report, and
analyze data.

 One such means for analyzing data in a data warehouse is called data mining.
Six Major Databases
 Operational Databases: These databases store detailed data needed to support the operations of
the entire organization. They are also called subject area databases (SADB), transaction
databases, and production databases. These also include databases of Internet and electronic
commerce activity, such as click stream data or data describing online behavior of visitors at a
company’s website.
 Data Warehouse Databases: These store data from current and previous years that has been
extracted from the various operational and management databases of the organization. As a
standardized and integrated central source of data, warehouses can be used by managers for
pattern processing, where key factors and trends about operations can be identified from the
historical record.
 Data Marts: Are subsets of the data included in a Data Warehouse which focus on specific
aspects of a company, e.g. department, business process, etc.
Six Major Databases
 Distributed Databases: These are the databases of local workgroups and departments at regional
offices, branch offices, and other work sites needed to complete the task at hand. They include relevant
information from other organizational databases combined with data and information generated only at
the particular site. These databases can reside on network servers, on the World Wide Web, or on
Intranets and Extranets.

 End User Databases: These consist of a variety of data files developed by end users at their
workstations. For example, an end user in sales might combine information on a customer’s order
history with her own notes and impressions from face-to-face meetings to improve follow-up.

 External Databases: Many organizations make use of privately generated and owned online databases
or data banks that specialize in a particular area of interest. Access is usually through a subscription for
continuing links or a one-time fee for a specific piece of information (like the results of a single search).
Other sources like those found on the Web are free.
Database Structures
Hierarchical Network

Relational
Database Structures
The relationships among the records stored in databases are based upon one of several logical database
structures or models. These fundamental database structures are described below.

 Hierarchical Structure: Under this tree-like structure, each data element is related only to one element
above it, a so-called one-to-many relationship. All records are dependent and arranged in multilevel
structures.

 Network Structure: This structure features a many-to-many arrangement whereby the DBMS can access
a data element by following one of several paths.

 Relational Structure: This model has become the most popular structure and is used by most
microcomputers. All data elements within the database are viewed as being stored in the form of simple
tables. The DBMS can link data elements from various tables to provide information to end users.
Database Development
1.
1. Data
Data Planning
Planning Physical
Physical Models
Models

Enterprise
Enterprise Model
Model 5.
5. Physical
Physical Design
Design

2.
2. Requirements
Requirements
Specifications Logical
Logical Models
Models
Specifications

User
User Needs
Needs 4.
4. Logical
Logical Design
Design
Description
Description

3.
3. Conceptual
Conceptual Data
Data Models
Models
Design
Design
Database Development
Database planning, beyond that of a personal or small business end user database created by a
database management package, typically requires use of a top-down data planning process based
upon the systems development model covered earlier:

 Data Planning: At this stage, planners develop a model of business processes. This results in an
enterprise model of business processes with documentation.
 Requirements Specification: This stage defines the information needs of end users in a business
process. Description of needs may be provided in natural language or using the tools of a
particular design methodology.
 Conceptual Design: This stage expresses all information requirements in the form of a high-
level model.
 Logical Design: This stage translates the conceptual model into the data model of a DBMS.
 Physical Design: This stage determines the data storage structures and access methods.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy