ORASQLAREA SAP (DDIC Structure According to Oracle Table V$SQLAREA) Structure details
Description: DDIC Structure According to Oracle Table V$SQLAREA
Structure field list including key, data, relationships and ABAP select examples
ORASQLAREA is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "DDIC Structure According to Oracle Table V$SQLAREA" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_ORASQLAREA TYPE ORASQLAREA.
The ORASQLAREA table consists of various fields, each holding specific information or linking keys about DDIC Structure According to Oracle Table V$SQLAREA data available in SAP. These include SHARABLE_M (Total shareable memory), PERSISTENT (Total 'persistent memory'), RUNTIME_ME (Total 'runtime memory'), SORTS (Sum of the number of sorts).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP ORASQLAREA structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
SQL_TEXT | Start of SQL statement | ORASQLTEXT | CHAR | 60 | CHAR60 | ||||
SHARABLE_M | Total shareable memory | ORASHARMEM | DEC | 31 | ORAPNUMBER | ||||
PERSISTENT | Total 'persistent memory' | ORAPERSMEM | INT4 | 10 | ORAMEMORY | ||||
RUNTIME_ME | Total 'runtime memory' | ORARUNTMEM | INT4 | 10 | ORAMEMORY | ||||
SORTS | Sum of the number of sorts | ORASORTS | INT4 | 10 | ORANUMB8 | ||||
VERSION_CO | Number of children | ORAVERSCOU | INT4 | 10 | ORANUMBER | ||||
LOADED_VER | Loaded cursor versions | ORALOADVER | INT4 | 10 | ORANUMB8 | ||||
OPEN_VERSI | Number of opened cursor versions | ORAOPENVER | INT4 | 10 | ORANUMB8 | ||||
USERS_OPEN | Number of users who have opened cursor version | ORAUSROPEN | INT4 | 10 | ORANUMB8 | ||||
EXECUTIONS | Total number of executions | ORAEXECNUM | DEC | 31 | ORAPNUMBER | ||||
USERS_EXEC | Number of users executing | ORAUSREXEC | INT4 | 10 | ORANUMB7 | ||||
LOADS | Number of loads or reloads | ORALOADS | INT4 | 10 | ORANUMB5 | ||||
FIRST_LOAD | Time SQL statement loaded | ORALOAD_T | CHAR | 19 | ORATIMESTA | ||||
INVALIDATI | Number of 'invalidations' for all versions | ORAINVALID | INT4 | 10 | ORANUMB8 | ||||
PARSE_CALL | Sum of all 'parse calls' | ORAPARSEC | INT4 | 10 | ORANUMB8 | ||||
DISK_READS | Sum of all 'disk reads' | ORADISKR | DEC | 31 | ORAPNUMBER | ||||
BUFFER_GET | Total number of 'buffer gets' | ORABUFFERG | DEC | 31 | ORAPNUMBER | ||||
ROWS_PROCE | Number of processed rows | ORAROWPROC | DEC | 31 | ORAPNUMBER | ||||
COMMAND_TY | Oracle command type definition | ORACOMTYPE | INT4 | 10 | ORANUMBER | ||||
OPTIM_MODE | Optimizer mode | ORAOPTMODE | CHAR | 10 | ORAOPTMODE | ||||
PARSING_US | ID of the user who built this child cursor | ORAPARSUSR | INT4 | 10 | ORANUMBER | ||||
PARSING_SC | Schema ID | ORAPARSSCH | INT4 | 10 | ORANUMBER | ||||
KEPT_VERSI | Indicator for using DBMS_SHARED_POOL | ORAKEPTVER | INT4 | 10 | ORANUMBER | ||||
ADDRESS | Address of statement in the cache | ORAADDRESS | CHAR | 16 | CHAR16 | ||||
HASH_VALUE | Hash value of statement | ORAHASHVAL | FLTP | 16(16) | ORAP16 | ||||
MODULE | Program Name | ORAMODULE | CHAR | 64 | ORACHAR64 | ||||
DB_USER | Column USERNAME in V$SESSION | ORAUSER | CHAR | 10 | CHAR10 | ||||
MODULE_HAS | Hash value of module | ORAMODULEH | FLTP | 16(16) | ORAP16 | ||||
ACTION | Action name | ORAACTION | CHAR | 64 | CHAR64 | ||||
ACTION_HAS | Hash value of action | ORAACTIONH | FLTP | 16(16) | ORAP16 | ||||
SERIALIZAB | Number of producing ORA-8177 | ORASERIAL | INT4 | 10 | ORANUMBER | ||||
CHILD_LATC | Child Latch Number | ORACHILDLA | INT4 | 10 | ORANUMBER | ||||
CPU_TIME | CPU Time in Miroseconds | ORACPUTIME | DEC | 31 | ORAPNUMBER | ||||
ELAPSED_TI | Elapsed Time in Microseconds | ORAELAPSED | DEC | 31 | ORAPNUMBER | ||||
DISKRPER_E | Number of 'disk reads' for each execution | ORADRPERE | DEC | 31(1) | ORADEC16 | ||||
BUFFGPER_E | Number of 'buffer gets' for each execution | ORABGPERE | DEC | 31(1) | ORADEC16 | ||||
PARSCPER_E | Parse calls per execution | ORAPCPERE | DEC | 31(1) | ORADEC16 | ||||
ROWSPPER_E | Number of rows processed for each execution | ORARPPERE | DEC | 31(1) | ORADEC16 | ||||
BUFFGPER_R | Number of 'buffer gets' for each row | ORABGPERR | DEC | 31(1) | ORADEC16 | ||||
COLFIELD | Field for controlling colors in ABAP List Viewer | ORACOLFIEL | CHAR | 3 | CHAR3 | ||||
WAIT_TIME | Wait time | ORAWAITTIM | DEC | 31 | ORAPNUMBER | ||||
CPU_TIME_E | CPU Time per Execution | ORACTPERE | DEC | 31(1) | ORADEC16 | ||||
ELAPSEDTIE | Elapsed Time per Execution | ORAELAPERE | DEC | 31(1) | ORADEC16 | ||||
WAITTIME_E | Wait Time per Execution | ORAWTPERE | DEC | 31(1) | ORADEC16 |
Key field | Non-key field |
How do I retrieve data from SAP structure ORASQLAREA using ABAP code?
As ORASQLAREA is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on ORASQLAREA as there is no data to select.How to access SAP table ORASQLAREA
Within an ECC or HANA version of SAP you can also view further information about ORASQLAREA and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects