Materializing the relation

Поиск
Список
Период
Сортировка
От rupesh bajaj
Тема Materializing the relation
Дата
Msg-id c6bd6a440706110822p492644aft9f5c52b0b212ce0c@mail.gmail.com
обсуждение исходный текст
Ответы Re: Materializing the relation  ("Shoaib Mir" <shoaibmir@gmail.com>)
Список pgsql-general
Hi,

What is the meaning of 'materializing' a relation after sequential scan?



explain select * from tb1, tb2  where tb1.c1 = tb2.c2;

                           QUERY PLAN
----------------------------------------------------------------
 Nested Loop  (cost=1.03..2.34 rows=3 width=24)
   Join Filter: (tb1.c1 = tb2.c1)
   ->  Seq Scan on tb2  (cost=0.00..1.04 rows=4 width=12)
   ->  Materialize  (cost=1.03..1.06 rows=3 width=12)
         ->  Seq Scan on tb1  (cost= 0.00..1.03 rows=3 width=12)


In this above plan, what does 'Material' mean?

Thanks,
Rupesh

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

Предыдущее
От: Rikard Pavelic
Дата:
Сообщение: Re: track ddl changes on single database
Следующее
От: "Shoaib Mir"
Дата:
Сообщение: Re: Materializing the relation