Is there any possibility of having built-in materialized views in PostgreSQL ?
I don't want Gardner version or somehthing like physical table populated by triggers. I've read that was/is something being deploy...
-
2It's being developed now,may be will come trun in PostgreSQL 9.3. postgresql.org/docs/devel/static/…francs– francs2013年03月06日 09:13:46 +00:00Commented Mar 6, 2013 at 9:13
-
There is possibility to delivery a beta version?Luigi Saggese– Luigi Saggese2013年03月06日 09:32:30 +00:00Commented Mar 6, 2013 at 9:32
-
of course when the beta's start hitting... or you could just build from source...xenoterracide– xenoterracide2013年03月06日 11:00:13 +00:00Commented Mar 6, 2013 at 11:00
1 Answer 1
A basic version of materialized view are being delivered in 9.3, see depesz's article. However, it's a very limited version as you have to call REFRESH MATERIALIZED VIEW
to get the database to update the view. This will hopefully improve to become automatic in later versions soon.
-
1It has been improved in 9.4, so you can REFRSH the view concurrently now, if it has any UNIQUE index. See depesz's article: depesz.com/2013/07/22/…alfonx– alfonx2015年05月19日 13:43:46 +00:00Commented May 19, 2015 at 13:43
Explore related questions
See similar questions with these tags.