9.3 V$IM_ONNX_SEGMENT

V$IM_ONNX_SEGMENT describes memory segments used by in-memory Open Neural Network Exchange (ONNX) models.

This view displays three rows for each model: one for metadata, one for the external initializer, and one for prepacked weights.

Column Datatype Description

OWNER

VARCHAR2(129)

Owner of the model

NAME

VARCHAR2(129)

Name of the model

ADDRESS

RAW(8)

Address of the segment

SEG_SIZE

NUMBER

Size of the segment (in bytes)

TYPE

VARCHAR2(17)

Segment type:

  • INITIALIZER - The segment is used for the model external initializers

  • METADATA - The segment is used for external initializer metadata

  • PREPACKED WEIGHTS - The segment is used for model prepacked weights

  • UNKNOWN_TYPE - The segment type is unknown

POPULATE_STATUS

VARCHAR2(13)

Status of segment population:

  • ENABLED - The segment is populated in memory

  • FAILED - Populating the segment failed

  • INIT - The segment is in the initialization phase (ready to be populated)

  • MEM EXHAUSTED - The segment memory has been exhausted

  • POPULATING - The segment is being populated

  • RECLAIMING - Segment resources are being reclaimed

  • WAITING - The segment is still holding populated shared data and waiting for eviction

  • UNKNOWN - The segment population status is unknown

CON_ID

NUMBER

The ID of the container to which the data pertains. Possible values include:

  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data

Note:

This view is available starting with Oracle AI Database 26ai, Release Update 23.26.1.