SlideShare una empresa de Scribd logo
1 de 41
1
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
DATABASE SYSTEMS, DATA
WAREHOUSES, AND DATA
MARTS
CHAPTER 3
Hossein BIDGOLI
MIS
2
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
LO1 Define a database and a database management
system.
LO2 Explain logical database design and the relational
database model.
LO3 Define the components of a database management
system.
LO4 Summarize recent trends in database design and
use.
LO5 Explain the components and functions of a data
warehouse.
l e a r n i n g o u t c o m e s
Chapter 3 Database Systems, Data Warehouses, and Data Marts
3
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
LO6 Describe the functions of a data mart.
l e a r n i n g o u t c o m e s (cont’d.)
Chapter 3 Database Systems, Data Warehouses, and Data Marts
4
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Databases
• Database
– Collection of related data that can be stored in a
central location or in multiple locations
– Usually a group of files
• File
– Group of related records
– All files are integrated
• Record
– Group of related fields
• Data hierarchy
5
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Exhibit 3.1 Data Hierarchy
6
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Databases (cont’d.)
• Critical component of information systems
– Any type of analysis that’s done is based on data
available in the database
• Database management system (DBMS)
– Creating, storing, maintaining, and accessing
database files
• Advantages over a flat file system
7
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Exhibit 3.2 Interaction between the User, DBMC, and Database
8
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Types of Data in a Database
• Internal data
– Collected within organization
• External data
– Sources
9
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
BI in Action: Law Enforcement
• Business intelligence (BI)
– Used in law enforcement as well as in the business
world
• Richmond, Virginia
– System generates BI reports that help pinpoint crime
patterns
– Allocate manpower to days and locations where crime
likely to occur
10
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Methods for Accessing Files
• Sequential file structure
– Records organized and processed in numerical or
sequential order
– Organized based on a “primary key”
– Usually used for backup and archive files
• Because they need updating only rarely
• Random access file structure
– Records can be accessed in any order
– Fast and very effective when a small number of
records need to be processed daily or weekly
11
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Methods for Accessing Files (cont’d.)
• Indexed sequential access method (ISAM)
– Records accessed sequentially or randomly
– Depending on the number being accessed
• Indexed access
– Uses an index structure with two parts:
• Indexed value
• Pointer to the disk location of the record matching
the indexed value
12
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Logical Database Design
• Physical view
– How data is stored on and retrieved from storage
media
• Logical view
– How information appears to users
– How it can be organized and retrieved
– Can be more than one logical view
13
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Logical Database Design (cont’d.)
• Data model
– Determines how data is created, represented,
organized
– Includes:
• Data structure
• Operations
• Integrity rules
• Hierarchical model
– Relationships between records form a treelike
structure
14
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Exhibit 3.3 A Hierarchical Model
15
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Logical Database Design (cont’d.)
• Network model
– Similar to the hierarchical model
– Records are organized differently
16
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Exhibit 3.4 A Network Model
17
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
The Relational Model
• Relational model
– Uses a two-dimensional table of rows and columns of
data
• Data dictionary
– Field name
– Field data type
– Default value
– Validation rule
18
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
The Relational Model (cont’d.)
• Primary key
– Unique identifier
• Foreign key
– Establishes relationships between tables
• Normalization
– Improves database efficiency
– Eliminates redundant data
– 1NF through 3NF (or 5NF)
19
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
The Relational Model (cont’d.)
• Data retrieval
– Select
– Project
– Join
– Intersection
– Union
– Difference
20
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Components of a DBMS
• Database engine
• Data definition
• Data manipulation
• Application generation
• Data administration
21
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Database Engine
• Heart of DBMS software
• Responsible for data storage, manipulation, and
retrieval
• Converts logical requests from users into their
physical equivalents
22
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Data Definition
• Create and maintain the data dictionary
• Define the structure of files in a database
– Adding fields
– Deleting fields
– Changing field size
– Changing data type
23
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Data Manipulation
• Add, delete, modify, and retrieve records from a
database
• Query language
– Structured Query Language (SQL)
• Standard fourth-generation query language used
by many DBMS packages
• SELECT statement
– Query by example (QBE)
• Construct statement of query forms
• Graphical interface
24
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Application Generation
• Design elements of an application using a
database
– Data entry screens
– Interactive menus
– Interfaces with other programming languages
25
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Data Administration
• Used for:
– Backup and recovery
– Security
– Change management
• Create, read, update, and delete (CRUD)
• Database administrator (DBA)
– Individual or department
– Responsibilities
26
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Recent Trends in Database Design and Use
• Data-driven Web sites
• Natural language processing
• Distributed databases
• Client/server databases
• Object-oriented databases
27
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Data-Driven Web Sites
• Data-driven Web site
– Interface to a database
– Retrieves data and allows users to enter data
• Improves access to information
• Useful for:
– E-commerce sites that need frequent updates
– News sites that need regular updating of content
– Forums and discussion groups
– Subscription services, such as newsletters
28
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Distributed Databases
• Distributed database
– Data is stored on multiple servers placed throughout
an organization
• Reasons for choosing
• Approaches for setup
– Fragmentation
– Replication
– Allocation
• Security issues
29
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Client/Server Databases
• Client/server database
– Users’ workstations (clients) linked in a local area
network (LAN) to share the services of a single server
– Server processes data
– Returns only records meeting request
30
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Object-Oriented Databases
• Object-oriented database
– Object consists of attributes and methods
• Encapsulation
– Grouping objects along with their attributes and
methods into a class
• Inheritance
– New objects can be created faster and more easily by
entering new data in attributes
• Interaction with an object-oriented database
takes places via methods
31
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Data Warehouses
• Data warehouse
– Collection of data used to support decision-making
applications and generate business intelligence
• Multidimensional data
• Characteristics
– Subject oriented
– Integrated
– Time variant
– Type of data
– Purpose
32
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Input
• Variety of sources
– External
– Databases
– Transaction files
– ERP systems
– CRM systems
33
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
ETL
• Extraction, transformation, and loading
(ETL)
• Extraction
– Collecting data from a variety of sources
– Converting data into a format that can be used in
transformation processing
• Transformation processing
– Make sure data meets the data warehouse’s needs
• Loading
– Process of transferring data to the data warehouse
34
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Exhibit 3.9 A Data Warehouse Configuration
35
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Storage
• Raw data
• Summary data
• Metadata
36
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Output
• Data warehouse supports different types of
analysis
– Generates reports for decision making
• Online analytical processing (OLAP)
– Generates business intelligence
– Uses multiple sources of information and provides
multidimensional analysis
– Hypercube
– Drill down and drill up
37
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Exhibit 3.10 Slicing and Dicing Data
38
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Output (cont’d.)
• Data-mining analysis
– Discover patterns and relationships
• Reports
– Cross-reference segments of an organization’s
operations for comparison purposes
– Find patterns and trends that can’t be found with
databases
– Analyze large amounts of historical data quickly
39
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Data Warehouse Applications at InterContinental
Hotels Group (IHG)
• The new system has increased the company’s
query response time from hours to minutes
• It has generated valuable BI on both its
customers and the competition
• Future plans include the migration of financial
data, which will enable IHG to perform side-by-
side analyses of operations, marketing, sales,
and financial data
40
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Data Marts
• Data mart
– Smaller version of data warehouse
– Used by single department or function
• Advantages over data warehouses
• More limited scope than data warehouses
41
MIS, Chapter 3
©2011 Course Technology, a part of Cengage Learning
Chapter 3 Database Systems, Data Warehouses, and Data Marts
Summary
• Databases
– Accessing files
– Design principles
– Components
– Recent trends
• Data warehouses and data marts

Más contenido relacionado

Similar a Data base and data warehouse

Overview of Databases and Data Modelling-1.pdf
Overview of Databases and Data Modelling-1.pdfOverview of Databases and Data Modelling-1.pdf
Overview of Databases and Data Modelling-1.pdfChristalin Nelson
 
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEMDatabase Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEMmoronfolabukunmi
 
Introduction to DBMS and SQL Overview
Introduction to DBMS and SQL OverviewIntroduction to DBMS and SQL Overview
Introduction to DBMS and SQL OverviewPrabu U
 
Chapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project ManagementChapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project ManagementAxmedMaxamuudYoonis
 
Dwdm unit 1-2016-Data ingarehousing
Dwdm unit 1-2016-Data ingarehousingDwdm unit 1-2016-Data ingarehousing
Dwdm unit 1-2016-Data ingarehousingDhilsath Fathima
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementflyinimohamed
 
Database :Introduction to Database System
Database :Introduction to Database SystemDatabase :Introduction to Database System
Database :Introduction to Database SystemZakriyaMalik2
 
Business intelligence and data warehouses
Business intelligence and data warehousesBusiness intelligence and data warehouses
Business intelligence and data warehousesDhani Ahmad
 
Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsjayussuryawan
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)Dilawar Khan
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxPPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxUbaidURRahman78
 

Similar a Data base and data warehouse (20)

Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
 
Overview of Databases and Data Modelling-1.pdf
Overview of Databases and Data Modelling-1.pdfOverview of Databases and Data Modelling-1.pdf
Overview of Databases and Data Modelling-1.pdf
 
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEMDatabase Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
 
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
Introduction to DBMS and SQL Overview
Introduction to DBMS and SQL OverviewIntroduction to DBMS and SQL Overview
Introduction to DBMS and SQL Overview
 
Database Management & Models
Database Management & ModelsDatabase Management & Models
Database Management & Models
 
ITE 101 - Week 7
ITE 101 - Week 7ITE 101 - Week 7
ITE 101 - Week 7
 
Rdbms
RdbmsRdbms
Rdbms
 
ICT L5+.pptx
ICT L5+.pptxICT L5+.pptx
ICT L5+.pptx
 
Chapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project ManagementChapter 9 Data Design .pptxInformation Technology Project Management
Chapter 9 Data Design .pptxInformation Technology Project Management
 
DBMS introduction
DBMS introductionDBMS introduction
DBMS introduction
 
Dwdm unit 1-2016-Data ingarehousing
Dwdm unit 1-2016-Data ingarehousingDwdm unit 1-2016-Data ingarehousing
Dwdm unit 1-2016-Data ingarehousing
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implement
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
 
Database :Introduction to Database System
Database :Introduction to Database SystemDatabase :Introduction to Database System
Database :Introduction to Database System
 
Business intelligence and data warehouses
Business intelligence and data warehousesBusiness intelligence and data warehouses
Business intelligence and data warehouses
 
Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systems
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxPPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptx
 

Último

HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATION
HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATIONHOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATION
HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATIONpratheeshraj987
 
Tata Punch brochure with complete detail of all the variants
Tata Punch brochure with complete detail of all the variantsTata Punch brochure with complete detail of all the variants
Tata Punch brochure with complete detail of all the variantsRiteshVishambhari
 
Mastering Affiliate Marketing: A Comprehensive Guide to Success
Mastering Affiliate Marketing: A Comprehensive Guide to SuccessMastering Affiliate Marketing: A Comprehensive Guide to Success
Mastering Affiliate Marketing: A Comprehensive Guide to SuccessAbdulsamad Lukman
 
Best 5 Graphics Designing Course In Chandigarh
Best 5 Graphics Designing Course In ChandigarhBest 5 Graphics Designing Course In Chandigarh
Best 5 Graphics Designing Course In Chandigarhhamitthakurdma01
 
Press Release Distribution Evolving with Digital Trends.pdf
Press Release Distribution Evolving with Digital Trends.pdfPress Release Distribution Evolving with Digital Trends.pdf
Press Release Distribution Evolving with Digital Trends.pdfPR Wires
 
VIP Call Girls Dongri WhatsApp +91-9833363713, Full Night Service
VIP Call Girls Dongri WhatsApp +91-9833363713, Full Night ServiceVIP Call Girls Dongri WhatsApp +91-9833363713, Full Night Service
VIP Call Girls Dongri WhatsApp +91-9833363713, Full Night Servicemeghakumariji156
 
Instant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best PracticesInstant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best PracticesMedia Logic
 
Social Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh BendaySocial Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh BendayMaharshBenday
 
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROIShamsudeen Adeshokan
 
Unlocking the Mystery of the Voynich Manuscript
Unlocking the Mystery of the Voynich ManuscriptUnlocking the Mystery of the Voynich Manuscript
Unlocking the Mystery of the Voynich Manuscriptelizabethella096
 
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdf
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdfTAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdf
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdfSocial Samosa
 
Enhancing Business Visibility PR Firms in San Francisco
Enhancing Business Visibility PR Firms in San FranciscoEnhancing Business Visibility PR Firms in San Francisco
Enhancing Business Visibility PR Firms in San Franciscosanfranciscoprfirms
 
Choosing the Right White Label SEO Services to Boost Your Agency's Growth.pdf
Choosing the Right White Label SEO Services to Boost Your Agency's Growth.pdfChoosing the Right White Label SEO Services to Boost Your Agency's Growth.pdf
Choosing the Right White Label SEO Services to Boost Your Agency's Growth.pdfAutus Digital
 
2024 Social Trends Report V4 from Later.com
2024 Social Trends Report V4 from Later.com2024 Social Trends Report V4 from Later.com
2024 Social Trends Report V4 from Later.comnmislamchannal
 
The 9th May Incident in Pakistan A Turning Point in History.pptx
The 9th May Incident in Pakistan A Turning Point in History.pptxThe 9th May Incident in Pakistan A Turning Point in History.pptx
The 9th May Incident in Pakistan A Turning Point in History.pptxelizabethella096
 
Aiizennxqc Digital Marketing | SEO & SMM
Aiizennxqc Digital Marketing | SEO & SMMAiizennxqc Digital Marketing | SEO & SMM
Aiizennxqc Digital Marketing | SEO & SMMaiizennxqc
 
[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies UncoveredSearch Engine Journal
 
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxDigital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxZACGaming
 
SP Search Term Data Optimization Template.pdf
SP Search Term Data Optimization Template.pdfSP Search Term Data Optimization Template.pdf
SP Search Term Data Optimization Template.pdfPauleneNicoleLapira
 
Elevating Your Digital Presence by Evitha.pdf
Elevating Your Digital Presence by Evitha.pdfElevating Your Digital Presence by Evitha.pdf
Elevating Your Digital Presence by Evitha.pdfevithatojoparel
 

Último (20)

HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATION
HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATIONHOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATION
HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATION
 
Tata Punch brochure with complete detail of all the variants
Tata Punch brochure with complete detail of all the variantsTata Punch brochure with complete detail of all the variants
Tata Punch brochure with complete detail of all the variants
 
Mastering Affiliate Marketing: A Comprehensive Guide to Success
Mastering Affiliate Marketing: A Comprehensive Guide to SuccessMastering Affiliate Marketing: A Comprehensive Guide to Success
Mastering Affiliate Marketing: A Comprehensive Guide to Success
 
Best 5 Graphics Designing Course In Chandigarh
Best 5 Graphics Designing Course In ChandigarhBest 5 Graphics Designing Course In Chandigarh
Best 5 Graphics Designing Course In Chandigarh
 
Press Release Distribution Evolving with Digital Trends.pdf
Press Release Distribution Evolving with Digital Trends.pdfPress Release Distribution Evolving with Digital Trends.pdf
Press Release Distribution Evolving with Digital Trends.pdf
 
VIP Call Girls Dongri WhatsApp +91-9833363713, Full Night Service
VIP Call Girls Dongri WhatsApp +91-9833363713, Full Night ServiceVIP Call Girls Dongri WhatsApp +91-9833363713, Full Night Service
VIP Call Girls Dongri WhatsApp +91-9833363713, Full Night Service
 
Instant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best PracticesInstant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best Practices
 
Social Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh BendaySocial Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh Benday
 
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
 
Unlocking the Mystery of the Voynich Manuscript
Unlocking the Mystery of the Voynich ManuscriptUnlocking the Mystery of the Voynich Manuscript
Unlocking the Mystery of the Voynich Manuscript
 
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdf
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdfTAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdf
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdf
 
Enhancing Business Visibility PR Firms in San Francisco
Enhancing Business Visibility PR Firms in San FranciscoEnhancing Business Visibility PR Firms in San Francisco
Enhancing Business Visibility PR Firms in San Francisco
 
Choosing the Right White Label SEO Services to Boost Your Agency's Growth.pdf
Choosing the Right White Label SEO Services to Boost Your Agency's Growth.pdfChoosing the Right White Label SEO Services to Boost Your Agency's Growth.pdf
Choosing the Right White Label SEO Services to Boost Your Agency's Growth.pdf
 
2024 Social Trends Report V4 from Later.com
2024 Social Trends Report V4 from Later.com2024 Social Trends Report V4 from Later.com
2024 Social Trends Report V4 from Later.com
 
The 9th May Incident in Pakistan A Turning Point in History.pptx
The 9th May Incident in Pakistan A Turning Point in History.pptxThe 9th May Incident in Pakistan A Turning Point in History.pptx
The 9th May Incident in Pakistan A Turning Point in History.pptx
 
Aiizennxqc Digital Marketing | SEO & SMM
Aiizennxqc Digital Marketing | SEO & SMMAiizennxqc Digital Marketing | SEO & SMM
Aiizennxqc Digital Marketing | SEO & SMM
 
[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered
 
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptxDigital-Marketing-Into-by-Zoraiz-Ahmad.pptx
Digital-Marketing-Into-by-Zoraiz-Ahmad.pptx
 
SP Search Term Data Optimization Template.pdf
SP Search Term Data Optimization Template.pdfSP Search Term Data Optimization Template.pdf
SP Search Term Data Optimization Template.pdf
 
Elevating Your Digital Presence by Evitha.pdf
Elevating Your Digital Presence by Evitha.pdfElevating Your Digital Presence by Evitha.pdf
Elevating Your Digital Presence by Evitha.pdf
 

Data base and data warehouse

  • 1. 1 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS CHAPTER 3 Hossein BIDGOLI MIS
  • 2. 2 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning LO1 Define a database and a database management system. LO2 Explain logical database design and the relational database model. LO3 Define the components of a database management system. LO4 Summarize recent trends in database design and use. LO5 Explain the components and functions of a data warehouse. l e a r n i n g o u t c o m e s Chapter 3 Database Systems, Data Warehouses, and Data Marts
  • 3. 3 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning LO6 Describe the functions of a data mart. l e a r n i n g o u t c o m e s (cont’d.) Chapter 3 Database Systems, Data Warehouses, and Data Marts
  • 4. 4 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Databases • Database – Collection of related data that can be stored in a central location or in multiple locations – Usually a group of files • File – Group of related records – All files are integrated • Record – Group of related fields • Data hierarchy
  • 5. 5 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Exhibit 3.1 Data Hierarchy
  • 6. 6 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Databases (cont’d.) • Critical component of information systems – Any type of analysis that’s done is based on data available in the database • Database management system (DBMS) – Creating, storing, maintaining, and accessing database files • Advantages over a flat file system
  • 7. 7 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Exhibit 3.2 Interaction between the User, DBMC, and Database
  • 8. 8 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Types of Data in a Database • Internal data – Collected within organization • External data – Sources
  • 9. 9 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts BI in Action: Law Enforcement • Business intelligence (BI) – Used in law enforcement as well as in the business world • Richmond, Virginia – System generates BI reports that help pinpoint crime patterns – Allocate manpower to days and locations where crime likely to occur
  • 10. 10 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Methods for Accessing Files • Sequential file structure – Records organized and processed in numerical or sequential order – Organized based on a “primary key” – Usually used for backup and archive files • Because they need updating only rarely • Random access file structure – Records can be accessed in any order – Fast and very effective when a small number of records need to be processed daily or weekly
  • 11. 11 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Methods for Accessing Files (cont’d.) • Indexed sequential access method (ISAM) – Records accessed sequentially or randomly – Depending on the number being accessed • Indexed access – Uses an index structure with two parts: • Indexed value • Pointer to the disk location of the record matching the indexed value
  • 12. 12 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Logical Database Design • Physical view – How data is stored on and retrieved from storage media • Logical view – How information appears to users – How it can be organized and retrieved – Can be more than one logical view
  • 13. 13 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Logical Database Design (cont’d.) • Data model – Determines how data is created, represented, organized – Includes: • Data structure • Operations • Integrity rules • Hierarchical model – Relationships between records form a treelike structure
  • 14. 14 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Exhibit 3.3 A Hierarchical Model
  • 15. 15 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Logical Database Design (cont’d.) • Network model – Similar to the hierarchical model – Records are organized differently
  • 16. 16 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Exhibit 3.4 A Network Model
  • 17. 17 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts The Relational Model • Relational model – Uses a two-dimensional table of rows and columns of data • Data dictionary – Field name – Field data type – Default value – Validation rule
  • 18. 18 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts The Relational Model (cont’d.) • Primary key – Unique identifier • Foreign key – Establishes relationships between tables • Normalization – Improves database efficiency – Eliminates redundant data – 1NF through 3NF (or 5NF)
  • 19. 19 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts The Relational Model (cont’d.) • Data retrieval – Select – Project – Join – Intersection – Union – Difference
  • 20. 20 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Components of a DBMS • Database engine • Data definition • Data manipulation • Application generation • Data administration
  • 21. 21 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Database Engine • Heart of DBMS software • Responsible for data storage, manipulation, and retrieval • Converts logical requests from users into their physical equivalents
  • 22. 22 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Data Definition • Create and maintain the data dictionary • Define the structure of files in a database – Adding fields – Deleting fields – Changing field size – Changing data type
  • 23. 23 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Data Manipulation • Add, delete, modify, and retrieve records from a database • Query language – Structured Query Language (SQL) • Standard fourth-generation query language used by many DBMS packages • SELECT statement – Query by example (QBE) • Construct statement of query forms • Graphical interface
  • 24. 24 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Application Generation • Design elements of an application using a database – Data entry screens – Interactive menus – Interfaces with other programming languages
  • 25. 25 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Data Administration • Used for: – Backup and recovery – Security – Change management • Create, read, update, and delete (CRUD) • Database administrator (DBA) – Individual or department – Responsibilities
  • 26. 26 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Recent Trends in Database Design and Use • Data-driven Web sites • Natural language processing • Distributed databases • Client/server databases • Object-oriented databases
  • 27. 27 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Data-Driven Web Sites • Data-driven Web site – Interface to a database – Retrieves data and allows users to enter data • Improves access to information • Useful for: – E-commerce sites that need frequent updates – News sites that need regular updating of content – Forums and discussion groups – Subscription services, such as newsletters
  • 28. 28 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Distributed Databases • Distributed database – Data is stored on multiple servers placed throughout an organization • Reasons for choosing • Approaches for setup – Fragmentation – Replication – Allocation • Security issues
  • 29. 29 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Client/Server Databases • Client/server database – Users’ workstations (clients) linked in a local area network (LAN) to share the services of a single server – Server processes data – Returns only records meeting request
  • 30. 30 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Object-Oriented Databases • Object-oriented database – Object consists of attributes and methods • Encapsulation – Grouping objects along with their attributes and methods into a class • Inheritance – New objects can be created faster and more easily by entering new data in attributes • Interaction with an object-oriented database takes places via methods
  • 31. 31 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Data Warehouses • Data warehouse – Collection of data used to support decision-making applications and generate business intelligence • Multidimensional data • Characteristics – Subject oriented – Integrated – Time variant – Type of data – Purpose
  • 32. 32 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Input • Variety of sources – External – Databases – Transaction files – ERP systems – CRM systems
  • 33. 33 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts ETL • Extraction, transformation, and loading (ETL) • Extraction – Collecting data from a variety of sources – Converting data into a format that can be used in transformation processing • Transformation processing – Make sure data meets the data warehouse’s needs • Loading – Process of transferring data to the data warehouse
  • 34. 34 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Exhibit 3.9 A Data Warehouse Configuration
  • 35. 35 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Storage • Raw data • Summary data • Metadata
  • 36. 36 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Output • Data warehouse supports different types of analysis – Generates reports for decision making • Online analytical processing (OLAP) – Generates business intelligence – Uses multiple sources of information and provides multidimensional analysis – Hypercube – Drill down and drill up
  • 37. 37 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Exhibit 3.10 Slicing and Dicing Data
  • 38. 38 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Output (cont’d.) • Data-mining analysis – Discover patterns and relationships • Reports – Cross-reference segments of an organization’s operations for comparison purposes – Find patterns and trends that can’t be found with databases – Analyze large amounts of historical data quickly
  • 39. 39 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Data Warehouse Applications at InterContinental Hotels Group (IHG) • The new system has increased the company’s query response time from hours to minutes • It has generated valuable BI on both its customers and the competition • Future plans include the migration of financial data, which will enable IHG to perform side-by- side analyses of operations, marketing, sales, and financial data
  • 40. 40 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Data Marts • Data mart – Smaller version of data warehouse – Used by single department or function • Advantages over data warehouses • More limited scope than data warehouses
  • 41. 41 MIS, Chapter 3 ©2011 Course Technology, a part of Cengage Learning Chapter 3 Database Systems, Data Warehouses, and Data Marts Summary • Databases – Accessing files – Design principles – Components – Recent trends • Data warehouses and data marts