Skip to Content
SQL for Data Analytics - Third Edition
book

SQL for Data Analytics - Third Edition

by Jun Shan, Matt Goldwasser, Upom Malik, Benjamin Johnston
August 2022
Beginner to intermediate
540 pages
9h 48m
English
Packt Publishing
Content preview from SQL for Data Analytics - Third Edition

8. Performant SQL

Overview

In this chapter, you will learn how to optimize a database to allow queries to be executed with fewer resources. First, you will look at how a database engine performs basic queries by developing your understanding of sequential scans. After that, you will look at optimizing SELECT queries by creating indexes on database tables, which improve performance. You will also learn about tools and techniques for terminating inefficient queries that are consuming your database resources. After all this, you will explore advanced functionalities by creating custom functions for special computations and examine how to apply custom constraints to your database by using triggers.

Introduction

In Chapter 7, Analytics Using ...

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.
Start your free trial

You might also like

Master SQL for Data Analysis

Master SQL for Data Analysis

Idan Gabrieli
Analytics Engineering with SQL and dbt

Analytics Engineering with SQL and dbt

Rui Pedro Machado, Helder Russa
SQL for Data Analysis

SQL for Data Analysis

Cathy Tanimura

Publisher Resources

ISBN: 9781801812870Supplemental Content