You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gonsalu it's funny you mention that, because Adam Machanic has a really cool method he calls the "parallel apply pattern", which you can use to improve parallelism on queries using windowing functions that have a bad plan. Itzik Ben-Gan mentions it in his windowing functions book and credits Adam, but I couldn't find it online. I asked Adam if it was online anywhere and he sent me this video from a PASS presentation he did:
I'd watch it while you have the chance before PASS takes down their YouTube channel. Adam presents the pattern at 54:00, but I'd suggest watching the whole thing, tons of great info there.
https://chadbaldwin.net/2021/01/07/use-cross-apply-to-clean-up-queries.html
The text was updated successfully, but these errors were encountered: