Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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...

share|improve this question
It's being developed now,may be will come trun in PostgreSQL 9.3.… – francs Mar 6 '13 at 9:13
There is possibility to delivery a beta version? – Luigi Saggese Mar 6 '13 at 9:32
of course when the beta's start hitting... or you could just build from source... – xenoterracide Mar 6 '13 at 11:00
up vote 6 down vote accepted

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.

share|improve this answer
It has been improved in 9.4, so you can REFRSH the view concurrently now, if it has any UNIQUE index. See depesz's article:… – alfonx May 19 '15 at 13:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.