Mô tả

Good SQL Developers are in high demand and demand 100k+ salary in the IT industry.

SQL performance tuning is an art to master - for all of us!!!

Many SQL Developers have tried to understand why a particualr SQL was running slow - including me - but have failed over and over again because we never tried to understand how SQL works? We were thinking it is database administrators Job!!!!

If we have to advance in our career and earn a good salary, we need these SQL tuning skills.

We know how it feels if someone talks about SQL Tuning and I dont want you to feel the same.

I took baby steps in introducing you to the optimizer and helping you write an effecient SQL.

This course takes a systematic approach to planning, analyzing, debugging and troubleshooting common query-related performance problems and will provide you with the skills necessary to write scalable, high performance SQL.

The SQL tuning methodology I used:

  • Identify a problem SQL statement
  • Determine how Oracle is executing SQL statement and why Oracle chose that way.
  • Investigate whether alternative executon plans would be better.
  • Update the SQL statement to push Oracle towards the better plan.


Trust me, I will catch your hand and take you step by step!!!

See you inside,

Amarnath Panyam

Bạn sẽ học được gì

Identify poorly performing SQL

Understand how the Query Optimizer makes decisions about how to access data

Define how optimizer statistics affect the performance of SQL

List the possible methods of accessing data, including different join methods

Modify a SQL statement to perform at its best

Yêu cầu

  • Database/SQL knowledge is a must to understand this course.

Nội dung khoá học

12 sections

SQL Tuning Introduction

5 lectures
Why SQL Tuning?
03:13
Prerequisites for SQL Tuning
02:22
SQL Processing
04:07
SOFT parse vs HARD parse
01:44
Parsing
2 questions

Optimizer and its Execution Plan

6 lectures
Cost based Optimization
02:08
Gathering Statistics
03:13
Execution Plan
02:11
SQL Tuning Tools
02:22
Running Explain Plan
02:57
Optimizer statistics
3 questions

Accessing Tables

8 lectures
What is my Address?
01:40
Types of Table Accesses
01:44
Table Access FULL
02:19
Table Access by ROWID
02:23
Index Unique Scan
03:03
Index Range Scan
03:17
Choosing between FULL and INDEX scan
01:46
Access Paths
3 questions

Explain Plan

10 lectures
Execution Plan
01:12
What should you look for?
03:24
What is COST?
01:40
Rules of Execution Plan Tree
02:40
Traversing through the Tree
03:40
Reading Execution Plan
02:59
Execution Plan Example #1
02:15
Execution Plan Example #2
03:09
Execution Plan Example #3
04:34
Execution Plan Example #4
06:33

Simple Tuning Rules

4 lectures
SELECT consideration
02:01
Using Table Aliases
02:16
Using WHERE rather than HAVING
02:57
Simple Rules
3 questions

Index Suppression

10 lectures
Index Suppression reasons
01:48
Use of <> operator
03:55
Use of SUBSTR function
02:37
Use of Arithmetic operators
02:13
Use of TRUNC function on Date columns
02:16
Use of || operator
02:29
Comparing a character column to a numeric value
02:12
Use of IS NULL and IS NOT NULL
03:00
Function based Indexes
03:03
Index Suppression SQL
4 questions

Performance Improvement Considerations

6 lectures
Use UNION ALL instead of UNION
02:34
Minimize Table lookups in a Query
02:49
EXISTS vs IN
02:28
Use EXISTS instead of DISTINCT
02:54
Reading same table multiple times?
05:00
Use TRUNCATE instead of DELETE
03:32

Considerations while using SQL in programming

3 lectures
Reduce the number of Trips to the database
01:52
Issue frequent COMMIT statements
01:33
Using BULK COLLECT
02:38

Join Methods

4 lectures
Join Methods
01:13
Nested Loop Join
05:02
Hash Join
02:28
Sort Merge Join
03:35

HINTS to the database

3 lectures
Why HINTS?
04:26
Forcing a specific Join Method
03:30
HINTS list
3 pages

House Keeping

2 lectures
Invalid Optimizer Statistics
05:10
Checking SQL statements which are performing BAD
04:58

Design Considerations

5 lectures
Effective Schema Design
04:22
Separate Tablespace for Data and Index
03:25
Index Organized Tables
04:30
Partitioned Tables
05:32
Bitmap Indexes
05:59

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.