Search Results rebuild_index
Overview
The APPS.ICX_ITEM_IMT_INDEX_CREATE package body is a utility package within the Oracle E-Business Suite Internet Computing Architecture (ICX) product family. Its documented classification is OTHER, indicating that it is not exposed as a public application programming interface but functions as an internal maintenance utility. The package exists to support index maintenance on the item-related interaction tables used by ICX self-service modules, most notably the iStore and iProcurement item search and catalog browsing features.
The package body demonstrates a defensive, self-contained design typical of administrative maintenance routines. It includes a private error-handling framework built from an ErrorStackType collection indexed by binary_integer, a PushError procedure, a PrintStackTrace procedure, and a gated Debug procedure that is stubbed out in production. It also includes an isOracle8i function that interrogates the database version through DBMS_UTILITY.DB_VERSION and returns Y or N based on the detected major and minor version numbers. This version check exists because index-creation strategies differed between Oracle 8i and later releases. The presence of this logic reflects the package's long history, with a header revision dating to 2000.
Key Procedures and Functions
The ETRM metadata documents a single public procedure:
- REBUILD_INDEX — The sole documented entry point of the package. As the name indicates, this procedure is responsible for rebuilding the database index or indexes associated with the ICX item interaction tables. It encapsulates the DDL and dynamic SQL required to recreate an index, allowing the operation to be invoked as a single callable unit rather than as a manual DBA task. Because the package references
DBMS_SQL, the procedure is understood to construct and execute its index-rebuild statement dynamically at runtime, which permits the target index name or execution context to be supplied or derived at invocation.
No parameter lists are documented in the available metadata; callers should confirm the signature directly against the deployed package specification in the target environment before invoking it from custom code.
Tables Accessed
The documented dependencies of this package are limited to the following objects, accessed through APPS synonyms:
DBMS_SQL— the Oracle-supplied dynamic SQL package, used to parse, execute, and manage the index-rebuild statement constructed at runtime.DBMS_UTILITY— the Oracle-supplied utility package, invoked viaDB_VERSIONto determine the database release for version-conditional logic.PLITBLM— an internal Oracle dictionary table referenced by the compiled package, typically surfaced as a result of PL/SQL compilation and version-dependent parsing rather than by explicit application logic.
No application base tables are documented as direct references. The actual index targets are manipulated through dynamic SQL and therefore do not appear as static dependencies. The package is referenced by zero other packages, confirming it is a terminal utility invoked directly rather than through an API call chain.
Usage Notes
Because REBUILD_INDEX performs DDL through dynamic SQL, it is normally invoked in an administrative or scheduled context rather than from interactive application flow. Typical invocation patterns include:
- Execution from a concurrent program wrapper or a SQL*Plus session by a DBA during index fragmentation remediation or post-patch maintenance.
- Invocation from custom remediation scripts that need to force a rebuild of the ICX item interaction indexes when query performance degrades.
- Diagnostic use, in which the built-in error stack and debug scaffolding assist in tracing rebuild failures.
The package is present in both Oracle EBS 12.1.1 and 12.2.2. In 12.2.2 environments, note that its legacy Oracle 8i version-detection branch is effectively inert, and the index-rebuild path executes against modern dictionary views. Administrators should verify current index names and expected rebuild duration, since the documented surface exposes only the procedure name and not its parameters.
-
PACKAGE BODY: APPS.ICX_ITEM_IMT_INDEX_CREATE
12.2.2
-
PACKAGE BODY: APPS.ICX_ITEM_IMT_INDEX_CREATE
12.1.1
-
PACKAGE: APPS.ICX_ITEM_IMT_INDEX_CREATE
12.1.1
-
PACKAGE: APPS.ICX_ITEM_IMT_INDEX_CREATE
12.2.2
-
PACKAGE: APPS.PO_CATALOG_INDEX_PVT
12.1.1
-
PACKAGE: APPS.ICX_CAT_INTERMEDIA_INDEX_PVT
12.1.1
-
PACKAGE: APPS.PO_CATALOG_INDEX_PVT
12.2.2
-
PACKAGE: APPS.ICX_POR_INTERMEDIA_INDEX
12.1.1
-
PACKAGE: APPS.ICX_POR_INTERMEDIA_INDEX
12.2.2
-
PACKAGE: APPS.ICX_CAT_INTERMEDIA_INDEX_PVT
12.2.2
-
PACKAGE BODY: APPS.PO_CATALOG_INDEX_PVT
12.2.2
-
PACKAGE BODY: APPS.PO_CATALOG_INDEX_PVT
12.1.1
-
PACKAGE BODY: APPS.ICX_POR_INTERMEDIA_INDEX
12.1.1
-
PACKAGE BODY: APPS.ICX_POR_INTERMEDIA_INDEX
12.2.2
-
PACKAGE BODY: APPS.ICX_CAT_INTERMEDIA_INDEX_PVT
12.2.2
-
PACKAGE BODY: APPS.ICX_CAT_INTERMEDIA_INDEX_PVT
12.1.1
-
PACKAGE BODY: APPS.ICX_CAT_POPULATE_ITEM_GRP
12.1.1
-
PACKAGE BODY: APPS.ICX_CAT_POPULATE_ITEM_GRP
12.2.2
-
APPS.PO_ATTR_VALUES_TLP_DRAFT_PKG SQL Statements
12.1.1
-
APPS.PO_ATTR_VALUES_TLP_DRAFT_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.ICX_POR_CTX_DESC
12.2.2
-
PACKAGE BODY: APPS.ICX_POR_CTX_DESC
12.1.1
-
APPS.PO_CATALOG_INDEX_PVT SQL Statements
12.2.2
-
APPS.ICX_CAT_INTERMEDIA_INDEX_PVT dependencies on ICX_CAT_INTERMEDIA_INDEX_PVT
12.1.1
-
APPS.ICX_POR_INTERMEDIA_INDEX dependencies on ICX_POR_INTERMEDIA_INDEX
12.1.1
-
APPS.ICX_CAT_INTERMEDIA_INDEX_PVT dependencies on FND_LANGUAGES
12.1.1
-
APPS.ICX_CAT_POPULATE_ITEM_GRP dependencies on ICX_CAT_INTERMEDIA_INDEX_PVT
12.2.2
-
APPS.ICX_POR_INTERMEDIA_INDEX dependencies on ICX_POR_INTERMEDIA_INDEX
12.2.2
-
APPS.ICX_POR_INTERMEDIA_INDEX dependencies on FND_LANGUAGES
12.2.2
-
APPS.ICX_ITEM_IMT_INDEX_CREATE dependencies on ICX_ITEM_IMT_INDEX_CREATE
12.2.2
-
APPS.ICX_CAT_INTERMEDIA_INDEX_PVT dependencies on FND_LANGUAGES
12.2.2
-
APPS.ICX_CAT_POPULATE_ITEM_GRP dependencies on ICX_CAT_INTERMEDIA_INDEX_PVT
12.1.1
-
APPS.ICX_POR_INTERMEDIA_INDEX dependencies on FND_LANGUAGES
12.1.1
-
APPS.ICX_CAT_INTERMEDIA_INDEX_PVT dependencies on ICX_CAT_INTERMEDIA_INDEX_PVT
12.2.2
-
APPS.ICX_ITEM_IMT_INDEX_CREATE dependencies on ICX_ITEM_IMT_INDEX_CREATE
12.1.1
-
APPS.PO_CATALOG_INDEX_PVT dependencies on PO_TBL_NUMBER
12.2.2
-
APPS.ICX_POR_CTX_DESC dependencies on DBMS_UTILITY
12.1.1
-
APPS.ICX_POR_CTX_DESC dependencies on DBMS_UTILITY
12.2.2
-
APPS.PO_CATALOG_INDEX_PVT dependencies on PO_TBL_NUMBER
12.1.1
-
APPS.PO_CATALOG_INDEX_PVT dependencies on FND_API
12.2.2
-
APPS.PO_CATALOG_INDEX_PVT dependencies on FND_API
12.1.1
-
APPS.PO_CATALOG_INDEX_PVT dependencies on PO_LINES_ARCHIVE_ALL
12.1.1
-
PACKAGE BODY: APPS.PO_ATTR_VALUES_TLP_DRAFT_PKG
12.2.2
-
APPS.PO_CATALOG_INDEX_PVT dependencies on PO_TBL_NUMBER
12.2.2
-
APPS.PO_CATALOG_INDEX_PVT dependencies on ICX_CAT_POPULATE_BPA_GRP
12.1.1
-
PACKAGE BODY: APPS.PO_ATTR_VALUES_TLP_DRAFT_PKG
12.1.1
-
APPS.PO_CATALOG_INDEX_PVT dependencies on ICX_CAT_POPULATE_BPA_GRP
12.2.2
-
APPS.PO_CATALOG_INDEX_PVT dependencies on PO_TBL_NUMBER
12.1.1
-
APPS.ICX_ITEM_IMT_INDEX_CREATE dependencies on DBMS_SQL
12.2.2
-
APPS.PO_CATALOG_INDEX_PVT dependencies on ICX_CAT_POPULATE_QUOTE_GRP
12.2.2