Materialized view [message #618854] |
Wed, 16 July 2014 03:06 |
|
mvrkr44
Messages: 132 Registered: December 2012
|
Senior Member |
|
|
I need to create the materialised view based on multiple tables (these tables are very big tables,nearly 2 billion records will be there).
So i need to create materilaised view on incremental basis..which one is better whether FAST REFRESH or ON COMMIT...which one is better performance?
[EDITED by LF: fixed topic title typo]
[Updated on: Wed, 16 July 2014 14:28] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|
Re: MAterialised view [message #618886 is a reply to message #618863] |
Wed, 16 July 2014 05:12 |
John Watson
Messages: 8931 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
mvrkr44 wrote on Wed, 16 July 2014 09:54hi John,
Thanks for your reply..i have read your document.Still i have dout.which one is better "ON COMMIT" OR "FAST" refresh.i read that FAST refresh needs the MV LOG.So it may be degrade the database performance.?because i am using 5 big tables which are having billion records ... So what did you think of the paragraph that specifically mentions a disadvantage of ON COMMIT refresh?"
|
|
|
Re: MAterialised view [message #618923 is a reply to message #618863] |
Wed, 16 July 2014 09:50 |
Solomon Yakobson
Messages: 3273 Registered: January 2010 Location: Connecticut, USA
|
Senior Member |
|
|
mvrkr44 wrote on Wed, 16 July 2014 04:54Still i have dout.which one is better "ON COMMIT" OR "FAST" refresh.
They have nothing in common. "ON COMMIT" indicates when and "FAST" indicates how. And if you think fast might degrade performance, think why Oracle named that option as fast . The only time where fast vs complete has to be investigated is when large percentage of source table rows are modified between refreshes.
SY.
[Updated on: Wed, 16 July 2014 09:52] Report message to a moderator
|
|
|
|
Re: MAterialised view [message #618930 is a reply to message #618924] |
Wed, 16 July 2014 10:26 |
|
Michel Cadot
Messages: 68645 Registered: March 2007 Location: Nanterre, France, http://...
|
Senior Member Account Moderator |
|
|
Quote:so we need to maintain a another Job to remove the old logs ???
No this is done automatically.
Quote:if we keep that logs any performance impact will be there ?
Far less than to refresh completely.
|
|
|