Week 5 - Database System and Big Data Analytics
Week 5 - Database System and Big Data Analytics
Information Systems
1
Objectives
After completing this chapter, you will be able to:
Identify and briefly describe the members of the hierarchy of data
Identify the advantages of the database approach to data
management
Identify the key factors that must be considered when designing a
database
Identify the various types of data models and explain how they
are useful in planning a database
2
Objectives
After completing this chapter, you will be able to (cont’d):
Describe the rational database model
Define the role of the database schema, data definition language,
and data manipulation language
Discuss the role of a database administrator and data
administrator
Identify the common functions performed by all database
management systems
Define the term big data
Explain why big data represents a challenge and an opportunity
3
Objectives
After completing this chapter, you will be able to (cont’d):
Define the term data management
Define the terms data warehouse, data mart, and data lakes and
explain how they are different
Outline the extract, transform, load process
Explain how a NoSQL database is different from an SQL database
Discuss the whole Hadoop computing environment
Define the term in-memory database and explain its advantages in
processing big data
4
Introduction
5
Data Fundamentals
6
Hierarchy of Data
7
Hierarchy of Data
8
Data Entities, Attributes, and Keys
• Entity: a person, place, or thing for which data is collected, stored, and
maintained
• Attribute: a characteristic of an entity
• Data item: the specific value of an attribute
• Primary key: a field or set of fields that uniquely identifies the record
9
Data Entities, Attributes, and Keys
10
The Database Approach
11
The Database Approach
12
Data Modeling and Database Characteristics
13
Data Modeling
14
Data Modeling
15
Data Modeling
16
Relational Database Model
• Relational model: a simple but highly useful way to organize data into
collections of two-dimensional tables called relations
• Each row in the table represents an entity
• Each column represents an attribute of that entity
• Domain: range of allowable values for a data attribute
17
Relational Database Model
18
Manipulating Data
19
Manipulating Data
20
Data Cleansing
21
Data Cleansing
22
SQL Databases
23
SQL Databases
24
Database Activities
25
Providing a User View
26
Creating and Modifying the Database
27
Storing and Retrieving Data
• When an application program needs data, it requests the data through the
DBMS
• Concurrency control deals with the situation in which two or more users or
applications need to access the same record at the same time
28
Manipulating Data and Generating Reports
29
Database Administration
30
Database Administration
31
Popular Database Management Systems
32
Popular Database Management Systems
33
Using Databases with Other Software
34
Big Data
35
Sources of Big Data
36
Big Data Uses
• Examples:
• Retail organizations monitor social networks to engage brand advocates, identify
brand adversaries
• Advertising and marketing agencies track comments on social media
• Hospitals analyze medical data and patient records
• Consumer product companies monitor social networks to gain insight into consumer
behavior
• Financial service organizations use data to identify customers who are likely to be
attracted to increasingly targeted and sophisticated offers
37
Challenges of Big Data
38
Data Management
• Data management
• An integrated set of functions that defines the processes by which data is obtained,
certified fit for use, stored, secured, and processed in such a way as to ensure that the
accessibility, reliability, and timeliness of the data meet the needs of the data users
within an organization
• Data governance
• Defines the roles, responsibilities, and processes for ensuring that data can be trusted
and used by an entire organization
39
Data Management
40
Data Management
41
Data Warehouses, Data Marts, and Data Lakes
• Data warehouse: a large database that collects business information from many
sources in the enterprise in support of management decision making
• ETL process
• Extract
• Transform
• Load
42
Data Warehouses, Data Marts, and Data Lakes
43
Data Warehouses, Data Marts, and Data Lakes
• Data mart: a subset of a data warehouse that is used by small- and medium-
sized businesses and departments within large companies to support decision
making
• A specific area in the data mart might contain greater detailed data than the
data warehouse
• Data lake: takes a “store everything” approach to big data, saving all the data in
its raw and unaltered form
• Also called an enterprise data hub
• Raw data is available when users decide just how they want to use the data
• Only when the data is accessed for a specific analysis is it extracted from the data lake
44
NoSQL Databases
• NoSQL database
• Provides a means to store and retrieve data that is modeled using some means other
than the simple two-dimensional tabular relations used in relational databases
• Advantages:
• Ability to spread data over multiple servers so that each server contains only a subset
of the total data
• Do not require a predefined schema
• Data structures are more flexible and can provide improved access speed and
redundancy
45
Hadoop
• Hadoop
• An open-source software framework that includes several software modules that
provide a means for storing and processing extremely large data sets
• Has two primary components:
• A data processing component (MapReduce)
• A distributed file system (Hadoop Distributed File System, HDFS)
46
Summary
47