RE: Remote Materialized View containing joins

From: Xu, Roger <>
Date: Fri, 22 May 2009 14:16:31 -0600
Message-ID: <>

I finally created the MView and a function called MY_MV_CAPABILITIES per

But it says "Not Capable of: REFRESH_COMPLETE" - how can that be?  

SQL> select my_mv_capabilities( 'SELECT * FROM S_MV_1', 'REFRESH' ) as mv_report from dual;  



Not Capable of:  

  REFRESH_COMPLETE     no primary key constraint in the master table  

  REFRESH_FAST     REFRESH_FAST_AFTER_INSERT     BTPMUSER.S_MV_1     the detail table does not have a materialized view log  

  REFRESH_FAST_AFTER_ONETAB_DML     see the reason why REFRESH_FAST_AFTER_INSERT is disabled  

  REFRESH_FAST_AFTER_ANY_DML     see the reason why REFRESH_FAST_AFTER_ONETAB_DML is disabled    


From: Rajeev Prabhakar [] Sent: Thursday, May 21, 2009 8:10 AM
To: Xu, Roger
Subject: Re: Remote Materialized View containing joins  

Hello Roger,

What does your explain plan show for the following query ;


On Wed, May 20, 2009 at 12:32 PM, Xu, Roger <> wrote:

I am trying to go with fast refresh but I am not sure the performance issue I may face. Any suggestion? (  


Roger Xu to learn more about Dr Pepper Snapple Group’s commitment to corporate social responsibility.

Please be conscious of the environment and print this email only if absolutely necessary. This e-mail (including any attachments) is confidential and may contain privileged information of Dr Pepper Snapple Group, Inc. and/or its subsidiaries ("Dr Pepper Snapple Group"). If you are not the intended recipient or receive it in error, you may not use, distribute, disclose or copy any of the information contained within it and it may be unlawful to do so. If you are not the intended recipient, please notify us immediately by returning this e-mail to us at and destroy all copies. Any views expressed by individuals within this e-mail do not necessarily reflect the views of Dr Pepper Snapple Group. This e-mail does not constitute a binding offer, acceptance, amendment, waiver or other agreement, unless the intent that an e-mail will constitute such is clearly stated in the body of the email. Recipients are advised to subject this e-mail and attachments to their own virus checking, in keeping with good computing practice. Please note that e-mail received by Dr Pepper Snapple Group may be monitored in accordance with applicable law.

Received on Fri May 22 2009 - 15:16:31 CDT

Original text of this message