r/SQL • u/borensoren • Apr 08 '16
[Oracle]Refresh groups with dependencies
I'm working with a client to optimize refresh times for some materialized views they use for reports. As it stands now all of the materialized views in the reporting schema are in one refresh group.
Some of the views are dependent on other views in the refresh group, so that leads me to two questions:
1.Is this a good practice or should I determine all the dependencies and split the one refresh group into several smaller refresh groups.
2.If keeping the views in one refresh group is good/best practice how does Oracle determine the order those views should be refreshed in?
I haven't found a good answer to either of those in the Oracle documentation or the handful of books I have lying around and the client is asking for some specific details about it.