BPM – Disable DBMS job to refresh B2B Materialized View

If you are running BPM and you are not using B2B, you might want to disable the DBMS job that refreshes the B2B materialized view.  This job runs every minute by default.

To find the job, use a query like the one below.  Update the schema user to match the environment:

select
  job
, schema_user
, broken
, what
, interval
from
  dba_jobs
where
  schema_user = “DEV_SOAINFRA”

Look for the job which contains something like the following in the WHAT column.  Note that it may be different if a different schema prefix was used in the environment.

dbms_refresh.refresh('"DEV_SOAINFRA"."B2B_SYSTEM_MV"');

To remove the job, take note of the job number from the JOB column and then use a command like the following, substituting in the correct job number in place of 24:

begin
dbms_job.remove(24);
end;

Alternatively, alter the materialized view to be refreshed on demand, using a command similar to this:

alter materialized view dev_soainfra.b2b_system_mv refresh on demand;

About Mark Nelson

Mark Nelson is a Consulting Solution Architect in the Fusion Middleware Architects Team (known as ”The A-Team”) in Oracle Development. Their mission is to supply deep technical expertise to support customers deploying Oracle Fusion Middleware, and to collect real world feedback to continuously improve the product set. Mark spends most of his time working on development lifecycle, SOA and BPM. Before joining Oracle Development in 2010, Mark worked in Sales Consulting at Oracle since 2006 and various roles at IBM since 1994, including several in Software Group and System/390 Group across Asia Pacific.
This entry was posted in group1, Uncategorized and tagged , . Bookmark the permalink.

One Response to BPM – Disable DBMS job to refresh B2B Materialized View

  1. Pingback: Process Accelerator Kit « SOA Community Blog

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s