![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Which is more performance-friendly: JOIN ON or JOIN USING? |
#3
| |||
| |||
|
|
Which is more performance-friendly: JOIN ON or JOIN USING? |
#4
| |||
| |||
|
|
On Wed, 27 Oct 2010 09:08:20 -0700, Pedro wrote: Which is more performance-friendly: JOIN ON or JOIN USING? Definitely "JOIN ON". The "JOIN USING" needs more typing and I am a terrible typist. |
#5
| |||
| |||
|
|
On 2010-10-27 20:20, Mladen Gogala wrote: On Wed, 27 Oct 2010 09:08:20 -0700, Pedro wrote: Which is more performance-friendly: JOIN ON or JOIN USING? Definitely "JOIN ON". The "JOIN USING" needs more typing and I am a terrible typist. What is the average length of the column name(s) that you use in the on clause ;-) /Lennart |
#6
| |||
| |||
|
|
Thank you guys for the fun. Anyway this is serious for the community that need to set some standards for the simplicity and benefit of all those that deal with mission critical and giant databases. Despite both JOIN ON and JOIN USING are found in ANSI SQL 92, their executions are performed differently from one another. |
#7
| |||
| |||
|
|
Friends at the PostgreSQL group: After a long search* I could not find an answer for the following question yet: Which is more performance-friendly: JOIN ON or JOIN USING? * The word USING is too much used and it ends up in a flood of endless not-related results. Thank you in advance for your help. |

#8
| |||
| |||
|
|
otoh: "using" may get you fewer columns in the result set, so that could be faster if the result set is large and bandwidth not. |
#9
| |||
| |||
|
|
On 2010-11-02 11:22, Jasen Betts wrote: [...] otoh: "using" may get you fewer columns in the result set, so that could be faster if the result set is large and bandwidth not. How does the join clause affect the number of columns in the result? /Lennart |
#10
| |||
| |||
|
|
On 2010-11-02 11:22, Jasen Betts wrote: [...] otoh: "using" may get you fewer columns in the result set, so that could be faster if the result set is large and bandwidth not. How does the join clause affect the number of columns in the result? |
![]() |
| Thread Tools | |
| Display Modes | |
| |