Book Image

Oracle 10g/11g Data and Database Management Utilities

Book Image

Oracle 10g/11g Data and Database Management Utilities

Overview of this book

Does your database look complicated? Are you finding it difficult to interact with it? Database interaction is a part of the daily routine for all database professionals. Using Oracle Utilities the user can benefit from improved maintenance windows, optimized backups, faster data transfers, and more reliable security and in general can do more with the same time and resources.
Table of Contents (18 chapters)
Oracle 10g/11g Data and Database Management Utilities
Credits
About the Author
About the Reviewer
Preface

Session monitoring, the traditional way


Dynamic v dollar (v$) views have been historically used to perform session monitoring in character mode, this is useful when the DBA creates batch procedures or develops PLSQL programming to monitor the users activity.

The traditional views used to perform manual analysis and session analysis queries are:

  • V$SESSION: This view lists information for each current session.

  • V$SESSION_CONNECT_INFO: This view displays information about network connections for the current session.

  • V$SESSION_CURSOR_CACHE: This view displays information on cursor usage for the current session.

  • V$SESSION_EVENT: This view lists information on waits for an event by a session. If you see a value of zero on the TIME_WAITED and AVERAGE_WAIT columns, this means that the platform does not support the fast timing. If this is the case then set the TIMED_STATISTICS instance parameter to true.

  • V$SESSION_LONGOPS: This view provides information about tasks that last more than 6 seconds...