Re: Lazy View's Column Computing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Lazy View's Column Computing
Дата
Msg-id 1661401.1627947529@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Lazy View's Column Computing  (Mladen Gogala <gogala.mladen@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Mladen Gogala
Дата:
Сообщение: Re: Lazy View's Column Computing
Следующее
От: Gilar Ginanjar
Дата:
Сообщение: Unexpected block ID found when reading data