Oh boy. I still had an old SQL function that used temporary views instead of CTEs and self-joins instead of window functions. Rewriting that got me a 60x performance improvement.

Sign in to participate in the conversation

Welcome to your niu world ! We are a cute and loving international community O(≧▽≦)O !