RE: Remote Materialized View containing joins
Date: Fri, 22 May 2009 14:16:31 -0600
Message-ID: <3DC31002EB0BDD46B2B5730CEDF027704D8EF5_at_bcxoemb03.dpsg.net>
I finally created the MView and a function called MY_MV_CAPABILITIES per http://www.sqlsnippets.com/en/topic-12884.html
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;
MV_REPORT
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
SQL>
From: Rajeev Prabhakar [mailto:rprabha01_at_gmail.com]
Sent: Thursday, May 21, 2009 8:10 AM
To: Xu, Roger
Cc: oracle-l_at_freelists.org
Subject: Re: Remote Materialized View containing joins
Hello Roger,
What does your explain plan show for the following query ;
<snip>
-Rajeev
On Wed, May 20, 2009 at 12:32 PM, Xu, Roger <Roger.Xu_at_dpsg.com> wrote:
I am trying to go with fast refresh but I am not sure the performance issue I may face. Any suggestion? (10.2.0.4)
Thanks,
Roger Xu
http://www.drpeppersnapplegroup.com/about/corporate 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 mailto:mailerror_at_dpsg.com 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.
-- http://www.freelists.org/webpage/oracle-lReceived on Fri May 22 2009 - 15:16:31 CDT