one column from huge view

Поиск
Список
Период
Сортировка
От Marcin Stępnicki
Тема one column from huge view
Дата
Msg-id f74p19$1gb$1@sea.gmane.org
обсуждение исходный текст
Ответы Re: one column from huge view
Список pgsql-performance
Hello.

I've googled a bit but I think I can't match the keywords, so I thought
I'll ask here:

Let's say I've got a view with 100 columns and 1mln rows; some of them are
calculated "on the fly". For some reason I want only one column from
this view:

select col1 from huge_view;

Now, does PostgreSQL skip all the calculations from other columns and
executes this query faster then select * from huge_view?

--
| And Do What You Will be the challenge | http://apcoln.linuxpl.org
|    So be it in love that harms none   | http://biznes.linux.pl
|   For this is the only commandment.   | http://www.juanperon.info
`---*  JID: Aragorn_Vime@jabber.org *---' http://www.naszedzieci.org

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

Предыдущее
От: Adriaan van Os
Дата:
Сообщение: Re: TRUNCATE TABLE
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: one column from huge view