We need to share this kind of videos to maximum people. This is much underrated in terms of views. A lot to learn from this video. Thank you sooo much for keeping it simple and understandable. We can't get this much of advise and knowledge after paying also. Attended some pluralsite videos of some SQL experts but didn't understand a bit but in this 1 video got so much of information. Thanks a ton once again. Keep it up good work 👍👍👍👍
@techsapphire3 жыл бұрын
Thanks. Note: I also provide commercial support. Please contact if needed. If you find this solution helpful than donate comfortable amount on papal to my email ID or link www.paypal.me/bimlamehla. Donation is not mandatory is it just request to support free tutorial.
@parthasarathiramachandran8189 Жыл бұрын
@@techsapphire can we have your contact number or whatsapp number/ email id
@sharmavasundhara11 ай бұрын
This is by far the best SQL query optimization videos I've watched! I'm going to share this with everyone I know who can benefit from this. Thanks @techsapphire 🙌🏽
@srinubathina90964 жыл бұрын
This is the best class in terms of SQL Performance Tuning. Thank You..
@techsapphire4 жыл бұрын
Glad you like it!
@radha0409 ай бұрын
Very informative and core knowledge for every level of SQL developer. Thank you
@techsapphire8 ай бұрын
Glad it was helpful!
@dbamentorparag4 ай бұрын
I am in Adelaide Australia and watching your video
@techsapphire4 ай бұрын
awesome :) nice to see you here in comment as well.
@palashmondal90883 жыл бұрын
I asked to optimize query by product owner after that start watching your video, it help me a lot. Thank you so much!!
@techsapphire3 жыл бұрын
Glad it helped!
@prabasmessi9 ай бұрын
Thank you so much for sharing the knowledge. Best explanation for query optimization i have seen till now.
@techsapphire6 ай бұрын
Glad it was helpful!
@Penjarlamahesh4 ай бұрын
Excellent teaching skill, your explanation is very clear and very easy to understand ❤
@techsapphire4 ай бұрын
Glad to hear that
@mithunraj313 жыл бұрын
Really this is one of the BEST video ever, so easy to understand. Very very very helpful. Thanks a lot for this brilliant one.
@techsapphire3 жыл бұрын
Glad it was helpful!
@venkatasumanbhavanasi69394 жыл бұрын
Hi yogesh, this is really helpful for developers who donno the concepts and tricks to optimize queries and simply writing the queries as their own which makes client in bad situation. This video helped me alot. Thank you..
@techsapphire4 жыл бұрын
Glad it was helpful!
@karthikkeyan44603 жыл бұрын
Timstamps for various topics covered.. 18:21 Hashmatch 23:54 KeyLookup
@mrkamranumer2 жыл бұрын
Wonderful and Excellent Knowledge based in-depth Performance Tuning Video
@techsapphire2 жыл бұрын
Glad you liked it!
@kaustubhpradhan824 жыл бұрын
Extremely helpful. Searched a lot for help and video stands out to be unique. Thank you. :-)
@techsapphire4 жыл бұрын
Glad you find it good
@satheeshkandukurii52515 жыл бұрын
Really awesome...pls do more videos on performance tuning
@nitsz072 жыл бұрын
Thanks! Thanks a lot Yogesh for your time and efforts in this particular video. This helped me a lot..
@techsapphire2 жыл бұрын
Glad it helped
@dattakashiwale2 жыл бұрын
Excellent ! outstanding video., most of the concept were unknown.., really helped a lot., thanks a lot Bhai.., pls create more stuff like this..,
@techsapphire2 жыл бұрын
Thank you, I will
@jagjeetrathore91225 жыл бұрын
i watched many videos , found this one awesome for beginners
@techsapphire5 жыл бұрын
Thank you for your feedback.
@maruthibachu88542 жыл бұрын
Really its awesome.. Its helped lot and easy to understand.. please make more videos. thank you
@techsapphire2 жыл бұрын
Thank you, I will
@deebanm12414 күн бұрын
Thank you for this video. This is very helpful and it helps me to understand how the execution plan work. I need a scripts.
@kuldeepsharma3822Ай бұрын
Bro ek no.. explained very well ...
@DIZS_PVT_LTD2 жыл бұрын
Very Good Lecture gives me so much clarity.
@techsapphire2 жыл бұрын
Glad it was helpful!
@kaushikkrishnan58283 жыл бұрын
Amazing, super helpful to get a direction on how to go about optimizing queries
@techsapphire3 жыл бұрын
Glad it was helpful!
@shreyadutta58172 жыл бұрын
Very informative... Brilliantly explained
@techsapphire2 жыл бұрын
Glad you liked it
@DineshArya-n9l10 ай бұрын
Amazing tutorial on query tuning... thanks a lot
@dishantrana341 Жыл бұрын
This is just amazing, going to share with all mates.
@techsapphire Жыл бұрын
Glad you find it helpful
@ashwineemehta94492 жыл бұрын
I went though this video and found it very useful.
@techsapphire2 жыл бұрын
Glad it was helpful!
@xx_ggplot2_xx Жыл бұрын
Insanely good video. Helped for my DE interview
@techsapphire Жыл бұрын
Glad it helped! I provide training as well.
@jaredlising-simplybrewedph2 жыл бұрын
Thank you so much for such detailed explanation! Appreciate it so much! 😊
@techsapphire2 жыл бұрын
Glad it was helpful!
@parixitsinhchauhan51862 жыл бұрын
nicely explained every topic. Good Video
@techsapphire2 жыл бұрын
Glad you liked it
@calvinball13 жыл бұрын
This is an astoundingly good video
@techsapphire3 жыл бұрын
I'm glad you like it
@vijayalakshmibadigeru44792 жыл бұрын
Really great video... We look forward to learn more ✌️
@techsapphire2 жыл бұрын
Glad you liked it
@Sk8erBhai2 жыл бұрын
Great video, brother. Have learnt so much so quick
@techsapphire2 жыл бұрын
Glad to hear it!
@deepak21000 Жыл бұрын
Excellent performance tuning tutorial
@techsapphire Жыл бұрын
Glad you liked it!
@saurabhashok28572 жыл бұрын
Simply outstanding explanation. Thanks!
@techsapphire2 жыл бұрын
Glad it was helpful!
@saikumarramisetty4 жыл бұрын
Thank you so much for the awesome video, I got a clear idea about the Performance tuning
@techsapphire3 жыл бұрын
Glad it helped!
@gokuls3000 Жыл бұрын
this is best video for performance tuning
@techsapphire Жыл бұрын
Thank you for positive feedback
@priyankasarkar66004 жыл бұрын
Awesome Sir..:) On point tutorial! Please make more videos on triggers, cluster, cursor.. Thanks in advance..:)
@techsapphire4 жыл бұрын
Sure thing! Keep learning :)
@devarakondasankararao38022 жыл бұрын
Very excellent video .Thank you so much for this explanation.
@techsapphire2 жыл бұрын
Glad it was helpful!
@dbatexas4 жыл бұрын
thanks for details, video could be more in depth like why nested loop join vs hash join, what is lazy pool or eager spool/spills. but other than all good concepts and topics. it takes times to explain all details so we could give links for people to learn like nested loop runtime is O(n2) Vs merge join O(nLogN) etc etc
@techsapphire4 жыл бұрын
Thank you for your feedback. Reason why I haven't covered details about latches and waits and why nested loops, etc is, mostly I make video for intermediate learner to expert level. And if I add these stuff, video become confusing for them, I tried to cover in best lehman terms. But I agree for some viewer details make more sense, but mostly people I train are not good with basics so, difficult to bring them in same page.
@Rprakaash11 ай бұрын
have you used sql sentry plan explorer? what is your opinion about it. I find it really facinating. I wish they had more vidoes on that.
@poojagarg56732 жыл бұрын
Thanks a lot for sharing this video, it's very informative and helped me understand many concepts. Right now, I am looking at a complex query plan which is timing out(query) pretty often. That execution plan has many operations like Index seek (NonClusered), Clustered Index Scan, Clustered Index Seek etc. Please explain these terms as well. These are quite confusing when reading the definition of these.
@techsapphire2 жыл бұрын
I provide 1 to 1 session which comes up with a fee to clear your all doubts, if you are interested kindly reach me on yogesh.mehla@gmail.com
@mahaalsalman23234 жыл бұрын
Thank you for good teaching you explained it very clearly
@techsapphire4 жыл бұрын
Glad it was helpful!
@darrylw993 ай бұрын
where did you get the extra tables in your Northwind, mine only has 9 tables
@ganeshvarma3702 жыл бұрын
Learned So much, Keep doing more videos. Respect++
@techsapphire2 жыл бұрын
Thanks, will do!
@ManishPurohit-gl6lq Жыл бұрын
It's a brilliant explanation.
@techsapphire Жыл бұрын
Glad you liked it
@DD-dp6ge Жыл бұрын
Amazing, very well explained, thanks!
@techsapphire Жыл бұрын
Glad it was helpful!
@nandiniguntur45092 жыл бұрын
Good job. The explanation is very succint
@techsapphire2 жыл бұрын
Glad it was helpful!
@jegadeesr72133 жыл бұрын
While optimizing T-SQL Queries, in the logical query execution plan, what are the top 3 operators which we should eliminate / optimize?
@techsapphire3 жыл бұрын
Lazy spool one and only other are more dependent on situation
@010_it_daithiyasudanks38 ай бұрын
I am trying to reproduce the same steps in my machine. I am not able to find Student table under Northwind database. Can you please where I can find the scripts for that? This video is starting to be very useful for me.
@bluerays5384 Жыл бұрын
very explained Sir, Thank you for the video.
@techsapphire Жыл бұрын
Glad it helped
@bluerays538411 ай бұрын
I watched your video might be 4th or 5th time today, N every time I learn something new n brings my knowledge to next level..Very well explained sir. Keep Sharing such a live scenario n knowledge..This helped me lot..lots of love sir #bow ❤❤❤❤
@sandeepkumar-ol5lg2 жыл бұрын
Great content, as you mentioned it’s one out of two parts, could you please comment the second video link here
@techsapphire2 жыл бұрын
Post this video, there are many videos on how to capture expensive queries etc. You can check
@haribabunaiduyasanoor5233 Жыл бұрын
Excellent session Sir!!
@techsapphire Жыл бұрын
Glad you liked it!
@pravaspatra38495 жыл бұрын
Its very helpful. Please share more videos
@ArundheerajYellutla Жыл бұрын
Thanks for your detail explanation
@techsapphire Жыл бұрын
Glad it was helpful!
@ravindark6464 жыл бұрын
Nice explanation and got clear Idea on the such things. Thanks :)
@techsapphire4 жыл бұрын
Glad it was helpful!
@srikanthkurra95132 жыл бұрын
Thanks for the complete explanation
@techsapphire2 жыл бұрын
Glad it was helpful!
@kaushikbudi88192 жыл бұрын
Hello Sir great video just had a small doubt how would the performance be if we used last value for the example problem for minimizing sub queries
@techsapphire2 жыл бұрын
single query will not have major impact, its important to have most of the queries to be optimized to ensure good performance
@ashutoshsrivastava22753 жыл бұрын
Thank you very much for all your effort.
@techsapphire3 жыл бұрын
Always welcome
@el-mehdichouki63553 жыл бұрын
Hello Yogesh sir, Can we get the ppt, DB and the scripts ? Thanks. I learned a lot from this video.
@techsapphire3 жыл бұрын
Kindly share your email
@el-mehdichouki63553 жыл бұрын
@@techsapphire i sent you a mail
@NareshDama-qv3iu5 жыл бұрын
Very useful information.. thank you so much!!
@Firatayrilik3 жыл бұрын
Hello. Thanks for the video. What exactly 'Double Aggregation' means? I mean I only see one aggregation query which is MAX in first query and also in the second. Can you please explain?
@techsapphire3 жыл бұрын
it is duplicate aggregation, not double aggregation. Kindly re refer video again
@sid52015 жыл бұрын
Hash Join is not always bad, especially dealing with very large tables.
@techsapphire5 жыл бұрын
There is no term like always bad. It depends, if you are joining complex views, you may not be able to avoid hash join. So SQL decision is good, we have to form are query accordingly.
@sid52015 жыл бұрын
@@techsapphire agree
@rainmaker16815 күн бұрын
Thanks. Please share the init db script for Student Table.
@Shad0wMonkey52 жыл бұрын
This was such a good video I’m shocked ahahaha! Do you have any more optimisation tips and how diagnosing slow queries?
@techsapphire2 жыл бұрын
Yes I do! Alot are on my channel kindly check, I also provide commercial sessions
@anonymous86333 жыл бұрын
how to avoid key lookup when PK_clusteredIndex seek is in the exec. plan? I know if, non clustered on exec. plan, I can add those columns to the index but what to do with key lookup and PK_seek?
@techsapphire3 жыл бұрын
lookup are tricky to fix, depends on your instinct to fix them as they can cause more locks for insert delete and update if you add more columns
@P5toraskar19863 жыл бұрын
Superb information.
@techsapphire3 жыл бұрын
Thanks a lot
@martinhedmanjohnson66874 жыл бұрын
Hi Yogesh, at one point you mention "group before, not after" what do yuo mean by that?
@techsapphire3 жыл бұрын
I am confused about reference, if you want to discuss in detail, kindly reach me on skype yogesh.mehla@live.com
@waqarbaig14025 жыл бұрын
this is realy good picture of optimization .. also please add sql profiler in terms of optmization
@techsapphire5 жыл бұрын
Thank you for your feedback. I will add session on sql profiler too.
@anuragjains21955 жыл бұрын
Nicely explained. Thank you very much!
@techsapphire5 жыл бұрын
Thank you for your feedback.
@ArdianUmam4 жыл бұрын
Thanks so much for the great video! Where can I get the slide and the script?
@techsapphire4 жыл бұрын
Kindly share your email for it.
@ArdianUmam4 жыл бұрын
techsapphire : ardianumam@gmail.com. Thanks in advance.
@SN-zr3rf3 жыл бұрын
Sir, I need this script and requesting you to forward sheiknainar@yahoo.co.in
@codearabawy3 жыл бұрын
That's awesome, thank you very much!
@techsapphire3 жыл бұрын
You're very welcome!
@dinsharma14093 жыл бұрын
What version is the NorthWind database? Mine doesn't have the 'Student' column. Would you please paste the URL here to get the same Database you have on your presentation?
@techsapphire3 жыл бұрын
follow link in description for database backup
@dinsharma14093 жыл бұрын
@@techsapphire Where is the link?
@nilamsherkar10 ай бұрын
can i get this database to practice the questions
@PrakashPatil-dw5be4 жыл бұрын
I have a table with more than 100 columns, so how many indexes can create for a single table?
@techsapphire4 жыл бұрын
there is no hard rule for it, depends upon you infrastructure and also sql version. Enterprise can go manage crazy load of indexes. Index should be created sensibly.
@niha464 жыл бұрын
nice explanation, very helpful.
@techsapphire4 жыл бұрын
Glad it was helpful!
@SandeepYadav-vm5hd3 жыл бұрын
Amazing Video Very useful !!!
@techsapphire3 жыл бұрын
Glad it was helpful!
@craghava58342 жыл бұрын
excellent..but the only thing is that your voice breaking in the middle
@techsapphire2 жыл бұрын
Sorry for that
@ManOfAdventure20112 жыл бұрын
Great tutorial! I learned a lot!
@techsapphire2 жыл бұрын
Glad it was helpful!
@bharath.vkumar59413 жыл бұрын
really like this video........may get any suggestions currently, i working for my thesis on the topic of RESEARCH ON AI APPLICATION FOR OPTIMIZATION OF THE SQL QUERIES..
@techsapphire3 жыл бұрын
Is your research only SQL Server or other databases as well?
@Latif1273 жыл бұрын
Very helpful tutorial, thank you.
@techsapphire3 жыл бұрын
Glad it was helpful!
@ranjitreddy63164 жыл бұрын
Thanks Much For this video! Really appreciate it! :)
@techsapphire4 жыл бұрын
Glad it was helpful!
@karanrewari64824 жыл бұрын
amazing video!! very helpful, thanks!
@techsapphire4 жыл бұрын
Glad you found it helpful.
@pavankumarcheruvu82072 жыл бұрын
Hi sir, It was nice video. I have one doubt while explaining you're telling everytime about sql server but I'm not using sql server in my project I'm using sql developer tool and I'm working as sql developer, So it is same for all ? Please reply me.
@techsapphire2 жыл бұрын
Yes, correct. Performance optimization using query tuning is mainly job of SQL Dev not DBA
@gabrielegbenya74794 жыл бұрын
Hi Yogesh! Thank you for the lecture; it was very educative, can you please share me the script and ppt presentation . Also do we need to SET STATISTICS IO OFF after the query optimization project? Thank you.
@techsapphire4 жыл бұрын
Sure, please share your email. You don't need to set it off as it is session level. So moment you close query window, it is gone
@krishanajangid17633 жыл бұрын
Hi yogesh, thanks you for the lecture. It was very educative. Please share the ppt, quries, and database back used in the video. My email id is krishanajangid2011@gmail.com.
@katabathinadamodar7323 жыл бұрын
@@techsapphire have you send to damukatabathina@gmail.com also...thanks
@ravindrabisht75202 жыл бұрын
@@katabathinadamodar732 if u got script, would u, please share with me?
@ravindrabisht75202 жыл бұрын
@@krishanajangid1763 if u got script, would u, please share with me?
@gomathyelango5574 Жыл бұрын
Is this query tuning applicable to oracle database as well?
@techsapphire Жыл бұрын
yes query mistakes are common
@hearttouchingsoul2 жыл бұрын
Please share download database link, which you are using in this
@pravaspatra38495 жыл бұрын
please share the database file and the script used for performance optimization.
@techsapphire5 жыл бұрын
please share your email
@manikandanp31284 жыл бұрын
Could you please share your database file and script into my mail-id: mani.020888@gmail.com
@kjkanishk75753 жыл бұрын
thanks ... :) ... really great presentation.
@techsapphire3 жыл бұрын
Glad you liked it!
@yogisawant98912 жыл бұрын
Nice video. Thank you sir
@techsapphire2 жыл бұрын
Most welcome
@mallikarjuna92092 жыл бұрын
to the point. Thank you sir!!!!!
@techsapphire2 жыл бұрын
Glad it helped
@dishaverma35222 жыл бұрын
Thanks allot it's really helpful
@techsapphire2 жыл бұрын
You're welcome!
@yashpatil25362 жыл бұрын
Amazing Thank you so much!
@techsapphire2 жыл бұрын
Glad you like it!
@labs_with_om7 ай бұрын
Awesome, just below excellent,
@techsapphire7 ай бұрын
Thank you so much 😀
@munukuntlaprashanth49182 жыл бұрын
Hi, I am having issue with stored procedure as it is taking huge time.. Can you please help me
@techsapphire2 жыл бұрын
I provide commercial support
@shivamtewari3093 жыл бұрын
Is there any sql formatter for redshift?
@techsapphire3 жыл бұрын
use dbeaver, it has internal formatter for every database
@shreyagupta58211 ай бұрын
How to set statistics io,time on in mysql
@techsapphire11 ай бұрын
You have to use analyze in mysql
@sangeetatulsiyan314 Жыл бұрын
Thank you, can you please share this ppt and example queries.
@techsapphire Жыл бұрын
mail me at yogesh.mehla@gmail.com
@aloksinha63425 жыл бұрын
Very nice explanation.One of the best.Could you please share the scripts also..