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



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

Integrating MicroStrategy Analytics Platform with Microsoft SQL Server

Integrating MicroStrategy Analytics Platform with Oracle

LEARNING SOLUTIONS website milner.com/learning phone

Updating Your Skills to SQL Server 2016

MicroStrategy Course Catalog

Integrating MicroStrategy With Netezza

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

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

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

70-467: Designing Business Intelligence Solutions with Microsoft SQL Server

Oracle Database 11g Comparison Chart

SQL Server 2012 Business Intelligence Boot Camp

SQL Server 2016 New Features!

Columnstore in SQL Server 2016

Driving Peak Performance IBM Corporation

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

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

SQL Server What s New? Christopher Speer. Technology Solution Specialist (SQL Server, BizTalk Server, Power BI, Azure) v-cspeer@microsoft.

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

ORACLE BUSINESS INTELLIGENCE SUITE ENTERPRISE EDITION PLUS

Upon completion of the program, students are given a full support to take and pass Microsoft certification examinations.

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

SQL Server Administrator Introduction - 3 Days Objectives

ORACLE BUSINESS INTELLIGENCE SUITE ENTERPRISE EDITION PLUS

Course Outline. Upgrading Your Skills to SQL Server 2016 Course 10986A: 5 days Instructor Led

SQL Server 2012 End-to-End Business Intelligence Workshop

SAP BO 4.1 COURSE CONTENT

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

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

Performance Tuning and Optimizing SQL Databases 2016

SQL Server 2012 Performance White Paper

MS SQL Performance (Tuning) Best Practices:

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

AtScale Intelligence Platform

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

CitusDB Architecture for Real-Time Big Data

SQL Server 2012 and PostgreSQL 9

CHAPTER 5: BUSINESS ANALYTICS

MS Designing and Optimizing Database Solutions with Microsoft SQL Server 2008

Sisense. Product Highlights.

SQL Server 2012 and MySQL 5

SAP Business Objects Business Intelligence platform Document Version: 4.1 Support Package Data Federation Administration Tool Guide

Designing Business Intelligence Solutions with Microsoft SQL Server 2012

INTEROPERABILITY OF SAP BUSINESS OBJECTS 4.0 WITH GREENPLUM DATABASE - AN INTEGRATION GUIDE FOR WINDOWS USERS (64 BIT)

MS 50511A The Microsoft Business Intelligence 2010 Stack

CHAPTER 4: BUSINESS ANALYTICS

Entity store. Microsoft Dynamics AX 2012 R3

Performance Verbesserung von SAP BW mit SQL Server Columnstore

Microsoft SQL Server 2012: What to Expect

Key Attributes for Analytics in an IBM i environment

PI System and Microsoft SQL Server Requirements. March, 2013

<Insert Picture Here> Operational Reporting for Oracle Applications with Oracle GoldenGate

SQL Server In-Memory by Design. Anu Ganesan August 8, 2014

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

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

SQL Server Analysis Services Complete Practical & Real-time Training

Course 20464: Developing Microsoft SQL Server Databases

ORACLE BUSINESS INTELLIGENCE, ORACLE DATABASE, AND EXADATA INTEGRATION

Best Practices for Hadoop Data Analysis with Tableau

Microsoft Analytics Platform System. Solution Brief

Developing Microsoft SQL Server Databases 20464C; 5 Days

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

Designing Self-Service Business Intelligence and Big Data Solutions

OWB Users, Enter The New ODI World

Advanced Solutions of Microsoft SharePoint Server 2013 Course 20332A; 5 Days, Instructor-led

Course Outline. SQL Server 2014 Performance Tuning and Optimization Course 55144: 5 days Instructor Led

Alejandro Vaisman Esteban Zimanyi. Data. Warehouse. Systems. Design and Implementation. ^ Springer

James Serra Sr BI Architect

End to End Microsoft BI with SQL 2008 R2 and SharePoint 2010

The Methodology Behind the Dell SQL Server Advisor Tool

SAP HANA SAP s In-Memory Database. Dr. Martin Kittel, SAP HANA Development January 16, 2013

Preparing a SQL Server for EmpowerID installation

Creating Hybrid Relational-Multidimensional Data Models using OBIEE and Essbase by Mark Rittman and Venkatakrishnan J

20464C: Developing Microsoft SQL Server Databases

Session Code*: 0310 Demystifying Authentication and SSO Options in Business Intelligence. Greg Wcislo

The Microsoft Business Intelligence 2010 Stack Course 50511A; 5 Days, Instructor-led

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

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

OBIEE 11g Analytics Using EMC Greenplum Database

Building Views and Charts in Requests Introduction to Answers views and charts Creating and editing charts Performing common view tasks

Building a BI Solution in the Cloud

Azure Scalability Prescriptive Architecture using the Enzo Multitenant Framework

Creating Connection with Hive

Implementing Data Models and Reports with Microsoft SQL Server

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

Developing Microsoft SQL Server Databases

Introduction to Querying & Reporting with SQL Server

Oracle BI 11g R1: Build Repositories

Developing Microsoft SQL Server Databases (20464) H8N64S

MS-55115: Planning, Deploying and Managing Microsoft Project Server 2013

Emerging Technologies Shaping the Future of Data Warehouses & Business Intelligence

Oracle Exam 1z0-591 Oracle Business Intelligence Foundation Suite 11g Essentials Version: 6.6 [ Total Questions: 120 ]

Developing Microsoft SQL Server Databases MOC 20464

MICROSOFT EXAM QUESTIONS & ANSWERS

Scalability and Performance Report - Analyzer 2007

Transcription:

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

Technical Integration with Microsoft SQL Server Microsoft SQL Server is a data platform for analytical and transactional operations Microsoft offers a rich family of relational database products in the SQL Server family This session discusses the integration with Microsoft SQL Server Microsoft SQL Database on Cloud/Microsoft Azure MicroStrategy offers a different set of optimizations for the following products Microsoft SQL Server Parallel Data Warehouse Microsoft Analytics Platform System Microsoft SQL Server Analysis Services

MicroStrategy Is Most Commonly Used To Send Analytical Queries to Microsoft SQL Server Analytical queries have specific technical characteristics that differentiate them from operational queries Analytical queries involve processing of massive amounts of data o Accessing large data volume o Processing massive data volume Challenge: Achieve interactive response times Microsoft SQL Server offers some key features to help with that: o Compression o Partitioning o In-memory columnstore o In-memory OLTP, etc.

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

Many Integration Points Tackle Common Challenges SQL Server specific SQL Syntax o Ordered Analytic (OLAP) functions o CASE expressions o Full outer joins o Set operators o Sub queries Multi-pass SQL for analytical sophistication o Use of temporary tables or derived tables o Indexing o MicroStrategy Parallel SQL Execution Support for key SQL Server features o Parallel Query Execution o Indexed Views o Clustered Columnstore Indexes o Compression o Partitioning o Data level security (Pass-through auth) o SQL Server Linked Servers o Integration with Table-Valued User-Defined functions o Querying XML data Extensions to SQL Server functionality o Aggregate awareness with physical summary tables o Middle-tier computation of calculations not available in SQL Server o Middle-tier caching via Intelligent Cubes o Report caching

MicroStrategy Generates SQL Server-Specific Syntax Takes advantage of SQL Server s stack of rich analytics Push down 120 + Functions Mathematical, String, Statistical, Date-Time functions 20+ OLAP functions 20+ SQL-Server specific tunable settings Full outer joins, Set Operators, Implicit/Explicit Table Creation Type, Query banding, Indexing, Sub-Query Type, etc.

Multi-Pass SQL Helps Answer Complex Analytical Questions Choice of Intermediate tables have a significant impact on Query Performance MicroStrategy offers multiple approaches for Intermediate tables Default: Global or True temporary table A simple configuration setting allows switching: VLDB: Intermediate Table Type SELECT INTO ##ZZSP00 FROM GROUP BY SELECT FROM ##ZZSP00 join ## ZZSP01 ON ( GROUP BY SELECT INTO ##ZZSP01 FROM GROUP BY Intermediate result sets are created, populated and dropped by MicroStrategy. Global temporary tables, indicated with the ## prefix, are created in the tempdb and last for only one session

Indexes On Large Temp Tables Improve Performance Report level setting creates secondary index on Intermediate Tables In-memory columnstore Indexes CREATE CLUSTERED COLUMNSTORE INDEX cci_??? ON?????? is a MicroStrategy wildcard that will be replaced with the name of the MicroStrategy data mart table

Executing multiple passes in parallel in MicroStrategy Get the most out of the hardware you already have! Standard Edition only uses single core to process any given query analytical queries are often CPU bound MicroStrategy s Parallel Query Execution identifies the passes in a multi-pass SQL job that don t depend on each other and can be safely submitted in parallel. By doing so the hardware resources on a Standard Edition SQL Server can be better utilized. Required VLDB Settings to enable this: Query Optimizations -> Parallel Query Execution -> Enable Parallel Query Execution Improvement Estimate in SQL View -> Enable Maximum Queries per Report -> 2 (default)

Utilize Multiple Cores for SQL Query Execution Parallel SQL Execution can improve performance for SQL Server Enterprise Edition SQL Server Enterprise offers Parallelism feature via a server setting: Max Degree of Parallelism: Should be no more than the number of cores available to the SQL Server instance.

Improve query speed dramatically using Indexed Views SQL Server can take advantage of pre-aggregated data structures Indexed views are a SQL Server feature that provides for the creation, maintenance, and automatic navigation of aggregated data Pre-summarization allows the database to perform row access and aggregation ahead of time. Any SQL generated by an end user request will be submitted to SQL Server where the optimizer may choose to substitute the Indexed View for the base table A MicroStrategy BI architect can also use the Indexed View as summary table resulting in simpler SQL queries

Querying XML Data in SQL Server SQL Server methods can be used by MicroStrategy to display results MicroStrategy SQL can generate the EXIST syntax via a Filter using ApplyComparison: ApplyComparison("#0.exist( /book/author[ln=""doe""] ) = 1", Book@XML) MicroStrategy can display elements from XML data using QUERY and VALUE methods: ApplySimple( cast(#0.query( /book/title ) as nvarchar(250)),book@xml) Max(ApplySimple("#0.value('/book[1]/title[1]', 'varchar(100)')", Book@XML)) {~}

Integration with Table-Valued User-Defined functions Users can provide input parameters to answer analytical questions of the data warehouse SQL Server supports table-valued user-defined functions in which users can provide input parameters to answer analytical questions of the data warehouse. Table-valued functions are similar to stored procedures but unlike stored procedures can be referenced in a FROM clause much like a table. Use a table-valued user-defined function in MicroStrategy with a Free Form SQL report:

Access Data To/From Linked Servers SQL Server Feature Access data just not stored on the local SQL Server. The remote linked servers can be other SQL Server databases or non-sql Server databases. The SQL Server syntax for referencing a table in a linked server is: LinkedServerName..TableOwnerName.TableName Example: If your linked server name is SQL2 and you have a table named LU_PROD owned by SCOTT, a view in the SQL Server database can be created as this: CREATE VIEW LU_PROD AS SELECT * FROM SQL2..SCOTT.LU_PROD

Use Pass-through Authentication to Log On Securely Single-Sign-On using Kerberos Integrated Authentication Microsoft (in its OS as well as SQL Server) configures Kerberos Integrated Authentication as default authentication mechanism. Benefit no unnecessary and potentially unsecure UID/PWD MicroStrategy supports integrated authentication to SQL Server in the typical setup MicroStrategy will connect using the security context (user account) Intelligence Server is running at and execute all queries under that account. This allows efficient report caching on the middle tier. Some customers implement data security on the database layer, which requires MicroStrategy to run queries under the end user account. MicroStrategy supported this for a long time using UID/PWD. 3 Validate Token MicroStrategy Web Client Profile Passed Pass credentials User Info passed Directory 1 2 4 UID/PWD entered Authenticated against user store Web Server (MicroStrategy Web) MicroStrategy Intelligence Server Synchronization

SSO Available with Intelligence Server on Linux/Windows MicroStrategy 10.2 enables SSO with Intelligence Server on Linux Starting with MicroStrategy Secure Enterprise 10.2, we brought along a huge enhancement. Now users will be able to use Kerberos integrated authentication to access databases when the MicroStrategy Intelligence Server is running on both Linux/Unix operating systems and Windows operating system Refer to the MicroStrategy Community website http://community.microstrategy.com : TN272948 for more details.

Summary MicroStrategy and Microsoft continue to have a strong partnership. We work together to further optimize our integration to provide a seamless reporting experience Call-to-Action: Refer to existing best practices for developing MicroStrategy applications apply. Please see our detailed integration paper in the MicroStrategy Community Knowledge Base: TN48017 Make sure to take advantage of DB features designed for analytical workloads Look for best practices to take advantage of data source strengths in MicroStrategy Community MicroStrategy customer requests / requirements should be submitted to the http://community.microstrategy.com website under the Ideas section. Contact Information: Farah Omer fomer@microstrategy.com

Questions