Re: [SQL] about LEFT and INNER JOIN

Поиск
Список
Период
Сортировка
От Eliober Cleger Despaigne
Тема Re: [SQL] about LEFT and INNER JOIN
Дата
Msg-id 006101d2d93f$218447d0$648cd770$@uci.cu
обсуждение исходный текст
Ответ на Re: [SQL] about LEFT and INNER JOIN  (Feike Steenbergen <feikesteenbergen@gmail.com>)
Список pgsql-sql

Sorry, I forgot specify the PostgreSQL version which is 9.4

 

cid:image001.jpg@01D01935.F21B9780

Ing. Eliober Cleger Despaigne

Vicedecano de Extensión y Residencia, Facultad 3

Telf: 8040

 

De: Feike Steenbergen [mailto:feikesteenbergen@gmail.com]
Enviado el: martes, 30 de mayo de 2017 2:00
Para: Eliober Cleger Despaigne
CC: pgsql-sql@postgresql.org
Asunto: Re: [SQL] about LEFT and INNER JOIN

 

The join strategies PostgreSQL can use are outlined here:

https://www.postgresql.org/docs/current/static/planner-optimizer.html

basically either a:

- nested loop join O(n*m)
- merge join O(n+m)
- hash join O(n+m)

 

regards,

 

Feike

 

 

On 23 May 2017 at 20:38, Eliober Cleger Despaigne <ecleger@uci.cu> wrote:

Grettings

I need to know which algorithm uses the INNER JOIN and LEFT JOIN. If would be possible, I need to know their costs too in O(n) notation.

 


La @universidad_uci es Fidel. Los jóvenes no fallaremos. #HastaSiempreComandante #HastalaVictoriaSiempre

 

 



La @universidad_uci es Fidel. Los jóvenes no fallaremos. #HastaSiempreComandante #HastalaVictoriaSiempre

В списке pgsql-sql по дате отправления:

Предыдущее
От: tel medola
Дата:
Сообщение: Re: [SQL] Lost my tablespace
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: [SQL] Lost my tablespace