What was your coolest SQL optimization, on a slow performing query?

后端 未结 15 2151
遥遥无期
遥遥无期 2021-02-10 06:45

Just speaking to a colleague of mine. He was walking with a hop in his step, on the way to the coffee machine.

I asked him \"what\'s with the \'swarmy\' walk?\", he said

15条回答
  •  一整个雨季
    2021-02-10 07:29

    It's always nice to take a poorly written, cursor-laden query and eliminate cursors, cut the code by half, and improve performance many-fold.

    Some of the best improvements are in clarity (and often result in nice performance boosts, too).

提交回复
热议问题