MP3JOSS

How to determine the Join Order in an execution plan in Oracle

How to determine the Join Order in an execution plan in Oracle

Choose Download Format

Download MP3 Download MP4

Details

TitleHow to determine the Join Order in an execution plan in Oracle
AuthorMaria Colgan (SQLMaria)
Duration8:15
File FormatMP3 / MP4
Original URL https://youtube.com/watch?v=rbqrwtpz6P8
🎵 Support the artists — buy the original for the best audio quality! 🎵

Description

The join order in an execution plan is the order in which the optimizer decides to join tables together in a multi-table SQL statement. Determining the join order in an execution plan and knowing if it's optimal and how to correct it if it's not is a tricky proposition for most of us.
This video explains the simple set of rules the optimizer uses to determine the join order and provides two simple approaches to help you find the join order for both straightforward and complex plans. I also discuss why you don't always get an optimal plan and how to fix it.
TOC
What is the join order? 0:15
Optimizer rules for selecting the join order 1:00
How to determine the join order using depth-first search 2:30
How to find the join order from the outline of the plan 3:46
What causes suboptimal join orders, and how you can correct them 5:44

🎧 Just For You

🎵 Apt. - Ros & Bruno Mars 🎵 Dior - Mk & Chrystal 🎵 Bad Romance - Lady Gaga 🎵 Bad Guy - Billie Eilish 🎵 Giddy Up, Gorgeous - Tanner Adell 🎵 Good Luck, Babe! - Chappell Roan 🎵 Blessings - Calvin Harris Feat… 🎵 Someone Like You - Adele 🎵 Roar - Katy Perry 🎵 Not Like Us - Kendrick Lamar 🎵 Blurred Lines - Robin Thicke Feat… 🎵 Manchild - Sabrina Carpenter