V$MAPPED_SQL

V$MAPPED_SQL lists the SQL statements that are mapped to a different SQL statement for execution.


Column Datatype Description

SQL_TEXT

VARCHAR2(1000)

First 1000 characters of the original SQL text

SQL_FULLTEXT

CLOB

Full text for the original SQL statement

SQL_ID

VARCHAR2(13)

SQL identifier of the original SQL statement

HASH_VALUE

NUMBER

Hash value of the original SQL statement

MAPPED_SQL_TEXT

VARCHAR2(1000)

First 1000 characters of the mapped SQL text

MAPPED_SQL_FULLTEXT

CLOB

Full text for the mapped SQL statement

MAPPED_SQL_ID

VARCHAR2(13)

SQL identifier of the mapped SQL statement

MAPPED_HASH_VALUE

NUMBER

Hash value of the mapped SQL statement

SQL_TRANSLATION_PROFILE_ID

NUMBER

A non-NULL value specifies the object ID of the SQL translation profile used to translate the SQL statement into the mapped SQL statement

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