SQL Server Query Plan Analysis: The 5 Culprits That Cause 95% of Your Performance Headache

  Рет қаралды 67,819

Fidela Aretha

Fidela Aretha

Күн бұрын

Пікірлер: 27
@drstrangebudgie4052
@drstrangebudgie4052 3 жыл бұрын
0:00:00 intro 0:05:30 how query plans work 0:17:59 top five quick check iterators 0:26:47 lookup 0:34:51 spool 0:44:18 sort 0:51:13 hash match 0:55:45 serial nested loops 1:02:41 scan (seek predicates vs residual predicates) 1:11:28 outro
@neryanatanov385
@neryanatanov385 2 жыл бұрын
Very helpful. Thank you
@BalvinderSingh-uh3my
@BalvinderSingh-uh3my 6 жыл бұрын
Best video on performance without question, I was really worried I thought I'd save this video. It was out before this date. Anyway super happy that I found it again, I'm amazed and sadly shocked that I’m the first person to leave a thanks it's truly excellent. Forget Moore’s law if every DBA saw this and understood it massive impact on the world speaking like the nerd that I am.
@johnulysses3827
@johnulysses3827 5 жыл бұрын
I agree that it's quality content but I wouldn't put any value at all on KZbin stats and comments and dislikes.
@andeslam7370
@andeslam7370 3 жыл бұрын
this is still gold now. thanks
@Rafian1924
@Rafian1924 4 жыл бұрын
This is the ultimate performance tuning video. Hats off to you!!
@alexanderfleming2078
@alexanderfleming2078 5 жыл бұрын
I cannot say enough great things about this video. Great job
@lazykitten4356
@lazykitten4356 5 жыл бұрын
THIS IS GOLD!!!!
@massefromla2554
@massefromla2554 5 жыл бұрын
I learned a lot from this video , thanks .. big thumbs up 👍
@lazykitten4356
@lazykitten4356 5 жыл бұрын
Can anyone explain to me why he keeps using "cross apply" instead of 'inner join'? there are no tablar functions.
@mokarem75
@mokarem75 4 жыл бұрын
Many thanks for uploading such an informative lecture.
@jmwinpath
@jmwinpath 4 жыл бұрын
Very much informative. Great work..
@akshaybarakoti3643
@akshaybarakoti3643 6 жыл бұрын
Thanks Fidela for uploading it again
@codewiserelizondo
@codewiserelizondo 5 жыл бұрын
Many thanks for sharing! is the sql shown available somewhere?
@arnesbeganovic
@arnesbeganovic 6 жыл бұрын
This is very useful. Thanks a lot.
@liyanxu782
@liyanxu782 5 жыл бұрын
Thanks for a great video!
@Maxvm
@Maxvm 5 жыл бұрын
Can someone explaing me more why we shouldn't take into consideration %cost ? On EDX there is a course about query optimization and one of the first things during the query execution plans introduction is to look at %cost. Where is the catch :D ?????
@coachtroop
@coachtroop 5 жыл бұрын
His argument is 2 fold - one, it's an estimate. You can't possibly know the actual CPU/Processing cost on a given set of data until you actually run it - so it's statistics based. Second, stats often get out of alignment so it's at best a "guess." His argument was that those statistics that are estimated against are based on a machine that is not your own - so it's a best guess made against a guess on how a "comparable" machine would be running at some time in the past when the statistics were gathered in the first place.
@आरंभ-भ5ल
@आरंभ-भ5ल 5 жыл бұрын
Excellent information, Great thanks.
@monday6740
@monday6740 5 жыл бұрын
02:00 That is why, in 2035, the database will be tuning itself : the fixing mechanism is always the same, and is always logical. It could have been fixed by now, but programmers focus now lies on designing nice looking apps for phones that work like s
@jez9999
@jez9999 4 жыл бұрын
This why I'm not a DBA. It takes me a long time to understand why changing a SQL query results in the change of the execution plan that it does, and this guy skips over things way too quickly for me to really grasp.
@evald80
@evald80 5 жыл бұрын
@30min is shown how a query that took 1sec, after added an empty column, took 17 sec. How can be possible? this is not clear at all in the video or maybe i missed something
@erwinekkel9482
@erwinekkel9482 5 жыл бұрын
evald80 the new column was outside the current index. thus the index was no longer optimal.
@rjcwaring
@rjcwaring 5 жыл бұрын
it's because he's selecting * (so the query needs to output that new column) but the new column is not included in the index, which means that SS needs to do an extra lookup in the clustered index - that nested lookup then becomes way more work. Alternatively, it might be that SS decides to do a clustered index scan to get the data instead of the non-clustered index seek that it could do before, when that non-clustered index covered the query. If what I've written sounds like tech-y gibberish, I recommend Brent Ozar's videos on performance tuning and "how to think like sql server" where he breaks this stuff down super-well - man, that guy's a good teacher
@dineshmanoharan2423
@dineshmanoharan2423 4 жыл бұрын
44:40 Sort
SQL Query Optimization. Why is it so hard to get right?
1:39:24
Brent Ozar Unlimited
Рет қаралды 36 М.
SQL Server Execution Plans are Lying Liars
1:21:05
Brent Ozar Unlimited
Рет қаралды 8 М.
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 188 МЛН
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 18 МЛН
Why You Need Query Store
57:20
SQLBits
Рет қаралды 10 М.
Understanding Memory with SQL Server and Azure SQL - Bob Ward
1:17:41
10 Query Tuning Techniques Every SQL Programmer Should Know
1:34:44
PASS Data Community Summit
Рет қаралды 283 М.
Brent Ozar_Watch Brent Tune Queries
1:06:57
SQLugSWE
Рет қаралды 64 М.
Watch Brent Tune Queries - SQLSaturday Oslo
1:01:54
Brent Ozar Unlimited
Рет қаралды 46 М.
SQL Server Execution Plan Basics
17:26
Kevin Hill
Рет қаралды 53 М.
SQL Server Index Internals: A Deep Dive
1:14:34
PASS Data Community Summit
Рет қаралды 32 М.
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 188 МЛН