Re: Lazy View's Column Computing - Mailing list pgsql-general

From Tom Lane
Subject Re: Lazy View's Column Computing
Date
Msg-id 1661401.1627947529@sss.pgh.pa.us
Whole thread Raw
In response to Re: Lazy View's Column Computing  (Mladen Gogala <gogala.mladen@gmail.com>)
List pgsql-general
Mladen Gogala <gogala.mladen@gmail.com> writes:
> The query from the view would probably merge view  with the original and 
> optimize everything as a single query. Unfortunately, there is no way to 
> tell:

> mgogala=# explain select ename,job,sal from acct_view;
>                       QUERY PLAN
> ----------------------------------------------------
>   Seq Scan on emp  (cost=0.00..1.18 rows=3 width=21)
>     Filter: (deptno = 10)
> (2 rows)

> The only tool that you have at your disposal is EXPLAIN.

No ... EXPLAIN VERBOSE would fill in the detail you want,
as somebody else already demonstrated in this thread.

            regards, tom lane



pgsql-general by date:

Previous
From: Mladen Gogala
Date:
Subject: Re: Lazy View's Column Computing
Next
From: Gilar Ginanjar
Date:
Subject: Unexpected block ID found when reading data