SAP Table ORA_S_GV_ACTIVE_SESSION_HIS
Oracle View: gv$active_session_history
ORA_S_GV_ACTIVE_SESSION_HIS (Oracle View: gv$active_session_history) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.
Additionally we provide an overview of foreign key relationships, if any, that link ORA_S_GV_ACTIVE_SESSION_HIS to other SAP tables.
ORA_S_GV_ACTIVE_SESSION_HIS table fields
Field | Data element | Checktable | Datatype | Length | Decimals | |||
---|---|---|---|---|---|---|---|---|
INST_ID | Oracle monitor: Instance ID | ORA_INST_ID | DEC | 22 | 0 | |||
SAMPLE_ID | Oracle monitoring: Sample ID (ID of sample data) | ORA_SAMPLE_ID | DEC | 22 | 0 | |||
SAMPLE_TIME | Oracle monitoring: Sample timestamp | ORA_SAMPLE_TIME | CHAR | 25 | 0 | |||
SESSION_ID | Oracle monitoring: Session ID | ORA_SESSION_ID | DEC | 22 | 0 | |||
SESSION_SERIAL | Oracle monitoring: SERIAL#: Session serial number | ORA_SERIAL | DEC | 22 | 0 | |||
USER_ID | Oracle monitoring: USER#: Oracle user identifier | ORA_USER | DEC | 22 | 0 | |||
SQL_ID | Oracle monitoring: SQL_ID | ORA_SQL_ID | CHAR | 13 | 0 | |||
SQL_STATEMENT | Oracle Monitoring: SQLSTRING | ORA_SQLSTRING | CHAR | 64 | 0 | |||
SQL_CHILD_NUMBER | Oracle monitoring: SQL child number | ORA_SQLCHILDNUM | INT4 | 10 | 0 | |||
SQL_PLAN_HASH_VALUE | Oracle monitoring: SQL_HASH_VALUE: SQL statement hash | ORA_SQL_HASH_VALUE | DEC | 22 | 0 | |||
SQL_OPCODE | Oracle Monitoring: Oracle OPCODE | ORA_OPCODE | INT4 | 10 | 0 | |||
SQL_OPNAME | SQL command name | ORA_OPNAME | CHAR | 64 | 0 | |||
SQL_PLAN_LINE_ID | SQL plan line ID | ORA_SQL_PLAN_LINE_ID | DEC | 22 | 0 | |||
SQL_PLAN_OPERATION | Plan operation name | ORA_SQL_PLAN_OPERATION | CHAR | 30 | 0 | |||
SQL_PLAN_OPTIONS | Plan operation options | ORA_SQL_PLAN_OPTIONS | CHAR | 30 | 0 | |||
SQL_EXEC_ID | SQL execution identifier | ORA_SQL_EXEC_ID | DEC | 22 | 0 | |||
SQL_EXEC_START | Time when the execution of the SQL started | ORA_SQL_EXEC_START | CHAR | 30 | 0 | |||
SERVICE_HASH | Oracle Monitoring: Oracle Service Hash | ORA_SERVICE_HASH | DEC | 22 | 0 | |||
SESSION_TYPE | Oracle Monitoring: Oracle Session Type | ORA_SESSION_TYPE | CHAR | 10 | 0 | |||
SESSION_STATE | Oracle Monitoring: Oracle Session State | ORA_SESSION_STATE | CHAR | 7 | 0 | |||
TOP_LEVEL_SQL_ID | SQL identifier of the top level SQL statement | ORA_TOP_LEVEL_SQL_ID | CHAR | 13 | 0 | |||
TOP_LEVEL_SQL_OPCODE | Indicates what phase of operation the top level SQL stmt | ORA_TOP_LEVEL_SQL_OPCODE | DEC | 22 | 0 | |||
QC_SESSION_ID | Oracle monitoring: Query Coordinator Session ID | ORA_QC_SESSION_ID | DEC | 22 | 0 | |||
QC_INSTANCE_ID | Oracle monitoring: Query Coordinator Instance ID | ORA_QC_INST_ID | DEC | 22 | 0 | |||
BLOCKING_INST_ID | Instance number of the blocker shown in BLOCKING_SESSION | ORA_BLOCKING_INST_ID | DEC | 22 | 0 | |||
BLOCKING_SESS_ID | Oracle monitoring: Blocking session ID | ORA_BLOCKING_SESS_ID | DEC | 22 | 0 | |||
BLOCKING_SESS_STATUS | Oracle Monitoring: Blocking Session Status | ORA_BLOCKING_SESS_STATUS | CHAR | 11 | 0 | |||
BLOCKING_SESS_SERIAL | Oracle monitoring: Blocking session serial number | ORA_BLOCKING_SESS_SERIAL | DEC | 22 | 0 | |||
EVENT | Oracle Monitoring: Oracle Event Name | ORA_EVENT_NAME | CHAR | 64 | 0 | |||
EVENT_ID | Oracle Monitoring: Oracle Event ID | ORA_EVENT_ID | CHAR | 38 | 0 | |||
EVENT_NUM | Oracle Monitoring: Oracle Event Number | ORA_EVENT_NUMBER | INT4 | 10 | 0 | |||
SEQ_NUM | Oracle monitoring: SEQ# | ORA_SEQ | DEC | 22 | 0 | |||
P1 | Oracle monitoring: ORA_P1: First additional parameter | ORA_P1 | DEC | 22 | 0 | |||
P2 | Oracle monitoring: ORA_P2: Second additional parameter | ORA_P2 | DEC | 22 | 0 | |||
P3 | Oracle monitoring: ORA_P3: Third additional parameter | ORA_P3 | DEC | 22 | 0 | |||
WAIT_CLASS | ORA: Wait Class Name | ORA_CLASS_NAME | CHAR | 64 | 0 | |||
WAIT_CLASS_ID | Oracle monitor: CLASS | ORA_CLASS | DEC | 22 | 0 | |||
WAIT_TIME | Oracle monitoring: Latch Wait Time | ORA_WAIT_TIME | DEC | 22 | 0 | |||
TIME_WAITED | Oracle monitor: TIME_WAITED | ORA_TIME_WAITED | DEC | 22 | 0 | |||
CURRENT_OBJ | Oracle monitoring: Dictionary object number of the object | ORA_OBJECT_ID_2 | DEC | 22 | 0 | |||
OBJECT_NAME | Oracle monitoring: Name of the object | ORA_OBJECT_NAME | CHAR | 30 | 0 | |||
CURRENT_FILE | Oracle monitoring: File# | ORA_FILE | DEC | 22 | 0 | |||
CURRENT_BLOCK | Oracle monitoring: Block number | ORA_BLOCK_ID | DEC | 22 | 0 | |||
CURRENT_ROW | Row identifier that the session is referencing | ORA_CURRENT_ROW | DEC | 22 | 0 | |||
IN_CONNECTION_MGMT | Indicates whether the session was doing connection mngmt | ORA_IN_CONNECTION_MGMT | CHAR | 1 | 0 | |||
IN_PARSE | Indicates whether the session was parsing | ORA_IN_PARSE | CHAR | 1 | 0 | |||
IN_HARD_PARSE | Indicates whether the session was hard parsing | ORA_IN_HARD_PARSE | CHAR | 1 | 0 | |||
IN_SQL_EXECUTION | Indicates whether the session was executing SQL stmt | ORA_IN_SQL_EXECUTION | CHAR | 1 | 0 | |||
IN_PLSQL_EXECUTION | Indicates whether the session was executing PL/SQL | ORA_IN_PLSQL_EXECUTION | CHAR | 1 | 0 | |||
IN_PLSQL_RPC | Indicates whether session was executing inbound PL/SQL RPC | ORA_IN_PLSQL_RPC | CHAR | 1 | 0 | |||
IN_PLSQL_COMPILATION | Indicates whether the session was compiling PL/SQL | ORA_IN_PLSQL_COMPILATION | CHAR | 1 | 0 | |||
IN_JAVA_EXECUTION | Indicates whether the session was executing Java | ORA_IN_JAVA_EXECUTION | CHAR | 1 | 0 | |||
IN_BIND | Indicates whether the session was doing bind operations | ORA_IN_BIND | CHAR | 1 | 0 | |||
IN_CURSOR_CLOSE | Indicates whether the session was closing a cursor | ORA_IN_CURSOR_CLOSE | CHAR | 1 | 0 | |||
IN_SEQUENCE_LOAD | Indicates whether the session is loading in sequence | ORA_IN_SEQUENCE_LOAD | CHAR | 1 | 0 | |||
TM_DELTA_TIME | Time interval (in microseconds) | ORA_TM_DELTA_TIME | DEC | 22 | 0 | |||
TM_DELTA_CPU_TIME | Amount of time this session spent on CPU | ORA_TM_DELTA_CPU_TIME | DEC | 22 | 0 | |||
TM_DELTA_DB_TIME | Amount of time spent by this session in database calls | ORA_TM_DELTA_DB_TIME | DEC | 22 | 0 | |||
DELTA_TIME | Time interval since session was sampled (microsec) | ORA_DELTA_TIME | DEC | 22 | 0 | |||
DELTA_READ_IO_REQUESTS | Number of read I/O requests made by this session | ORA_DELTA_READ_IO_REQUESTS | DEC | 22 | 0 | |||
DELTA_WRITE_IO_REQUESTS | Number of write I/O requests made by this session | ORA_DELTA_WRITE_IO_REQUESTS | DEC | 22 | 0 | |||
DELTA_READ_IO_BYTES | Number of I/O bytes read by this session | ORA_DELTA_READ_IO_BYTES | DEC | 22 | 0 | |||
DELTA_WRITE_IO_BYTES | Number of I/O bytes written by this session | ORA_DELTA_WRITE_IO_BYTES | DEC | 22 | 0 | |||
DELTA_INTERCONNECT_IO_BYTES | Number of I/O bytes sent over the I/O interconnect | ORA_DELTA_INTERCONNECT_IO_BYTE | DEC | 22 | 0 | |||
PGA_ALLOCATED | Amount of PGA memory (in bytes) consumed by this session | ORA_PGA_ALLOCATED | DEC | 22 | 0 | |||
TEMP_SPACE_ALLOCATED | Amount of TEMP memory (in bytes) consumed by this session | ORA_TEMP_SPACE_ALLOCATED | DEC | 22 | 0 | |||
MACHINE | Oracle monitoring: MACHINE: Operating system machine name | ORA_MACHINE | CHAR | 64 | 0 | |||
PORT | Client port number | ORA_PORT | DEC | 22 | 0 | |||
PROGRAMX | Oracle monitoring: PROGRAM: Operating system program name | ORA_PROGRAM | CHAR | 48 | 0 | |||
MODULEX | Oracle monitoring: MODULE: currently executing module | ORA_MODULE | CHAR | 48 | 0 | |||
ACTION | Oracle monitoring: ACTION: Currently executing action | ORA_ACTION | CHAR | 32 | 0 | |||
CLIENT_ID | Oracle monitoring: ORA_CLIENT_IDENTIFIER | ORA_CLIENT_IDENTIFIER | CHAR | 64 | 0 | |||
SAMPLE_TIME_EXT | Oracle monitoring: Sample timestamp | ORA_SAMPLE_TIME | CHAR | 25 | 0 |