Skip to Content
Mastering Azure Analytics, 1st Edition
book

Mastering Azure Analytics, 1st Edition

by Zoiner Tejada
April 2017
Beginner to intermediate
409 pages
10h 24m
English
O'Reilly Media, Inc.
Content preview from Mastering Azure Analytics, 1st Edition

Chapter 7. Interactive Querying in Azure

In this chapter, we look at various techniques that are useful to achieving interactive query performance (Figure 7-1). For our purposes in this chapter, this means querying batch data at “human” and “humane” (pun intended) interactive speeds, which with the current generation of technologies means results are ready in time frames measured in seconds to minutes.

The fundamental concept introduced in this chapter that is universal to all the data stores we cover is understanding how to prune large data sets during query processing to achieve faster query execution. The concept seems fairly obvious—if you reduce the amount of data that the query engine has to read through, then your queries will be faster. Exactly how you reduce the data set size is where you get into the various techniques these data stores utilize, including:

Indexes

Creating indexes over the data can help the query engine identify the data files to include and which to skip over by consulting a separate set of data that represents the index, which is presumably significantly smaller than the source data set. In some cases, such as for data stored using ORC, indexes are automatically created and stored with the data files to aid in identifying complete files to exclude from processing as well as large segments of a file that can be ignored because they do not contain the values of interest.  

Partitions

All of the data stores in this chapter have a notion of a table ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Azure Synapse Analytics Cookbook

Azure Synapse Analytics Cookbook

Gaurav Agarwal(BLR), Meenakshi Muralidharan
Cloud Analytics with Microsoft Azure - Second Edition

Cloud Analytics with Microsoft Azure - Second Edition

Has Altaiar, Jack Lee, Michael John Peña

Publisher Resources

ISBN: 9781491956649Errata Page