Search Results cs_sr_sync_index_pkg
Overview
The APPS.CS_SR_SYNC_INDEX_PKG package is a server-side PL/SQL utility belonging to the Oracle Service (Customer Support / Service Request) application family in Oracle E-Business Suite. Its principal business function is to manage and synchronize the Oracle Text indexes that support full-text searching of service request (incident) data stored in the CS_INCIDENTS tables. The package header declares AUTHID CURRENT_USER, meaning its procedures execute with the privileges of the calling user rather than the defining owner, which allows it to leverage Oracle Text (CTX) administrative facilities under the caller's security context. The package is classified in the ETRM repository as an OTHER API, indicating it is an internal maintenance utility rather than a public integration interface. It centralizes index lifecycle operations — creating or refreshing index content, maintaining summary indexes, managing the text index with configurable parallelism, and dropping indexes when they are no longer required. Its header revision string (cssrsyxs.pls 120.1) dates to 2005, reflecting a long-stable implementation carried forward through EBS 12.1.1 and 12.2.2.
Key Procedures and Functions
The package exposes five documented entry points:
- SYNC_ALL_INDEX — Coordinates synchronization of all service request indexes in a single invocation. It returns standard concurrent-program style output parameters (error buffer and return code) plus a mode indicator.
- SYNC_SUMMARY_INDEX — Synchronizes the summary index associated with service request data, accepting the same error buffer, return code, and mode parameters.
- SYNC_TEXT_INDEX — Synchronizes the Oracle Text index. In addition to the error buffer, return code, and mode, it accepts an index-with clause and a worker count defaulting to zero, allowing parallel indexing to be requested.
- DROP_INDEX — Drops a named index, taking the index name as input and returning an error message and a return status. This procedure supports cleanup of obsolete index objects.
- GET_MAX_PARALLEL_WORKER — A function returning a NUMBER that reports the maximum allowable number of parallel workers for index operations. This value governs how many concurrent Oracle Text worker processes may be launched during synchronization, which is the precise lookup the user searched for.
Tables Accessed
The package reads and manipulates the following objects, generally through APPS synonyms:
- CTX_DDL and AD_CTX_DDL — Oracle Text DDL packages used to create, alter, synchronize, and optimize text indexes.
- ALL_INDEXES and DBA_INDEXES — Data dictionary views consulted to identify existing indexes and their status.
- CS_INCIDENTS_ALL_TL — The service request translation table whose text columns form the indexed content.
- V$PARAMETER — Used by GET_MAX_PARALLEL_WORKER to derive parallel worker limits from database initialization parameters.
- DBMS_UTILITY and PLITBLM — Utility and PL/SQL table helper facilities supporting internal processing.
Usage Notes
The package is typically invoked from Oracle Service concurrent programs, which explains the ERRBUF/RETCODE signature conventions common to concurrent-manager PL/SQL. Administrators schedule these programs to keep Oracle Text search indexes current as service requests are created and updated, and to drop or rebuild indexes during maintenance windows. It may also be called from custom PL/SQL where index maintenance must be orchestrated programmatically. The documented dependency graph indicates the package is referenced by one other package. The GET_MAX_PARALLEL_WORKER function is commonly called internally before index synchronization to size the worker pool appropriately.
-
PACKAGE: APPS.CS_SR_SYNC_INDEX_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:CS_SR_SYNC_INDEX_PKG, status:VALID,
-
PACKAGE: APPS.CS_SR_SYNC_INDEX_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CS_SR_SYNC_INDEX_PKG, status:VALID,
-
PACKAGE BODY: APPS.CS_SR_SYNC_INDEX_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SR_SYNC_INDEX_PKG, status:VALID,
-
PACKAGE BODY: APPS.CS_SR_SYNC_INDEX_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SR_SYNC_INDEX_PKG, status:VALID,
-
PACKAGE: APPS.CS_SR_SYNC_INDEX_PKG
12.1.1
-
PACKAGE: APPS.CS_SR_SYNC_INDEX_PKG
12.2.2
-
PACKAGE BODY: APPS.CS_SR_CONC_PROG_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SR_CONC_PROG_PKG, status:VALID,
-
PACKAGE BODY: APPS.CS_SR_CONC_PROG_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_SR_CONC_PROG_PKG, status:VALID,
-
SYNONYM: APPS.CS_INCIDENTS_ALL_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENTS_ALL_TL, status:VALID,
-
SYNONYM: PUBLIC.DBA_INDEXES
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_INDEXES, status:VALID,
-
SYNONYM: APPS.CTX_DDL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CTX_DDL, status:VALID,
-
SYNONYM: PUBLIC.DBA_INDEXES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBA_INDEXES, status:VALID,
-
SYNONYM: APPS.CTX_DDL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CTX_DDL, status:VALID,
-
SYNONYM: APPS.CS_INCIDENTS_ALL_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CS_INCIDENTS_ALL_TL, status:VALID,
-
SYNONYM: APPS.AD_CTX_DDL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AD_CTX_DDL, status:VALID,
-
SYNONYM: APPS.AD_CTX_DDL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AD_CTX_DDL, status:VALID,
-
SYNONYM: PUBLIC.ALL_INDEXES
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_INDEXES, status:VALID,
-
SYNONYM: PUBLIC.ALL_INDEXES
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:ALL_INDEXES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: PUBLIC.V$PARAMETER
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:V$PARAMETER, status:VALID,
-
SYNONYM: PUBLIC.V$PARAMETER
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:V$PARAMETER, status:VALID,
-
PACKAGE BODY: APPS.CS_SR_SYNC_INDEX_PKG
12.1.1
-
APPS.CS_SR_SYNC_INDEX_PKG dependencies on CS_SR_SYNC_INDEX_PKG
12.2.2
-
PACKAGE BODY: APPS.CS_SR_SYNC_INDEX_PKG
12.2.2
-
APPS.CS_SR_SYNC_INDEX_PKG dependencies on CS_SR_SYNC_INDEX_PKG
12.1.1
-
APPS.CS_SR_CONC_PROG_PKG dependencies on CS_SR_SYNC_INDEX_PKG
12.1.1
-
APPS.CS_SR_CONC_PROG_PKG dependencies on CS_SR_SYNC_INDEX_PKG
12.2.2
-
SYNONYM: PUBLIC.DBMS_UTILITY
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_UTILITY, status:VALID,
-
SYNONYM: PUBLIC.DBMS_UTILITY
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_UTILITY, status:VALID,
-
PACKAGE: APPS.FND_FILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
PACKAGE: APPS.FND_FILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,