IBM DB2 Database and MicroStrategy 10: A functional overview including recommendations for performance optimization. MicroStrategy World 2016

Similar documents
SQL Server and MicroStrategy: Functional Overview Including Recommendations for Performance Optimization. MicroStrategy World 2016

HP Vertica and MicroStrategy 10: a functional overview including recommendations for performance optimization. Presented by: Ritika Rahate

Integrating MicroStrategy With Netezza

CitusDB Architecture for Real-Time Big Data

Driving Peak Performance IBM Corporation

MicroStrategy Course Catalog

Integrating MicroStrategy Analytics Platform with Microsoft SQL Server

SAP HANA PLATFORM Top Ten Questions for Choosing In-Memory Databases. Start Here

LEARNING SOLUTIONS website milner.com/learning phone

IBM DB2 Near-Line Storage Solution for SAP NetWeaver BW

ORACLE OLAP. Oracle OLAP is embedded in the Oracle Database kernel and runs in the same database process

Integrating MicroStrategy Analytics Platform with Oracle

OLAP Services. MicroStrategy Products. MicroStrategy OLAP Services Delivers Economic Savings, Analytical Insight, and up to 50x Faster Performance

Integrating Apache Spark with an Enterprise Data Warehouse

Performance rule violations usually result in increased CPU or I/O, time to fix the mistake, and ultimately, a cost to the business unit.

White Paper. Considerations for maximising analytic performance

Safe Harbor Statement

Monitor and Manage Your MicroStrategy BI Environment Using Enterprise Manager and Health Center

SQL Server 2012 Business Intelligence Boot Camp

Data Integrator Performance Optimization Guide

SQL Server 2012 Performance White Paper

Oracle Database 11g Comparison Chart

High-Volume Data Warehousing in Centerprise. Product Datasheet

Business Intelligence and Healthcare

Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC

<Insert Picture Here> Extending Hyperion BI with the Oracle BI Server

AV-005: Administering and Implementing a Data Warehouse with SQL Server 2014

IBM Data Retrieval Technologies: RDBMS, BLU, IBM Netezza, and Hadoop

The IBM Cognos Platform for Enterprise Business Intelligence

Affordable, Scalable, Reliable OLTP in a Cloud and Big Data World: IBM DB2 purescale

Maximise your Microsoft investment to provide Legal Matter Management

Getting Started with SandStorm NoSQL Benchmark

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.

MS 20467: Designing Business Intelligence Solutions with Microsoft SQL Server 2012

Microsoft Analytics Platform System. Solution Brief

A very short talk about Apache Kylin Business Intelligence meets Big Data. Fabian Wilckens EMEA Solutions Architect

Key Attributes for Analytics in an IBM i environment

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database Option

SQL Performance for a Big Data 22 Billion row data warehouse

Whitepaper. Innovations in Business Intelligence Database Technology.

Exploring the Synergistic Relationships Between BPC, BW and HANA

Oracle Database 12c: Introduction to SQL Ed 1.1

Designing Business Intelligence Solutions with Microsoft SQL Server 2012 Course 20467A; 5 Days

Preview of Oracle Database 12c In-Memory Option. Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Netezza and Business Analytics Synergy

Apache Kylin Introduction Dec 8,

Oracle9i Data Warehouse Review. Robert F. Edwards Dulcian, Inc.

Online Courses. Version 9 Comprehensive Series. What's New Series

SAP HANA - Main Memory Technology: A Challenge for Development of Business Applications. Jürgen Primsch, SAP AG July 2011

Native Connectivity to Big Data Sources in MSTR 10

The IBM Cognos Platform

Module 1: Getting Started with Databases and Transact-SQL in SQL Server 2008

CERULIUM TERADATA COURSE CATALOG

Tiber Solutions. Understanding the Current & Future Landscape of BI and Data Storage. Jim Hadley

Why DBMSs Matter More than Ever in the Big Data Era

AtScale Intelligence Platform

MySQL for Beginners Ed 3

Emerging Technologies Shaping the Future of Data Warehouses & Business Intelligence

Is ETL Becoming Obsolete?

Big Data & Cloud Computing. Faysal Shaarani

THE DEVELOPER GUIDE TO BUILDING STREAMING DATA APPLICATIONS

<Insert Picture Here> Enhancing the Performance and Analytic Content of the Data Warehouse Using Oracle OLAP Option

Using distributed technologies to analyze Big Data

SAP HANA. SAP HANA Performance Efficient Speed and Scale-Out for Real-Time Business Intelligence

Performance and Scalability Overview

IBM Cognos 8 Business Intelligence Analysis Discover the factors driving business performance

<Insert Picture Here> Best Practices for Extreme Performance with Data Warehousing on Oracle Database

MDM for the Enterprise: Complementing and extending your Active Data Warehousing strategy. Satish Krishnaswamy VP MDM Solutions - Teradata

Data Warehouse Center Administration Guide

Updating Your Skills to SQL Server 2016

SharePoint 2010 Performance and Capacity Planning Best Practices

Rackspace Cloud Databases and Container-based Virtualization

MOC 20467B: Designing Business Intelligence Solutions with Microsoft SQL Server 2012

How to Enhance Traditional BI Architecture to Leverage Big Data

SQL Server 2012 Gives You More Advanced Features (Out-Of-The-Box)

Reporting Services. White Paper. Published: August 2007 Updated: July 2008

Moving Large Data at a Blinding Speed for Critical Business Intelligence. A competitive advantage

MOC 20461C: Querying Microsoft SQL Server. Course Overview

Enterprise Performance Tuning: Best Practices with SQL Server 2008 Analysis Services. By Ajay Goyal Consultant Scalability Experts, Inc.

PostgreSQL Business Intelligence & Performance Simon Riggs CTO, 2ndQuadrant PostgreSQL Major Contributor

There are four technologies or components in the database system that affect database performance:

Creating Connection with Hive

Hybrid Transaction/Analytic Processing (HTAP) The Fillmore Group June A Premier IBM Business Partner

Designing Business Intelligence Solutions with Microsoft SQL Server 2012

OWB Users, Enter The New ODI World

SQL Server for developers. murach's TRAINING & REFERENCE. Bryan Syverson. Mike Murach & Associates, Inc. Joel Murach

An Architectural Review Of Integrating MicroStrategy With SAP BW

PUBLIC Performance Optimization Guide

Course ID#: W 35 Hrs. Course Content

Course 6234A: Implementing and Maintaining Microsoft SQL Server 2008 Analysis Services

Top 10 Performance Tips for OBI-EE

QLIKVIEW INTEGRATION TION WITH AMAZON REDSHIFT John Park Partner Engineering

SAP Data Services 4.X. An Enterprise Information management Solution

Best Practices. Using IBM InfoSphere Optim High Performance Unload as part of a Recovery Strategy. IBM Smart Analytics System

OBIEE 11g Data Modeling Best Practices

Parallel Data Preparation with the DS2 Programming Language

SQL Server Business Intelligence on HP ProLiant DL785 Server

CHAPTER 5: BUSINESS ANALYTICS

DBMS / Business Intelligence, SQL Server

Transcription:

IBM DB2 Database and MicroStrategy 10: A functional overview including recommendations for performance optimization MicroStrategy World 2016

DB2 Is A Large Family of Relational Database Engines IBM DB2 for Linux, UNIX and Windows is a next generation data platform for transactional and analytical operations This session talks specifically about IBM DB2 for Linux, UNIX and Windows Also applies to the latest cloud based offerings, such as dashdb IBM DB2 is a commonly used by MicroStrategy customers MicroStrategy and DB2 team have been working collaboratively on the technical integration for 20 years

MicroStrategy Data Access Workflows There are numerous ways for MicroStrategy to interact with IBM DB2 Adhoc Schema For Analysts familiar with data in database Schema is created automatically on the fly Optimal time-to-value Live Connect User actions trigger analytical queries against DB2 Good for frequently changing data Modeled Schema BI Architect creates logical model of data in MicroStrategy Analyst or Consumers use model objects (attributes and metrics) to express their analytical needs MicroStrategy generates translated to multipass SQL to database In-Memory Dataset Data is imported from database into Multidimensional In-Memory cache Can improve performance and user scale

MicroStrategy Pushes Analytical Workloads to IBM DB2 Analytical queries have specific technical characteristics A typical analytical query Accesses a large amount of data (up to terabytes) Processes large amount of data MicroStrategy customers like to have interactive experience Challenge is to achieve fast response times MicroStrategy and IBM DB2 work together to tackle this challenge MicroStrategy formulates good queries DB2 executes queries well

MicroStrategy Provides Unique Optimizations for IBM DB2 DB2-optimized SQL syntax DB2 Analytical functions (OLAP functions) CASE expressions Full outer joins Set operators Subqueries Setting Isolation levels Seamless support for key DB2 features DB2 BLU Acceleration DB2 Intrapartition Parallelism DB2 Compression DB2 Workload Manager DB2 function library Multi-pass SQL for analytical sophistication Use of common table expressions Use of declared global temporary tables Control over distribution keys for intermediate results MicroStrategy Parallel SQL Execution Extensions to DB2 functionality Aggregate awareness with physical summary tables Middle-tier computation of calculations not available in IBM DB2 Middle-tier caching via Intelligent Cubes Report caching Application-level partitioning

DB2-Optimized SQL Syntax MicroStrategy integrates with IBM DB2 s broad list of database functions and SQL functionality to improve analytical performance DB2-specific SQL DB2 version-specific MicroStrategy database connector Common table expressions, case expressions, full outer joins, set operators, subqueries, etc. Data type support Function push-down MicroStrategy provides a library of mathematical, statistical, and financial functions Function push down to the database leverages the power of IBM DB2 s database server MicroStrategy s SQL Engine pushes over 100 analytical functions to DB2

MicroStrategy Provides Analytical Sophistication Multi-pass SQL optimized for IBM DB2 database MicroStrategy provides analytical richness using multi-pass SQL Result of a SELECT statement used as input for the following Intermediate result is truly temporary in nature SELECT FROM WHERE MicroStrategy can handle intermediate data results in multiple ways Common Table Expression or CTE (Default) True Temporary Tables Some MicroStrategy functionality cannot use CTE syntax Middle-tier processing of data (Analytical Engine) MicroStrategy Partitioning feature SELECT FROM WHERE

MicroStrategy Switches Intermediate Table Syntax Dynamically Depending on report design a different approach provides optimal query performance In general, CTE syntax provides the best execution plan In case of too many passes or when joining too many tables declared global temp tables (DGTTs) are the better option Two settings control whether to generate CTE or DGTT syntax VLDB Category VLDB Property Setting Default Value Tables Maximum SQL Passes Before Fallback 0 Tables Maximum Tables in From Clause Before Fallback 0

MicroStrategy Switches Intermediate Table Syntax Dynamically Common Table Expression (CTE) Declared Global Temp Tables (DGTTs)

Leveraging the power of DB2 BLU with MicroStrategy IBM BLU Acceleration is designed for analytical workloads BLU speeds up access to data Columnar storage Compression Data skipping BLU speeds up data processing CPU optimized processing Next generation in-memory computing For optimal support in MicroStrategy Use the MicroStrategy database object IBM DB2 Version 10.5 for Linux, UNIX and Windows Update the settings below for optimal intermediate table syntax VLDB Category VLDB Property Setting Value Tables Intermediate Table Type Permanent Table Indexing Intermediate Table Index Don t create an index Pre/Post Statements Insert Post Statement 1 CALL SYSPROC.ADMIN_CMD ('RUNSTATS ON TABLE??? TABLESAMPLE SYSTEM(20) )

Example: SQL Generation Configured for IBM BLU

No BLU? Other Key DB2 Features to Optimize Performance Other DB2 features to improve MicroStrategy analytic workload performance IBM DB2 Intrapartition Parallelism Allows MSTR to throttle the degree of parallelism depending on the type of query being submitted MicroStrategy recommends the use of parallelism for analytical workloads such as MicroStrategy analytical queries IBM Table Partitioning Feature Table row data is distributed according to the partitioning key Improves query performance when performing join operations in analytical workloads IBM DB2 s Adaptive Compression Adaptive compression is automatic with column tables For row-organized tables, Adaptive Row Compression offers the best storage savings MicroStrategy fully supports the use of Adaptive Compression on warehouse base tables Materialized Query Tables (MQT) Store precomputed results which can improve performance Not referenced in SQL but chosen by the IBM optimizer at runtime if the MQT can improve performance Can be row-organized or column-organized

What is Workload Management? Why is it Important? Workload Management (WLM) is necessary to optimize access to resources for concurrently executing jobs or queries. The goals of a functional workload management are Optimally leverage available (hardware) resources for performance and throughput Prioritize access for high priority jobs Assure resource availability by avoiding system lock-up by any small set of jobs

Workload Management In MicroStrategy Threads Have Priority Levels to Ensure High Priority Jobs Execute Quickly Report requests are submitted Jobs are routed by Priority to their corresponding database Connection High Priority Threads Medium Priority Threads Low Priority Threads MicroStrategy 14

Workload Management in MicroStrategy Job Priorities Can be Set on Different Application Parameters 15

MicroStrategy Can Integrate with IBM DB2 WLM IBM DB2 Workload Manager (WLM) enables administrators to easily monitor and control active work in the system In a mixed workload environment (transactional and analytics) you need a way to prioritize queries. DB2 WLM provides this functionality With DB2 with BLU acceleration or dashdb, there is built-in WLM Use WLM service classes to set different priorities for each of your MicroStrategy workloads: MicroStrategy Metadata Requests MicroStrategy Element Requests MicroStrategy Report Requests A report pre statement tags the MicroStrategy job VLDB Category VLDB Property Setting Value Pre/Post Statements Report Pre Statement CALL SYSPROC.WLM_SET_CLIENT_INFO( 'MSTRUser=!u', NULL, 'Project=!p', 'Report=!o', NULL)

Managing MicroStrategy Workloads in IBM DB2 Create different WLM service classes for your various MicroStrategy workloads Please refer to the Workload Management with MicroStrategy Software and IBM DB2 paper for more implementation details

Summary MicroStrategy and IBM DB2 work together to tackle challenges of analytics Product defaults are optimized for typical analytical scenarios MicroStrategy offers flexibility to quickly adjust to your environment Details in the integration paper on MicroStrategy Community: TN45823 Please email your feedback to jdemuth@microstrategy.com

Steps to leverage BLU with MicroStrategy IBM BLU Acceleration is the single most important feature for improving analytical workloads MicroStrategy Recommendations Set the DB2 database default table orientation to column-organized (DB2_WORKLOAD=ANALYTICS ) Convert existing row-organized tables into column-organized tables (db2convert) Use the MicroStrategy database object IBM DB2 Version 10.5 for Linux, UNIX and Windows Update the MicroStrategy VLDB properties for proper intermediate table syntax