What query folding means to self-service BI projects

Slides:



Advertisements
Similar presentations
What’s new in Entity Framework Core 2.0
Advertisements

5/22/2018 1:39 AM BRK2156 Power BI Report Server: Self-service BI and enterprise reporting on-premises Christopher Finlan Senior Program Manager © Microsoft.
Microsoft /23/2018 8:20 PM THR3038 Implement dev and test scenarios using Azure and Visual Studio Team Services Alex Mang Azure MVP © 2016 Microsoft.
Providing reliable SMB shares in Microsoft Azure
Operational Analytics in SQL Server 2016 and Azure SQL Database
5/27/ :57 PM Tips & Tricks for Deploying and Managing Microsoft Dynamics 365 for Sales and Service Sean McNellis Shawn Dieken Dynamics 365 Principal.
3 Essential Tips for User Adoption of SharePoint and Office 365
Mobile App Trends: lifecycle, functions, and cognitive
Education Meetup for schools, colleges or those working in the sector
6/2/ :21 AM THR2179 Integrating Microsoft Visio, PowerApps and Flow to create compelling online solutions David Parker Owner, bVisual Visio MVP ©
Microsoft /2/2018 3:42 PM BRK3129 Query Big Data using the Expanded T-SQL footprint with PolyBase in SQL Server 2016 Casey Karst Program Manager.
6/12/2018 2:19 PM BRK3245 DirectQuery in Analysis Services: best practices, performance, and use cases Marco Russo SQLBI © Microsoft Corporation. All rights.
Microsoft /23/2018 1:11 AM BRK3180 Migrate CRM OnPremise organizations to CRM Online cloud using Dynamics Lifecycle Services (LCS) Aditya Varma Ganapathy.
Web development productivity with Visual Studio
Edge Transport servers and Hybrid: Why, or why not?
Optimizing Microsoft OneDrive for the enterprise
Azure Functions and Automation: The SQL Agent in the Cloud
Performing a Seamless Migration in Azure SQL DB
7/22/2018 9:21 PM BRK3270 Building a Better Data Solution: Microsoft SQL Server and Azure Data Services Joey D’Antoni Principal Consultant Denny Cherry.
SQL Server on Linux on All-Flash Arrays
8/2/2018 4:49 AM Understanding the SharePoint Framework and how it affects your JavaScript customizations Mark Rackley / Chief Strategy.
Microsoft Ignite /6/2018 3:11 PM THR3055
Get Started with Common Data Model (CDM) and PowerApps
Design Seamless Upgrades to SQL Server 2016 with Query Store
SQL Server for Java developers
ASP.NET in Linux and Windows containers
Customize Office 365 Search and create result sources
Microsoft Ignite /8/2018 6:39 PM
9/11/ :59 PM THR3021 Why Microsoft is updating the new OneDrive sync engine in a different way Hans Brender Cloud Productivity Evangelist Bright.
Serverless Architecture in Azure
Integrate Power BI with Microsoft Dynamics
How to run a successful user group
Add intelligence to Dynamics AX with Cortana Intelligence suite
Break out of the box with Python
Monitor your Microservices with Application Insights
Azure SQL Data Warehouse Scaling: Configuration and Guidance
Drive productivity with OneDrive and SharePoint file collaboration
Deploy Windows 10 Mobile for the mobile workforce
Microsoft Ignite /9/2018 5:03 AM BRK1010
Master Windows 10 Deployments - Expert Level
Meetup: Use Microsoft Technologies to Real World IoT Scenario
Migrate to CRM Online - Tips and Tricks
F5 WAF in Azure Security Center
Microsoft Ignite /20/2018 2:21 PM
Communicate on your terms with Outlook, Yammer and Skype
Continuous Delivery with Visual Studio Team Services
Improve Office 365 Adoption: Top 10 Ways
Microsoft products for non-profits
Everything starts with a fan – The German Windows Insider Community
Office 365 Secure Score: Actionable Security Analytics
Can I get a side of OneDrive for Business with my SharePoint?
Meetup: Office 365 Developers
Yammer for IT Tom Kretzmer Solutions Developer, Westinghouse THR1016
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Meetup User Experience Design for SharePoint
Overview: Dynamics 365 for Project Service Automation
Surviving identity management in a hybrid world
Ask the Experts: Windows 10 deployment, servicing, and provisioning
Learn how to leverage the Microsoft Store for Education in your school
Breaking Down the Value of A Yammer Post: 20 Things to Do
Choosing between Microsoft PowerPoint & Sway
“Hey Mom, I’ll Fix Your Computer”
Discussion Panel: Windows Server MVP Panel
Designing Bots that Fit Your Organization
Learn from MVPs: Panel Discussion on all Things SharePoint
Passwordless Service Accounts
Understand the impact of the future of SharePoint
Digital Transformation: Putting the Jigsaw Together
Optimizing your content for search and discovery
OneDrive Unplugged A panel discussion on all things OneDrive
Presentation transcript:

What query folding means to self-service BI projects 1/18/2019 2:26 AM What query folding means to self-service BI projects Ken Puls, FCPA, FCMA, Microsoft MVP President & CTO, Excelguru Consulting © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

The Impact of Query Folding Microsoft 2016 1/18/2019 2:26 AM The Impact of Query Folding Client’s architecture ~70 million rows stored in SQL (adding ~1 million rows per day) Self service BI created in Excel and Power BI The issue Retrieval and reshaping took hours to execute BI solution risked getting abandoned By leveraging Query Folding Retrieval and reshaping now takes minutes The solution can actually be used © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Would you rather? Connect to the data source and Retrieve 1 million rows to the Client Then, in the client application Remove all rows except Dept 500 Remove all but 3 columns Group rows by Month End Land the 2000 rows to a table Connect to the data source and Select only rows for Dept 500 Select only 3 columns Group the rows by Month End Retrieve 2000 rows to the client Then, in the client application Land the 2000 rows to a table Summary: Pulls ALL data from the server Processes with client CPU and RAM Summary: Pushes processing to the server Pulls as little to client as possible

What is Query Folding? User interface driven Example: Query steps are “folded” into consolidated SQL statements Example: Connect to table Remove all columns except MonthEnd, Dept & Amount Filter to only Dept 500 Group by MonthEnd SELECT MonthEnd, Dept, Amount FROM tblTransactions WHERE Dept=‘500’ Group By MonthEnd SELECT MonthEnd, Dept, Amount FROM tblTransactions WHERE Dept=‘500’ SELECT * FROM tblTransactions SELECT MonthEnd, Dept, Amount FROM tblTransactions

What Sources Support Query Folding Supported Unavailable Databases Any database with a connector ODBC* Files Excel, CSV, Text, etc.. Access databases Non-supported databases OLE DB ODBC* DON’T GET BURNED! Only use ODBC if a specific connector is not available!

Key Goals for Self Service Users Minimize the data being retrieved Removing columns Filtering rows Removing duplicates Push “heavy” operations to the server Grouping Merging tables (Join operations) Pivoting or Unpivoting operations

Breaking Query Folding Using data sources that don’t support query folding Starting from a custom SQL statement Using complex ‘M’ functions Buffering tables or lists Leveraging custom (user defined) functions

How to Tell if Query Folding is Active? Right click a step in the query… Query Folding is Active View Native Query is available Query Folding Broken View Native Query greyed out

Query Folding Demo Ken Puls, FCPA, FCMA, Microsoft MVP © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Please evaluate this session Your feedback is important to us! 1/18/2019 2:26 AM Please evaluate this session Your feedback is important to us! The slide will be replaced onsite through Silver Fox Productions with an updated QR code. This slide is required. Do NOT delete or alter the slide. From your PC or Tablet visit MyIgnite at http://myignite.microsoft.com From your phone download and use the Ignite Mobile App by scanning the QR code above or visiting https://aka.ms/ignite.mobileapp © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

1/18/2019 2:26 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.