Optimize Your SQL Queries | Postgres Edition
About this lesson
Easy way you can analyze and optimize your SQL queries to get the best performance out of them. Reference: https://thoughtbot.com/blog/reading-an-explain-analyze-query-plan 🥹 If you found this helpful, follow me online here: ✍️ Blog https://irtizahafiz.medium.com 👨💻 Website https://irtizahafiz.com 📲 Instagram https://www.instagram.com/irtiza.hafiz/ 0:00 Agenda 01:15 Difference between EXPLAIN & EXPLAIN ANALYZE 02:35 How count of returned rows affect performance 04:15 How to monitor index usage 10:30 Aggregation queries using indexes 13:37 Information about JOIN algorithms 18:15 ORDER BY using Index forward and backward 20:56 How to read query plans 22:10 Outro #database #mysql #postgres
Original Description
Easy way you can analyze and optimize your SQL queries to get the best performance out of them.
Reference: https://thoughtbot.com/blog/reading-an-explain-analyze-query-plan
🥹 If you found this helpful, follow me online here:
✍️ Blog https://irtizahafiz.medium.com
👨💻 Website https://irtizahafiz.com
📲 Instagram https://www.instagram.com/irtiza.hafiz/
0:00 Agenda
01:15 Difference between EXPLAIN & EXPLAIN ANALYZE
02:35 How count of returned rows affect performance
04:15 How to monitor index usage
10:30 Aggregation queries using indexes
13:37 Information about JOIN algorithms
18:15 ORDER BY using Index forward and backward
20:56 How to read query plans
22:10 Outro
#database #mysql #postgres
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Related AI Lessons
⚡
⚡
⚡
⚡
The Attention Economy: Your Attention Is Worth More Than Gold
Medium · Data Science
What I Learned Building a Tableau Dashboard for Deloitte’s Data Analytics Simulation
Medium · Data Science
Six Months, 9,541 Restaurant Development Records, and What the Data Actually Says
Medium · Data Science
CRM Analitiği ile Müşteri Değerini Anlamak: RFM, CLTV ve Predictive CLTV Rehberi
Medium · Data Science
Chapters (9)
Agenda
1:15
Difference between EXPLAIN & EXPLAIN ANALYZE
2:35
How count of returned rows affect performance
4:15
How to monitor index usage
10:30
Aggregation queries using indexes
13:37
Information about JOIN algorithms
18:15
ORDER BY using Index forward and backward
20:56
How to read query plans
22:10
Outro
🎓
Tutor Explanation
DeepCamp AI