This is a great example atte of a tip i didn't mention, but it's probably index related. So were throwing away rows at the end here, and going down from forty five thousand in the second to last operation down to a hundred in the last one. If we could filt down to that much smaller number very earlier on, we could avoid there's a couple of large sequential scans there,. A couple of hash joins, all on tens of thousands of rows of data. And in this case, there's no big filter until the end. In fact, we'll actually see, on these sequential scans, we're saying, index it zero b beas no ros are