• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Can i create Materialized view on a Materlized view.

 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Database B has Materlized views on base tables existing in Database A.
Now, Can i create materilized views on materilized views located in Database B.

ie

Database A --> Database B --> Database C
Table A MV on Table A MV on MV in Database B

If yes, what all do i need to do?
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes you can, because a Materialized view actually has data stored.

However, there is a caveat. If the underneath Materialized view is out of date, and you try to refresh the upper Materialized view, the data will not be correct, and sometimes you get an error, if I remember correctly.

Mark
reply
    Bookmark Topic Watch Topic
  • New Topic