Data Warehouse design



Similar documents
A Tour of the Zoo the Hadoop Ecosystem Prafulla Wani

BIG DATA What it is and how to use?

Oracle s Big Data solutions. Roger Wullschleger. <Insert Picture Here>

Architecting for Big Data Analytics and Beyond: A New Framework for Business Intelligence and Data Warehousing

Advanced Big Data Analytics with R and Hadoop

Introduction to Hadoop. New York Oracle User Group Vikas Sawhney

Native Connectivity to Big Data Sources in MSTR 10

Big Data Technologies Compared June 2014

Well packaged sets of preinstalled, integrated, and optimized software on select hardware in the form of engineered systems and appliances

5 Keys to Unlocking the Big Data Analytics Puzzle. Anurag Tandon Director, Product Marketing March 26, 2014

Big Data & QlikView. Democratizing Big Data Analytics. David Freriks Principal Solution Architect

Achieving Business Value through Big Data Analytics Philip Russom

Transforming the Telecoms Business using Big Data and Analytics

BIG DATA TECHNOLOGY. Hadoop Ecosystem

Executive Summary... 2 Introduction Defining Big Data The Importance of Big Data... 4 Building a Big Data Platform...

Alexander Nikov. 5. Database Systems and Managing Data Resources. Learning Objectives. RR Donnelley Tries to Master Its Data

Chukwa, Hadoop subproject, 37, 131 Cloud enabled big data, 4 Codd s 12 rules, 1 Column-oriented databases, 18, 52 Compression pattern, 83 84

Big Data and Data Science: Behind the Buzz Words

INTRODUCTION TO APACHE HADOOP MATTHIAS BRÄGER CERN GS-ASE

Managing Big Data with Hadoop & Vertica. A look at integration between the Cloudera distribution for Hadoop and the Vertica Analytic Database

Big Data, Why All the Buzz? (Abridged) Anita Luthra, February 20, 2014

Testing Big data is one of the biggest

Hadoop Evolution In Organizations. Mark Vervuurt Cluster Data Science & Analytics

ESS event: Big Data in Official Statistics. Antonino Virgillito, Istat

Forecast of Big Data Trends. Assoc. Prof. Dr. Thanachart Numnonda Executive Director IMC Institute 3 September 2014

Chapter 6 8/12/2015. Foundations of Business Intelligence: Databases and Information Management. Problem:

How To Scale Out Of A Nosql Database

How to Enhance Traditional BI Architecture to Leverage Big Data

Big Data Explained. An introduction to Big Data Science.

Tap into Hadoop and Other No SQL Sources

Big Data. Lyle Ungar, University of Pennsylvania

How to use Big Data in Industry 4.0 implementations. LAURI ILISON, PhD Head of Big Data and Machine Learning

Architectures for Big Data Analytics A database perspective

AGENDA. What is BIG DATA? What is Hadoop? Why Microsoft? The Microsoft BIG DATA story. Our BIG DATA Roadmap. Hadoop PDW

Chapter 6. Foundations of Business Intelligence: Databases and Information Management

Getting Started with Hadoop. Raanan Dagan Paul Tibaldi

NoSQL and Hadoop Technologies On Oracle Cloud

Hadoop Ecosystem Overview. CMSC 491 Hadoop-Based Distributed Computing Spring 2015 Adam Shook

TRENDS IN THE DEVELOPMENT OF BUSINESS INTELLIGENCE SYSTEMS

Architecting for the Internet of Things & Big Data

Cost-Effective Business Intelligence with Red Hat and Open Source

HDP Enabling the Modern Data Architecture

Foundations of Business Intelligence: Databases and Information Management

Hadoop Beyond Hype: Complex Adaptive Systems Conference Nov 16, Viswa Sharma Solutions Architect Tata Consultancy Services

The Future of Data Management

Collaborative Big Data Analytics. Copyright 2012 EMC Corporation. All rights reserved.

Oracle Big Data SQL Technical Update

Aligning Your Strategic Initiatives with a Realistic Big Data Analytics Roadmap

TE's Analytics on Hadoop and SAP HANA Using SAP Vora

Role of Cloud Computing in Big Data Analytics Using MapReduce Component of Hadoop

Big Data solutions to support Intelligent Systems and Applications

Analytics in the Cloud. Peter Sirota, GM Elastic MapReduce

Big Data Too Big To Ignore

Big Data and Market Surveillance. April 28, 2014

An Oracle White Paper October Oracle: Big Data for the Enterprise

Big Data Analytics. with EMC Greenplum and Hadoop. Big Data Analytics. Ofir Manor Pre Sales Technical Architect EMC Greenplum

This Symposium brought to you by

Hadoop and Map-Reduce. Swati Gore

Big Data Buzzwords From A to Z. By Rick Whiting, CRN 4:00 PM ET Wed. Nov. 28, 2012

Bringing the Power of SAS to Hadoop. White Paper

Testing 3Vs (Volume, Variety and Velocity) of Big Data

Modernizing Your Data Warehouse for Hadoop

Big Data Technology ดร.ช ชาต หฤไชยะศ กด. Choochart Haruechaiyasak, Ph.D.

Hadoop implementation of MapReduce computational model. Ján Vaňo

#mstrworld. Tapping into Hadoop and NoSQL Data Sources in MicroStrategy. Presented by: Trishla Maru. #mstrworld

Implement Hadoop jobs to extract business value from large and varied data sets

You should have a working knowledge of the Microsoft Windows platform. A basic knowledge of programming is helpful but not required.

Data Refinery with Big Data Aspects

Big Data, Cloud Computing, Spatial Databases Steven Hagan Vice President Server Technologies

Trafodion Operational SQL-on-Hadoop

How Transactional Analytics is Changing the Future of Business A look at the options, use cases, and anti-patterns

I/O Considerations in Big Data Analytics

Chase Wu New Jersey Ins0tute of Technology

Next presentation starting soon Business Analytics using Big Data to gain competitive advantage

Mike Maxey. Senior Director Product Marketing Greenplum A Division of EMC. Copyright 2011 EMC Corporation. All rights reserved.

Hadoop. Sunday, November 25, 12

Big Data Analytics - Accelerated. stream-horizon.com

Hur hanterar vi utmaningar inom området - Big Data. Jan Östling Enterprise Technologies Intel Corporation, NER

MySQL and Hadoop: Big Data Integration. Shubhangi Garg & Neha Kumari MySQL Engineering

An Oracle White Paper June Oracle: Big Data for the Enterprise

So What s the Big Deal?

BIG DATA & ANALYTICS. Transforming the business and driving revenue through big data and analytics

Large scale processing using Hadoop. Ján Vaňo

ANALYTICS STRATEGY: creating a roadmap for success

White Paper: What You Need To Know About Hadoop

Native Connectivity to Big Data Sources in MicroStrategy 10. Presented by: Raja Ganapathy

Performance and Scalability Overview

III JORNADAS DE DATA MINING

Addressing Open Source Big Data, Hadoop, and MapReduce limitations

The 4 Pillars of Technosoft s Big Data Practice

Microsoft SQL Server 2012 with Hadoop

Tapping Into Hadoop and NoSQL Data Sources with MicroStrategy. Presented by: Jeffrey Zhang and Trishla Maru

BIG DATA: FROM HYPE TO REALITY. Leandro Ruiz Presales Partner for C&LA Teradata

Constructing a Data Lake: Hadoop and Oracle Database United!

Big Data and Advanced Analytics Applications and Capabilities Steven Hagan, Vice President, Server Technologies

Transcription:

Data Warehouse design Design of Enterprise Systems University of Pavia 10/12/2013 2h for the first; 2h for hadoop - 1-

Table of Contents Big Data Overview Big Data DW & BI Big Data Market Hadoop & Mahout - 2-

Data Warehouse design BIG DATA OVERVIEW - 3-

Big Data Overview: Table of Contents Big Data Overview Data Growth Definition Big Data v.s. Relational Data Its Value Big Data Benefit Big Data Usage Challenges - 4-

Exabytes Exabytes Big Data Overview: Data Growth 15/ 通 用 格 式 26/ 通 用 格 式 6/ 通 用 格 式 18/ 通 用 格 式 29/ 通 用 格 式 9/ 通 用 格 式 19/ 通 用 格 式 0/ 通 用 格 式 Data Storage Growth 15/ 通 用 格 式 6/ 通 用 格 式 28/ 通 用 格 式 18/ 通 用 格 式 11/ 通 用 格 式 3/ 通 用 格 式 24/ 通 用 格 式 18/ 通 用 格 式 8/ 通 用 格 式 0/ 通 用 格 式 Data Storage Growth Years Storage capacity increases 23% on average annually Years Exponential growth during a decade starts from 2010 End the ability to store all the available information - 5-

Big Data Overview: Definition Gartner Definition(2012): "Big data is high volume, high velocity, and/or high variety information assets that require new forms of processing to enable enhanced decision making, insight discovery and process optimization." - 6-

Big Data Overview: Big Data V.S. Relational Data Application Relation-Based Data Big Data Data processing Single-computer platform that scales with better CPUs, centralized processing. Cluster platforms that scale to thousands of nodes, distributed process. Data management Relational database (SQL), centralized storage. Non-relational databases that manage varied data types and formats (NoSQL), distributed storage. Analytics Batched, descriptive, centralized. Real-time, predictive and prescriptive, distributed analytics. - 7-

Big Data Overview: Its Value 1/3 Several classes of company heading the revenue chart($11.59 billion) broad-portfolio tech giants (IBM, HP, Oracle, EMC) leading software houses (Teradata, SAP, Microsoft) professional services companies (PwC, Accenture) Source: Wikibon, Big Data Vendor Revenue and Market Forecast 2012-2017 Source: http://www.zdnet.com/big-data-an-overview_p2-7000020785/ - 8-

Big Data Overview: Its Value 2/3 Pure play: vendors who derive 100 percent of their revenue from this market Source: Wikibon, Big Data Vendor Revenue and Market Forecast 2012-2017 Source: http://www.zdnet.com/big-data-an-overview_p2-7000020785/ - 9-

Big Data Overview: Its Value 3/3 IDC: Big data will become a $17 billion business by 2015($23.8 billion by 2016) Big data storage will account for 6.8% of the entire worldwide storage market by 2015 Source: Worldwide Big Data Technologies and Services: 2012-2015 Forecast (IDC, 2012) Source: http://www.zdnet.com/big-data-an-overview_p2-7000020785/ - 10-

Big Data Overview: Big Data Benefits Business benefits received by implementing an effective Big Data methodology. The survey is based on 1153 responses from 325 respondents - 11-

Big Data Overview: Big Data Usage 1/2 E-Commerce and Market Intelligence Recommender system Social media monitoring and analysis Crowd-sourcing systems Social and virtual games E-Government and Politics 2.0 Ubiquitous government services Equal access and public services Citizen engagement Science & Technology S&T innovation Hypothesis testing Knowledge discovery Smart Health and Wellbeing Human and plant genomics Healthcare decision support Patient community analysis Security and Public Safety Crime analysis Computational criminology Terrorism informatics Open-source intelligence Cyber security - 12-

Big Data Overview: Big Data Usage 2/2 Survey of European companies from Steria's Business Intelligence Maturity Audit (bima) - 13-

Big Data Overview: Challenges 1/2 Main challenges between Big Data and companies. The survey is based on 1153 responses from 325 respondents - 14-

Big Data Overview: Challenges 2/2 A Survey of European companies from Steria's Business Intelligence Maturity Audit (bima) Technical 38% has data quality problem A lack of data governance; no master data management system(38%) Organizational 72% has no BI strategy; 70% has no BI governance 7% grades big data as relevant Source: http://www.steria.com/uk/media-centre/press-releases/press-releases/article/survey-suggests-only-7- of-european-companies-rate-big-data-as-very-relevant-to-their-business/ - 15-

Data Warehouse design BIG DATA, DW & BI - 16-

Big Data, DW & BI: Table of Contents Big Data, DW & BI Evolution Techniques Cost Best Practices - 17-

BI Evolution Key Characteristics Gartner BI Platforms Core Capabilities Gartner Hype Cycle BI&A 1.0 -DBMS-based, structured content. -RDBMS & data warehousing. -ETL & OLAP. -Dashboards & scorecards. -Data mining & statistical analysis. -Ad hoc query & search-based BI -Reporting, dashboards & scorecards -OLAP -Interactive visualization -Predictive modeling & data mining. -Column-based DBMS -In-memory DBMS -Real-time decision -Data mining workbenches BI&A 2.0 Web-based, unstructured content -Information retrieval and extraction -Opinion mining -Question answering -Web analytics and web intelligence -Social media analytics -Social network analysis -Spatial-temporal analysis -Information semantic services -Natural language question answering -Content & text analytics BI&A 3.0 Mobile and sensor-based content -Location-aware analysis -Person-centered analysis -Context-relevant analysis -Mobile visualization & HCI -Mobile BI BI and Analytics: evolution and characteristics - 18-

Big Data Overview: Techniques 1/2 McKinsey Global Institute in 2011 provided a list of the top 10 common techniques applicable across a range of industries, particularly in response to the need to analyze new amounts of data and their combination. List of the top 10 techniques which require Big data(1/2) A/B Testing Cluster Analysis Classification A technique in which a control group is compared with a variety of test groups in order to determine what treatments will improve a given objective. An example application is determining what copy text, layouts, images, or colors will improve conversion rates on an e-commerce Web site. Big Data enables huge numbers of tests to be executed and analyzed. A statistical method aimed to classify an huge data set and in particular to identify a common behavior. Classification. A set of techniques to identify the categories in which new data points belong, based on a training set containing data points that have already been categorized. Data Mining A set of techniques and technologies with the purpose to extract patterns from large datasets through the combination of methods following statistics and algorithms. These techniques include association rule learning, cluster analysis, classification, and regression. - 19-

Big Data Overview: Techniques 2/2 McKinsey Global Institute in 2011 provided a list of the top 10 common techniques applicable across a range of industries, particularly in response to the need to analyze new amounts of data and their combination. List of the top 10 techniques which require Big data(2/2) Network analysis A set of techniques used to characterize relationships among discrete nodes in a graph or a network. In social network analysis, connections between individuals in a community or organization are analyzed. Predictive modeling A set of techniques in which a mathematical model is created or chosen to best predict the probability of an outcome. Sentiment analysis Statistics Application of natural language processing and other analytic techniques to identify and extract subjective information from source text material. The science of the collection, organization, and interpretation of data, including the design of surveys and experiments. Statistical techniques are often used to understand the relationships between all the variables. Visualization Techniques used to create images, diagrams or animations, usually integrated in more complex dashboards. - 20-

Big Data: Cost 1/2 ESG (Enterprise Strategy Group) provides an analysis on the costs of Big Data, in particular a comparison between a build and buy solution. Item Cost Notes @$22k each; enterprise class with dual Servers $400,000 power supplies, 36TB of serial attached SCSI (SAS) storage, 48-64 gigabytes memory, 1 rack Server support $60,000 @15% of server cost Switches $15,000 Distribution/systems management software 3 @ $5k for InfiniBand; in older network switches will run at least 3x the costs of InfiniBand $90,000 Cloudera: 18 nodes @ $5k each Integration $100,000 Licenses and dedicated hardware Information Management Tools Node Configuration and Implementation $20,000 320 hours @ $100/hour human cost $16,000 Build Project Costs $733,000 8 hours/node, 20 nodes = 160 hours, $100/hour Those project items where a "buy" option exists Build Versus Buy Elements (Using Build Pricing) - 21-

Big Data: Cost 2/2 ESG (Enterprise Strategy Group) provides an analysis on the costs of Big Data, in particular a comparison between a build and buy solution. Item Cost Notes Build Total $733,000 Buy (Oracle Big Data Appliance) Buy (Oracle Big Data Appliance) Savings ESG Estimated Savings $450,000 $283,000 ~39% Cost of Oracle Big Data Appliance for same infrastructure and tasks costs (list) Not lifecycle costs, just for initial project Oracle Big Data Appliance lowers costs versus do-it-yourself Build Versus Buy Elements (Using Buy Pricing) - 22-

Big Data: Best Practices 1/3 First of all, however, we need to focus on some considerations on when is suitable to use Big Data technologies Analyze a huge quantity of data not only structured but also semi-structured and unstructured from a wide variety of resources; All of the data gathered must be analyzed against a sample or in another case, sampling of data is not as effective as the analysis made upon a large amount of data; Iterative and explorative analysis when business measures on the data are not determined a priori; Solving information and business challenges that are not properly addressed by a traditional relational database approach. - 23-

Big Data: Best Practices 2/3 The best practices that we are going to describe regard both the management aspects and the organizational and technological ones. Muting the HiPPOs: the highest-paid person opinions are those on which depend the most important decisions on how to retrieve and analyze data. Today these people rely too much on intuition and experience rather than the pure rationality of data so there is the need to transform this behavior; Start with initiative that led to customer-centric outcome. It is very important for those organization that are customer oriented to begin with customer analytics that enable better services as a result of a deep understand of customers needs and future behaviors; Develop an enterprise schema that include the vision, the strategies and the requirements for Big Data and is useful to align the business users need and the implementation roadmap of information technologies; In order to achieve near-term results is crucial the adoption of a pragmatic approach, starting from the most logical and cost-effective place to look for insight that is within the enterprise; - 24-

Big Data: Best Practices 3/3 Big Data Analytics effectiveness strictly depends on analytical skills and analytics tools. So the enterprises should invest in acquiring both tools and skills; The Big Data strategy and the business analytics should encompass an evaluation of the decision-making processes of the organization as well as an evaluation on the groups and types of decision makers; Try to uncover new metrics, key performance indicators and new analytics technique to lock at new and existing data in a different way in order to find new opportunity. This could require setting up a separate Big Data team with the purpose of experiment and innovate; The final goal of a Big Data project is not the collection of much data as possible but the support of the concrete business needs and provide new reliable information to decision makers; Only one technology cannot meet all the Big Data requirements. The presence of different workloads, data types, and user types should be served by the most suitable technology. For example, Hadoop could be the best choice for a large-scale Web log analysis but is not suitable for a real-time streaming at all. Multiple Big Data technologies must coexist and address use cases for which they are optimized. - 25-

Data Warehouse design BIG DATA MARKET - 26-

Big Data Market Definition IDC(2012) defines the big data market as an aggregation of storage, server, networking, software, and services market segments, each with several subsegments. Big Data Technology Stack - 27-

Big Data Market Segments Infrastructure External storage systems Servers(including internal storage, memory, network cards) and supporting system software as well as spending for self-built servers by large cloud service providers Datacenter networking infrastructure used in support of Big Data server and storage infrastructure Services business consulting, business process outsourcing, plus IT projectbased services, IT outsourcing, and IT support, and training services related to Big Data implementations Softwares Data organization and management software, including parallel and distributed file systems and others Analytics and discovery software, including search engines used for Big Data applications, data mining, text mining, rich media analysis, data visualization, and others - 28-

Big Data Market Analysis Marketsandmarkets Big Data Market By Types (Hardware; Software; Services; BDaaS - HaaS; Analytics; Visualization as Service); By Software (Hadoop, Big Data Analytics and Databases, System Software (IMDB, IMC): Worldwide Forecasts & Analysis (2013 2018) - 29-

Data Warehouse design HADOOP & MAHOUT - 30-

Hadoop & Mahout: Table of Contents Hadoop Mahout Overview HDFS Map Reduce Hadoop Ecosystem Overview Algorithms Structure Structure HBase File Write Job Submission Pig File Read Job Execution Hive - 31-

Hadoop: Overview Hadoop Overview Master Node HDFS Slave Node1 Slave Node K Slave Node N Storage Computing Storage...... Computing Storage Computing The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models Open source Scalable Distributed Map-Reduce Master Node controls everything! - 32-

Hadoop & Mahout: Table of Contents Hadoop Mahout Overview HDFS Map Reduce Hadoop Ecosystem Overview Algorithms Structure Structure HBase File Write Job Submission Pig File Read Job Execution Hive - 33-

HDFS Structure Hadoop: HDFS Structure Name Node Metadata Data Node1 Data Node K Data Node N 1 1 1 File 2..... 2..... 2 3 3 3 Name node controls almost everything about storage Large files are partitioned into chunks and stored across multiple nodes File chunks are replicated to mitigate the node failure problems - 34-

Hadoop: HDFS write Operation series when writing a file - 35-

Hadoop: HDFS Read Operation series when reading a file - 36-

Hadoop & Mahout: Table of Contents Hadoop Mahout Overview HDFS Map Reduce Hadoop Ecosystem Overview Algorithms Structure Structure HBase File Write Job Submission Pig File Read Job Execution Hive - 37-

Map-Reduce Structure Hadoop: Map-Reduce Structure Job Tracker Task Tracker1 Task Tracker K Task Tracker N Mapper Mapper Mapper...... Reducer Reducer Reducer Job tracker controls almost everything about computing Key concepts of Map-Reduce Computation goes with data - 38-

Hadoop: Job submission The initialization takes some time Job execution is monitored by Job tracker through heartbeat - 39-

Hadoop: Map-Reduce Execution Bandwidth required in the copy process - 40-

Hadoop & Mahout: Table of Contents Hadoop Mahout Overview HDFS Map Reduce Hadoop Ecosystem Overview Algorithms Structure Structure HBase File Write Job Submission Pig File Read Job Execution Hive - 41-

Hadoop Ecosystem: HBase HDFS Structured/semistructure/unstructure d data Write only once, read many Hbase is an opensource, distributed, versioned, columnoriented store modeled after Google's Bigtable Column based database. It supports Insert Delete Update - 42-

Hadoop Ecosystem: Hbase Storage model 1/3 Hbase is a column-oriented database - 43-

Hadoop Ecosystem: Hbase Storage model 1/3 Hbase storage system - 44-

Hadoop Ecosystem: Hbase Storage model 1/3 Hbase storage system - 45-

Hadoop Ecosystem: Pig Hadoop A lot of java codes in case of analyzing No scripting Pig is a platform for analyzing large data sets that consists of a highlevel language for expressing data analysis programs Pig generates and compiles a Map/Reduce program(s) on the fly. - 46-

Hadoop Ecosystem: Pig Sample Scripts RawInput = LOAD '$INPUT' USING com.contextweb.pig.cwheaderloader('$resources/schema/wide.xml'); input = foreach RawInput GENERATE ContextCategoryId as Category, DefLevelId, TagId, URL,Impressions; deffilter = FILTER input BY (DefLevelId == 8) or (DefLevelId == 12); GroupedInput = GROUP deffilter BY (Category, TagId, URL); result = FOREACH GroupedInput GENERATE group, SUM(input.Impressions) as Impressions; STORE result INTO '$OUTPUT' USING com.contextweb.pig.cwheaderstore(); - 47-

Hadoop Ecosystem: Hive Hive is a data warehouse infrastructure built on top of hadoop Supports analysis of large datasets stored in Hadoop compatible file systems like HDFS and Amazon S3 file system Provides SQL-Like query language called HiveSQL Provides index to accelerate queries - 48-

Hadoop Ecosystem: HiveSQL DML Select DDL SHOW TABLES CREATE TABLE ALTER TABLE DROP TABLE - 49-

Mahot Hadoop Mahout Overview HDFS Map Reduce Hadoop Ecosystem Overview Algorithms Structure Structure HBase File Write Job Submission Pig File Read Job Execution Hive - 50-

Mahout: Overview A scalable machine learning library built on Hadoop, written in java Driven by Ng et al. s paper MapReduce for Machine Learning on Multicore - 51-

Mahout: Algorithms Classification Logistic Regression Bayesian SVM NN Hidden Markov Models Clustering Kmeans Mean Shift Clustering Spectral Clustering Top Down Clustering Pattern Mining Parallel FP Growth Algorithm Regression Locally Weighted Linear Regression Dimension reduction SVD PCA GDA Collaborative filtering Non-distributed recommenders Distributed Item-Based Collaborative Filtering - 52-

Data Warehouse design EXERCISE - 53-

Mobility Analyzer: A Show Case Site Data Flow Modules HANA DB Local ExportTweetsInfo CSV Files CSVConverter Hadoop Sequence Files Mahout Run.sh Cluster Info. Clusterdump Cluster Info. ImportClusterInfo Local HANA DB - 54-