Search Results sdo_nn
Overview
MDSYS.PRVT_IDX is an internal Oracle Spatial and Graph package that implements the private indexing infrastructure underpinning the spatial index types shipped with the Oracle Database. In Oracle EBS 12.1.1 and 12.2.2, where the MDSYS schema is installed as part of the standard database option set, this package provides the runtime behavior behind spatial index creation, maintenance, and lookup. It is not an Applications-owned object and carries no EBS business logic; instead it acts as the internal engine supporting the SDO_INDEX_METHOD_10I index type and related geometry operations that EBS deployments may invoke through Oracle Spatial-enabled functionality such as site/asset geocoding, network routing, and spatial reporting.
The package is marked VALID in MDSYS and is classified as OTHER in the ETRM repository. Its principal role is to expose and manage the internal index metadata and index-type context required by Oracle's extensible indexing (ODCIIndex) framework.
Key Procedures and Functions
The ETRM metadata documents no public procedures or functions for this object. This is consistent with its designation as a private package: its entry points are consumed by other MDSYS packages rather than by external callers. Functionality is exposed through the ODCIIndex interface referenced in its dependency list, including ODCIINDEXCTX, ODCIINDEXINFO, and ODCIPARTINFO, which supply the index context, index information, and partition information structures used during index DDL and DML. The presence of SDO_INDEX_METHOD_10I in the dependency list confirms that PRVT_IDX supplies helper logic to the R-tree spatial index implementation. Because no parameterized signatures are published in the metadata, no procedure-level API should be assumed or invoked directly.
Tables Accessed
Per the documented references, PRVT_IDX reads from ALL_OBJECTS, ODCICONST, and PLITBLM through APPS synonyms. ALL_OBJECTS is queried to resolve index and object metadata during validation and dependency checks. ODCICONST supplies the constants used by the extensible indexing framework, such as return codes for ODCIIndex methods. PLITBLM is an internal PL/SQL table used for in-memory index metadata handling. The package also references SDO_GEOMETRY and ST_GEOMETRY types and the STANDARD package, which are required for geometry typing and base PL/SQL functionality.
Usage Notes
PRVT_IDX is never invoked directly from EBS forms, concurrent programs, or custom application code. It is called indirectly whenever a spatial index is created, altered, or rebuilt through DDL such as CREATE INDEX ... INDEXTYPE IS MDSYS.SPATIAL_INDEX, and during optimizer access-path evaluation of SDO_NN, SDO_NN_DISTANCE, and SDO_JOIN operations. The package is referenced by sixteen other MDSYS packages, including SDO_INDEX_METHOD_10I, SDO_PRIDX, SDO_RTREE_ADMIN, SDO_SAM, SDO_PC_PKG, SDO_TIN_PKG, and the MDPRVT_IDX family, indicating its role as a shared low-level utility layer. Because it depends on internal MDSYS structures, it is subject to change across database patch levels; EBS customers should treat it as unsupported for direct invocation and rely only on the documented Oracle Spatial public APIs. Any errors raised from PRVT_IDX during index maintenance typically require Oracle Spatial support engagement rather than application-level troubleshooting.
-
SYNONYM: PUBLIC.SDO_NN
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:SDO_NN, status:VALID,
-
SYNONYM: PUBLIC.SDO_NN
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:SDO_NN, status:VALID,
-
OPERATOR: MDSYS.SDO_NN
12.1.1
owner:MDSYS, object_type:OPERATOR, object_name:SDO_NN, status:VALID,
-
OPERATOR: MDSYS.SDO_NN
12.2.2
owner:MDSYS, object_type:OPERATOR, object_name:SDO_NN, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
INDEXTYPE: MDSYS.SPATIAL_INDEX
12.2.2
owner:MDSYS, object_type:INDEXTYPE, object_name:SPATIAL_INDEX, status:VALID,
-
OPERATOR: MDSYS.SDO_NN_DISTANCE
12.1.1
owner:MDSYS, object_type:OPERATOR, object_name:SDO_NN_DISTANCE, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
INDEXTYPE: MDSYS.SPATIAL_INDEX
12.1.1
owner:MDSYS, object_type:INDEXTYPE, object_name:SPATIAL_INDEX, status:VALID,
-
OPERATOR: MDSYS.SDO_NN_DISTANCE
12.2.2
owner:MDSYS, object_type:OPERATOR, object_name:SDO_NN_DISTANCE, status:VALID,
-
PACKAGE: MDSYS.PRVT_IDX
12.1.1
owner:MDSYS, object_type:PACKAGE, object_name:PRVT_IDX, status:VALID,
-
PACKAGE: MDSYS.PRVT_IDX
12.2.2
owner:MDSYS, object_type:PACKAGE, object_name:PRVT_IDX, status:VALID,
-
APPS.CSF_LF_GEOPVT SQL Statements
12.2.2
-
APPS.CSF_LOCUS_PUB SQL Statements
12.2.2
-
TYPE: SYS.ODCIINDEXCTX
12.2.2
owner:SYS, object_type:TYPE, object_name:ODCIINDEXCTX, status:VALID,
-
TYPE: MDSYS.ST_GEOMETRY
12.1.1
owner:MDSYS, object_type:TYPE, object_name:ST_GEOMETRY, status:VALID,
-
TYPE: MDSYS.ST_GEOMETRY
12.2.2
owner:MDSYS, object_type:TYPE, object_name:ST_GEOMETRY, status:VALID,
-
TYPE: SYS.ODCIINDEXCTX
12.1.1
owner:SYS, object_type:TYPE, object_name:ODCIINDEXCTX, status:VALID,
-
TYPE: MDSYS.SDO_INDEX_METHOD_10I
12.1.1
owner:MDSYS, object_type:TYPE, object_name:SDO_INDEX_METHOD_10I, status:VALID,
-
TYPE: MDSYS.SDO_INDEX_METHOD_10I
12.2.2
owner:MDSYS, object_type:TYPE, object_name:SDO_INDEX_METHOD_10I, status:VALID,
-
PACKAGE BODY: APPS.CSF_LF_GEOPVT
12.2.2
-
TYPE: MDSYS.SDO_GEOMETRY
12.1.1
owner:MDSYS, object_type:TYPE, object_name:SDO_GEOMETRY, status:VALID,
-
TYPE: MDSYS.SDO_GEOMETRY
12.2.2
owner:MDSYS, object_type:TYPE, object_name:SDO_GEOMETRY, status:VALID,
-
APPS.CSF_LF_GEOPVT dependencies on SDO_GEOMETRY
12.2.2
-
APPS.CSF_LOCUS_PUB dependencies on SDO_ELEM_INFO_ARRAY
12.2.2
-
APPS.CSF_LOCUS_PUB dependencies on CSF_SPATIAL_CTRY_MAPPINGS
12.2.2
-
APPS.CSF_LOCUS_PUB dependencies on CSF_LF_ROADSEGMENTS
12.2.2
-
APPS.CSF_LF_GEOPVT dependencies on SDO_ORDINATE_ARRAY
12.2.2
-
APPS.CSF_LOCUS_PUB dependencies on SDO_ORDINATE_ARRAY
12.2.2
-
PACKAGE BODY: APPS.CSF_LOCUS_PUB
12.2.2
-
APPS.CSF_LOCUS_PUB dependencies on SDO_GEOMETRY
12.2.2
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,