Re: Materialized views WIP patch
От | Tom Lane |
---|---|
Тема | Re: Materialized views WIP patch |
Дата | |
Msg-id | 17034.1362353948@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Materialized views WIP patch (Nicolas Barbier <nicolas.barbier@gmail.com>) |
Ответы |
Re: Materialized views WIP patch
Re: Materialized views WIP patch |
Список | pgsql-hackers |
Nicolas Barbier <nicolas.barbier@gmail.com> writes: > 2013/3/3 Kevin Grittner <kgrittn@ymail.com>: >> Nicolas Barbier <nicolas.barbier@gmail.com> wrote: >>> I think that automatically using materialized views even when the >>> query doesn’t mention them directly, is akin to automatically >>> using indexes without having to mention them in the query. >> Oh, I understand that concept perfectly well, I just wonder how >> often it is useful in practice. There's a much more fundamental reason why this will never happen, which is that the query planner is not licensed to decide that you only want an approximate and not an exact answer to your query. If MVs were guaranteed always up-to-date, maybe we could think about automatic use of them --- but that's a far different feature from what Kevin has here. regards, tom lane
В списке pgsql-hackers по дате отправления: