Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can materialized views be used as a fast denomalized big table?

Can Oracle Materialized views be used to join multiple related tables having foreign keys to create a larger denormalized big table which is refreshed instantaneously?

On some investigations, it says that joins are not allowed while using fast refresh.

Is it my assumption which is wrong that i can do this sort of thing with Oracle Materalized views?

like image 276
JavaRocky Avatar asked Nov 05 '22 08:11

JavaRocky


1 Answers

Assuming all the tables are local (i.e. you are not trying to replicate the data from a remote database and do the joins all in one step), the restrictions you need to be aware of are listed in the Data Warehousing Guide, not the replication manual. The specific set of restrictions depends on the Oracle version but you should be able to create a fast-refreshable denormalized view of your data.

like image 51
Justin Cave Avatar answered Nov 09 '22 06:11

Justin Cave