Rowgoals, part 2: Rowgoals in unexpected places

Rowgoals, part 2: Rowgoals in unexpected places

In my previous vlog, I showed how and why the optimizer uses a rowgoal in the execution plan when your query uses a TOP or FETCH expression. Those are the keywords where this rowgoal is very obvious.

Unexpected rowgoals

But it’s not always that obvious. There are several other situations where rowgoals can be used, and some of them can be very unexpected!

https://youtu.be/QwgiPTDMGQM

More of me?

Was this useful to you? Do you want to learn more from me?

You can click here to see an overview of my scheduled conference visits. If you attend one of those, you get a lot of other presenters and sessions thrown in as well!

To learn really everything about SQL Server execution plans, check out my video training. Over 20 hours of super high quality video content (and more will be added when ready).

Or you can hire me, for instance for custom built in house training, or if you just want me to fix your performance problems now.

Rowgoals, part 1: How do rowgoals work?
Storage structures 2 – Columnstore

Related Posts

No results found.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close