Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The selected entity is always reflected in the Tab heading, which serves as a point of orientation. The highest-level entity you can view information for in the Current tab is Instance. You can view another instance by selecting it from the Instance list.

About the Main area in the Current tab

The Main area shows comprehensive information on the selected entity, such as the In Sybase data for the last minute, and the number of active sessions.

About the Association area in the Current tab

The Association area provides corresponding information on the entities associated with the selected entity (displayed in the Main area). For example, you can associate to the Active Sessions related to the selected instance. The selection you make is reflected in the Association area only; the Main area remains unchanged. For some entities, tabs above the Association area enable you to view additional information. For example, the tabs displayed for a database are: General, In Sybase and Statistics. Clicking a tab displays different table columns with the same type of child entities.

...

See About Precise for Sybase tabs on page 15 . See and About the Dashboard tab on page 33.

...

The following entities can be examined in the Current tab:•    Instance

  • Instance entities

...

  • Database entities

...

  • Session entities

...

  • Statement and Batch entities

About the Instance entity

The Instance entity displays information on the resource consumption of the entire instance and allows you to focus on how it is performing, during the last minute.

About getting an overview of current Instance entities

The Overview displays information on the activity of the instance, such as number of sessions and the resource consumption breakdown of the instance.

The table below describes the information displayed in the Instance overview.

Table 5-1    Instance 1 Instance overview

View

...

AreaDescription
Sessions

Displays the following session-related information:

...

  • Sessions. Indicates the number of sessions (different SPIDs) that were connected to the Sybase instance during the last sample.

...

  • Active Sessions. Number of sessions (different SPIDs) connected to the Sybase instance during the last sample that were not in a state that is not part of the In Sybase group.

...

  • Locked Sessions. Number of blocked sessions in the last sample.

...

Statistics

Displays information on the following statistical parameters:

...

  • CPU Time. Cumulative CPU time for all sessions connected to the instance during the last minute.

...

  • Physical I/O

...

  • . The total number of physical I/O requests performed by all sessions connected to the instance during the last minute.

...

  • Memory Pages Used

...

  • . Displays the total number of memory pages, currently used by all of the open sessions.
In Sybase (Last

...

Minute)

...

Displays the resource consumption breakdown of the instance during the last minute (that is, 60 samples of the Collector agent). In addition to the resource distribution, the view displays the number of sessions in each state during the last sample.

It is important to remember that since this view only displays last minute's activities, you will always be viewing the activities that occurred during the last minute and not the activities that occurred since the last refresh action.

The following information is displayed:

...

  • State. Displays the In Sybase state.

...

  • In Sybase. Graphical representation of the Time column.

...

  • Time. Amount of time the selected entity was in this state.

...

  • %. Percentage of time the selected entity was in this state.

...

  • Sessions (Last Sample)

...

  • . Current number of sessions in the specified state. For example, there are currently three sessions experiencing a Lock Wait state.
Info

...

All the information displayed in this table represents information collected during the last minute, with the exception of the Sessions column, which represents the number of sessions, in the last sample, that were in a particular state.

See About session states on page 25.

About the Database entity

The Database entity displays information on the activity and resource consumption of the database, including the number of sessions connected to the database during the last sample taken, various session-related statistics and the database resource consumption breakdown for the last minute.

About getting an overview of current database activities

The Overview displays information on the activity and resource consumption of the database, including the number of sessions connected to the database during the last sample taken, various session-related statistics and the database resource consumption breakdown for the last minute.

The table below describes the information displayed in the Database overview.

Table 5-2    Database 2 Database entity overview

View

...

AreaDescription
Session

Displays the following session-related information:

...

  • Sessions. Number of sessions (different SPIDs) that were connected to the database during the last sample.

...

  • Active Sessions. Number of sessions (different SPIDs) connected to the database during the last sample that were not in Request Wait state.

...

  • Locked Sessions. Number of blocked sessions connected to the database during the last sample.
Statistics

...

Displays information on the following statistical parameters:

...

  • CPU Time. Cumulative CPU time for all sessions connected to the database during the last minute.

...

  • Physical I/O

...

  • . Total number of physical I/O requests performed by all sessions connected to the database during the last minute.

...

  • Memory Pages Used (Total)

...

  • . Displays the total memory (in pages) consumed by all sessions that were opened in Sybase during the last 15 minutes and were connected to the current database.
In Sybase (Last

...

Minute)

...

Displays the resource consumption breakdown of the database during the last minute (that is, 60 samples of the Collector agent). In addition to the resource distribution, the view displays the number of sessions in each state during the last sample.

It is important to remember that since this view only displays the last minute's activities, you will always be viewing the activities that occurred during the last minute and not the activities that occurred since the last refresh action.

The following information is displayed:

...

  • State. Displays the In Sybase state.

...

  • In Sybase. Graphical representation of the Time column.

...

  • Time. Amount of time the selected entity was in this state.

...

  • %. Percentage of time the selected entity was in this state.

...

  • Sessions (Last Sample)

...

  • . Current number of sessions in the specified state. For example, there are currently three sessions experiencing a Lock Wait state.
Info

...

All the information displayed in this table represents information collected during the last minute, with the exception of the Sessions column, which represents the number of sessions in the last sample that were in a particular state.

See About session states on page 25.

About the Session entity

The Session entity displays information on a single connection with Sybase. Precise for Sybase identifies a session by the following attributes:•    System

  • System Process ID (SPID)

...

  • . A unique integer assigned to each user connection when the connection is made.

...

  • Host Process (PID)

When one of these attributes changes, a new session is recorded and displayed.

About getting an overview of a session entity

The Overview displays information on the session identifier's connection details, session-related statistics and a breakdown of session resource consumption, during the last minute.

The table below describes the information displayed in the Session overview.

Table 5-3    Session 3 Session overview

View

...

AreaDescription
Session

...

Tab

Displays information on the following session identifiers:

...

  • State. Current state of the session.

...

  • In Sybase. Graphical representation of the Time column. Text -Text of the statement which is currently running.

...

  • Status. Current status of the session as reported by Sybase. The Session status can be one of the following:

...

  • Alarm sleep. Waiting for alarm to wake process up.

...

  • Background. A process, such as a threshold procedure, run by Adaptive Server rather than by a user process.

...

  • Infected. Server has detected a serious error condition; extremely rare.

...

  • Latch sleep. Waiting on a latch acquisition.

...

  • Lock sleep. Waiting on a lock acquisition.

...

  • PLC sleep. Waiting to access a user log cache.

...

  • Recv sleep. Waiting on a network read.

...

  • Remote I/O

...

  • . Performing I/O with a remote server.

...

  • Runnable. In the queue of runnable processes.

...

  • Running. Actively running on one of the server engines.

...

  • Send sleep. Waiting on a network send.

...

  • Sleeping. Waiting on a disk I/O, or some other resource (often indicates a process that is running, but doing extensive disk I/O).

...

  • Stopped. Stopped process.

...

  • Sync sleep. Waiting on a synchronization message from another process in the family.

...

  • Last Batch Time

...

  • . If the session is currently executing a batch, this field displays the time the batch started; otherwise it displays the time the previous batch finished executing. Idle Time -Time elapsed since last batch.

...

  • Parallel Sessions

...

  • . Current number of sub-threads used to execute a batch in parallel. This counter is calculated from the fid column in the sysprocesses. It enables you to verify that Sybase uses the best execution plan for the current statement.

...

  • Blocked By

...

  • . If the session is blocked by another session, displays the SPID of the blocker session.
Connection

...

TabA connection includes session identifiers, such as database, login, machine and user, as reported by the sysprocesses.

The following information is displayed:

...

  • Session status

...

  • . Current status of the session as reported by Sybase.

...

  • Last Batch Time

...

  • . If the session is currently executing a batch, this field displays the time the batch started; otherwise it displays the time the previous batch finished executing.

...

  • Idle Time

...

  • . Time elapsed since last batch.
In Sybase (

...

Last Minute)

Displays the resource consumption breakdown of the session during the last minute (that is, 60 samples of the Collector agent).

It is important to remember that since this view only displays the last minute's activities, you will always be viewing the activities that occurred during the last minute and not the activities that occurred since the last refresh action.

The following information is displayed:

...

  • In Sybase. Graphical representation of the Time column.

...

  • Time. Amount of time the selected entity was in this state

...

  • .
  • %. Percentage

...

  • of time the selected entity was in this state.
Locks

...

Tab

Displays information on the current session locks that exists in the instance. Contains the following information on each session:

...

  • Blocked by

...

  • . If the session is blocked by another session, displays the SPID of the blocker session.

...

  • Blocker user/program.

...

  • Locking chain. For more than one locked session.
  • Lock wait

...

  • . Lock duration.
Statistics

...

Tab

Displays information on the following statistical parameters:

...

  • CPU Time

...

  • . CPU time for the sessions during the last minute.

...

  • Physical I/O Operations

...

  • . Total number of physical I/O requests performed by the session during the last minute.

...

  • Memory Pages Used

...

  • . Number of pages in the procedure cache that are currently allocated to the SPID.

See About session states on page 25.

About viewing the current statement's text

The Text view displays the text of the current statement. If the session is not active and executing a statement, a message notifying you that the session is not active and that no text is available, is displayed.

About Statement and Batch entities

The Statement and Batch entities display information on a SQL statement that was executed by the selected session during the last time slice.

About getting an overview of current Statement and Batch entities

Displays general information on the statement or batch, including overall statement properties, the breakdown of the statement In Sybase during the last time slice, and some statistics regarding the resource consumption of the statement.

...

The table below describes the information displayed in the Statement or Batch overview.

Table 5-4    Statement 4 Statement or Batch overview

 

Parameter    Description

Statement/Batch ID    Internal statement hash value (SHV) calculated by the Collector agent.

...

Parallel Sessions (Min)    Minimum number of threads used to execute the statement or batch in parallel. This counter is calculated from the fid column in sysprocesses. This enables you to verify that Sybase is using the best execution plan for the current statement.

Parallel Sessions (Max)    Maximum number of threads used to execute the statement or batch in parallel. This counter is calculated from the fid column in sysprocesses. This enables you to verify that Sybase is using the best execution plan for the current statement.

...