Reader small image

You're reading from  Oracle Database 11gR2 Performance Tuning Cookbook

Product typeBook
Published inJan 2012
Reading LevelIntermediate
PublisherPackt
ISBN-139781849682602
Edition1st Edition
Languages
Right arrow
Author (1)
Ciro Fiorillo
Ciro Fiorillo
author image
Ciro Fiorillo

Ciro Fiorillo is an IT professional and consultant with experience of more than a decade in different roles (developer, analyst, DBA, project manager, data and software architect) among software industries. He has worked on different technologies and architectures, such as Oracle, SQL Server, Delphi, C# and .NET Framework, C/C++, Java, PHP, COBOL, Fortran, and Tibco. Ciro is currently employed as Lead Software and Data Architect with FinWin Srl, a software house specializing in banking and loans applications. As a freelancer he writes articles for websites and printed magazines about software and computing, participates in workshops, and teaches C++ and Fortran parallel programming with Intel Software tools. Ciro can be reached at ciro@cirofiorillo.com.
Read more about Ciro Fiorillo

Right arrow

V$SESSION


This view displays information on each current session.

Fields

The most relevant view fields are as follows:

  • SID: The session identifier

  • SADDR: The session address

  • SERIAL#: The session serial number

  • PROCESS: The operating system client process ID

  • PADDR: The address of the process that owns this session

  • AUDSID: The auditing session ID

  • EVENT: The resource or event for which the session is waiting

  • P1, P2, P3: Wait event parameters

  • WAIT_TIME: This is set to:

    • -2 if TIMED_STATISTICS is set to false

    • -1 if the last wait duration was less than a hundredth of a second

    • 0 if the session is currently waiting

    • A value greater than zero, which is the duration of the last wait in hundredths of a second

  • LAST_CALL_ET: The elapsed time in seconds since the session has become active/inactive

  • SQL_ID: The identifier of the currently executed SQL statement

  • PREV_SQL_ID: The identifier of the last SQL statement executed

  • ROW_WAIT_BLOCK#: The identifier for the block containing the row specified in ROW_WAIT_ROW#

  • ROW_WAIT_ROW#: The current row being locked

  • ROW_WAIT_FILE#: The file identifier for the datafile containing the row specified in ROW_WAIT_ROW#

  • ROW_WAIT_OBJ#: The object ID for the table containing the row specified in ROW_WAIT_ROW#

See also

  • The V$SESSION_EVENT and V$SESSTAT sections in this appendix

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Oracle Database 11gR2 Performance Tuning Cookbook
Published in: Jan 2012Publisher: PacktISBN-13: 9781849682602

Author (1)

author image
Ciro Fiorillo

Ciro Fiorillo is an IT professional and consultant with experience of more than a decade in different roles (developer, analyst, DBA, project manager, data and software architect) among software industries. He has worked on different technologies and architectures, such as Oracle, SQL Server, Delphi, C# and .NET Framework, C/C++, Java, PHP, COBOL, Fortran, and Tibco. Ciro is currently employed as Lead Software and Data Architect with FinWin Srl, a software house specializing in banking and loans applications. As a freelancer he writes articles for websites and printed magazines about software and computing, participates in workshops, and teaches C++ and Fortran parallel programming with Intel Software tools. Ciro can be reached at ciro@cirofiorillo.com.
Read more about Ciro Fiorillo