Many thanks for posting. Surprised the likes and views are so low but for me it's been very useful .
@USA_to_Asia_in_20244 ай бұрын
This is Pure Gold (as Manosphere Highlights Daily channel would say).
@Kevin3NF4 ай бұрын
Hope it helps you :)
@shilk43012 жыл бұрын
This is the best video I have seen . Easy to understand . Just started to learn and was lost . This helped me a lot . Thank you 🙏
@Kevin3NF2 жыл бұрын
You're very welcome!
@isaguclu9414 жыл бұрын
The best explanation I have seen! I can't thank you enough for it.
@steveabba84633 жыл бұрын
Thanks Kevin for the simplicity and examples!!!
@Kevin3NF3 жыл бұрын
You're very welcome!
@ManishChopra5 жыл бұрын
Right to left and from top to bottom. Thanks kevin!
@jatindersingh22414 жыл бұрын
wow, you explained everything i was looking for a while , Thanks a lot
@Kevin3NF4 жыл бұрын
Glad it was helpful!
@simusprime5 жыл бұрын
This is exactly what I have been working on the last 2 weeks! Nice breakdown!
@Kevin3NF5 жыл бұрын
Working on such a video, or learning to read Plans?
@simusprime5 жыл бұрын
@@Kevin3NF Im going through our software and optimizing queries. Especially missing indexes.
@Kevin3NF5 жыл бұрын
@@simusprime Awesome! Good luck...and don't over-index! Run an "Unused Index" query as well to look for possible dead weight.
@menasheaharonian91833 жыл бұрын
Very clearly put, thanks. Looking for more of your examples and explanations
@JaswantSingh-di8nu4 жыл бұрын
Very well explained with examples. Thank you, Kevin!
@Kevin3NF4 жыл бұрын
Very welcome!
@brunovec3 жыл бұрын
Finally I understood execution plans. Thanks!
@Kevin3NF3 жыл бұрын
Great to hear! That barely scratched the surface...this is everything: www.red-gate.com/simple-talk/books/sql-server-execution-plans-third-edition-by-grant-fritchey/
@Surianiaziz4 жыл бұрын
Great example with clear explanation. Definitely a subscribe!
@anshikas-vlog-nhg4 жыл бұрын
You are awesome!!! looking for this from a long time.. Simple and Great explanation
@BezAmt7 ай бұрын
omg you saved my energy and everything thanks alot
@Kevin3NF5 ай бұрын
Glad it helped!
@oleksandrbondarenko11294 жыл бұрын
Thank you for the good explanation and the examples!
@tonycovarrubias59315 жыл бұрын
This is exactly what I was looking for.
@Kevin3NF5 жыл бұрын
Awesome! You should get Grant Fritchey's newest edition of his query plan book...
@sridhartn834 жыл бұрын
Very nicely explained, thanks.
@MasterBeastieshow5 жыл бұрын
Kevin Good job. Please upload more videos
@DavidGilden5 жыл бұрын
Well done, I actually learned something!
@tobytr4 жыл бұрын
Well done, very clear explanation
@selvamkumar19825 жыл бұрын
Thanks Kevin... Can u post performance tuning in wild card searches....
@Jerry-zf3cn5 жыл бұрын
Would have been more helpful to put that link to your other video in your summary where it could have been clickable...
@Kevin3NF5 жыл бұрын
Thanks Jerry...I have added the link to the description of this one
@hank919184 жыл бұрын
great stuff, thanks Kev!
@krishnakanthlenka23234 жыл бұрын
Excellent Explanation. What if there is no clustered index or Primary column. Will it cost more to search another column which is LastAccessDate which is not included in the non clustered index and also query uses non clustered index and is it look for look up column by that time ?
@Kevin3NF4 жыл бұрын
No Clustered Index makes the table a HEAP, which will almost always be harder to search for extra columns that are not in the NC index it is using now. www.brentozar.com/blitz/heaps-tables-without-primary-key-clustered-index/
@krishnakanthlenka23234 жыл бұрын
Thank you Kevin for your valuable time.
@Monty68744 жыл бұрын
Awesome video.
@tabs53755 жыл бұрын
Brilliant video :) Quick question, what would be the best way to optimise a query that uses wildcards? E.g. select * from table where name like 'Kevin%'; Would you have to reevaluate the query to see if bringing back all the Kevins is the right approach?
@Kevin3NF5 жыл бұрын
Thanks Ryan! You would want a non-clustered index on [name] for a 'Kevin%'...and you might see an index scan instead of a seek, depending on how many variations of Kevin there are. If you try '%Kevin%', your index will no be used. That leading wildcard changes everything. Always test and evaluate periodically. Missing and Unused index queries are my favorite ways to evaluate my index strategy
@ashwinghorpade59175 жыл бұрын
best explanation
@Akshay-Raut5 жыл бұрын
Are the cost of each operation accumulated from right to left or are they independent ?
@Kevin3NF5 жыл бұрын
Each operator has its own cost, and the entire query is shown as a cost in the query stats DMVs: www.scarydba.com/2017/02/20/estimated-costs-queries/
@kusalrathnayake22644 жыл бұрын
Thank you. Good Job.
@abdulkhadershaik47384 жыл бұрын
Good explanation..thanks
@Kevin3NF4 жыл бұрын
Glad you liked it
@KumarAnalytic5 жыл бұрын
Thanks sir, I'm from India
@TheNanamimijojo4 жыл бұрын
if cost =20% for stored proedure this good or not
@Kevin3NF4 жыл бұрын
There is no way to tell...it totally depends on what the procedure is doing, and how the Query Optimizer decide it is going to execute the code in the proc, get the data, allocate memory, etc.
@TheNanamimijojo4 жыл бұрын
@@Kevin3NF i mean excution plan the estimaton cost is 20%