首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

查询oracle比较慢的session跟sql

2013-04-26 
查询oracle比较慢的session和sqlSQL_TEXTVARCHAR2(1000)First thousand characters of the SQL text for t

查询oracle比较慢的session和sql

SQL_TEXTVARCHAR2(1000)First thousand characters of the SQL text for the current cursorSQL_IDVARCHAR2(13)SQL identifier of the parent cursor in the library cacheSHARABLE_MEMNUMBERAmount of shared memory used by a cursor. If multiple child cursors exist, then the sum of all shared memory used by all child cursors.PERSISTENT_MEMNUMBERFixed amount of memory used for the lifetime of an open cursor. If multiple child cursors exist, the fixed sum of memory used for the lifetime of all the child cursors.RUNTIME_MEMNUMBERFixed amount of memory required during execution of a cursor. If multiple child cursors exist, the fixed sum of all memory required during execution of all the child cursors.SORTSNUMBERSum of the number of sorts that were done for all the child cursorsVERSION_COUNTNUMBERNumber of child cursors that are present in the cache under this parentLOADED_VERSIONSNUMBERNumber of child cursors that are present in the cache and have their context heap (KGL heap 6) loadedOPEN_VERSIONSNUMBERThe number of child cursors that are currently open under this current parentUSERS_OPENINGNUMBERNumber of users that have any of the child cursors openFETCHESNUMBERNumber of fetches associated with the SQL statementEXECUTIONSNUMBERTotal number of executions, totalled over all the child cursorsEND_OF_FETCH_COUNTNUMBERNumber of times this cursor was fully executed since the cursor was brought into the library cache. The value of this statistic is not incremented when the cursor is partially executed, either because it failed during the execution or because only the first few rows produced by this cursor are fetched before the cursor is closed or re-executed. By definition, the value of the END_OF_FETCH_COUNT column should be less or equal to the value of the EXECUTIONS column.USERS_EXECUTINGNUMBERTotal number of users executing the statement over all child cursorsLOADSNUMBERNumber of times the object was loaded or reloadedFIRST_LOAD_TIMEVARCHAR2(19)Timestamp of the parent creation timeINVALIDATIONSNUMBERTotal number of invalidations over all the child cursorsPARSE_CALLSNUMBERSum of all parse calls to all the child cursors under this parentDISK_READSNUMBERSum of the number of disk reads over all child cursorsDIRECT_WRITESNUMBERSum of the number of direct writes over all child cursorsBUFFER_GETSNUMBERSum of buffer gets over all child cursorsAPPLICATION_WAIT_TIMENUMBERApplication wait timeCONCURRENCY_WAIT_TIMENUMBERConcurrency wait timeCLUSTER_WAIT_TIMENUMBERCluster wait timeUSER_IO_WAIT_TIMENUMBERUser I/O Wait TimePLSQL_EXEC_TIMENUMBERPL/SQL execution timeJAVA_EXEC_TIMENUMBERJava execution timeROWS_PROCESSEDNUMBERTotal number of rows processed on behalf of this SQL statementCOMMAND_TYPENUMBEROracle command type definitionOPTIMIZER_MODEVARCHAR2(25)Mode under which the SQL statement was executedPARSING_USER_IDNUMBERUser ID of the user that has parsed the very first cursor under this parentPARSING_SCHEMA_IDNUMBERSchema ID that was used to parse this child cursorKEPT_VERSIONSNUMBERNumber of child cursors that have been marked to be kept using the DBMS_SHARED_POOL packageADDRESSRAW(

热点排行