This is an advanced course which embodies an aggregation of all the neccessery techniques to write optimized queries.

What you will learn

To learn how to read and use the query plan in SQL.

To study different join algorithms and best conditions of it application.

To master the optimal usage of indexing depending on the task

To master superior features and functionality of SQL by using partitioning, hints, caching, e.t.c

Description

This course is designed for people who want to master SQL at the middle and senior levels. We will discuss the Oracle database as an example, but all the working and research methods can be applied to other relational databases.

In our course, we will talk about such an important aspect as query optimization and will deeper analyze the theoretical questions that may be useful not only for successful work, but also for the interviews. The focus will be on the technical implementation of the acquired knowledge, paying the most attention to the “under the hood” operation.

What you should already be able to do

– write basic SQL queries

⁃ use aggregate functions

⁃ use analytical functions

⁃ write your own functions (in PLSQL or, speaking of Oracle, using the with construction: a new feature introduced by Oracle, and according to the presentation, it should work 4 times faster than PLSQL variant).

In this course we will go through:


Get Instant Notification of New Courses on our Telegram channel.


– query plan and how to read it

– join algorithms

– hints and statistics

– indexing

– caching

– partitioning

– use of temporary, intermediate tables and materialized views

Mastering the topics mentioned above will drastically improve an overall perfomance of your SQL queries and will allow you to properly time manage your applications with the most efficient use of available resources.

English
language

Content

Introduction

Introduction
Query Plan
How to read the query plan

Main part

Join algorithms
Indexes
Hints
Statistics
Partitioning
Caching
Temporary, staging tables, and materialized views