Left Join outperforming Inner Join?

后端 未结 6 1973
不思量自难忘°
不思量自难忘° 2021-01-01 19:56

I\'ve been profiling some queries in an application I\'m working on, and I came across a query that was retrieving more rows than necessary, the result set being trimmed dow

6条回答
  •  梦毁少年i
    2021-01-01 20:03

    imo you are falling into the pitfall known as premature optimization. Query optimizers are insanely fickle things. My suggestion, is to move on until you can identify for sure that the a particular join is problematic.

提交回复
热议问题