Search Results dbms_mview
Overview
The APPS.HRI_OLTP_CONC_MV package body is a database utility within the Oracle E-Business Suite Applications schema (APPS) that supports the refresh cycle of materialized views used by the HRI (Human Resources Intelligence) OLTP reporting layer. Its principal business function is to provide a controlled, concurrent-safe wrapper around Oracle's native materialized view refresh infrastructure so that HRI OLTP summary objects can be rebuilt on demand or on a scheduled basis without requiring administrators to construct ad hoc DBMS_MVIEW.REFRESH calls manually.
Materialized views in the HRI OLTP schema underpin cross-functional HR and workforce analytics — headcount, assignment, and related transactional aggregates. Because these views are sourced from high-volume transactional tables, their refreshes are expensive, long-running, and must be coordinated so that only one refresh executes at a time and that failures are surfaced to the requesting session. This package encapsulates that coordination logic, tooling it for invocation from the Concurrent Manager rather than from interactive sessions.
Key Procedures and Functions
The ETRM metadata documents two entry points in this package body:
- REFRESH_MV — The primary driver routine. It performs the orchestrated refresh of the target materialized view(s) associated with the HRI OLTP concurrent refresh process. Internally it relies on
DBMS_MVIEWto execute the refresh and usesFND_FILEto emit diagnostic and progress output to the concurrent program log and output file. Concurrency control and session context are obtained throughFND_GLOBAL. - REFRESH_MV_SQL — A companion routine that constructs and/or executes the dynamic SQL statement used to invoke the materialized view refresh. This separation allows the refresh command text to be assembled independently of its execution, which is useful for logging the exact DDL/DML issued and for runtime validation before submission.
Neither routine is documented with a parameter list in the ETRM metadata; callers should therefore consult the shipped package specification (HRI_OLTP_CONC_MV) for the authoritative signature of each entry point.
Tables Accessed
The package operates primarily against dictionary and infrastructure objects rather than business tables. The documented references are:
- DBMS_MVIEW — Oracle's supplied package for materialized view refresh. This is the core dependency and the reason this object surfaces in searches for dbms_mview.
HRI_OLTP_CONC_MVdoes not reimplement refresh logic; it invokes the supported API. - FND_ORACLE_USERID — Referenced via an APPS synonym. This is used to resolve the Oracle database username and credentials context in which the refresh executes, ensuring the materialized view is rebuilt under the correct schema identity.
Additional dependencies shown in the ETRM metadata include FND_FILE (log/output handling), FND_GLOBAL (session and user context), FND_INSTALLATION and FND_STATS (installation state and statistics gathering), HR_UTILITY (shared HR utility logic), and SYS.STANDARD. The package is not referenced by any other database object, confirming it sits at the top of its own call stack.
Usage Notes
Because the package writes to FND_FILE and reads FND_GLOBAL, it is designed to run inside the Concurrent Manager environment, where a concurrent request ID and log/output file handles are available. It is typically invoked by an HRI OLTP concurrent program — commonly scheduled during low-activity windows given the cost of full materialized view refreshes — or called directly from PL/SQL by administrators performing a targeted refresh during implementation or troubleshooting.
Key operational considerations: the package is valid and supported at both Oracle EBS 12.1.1 and 12.2.2, but because it is classified as OTHER rather than a public API, customers should treat it as internal. Custom code should not call it directly where a supported concurrent program exists. When refreshing HRI OLTP materialized views manually, prefer the documented concurrent program entry point so that logging, privileges, and concurrency locking behave as Oracle intended.
-
PACKAGE BODY: APPS.HRI_OLTP_CONC_MV
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_OLTP_CONC_MV, status:VALID,
-
PACKAGE BODY: APPS.OZF_REFRESH_VIEW_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_REFRESH_VIEW_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_REFRESH_VIEW_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_REFRESH_VIEW_PVT, status:VALID,
-
PACKAGE BODY: APPS.FII_AP_MV_REFRESH
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FII_AP_MV_REFRESH, status:VALID,
-
PACKAGE BODY: APPS.FWK_PORTLET_GEN_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FWK_PORTLET_GEN_UTIL, status:VALID,
-
PACKAGE BODY: APPS.AMW_PURGE_MVIEW_LOG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMW_PURGE_MVIEW_LOG, status:VALID,
-
PACKAGE BODY: APPS.MSC_RP_MV_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_RP_MV_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_IMPORT_FORECAST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_IMPORT_FORECAST, status:VALID,
-
PACKAGE BODY: APPS.DDR_ETL_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:DDR_ETL_UTIL_PKG, status:VALID,
-
PACKAGE: SYS.DBMS_SNAPSHOT
12.1.1
owner:SYS, object_type:PACKAGE, object_name:DBMS_SNAPSHOT, status:VALID,
-
PACKAGE BODY: APPS.MSC_IMPORT_FORECAST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_IMPORT_FORECAST, status:VALID,
-
PACKAGE BODY: APPS.CSF_SPATIAL_DATALOAD_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSF_SPATIAL_DATALOAD_PVT, status:VALID,
-
PACKAGE BODY: APPS.DDR_ETL_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:DDR_ETL_UTIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.HRI_OLTP_CONC_MV
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_OLTP_CONC_MV, status:VALID,
-
PACKAGE BODY: APPS.ENI_DBI_PCO_LOAD_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ENI_DBI_PCO_LOAD_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_PHUB_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_PHUB_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSD_WS_DEM_RENAME_FORECAST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_WS_DEM_RENAME_FORECAST, status:VALID,
-
PACKAGE BODY: APPS.OKI_DBI_MV_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKI_DBI_MV_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.FEM_MV_REFRESH_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FEM_MV_REFRESH_PVT, status:VALID,
-
PACKAGE BODY: APPS.ISC_DBI_BOOK_SUM2_REF_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ISC_DBI_BOOK_SUM2_REF_PKG, status:VALID,
-
PACKAGE: SYS.DBMS_SNAPSHOT
12.2.2
owner:SYS, object_type:PACKAGE, object_name:DBMS_SNAPSHOT, status:VALID,
-
PACKAGE BODY: APPS.MTH_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MTH_UTIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.CSD_HVR_BI_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSD_HVR_BI_PVT, status:VALID,
-
PACKAGE BODY: APPS.OPI_DBI_JOBS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OPI_DBI_JOBS_PKG, status:VALID,
-
PACKAGE BODY: APPS.HRI_OPL_SUP_WRKFC_ASG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_OPL_SUP_WRKFC_ASG, status:VALID,
-
PACKAGE BODY: APPS.OPI_DBI_WIP_SCRAP_INIT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OPI_DBI_WIP_SCRAP_INIT_PKG, status:VALID,
-
PACKAGE BODY: SYS.XS_DATA_SECURITY_UTIL
12.1.1
owner:SYS, object_type:PACKAGE BODY, object_name:XS_DATA_SECURITY_UTIL, status:VALID,
-
PACKAGE BODY: APPS.CSD_HVR_BI_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSD_HVR_BI_PVT, status:VALID,
-
PACKAGE BODY: APPS.CSY_KPI_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CSY_KPI_PKG, status:VALID,
-
PACKAGE BODY: APPS.HRI_DBI_WMV_BUDGET
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HRI_DBI_WMV_BUDGET, status:VALID,
-
PACKAGE BODY: APPS.GL_FLATTEN_SETUP_DATA
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_FLATTEN_SETUP_DATA, status:VALID,
-
PACKAGE BODY: APPS.CSD_RETURNS_BI_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSD_RETURNS_BI_PVT, status:VALID,
-
PACKAGE BODY: APPS.CN_SCA_DENORM_RULES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CN_SCA_DENORM_RULES_PVT, status:VALID,
-
PACKAGE BODY: APPS.MSD_WS_DEM_RENAME_FORECAST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_WS_DEM_RENAME_FORECAST, status:VALID,
-
PACKAGE BODY: APPS.BSC_IM_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BSC_IM_UTILS, status:VALID,
-
PACKAGE BODY: APPS.FEM_BI_DIMENSION_UTILS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FEM_BI_DIMENSION_UTILS_PKG, status:VALID,
-
PACKAGE BODY: SYS.XS_DATA_SECURITY_UTIL
12.2.2
owner:SYS, object_type:PACKAGE BODY, object_name:XS_DATA_SECURITY_UTIL, status:VALID,
-
PACKAGE BODY: APPS.MTH_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MTH_UTIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.POA_DBI_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POA_DBI_UTIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.FII_MV_REFRESH
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FII_MV_REFRESH, status:VALID,
-
PACKAGE BODY: APPS.CN_SCA_DENORM_RULES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CN_SCA_DENORM_RULES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OPI_DBI_PTP_BASELINE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OPI_DBI_PTP_BASELINE_PKG, status:VALID,
-
PACKAGE BODY: APPS.EDW_GL_ACCT_M_T
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EDW_GL_ACCT_M_T, status:VALID,
-
PACKAGE BODY: APPS.IEC_VALIDATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IEC_VALIDATE_PVT, status:VALID,
-
PACKAGE BODY: APPS.GL_FLATTEN_SETUP_DATA
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GL_FLATTEN_SETUP_DATA, status:VALID,
-
PACKAGE BODY: APPS.OE_ITORD_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ITORD_UTIL, status:VALID,
-
PACKAGE BODY: APPS.BIS_MV_REFRESH
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BIS_MV_REFRESH, status:VALID,
-
PACKAGE BODY: APPS.LNS_UTILITY_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:LNS_UTILITY_PUB, status:VALID,
-
PACKAGE BODY: APPS.BIS_MV_REFRESH
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BIS_MV_REFRESH, status:VALID,
-
PACKAGE BODY: APPS.OE_ITORD_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ITORD_UTIL, status:VALID,