Materializing the relation

From: "rupesh bajaj" <rupesh(dot)bajaj(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: shruthi(dot)iisc(at)gmail(dot)com
Subject: Materializing the relation
Date: 2007-06-11 15:22:48
Message-ID: c6bd6a440706110822p492644aft9f5c52b0b212ce0c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shoaib Mir 2007-06-11 15:44:41 Re: Materializing the relation
Previous Message Andrei Kovalevski 2007-06-11 14:37:49 Re: odbc with encrypted ssl key?