Re: Query Rewrite with Postgres' materialized views
| От | Tom Lane |
|---|---|
| Тема | Re: Query Rewrite with Postgres' materialized views |
| Дата | |
| Msg-id | 10883.1424541848@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Query Rewrite with Postgres' materialized views (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: Query Rewrite with Postgres' materialized views
Re: Query Rewrite with Postgres' materialized views |
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> I'm not really sure what Josh was talking about in that answer. In
> terms of doing this automatically, I doubt that's likely to happen
> until we have a way to automatically update a materialized view when
> the underlying data changes --- and Kevin Grittner has done a bunch of
> work towards that, but more is needed to get us there.
Even with auto maintenance, it seems unlikely that matviews would ever
be so transparent that it would be okay for the planner to automatically
substitute them into a query. The data in a matview is going to be at
least a little bit stale, else You're Doing It Wrong.
regards, tom lane
В списке pgsql-hackers по дате отправления: