Versions Compared

Key

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

...

The Activity tab was designed to answer questions such as, "What happened yesterday, as well as a month ago and a year ago?" and "What has been the performance level of my applications over time.".

Anchor
HowtheActivitytabisstructured
HowtheActivitytabisstructured
How the Activity tab is structured

...

The Main area shows comprehensive information on the selected entity. You can choose from several views to examine the entity from different angles. For example, you can focus on an In Sybase over time graph for an Instance entity, to observe its resource consumption over time or you can focus on the Scalability view to investigate the scalability of the instance over time.

See About drilling down in context on page 18, About the Main area on page 17, and About the Association area on page 17.

Navigating in the Activity tab

...

Moving the pointer over the Tab heading displays a ToolTip with navigational information that traces the path you have already taken in your investigation

See See About drilling down in context on page 18, About the Main area on page 18, and and About the Association area on page 18.

About the Association area in the Activity tab

...

In the Association area, click the row of the program you want to view detailed information for. The Tab heading indicates the newly selected program; the Main area displays In Sybase information on the program you drilled down to, and the Association area shows information on statements executed by this program.

See See About drilling down in context on page 18, About the Main area on page 18, About the Association area on page 18, How most tabs are structured on page 15, Tasks common to most tabs on page 20, and About the Dashboard tab on page 33.

Anchor
AbouttheentitiesyoucanexamineintheActivitytab
AbouttheentitiesyoucanexamineintheActivitytab
About the entities you can examine in the Activity tab

...

Displays instance grouping information for the selected Sybase Tier. It is possible to categorize instances into groups and observe their tuning counters, such as their In Sybase breakdown, according to the groups you defined. This option is useful if there are many instances in the same application. For an explanation on how to define instance groups, see the Precise Administration Guide.

About Instance and Collector entities

...

The table below describes which Collector entities can be examined in the Activity tab.

Table 6- 1 Collector entities that can be examined in the Activity tab

Collector EntityDescription
DatabaseDisplays information on an activity in reference to a specific database.
ProgramDisplays information on an activity generated from a specific program. Displays 'N/A' if the program_name column in sysprocesses is null.
LoginDisplays information on an activity generated by a specific login. Displays 'N/A' if the suid column in sysprocesses holds a number for which the user name is null.
UserDisplays information on an activity generated by a specific user in the database in use.
MachineDisplays information on an activity generated from a specific workstation. If the hostname column in sysprocesses is null, displays the IP Address of the workstation for instances of version 12.5 or later, or 'N/A' for instances of earlier versions.

See Precise for Sybase agents on page 13.

The following views are available for the Instance and Collector entities:

...

  • Load. Displays information on the following session-related items:
    • Sessions. Number of sessions that occurred during the specified time period of the selected collector entity. For example, if you are viewing the Login entity, this value represents the number of sessions that are connected to the selected Login.
    • Duration (Avg). Average duration for a single session, in the selected collector entity during the selected time frame, calculated by dividing the Duration by the number of Sessions.
    • Duration (Summed). Total amount of time that elapsed for all of the selected collector entity's sessions during the selected time frame.
    • Statement Executions. Number of statements executed during the selected time frame that were generated by the selected collector entity's sessions.
    • Statement Duration (Avg). Average duration for a single statement execution, in the selected collector entity during the selected time frame. This value is calculated by dividing the Duration (Summed) parameter by the number of statement executions.
  • Statistics. Displays the following session-related statistics:
    • CPU Time. Cumulative CPU time for the collector entity or instance during the selected time frame.
    • Physical I/O Operations. Total number of physical I/O operations performed by all sessions connected to the database during the selected time frame.
  • In Sybase Breakdown. Displays collector entity resource consumption (table format) and shows instance breakdown during the selected time frame. The table displays the following information:
    • State. Displays the In Sybase state.
    • In Sybase. Displays a graphical representation of the Time column.
    • Time. Amount of time the selected collector entity was in this state.
    • %. Percentage of time the selected collector entity was in this state

See About session states on page 25.

About viewing Instance and Collector In Sybase data

The In Sybase view displays the resource consumption of the selected collector entity during the selected time frame. This graph enables you to analyze performance trends for the collector entity, over time.

See “Understanding Understanding In Sybase session states” on page 25. See “Focusing on states and Focusing on information in overtime graphs” on page 22graphs.

About viewing Instance and Collector locking data

...

  • Locks. Displays which sessions were involved in a blocking situation (either locking or blocking). It is important to understand which sessions are involved in each blocking chain, as there may be several sessions involved at the same time. It is then important to determine which session is blocking others, which object is being blocked, and what type of lock has been applied.
    A yellow lock indicates that the session is currently blocking another session but is not itself blocked.
    A red lock indicates the session is currently blocked by another session. Note that a session may also block other sessions while being blocked by a different session.
  • Lock wait graph. The Lock Wait graph shows a breakdown of the Lock Waits and when they occurred over the selected time period.

See Focusing on information in overtime graphs on page 22.

About viewing Instance and Collector overall activity

...

  • Waitfor Command. The amount of time applications were waiting for a Waitfor command.
  • Parallel Sync Wait. The amount of time applications were waiting on a synchronization message from another process in the family.
  • Request Wait. The amount of time applications were in a Request Wait state, defined as the state wherein the server is waiting for a client request.
  • Other Wait. The amount of time applications were in Other states.
  • In Sybase. Represents total amount of time spent in Sybase.

See See Focusing on information in overtime graphs on page 22.

About viewing Instance and Collector scalability

...

  • In Sybase (Avg) vs. Sessions. Compares the average In Sybase time of the selected collector entity with the number of sessions during the selected time frame. For example, if the selected collector entity is Login, the graph will show the number of sessions connected with the selected login versus the average In Sybase time of each session over time. Use this graph to analyze if the average session In Sybase time increases when the number of sessions increase.

See See Focusing on information in overtime graphs on page 22.

Instance and Collector entities Association area

...

The table below describes the additional information displayed in the Performance tab in the Association area.

Table 6- 2 Precise information displayed in the Performance tab 

Column

...

Description
Entity Name (

...

Such as Instance, Database)

...

Displays the name of the entity.
In

...

SybaseDisplays entity resource consumption (default: stacked bar chart) and shows entity breakdown during the selected time frame.

...

%Displays the percentage of the total In Sybase.
Sessions

...

Number of sessions that occurred during the selected time frame of the selected entity.
Duration (Avg)

...

Average duration for a single session, in the selected entity during the selected time frame, calculated by dividing the Duration by the number of Sessions.
Statement

...

ExecutionsNumber of statements executed during the selected time frame that were generated by the selected entity's sessions.
CPU

...

Time

Cumulative CPU time for the entity during the selected time frame.

This value is calculated by the Collector agent as follows (this is an approximate value):

The CPU field in sysprocesses is sampled at the start point and end point. The value sampled at the start point is subtracted from the value sampled at the end point resulting in the CPU Time reported.

Physical I/O

...

Operations

Cumulative number of physical I/O requests performed for the entity during the selected time frame.

This value is calculated by the Collector agent as follows (this value is an approximation):

The physical_io field in sysprocesses is sampled at the start point and the end point. The value sampled at the start point is subtracted from the value sampled at the end point resulting in the Physical I/O reported.

About viewing In Sybase data for Instance and Collector entities

The In Sybase tab contains the In Sybase counter and the breakdown of the In Sybase into its states. The In Sybase is displayed with a normalized view while all the other counters display the time spent in each state.

See See Understanding In Sybase session states on page 25.

Anchor
AboutStatementBatchCollapsedStatementandCollapsedBatchentities
AboutStatementBatchCollapsedStatementandCollapsedBatchentities
About Statement, Batch, Collapsed Statement, and Collapsed Batch entities

...

The table below describes which performance and resource consumption information is displayed for the statement, batch, collapsed statement and collapsed batch entities.

Table 6-3    Statement3 Statement, Batch, Collapsed Statement and Collapsed Batch entities

Entity    Description

...

EntityDescription
Statement

Displays information on the activity of a specific TSQL statement. A statement is always part of a batch.

When an encrypted stored procedure is encountered the statement will display Encrypted Text.

...

BatchDisplays information on the activity of a specific batch. A batch can either be a stored procedure, stored function, trigger, or a detailed batch. If it is a stored object, the name of the stored object is displayed.
Collapsed

...

StatementRepresents similar statements that differ in their parameters (literals). In a collapsed statement, the literals are replaced with parameter markers. The collapsed statement lets you analyze the overall resource consumption of similar statements.
Collapsed

...

BatchSimilar to collapsed statement a collapsed batch represents similar batches that differ in their parameters (literals). In a collapsed batch, the literals are replaced with parameter markers. The collapsed batch lets you analyze the overall resource consumption of similar batches.

See How information is collected on page 25.

The following views are available for the Statement, Batch, Collapsed Statement and Collapsed Batch entities:

  • Overview
  • Text
  • In Sybase
  • Locking
  • Scalability

About getting an overview of Statement, Collapsed Statement, Batch and Collapsed Batch entities

The Overview displays information on the entity's activity, such as its number of executions and average statement duration. In addition the resource consumption breakdown and the text of the statement or batch are also displayed, as follows:Load    Displays

  • Load. Displays information on the following session-related items:
    • Database
    - identifies
    • . Identifies the statement's database.
    • User
    - identifies
    • . Identifies the statement's parsing user.
    • Statement Executions
    - number
    • . Number of times the Collector agent identifies that the statement was executed during the selected time frame.
    • Statement Duration (Avg)
    - displays
    • . Displays the average duration of each statement execution during the selected time frame, calculated by dividing the Duration (Summed) by the number of Statement Executions.
    • Statement Duration (Summed)
    - total
    • . Total elapsed time required to run all executions of the selected statement or batch during the selected time frame.

...

  • Statistics. Displays the following statement-related statistics:
    • CPU Time
    - cumulative
    • . Cumulative CPU time for the entity during the selected time frame. This value is calculated by the Collector agent as follows (this is an approximate value) - the CPU field in sysprocesses is sampled at the start point and end point. The value sampled at the start point is subtracted from the value sampled at the end point resulting in the CPU Time reported.
    • Physical I/O Operations
    - total
    • . Total number of physical I/O requests during statement execution during the selected time frame.
    • Parallel Sessions (Min)
    - certain
    • . Certain statements are executed using parallelisms. This counter displays the minimum number of threads used to execute the statement and is calculated by examining the fid column in sysprocesses. Check this counter to verify that the Sybase is implementing the best execution plan for the statement.
    • Parallel Sessions (Max)
    - certain
    • . Certain statements are executed using parallelisms. This counter displays the maximum number of threads used to execute the statement and is calculated by examining the fid column in sysprocesses. Check this counter to verify that the Sybase is implementing the best execution plan for the statement.
  • In Sybase

...

  • breakdown. Displays resource consumption broken down into states, such as, Using CPU, I/O Wait, Lock Wait, and so on, within the specified time period. This allows you to identify the highest resource consumers.

...

  • Text. Displays statement or batch text (formatted for easy readability).
    When viewing a batch entity, the entire text of the improvised batch or stored object is displayed. When viewing a statement, only the part of the batch that generates the statement is displayed. When viewing a collapsed statement or batch, the literals are replaced with parameter markers.

About viewing Statement, Collapsed Statement, Batch and Collapsed Batch text

The Text view displays the SQL Text of the statement or batch.

About viewing In Sybase data for Statement, Collapsed Statement, Batch and Collapsed Batch entities

The In Sybase view displays the resource consumption of the selected entity during the selected time frame. This graph enables you to analyze performance trends for the entity, over time.

See See Focusing on information in overtime graphs on page 22.

About viewing Statement, Collapsed Statement, Batch and Collapsed Batch entities locking

The Locking view displays the blocking tree and the lock wait duration broken down into lock levels (such as, Table, Page, and Key) for the selected entity, over the selected time period. The following information is displayed:Locks    Displays

  • Locks. Displays which sessions were involved in a blocking situation (either locking or blocking). It is important to understand which sessions are involved in each blocking chain, as there may be several sessions involved at the same time. It is then important to determine which session is blocking others, which object is being blocked, and what type of lock has been applied.
    A yellow lock indicates that the session is currently blocking another session but is not itself blocked.
    A red lock indicates the session is currently blocked by another session. Note that a session may also block other sessions while being blocked by a different session.
  • Lock wait

...

  • graph. The Lock Wait graph shows a breakdown of the Lock Waits and when they occurred over the selected time period.

See See Focusing on information in overtime graphs on page 22.

About viewing scalability for Statement, Collapsed Statement, Batch and Collapsed Batch entities

The Scalability view displays an over time graph that allows you to examine the scalability of the selected collector entity during the selected time frame. For example, you can determine whether the average statement In Sybase time of an entity's activity increased as a result of an increase in number of executions.

The following over time graph is displayed:

  • In Sybase (Avg) vs.

...

  • executions. Compares the average In Sybase time of the selected entity with the number of executions during the selected time frame. For example, if the selected entity is a Statement, the graph will show the number of executions of the selected statement versus the average In Sybase time of each execution over time. Use this graph to analyze if the average statement In Sybase time increases when the number of executions increase.

Statement and Batch entities Association area

The following tabs are displayed in the Association area of the Statement and Batch entities:

...

Clicking a tab shows additional information on the entities displayed in the Association area table. The rows of the table remain the same; the columns change to display additional details on the entities listed in the table. The following tables describe the information displayed in each tab.

About viewing performance data for Statement and Batch entities

The table below describes the additional information displayed in the Performance tab in the Association area.

Table 6-4    Information 4. Information displayed in the Performance tab

Column    Description

...

ColumnDescription
Image Added
Click to launch the SQL tab with the selected entity, to continue your analysis of the selected statement or batch.
Entity

...

NameDisplays the name of the entity (statement or batch).
In

...

SybaseDisplays entity resource consumption (default: stacked bar chart) and shows entity breakdown during the selected time frame.
%

...

Displays the percentage of the total In Sybase.
Statement

...

ExecutionsNumber of statements executed during the selected time frame by the selected entity.
Statement Duration (Avg)

...

Average duration for a single statement, in the selected entity during the selected time frame, calculated by dividing the Statement Duration by the number of executions.
Text

...

Displays the statement's text.

About viewing In Sybase data for Statement and Batch entities

The In Sybase tab contains the In Sybase counter and the breakdown of In Sybase into its states. In Sybase is displayed with a normalized view while all the other counters display the time spent in each state.

About viewing Statistical data for Statement and Batch entities

The table below describes the additional information displayed in the Statistics tab in the Association area.

Table 6-5    Information 5 Information displayed in the Statistics tab

Column    Description

...

ColumnDescription
Image Added
Click to launch the SQL tab with the selected entity, to continue your analysis of the selected statement or batch.
Entity Name (

...

Such as Statement)

...

Displays the name of the entity.
CPU

...

TimeCumulative CPU time for the entity during the selected time frame.
Physical I/O

...

OperationsTotal number of physical I/O requests performed by the selected entity during the selected time frame.
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.

About viewing Plan data for Statement and Batch entities

The table below describes the additional information displayed in the Plan tab in the Association area.

Table 6-6    Information Information displayed in the Plan tab

Columns    Description

...

ColumnsDescription
Image Added
Click to launch the SQL tab with the selected entity, to continue your analysis of the selected statement or batch.
Entity Name (such as Statement)

...

Displays the name of the entity.
Database

...

Identifies the database on which the statement or batch is run.

...

User

Displays one of the Sybase users by whom this statement was executed.

If this statement is not part of a stored procedure, this user will be used as parsing user when explaining this batch.

Most Recent

...

PlanIndicates the last time the access path of the statement or batch was changed.
Last Show

...

PlanIndicates the last time the statement or batch was explained.
Cost

...

Indicates the total estimated cost of the statement's or batch's execution.
Table

...

ScanIndicates whether a table scan was performed in the execution plan (applicable to Statement entity only).
Clustered Index

...

ScanIndicates whether a clustered index scan was performed in the execution plan (applicable to Statement entity only).
Clustered Index

...

SeekIndicates whether a clustered index seek was performed in the execution plan (applicable to Statement entity only).
Index

...

ScanIndicates whether an index scan was performed in the execution plan (applicable to Statement entity only).
Index

...

SeekIndicates whether an index seek was performed in the execution plan (applicable to Statement entity only).
Table

...

LookupIndicates that a table lookup operation was performed in the execution plan (applicable to Statement entity only).
Sort

...

Indicates whether a sort operation was performed in the execution plan (applicable to Statement entity only).
Merge

...

JoinIndicates whether a merge join operation was performed in the execution plan (applicable to Statement entity only).
Join

...

Indicates that a join (other than merge join) operation was performed in the execution plan (applicable to Statement entity only).
Nested Loops

...

JoinIndicates whether a nested loops join operation was performed in the execution plan (applicable to Statement entity only).
Parallel

...

AccessIndicates whether a parallel access operation was performed in the execution plan (applicable to Statement entity only).
Show Plan

...

ErrirShows the error that occurred during the last explain process.

Collapsed Statement and Collapsed Batch entities Association area

The following tabs are displayed in the Association area of the Collapsed Statement and Collapsed Batch entities:

...

Clicking a tab shows additional information on the entities displayed in the Association area table. The rows of the table remain the same; the columns change to display additional details on the entities listed in the table. The information displayed in each tab is described below.

About viewing performance data for Collapsed Statement and Collapsed Batch entities

The table below describes the additional information displayed in the Performance tab in the Association area.

Table 6-7    Information 7 Information displayed in the Performance tab

Column

...

Description
Entity

...

NameDisplays the name of the Collapsed Statement or Collapsed Batch.
In

...

SybaseDisplays entity resource consumption (default: stacked bar chart) and shows entity breakdown during the selected time frame.
%

...

Displays the percentage of the total In Sybase.
Occurrences

...

Number of different statements possessing the selected collapsed form.
Statement

...

ExecutionsNumber of statements executed during the selected time frame by the selected entity.
Statement Duration (Avg)

...

Average duration for a single statement, in the selected entity during the selected time frame, calculated by dividing the Statement Duration by the number of executions.
Text

...

Displays the statement or batch text, in the collapsed form.

In Sybase tab (Collapsed Statement and Collapsed Batch)

The In Sybase tab contains the In Sybase counter and the breakdown of In Sybase into its states. In Sybase is displayed with a normalized view while all the other counters display the time spent in each state.

About viewing statistical data for Collapsed Statement and Collapsed Batch entities

The table below describes the additional information displayed in the Statistics tab in the Association area.

Table 6-8    Information 8 Information displayed in the Statistics tabColumn    Description

ColumnDescription
Entity Name (

...

Such as Collapsed Statement)

...

Displays the name of the entity.
Database

...

Identifies the database on which the collapsed statement or batch is run.
CPU

...

TimeCumulative CPU time for the entity during the selected time frame.
Physical I/O

...

OperationsTotal number of physical I/O requests performed by the selected entity during the selected time frame.
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.

About Session and Blocker Session entities

The Session entity displays performance, statistics and locking information on the selected session. This entity differs from other entities in the Activity tab in that session information is retrieved from the Collector agent's temporary files and not from the PMDB.

...

  • Overview
  • In Sybase
  • Locking
  • Overall Activity

About getting an overview of Session and Blocker Session entities

The Overview displays general details on the selected session or blocker session, such as, Machine, Login, and Client Process ID. A breakdown of the selected session's or blocker session's resource consumption is also displayed.

About viewing In Sybase data for Session and Blocker Session entities

The In Sybase view displays the resource consumption of the selected session during the selected time frame. This graph enables you to analyze performance trends for the session, over time.NOTE    The

Info

The graph displays data in time slices.

See See Understanding In Sybase session states on page 25. See  and Focusing on information in overtime graphs on page 22.

About viewing Session and Blocker Session locking

The Locking view displays the blocking tree and the lock wait duration broken down into lock levels (such as, Table, Page, and Key) for the selected entity, over the selected time period. The following information is displayed:Locks    Displays

  • Locks. Displays which sessions were involved in a blocking situation (either locking or blocking). It is important to understand which sessions are involved in each blocking chain, as there may be several sessions involved at the same time. It is then important to determine which session is blocking others, which object is being blocked, and what type of lock has been applied.
    A yellow lock indicates that the session is currently blocking another session but is not itself blocked.
    A red lock indicates the session is currently blocked by another session. Note that a session may also block other sessions while being blocked by a different session.
  • Lock wait

...

  • graph. The Lock Wait graph shows a breakdown of the Lock Waits and when they occurred over the selected time period.

...

  • Info

    The graph displays data in time slices.

About viewing overall activity for Session and Blocker Session entities

The Overall Activity view displays the duration of the activity performed by the selected session within the specified time period, broken down into the following components:

  • Waitfor Command - the . The amount of time applications were waiting for a Waitfor command.
  • Parallel Sync Wait - the . The amount of time applications were waiting on a synchronization message from another process in the family.
  • Request Wait - the . The amount of time applications were in a request wait state, defined as the state wherein the server is waiting for a client request.
  • Other Wait - the . The amount of time applications were in other states.
  • In Sybase - represents . Represents total amount of time spent in Sybase.
Info

...

The graph displays data in time slices.

See See Focusing on information in overtime graphs on page 22.

Session and Blocker Session entities Association area

The following tabs are displayed in the Association area of the Instance and Collector entities:

...

Clicking a tab shows additional information on the entities displayed in the Association area table. The rows of the table remain the same; the columns change to display additional details on the entities listed in the table. The following table describes the information displayed in each tab.

About viewing performance data for Session and Blocker Session entities

The table below describes the additional information displayed in the Performance tab in the Association area.

Table 6-9    Information 9 Information displayed in the Performance tab

Column    Description

...

ColumnDescription
SPIDDisplays the system process ID. The SPID is a unique integer assigned to each user connection when the connection is made.
Program

...

Displays the program that opened the session.
In

...

SybaseDisplays entity resource consumption (default: stacked bar chart) and shows entity breakdown over the specified time period.
Database

...

Displays the database used by session.
Login

...

Displays the Sybase login that opened the session.
Stat

...

TimeDisplays when the session was started during the selected time frame.
Completed

...

AtDisplays when the session was completed during the selected time frame.
Machine

...

Displays the machine the program ran on.
User

...

Displays the database user that opened the session.
Duration (Summed)

...

Displays the time that has elapsed since the login time.
Client Process

...

IDDisplays the process ID of the program.

About viewing In Sybase data for Session and Blocker Session entities

The In Sybase tab contains the In Sybase counter and the breakdown of In Sybase into its states. In Sybase is displayed with a normalized view while all the other counters display the time spent in each state.

About viewing statistical data for Session and Blocker Session entities

The table below About viewing statistical data for Session and Blocker Session entities.

Table 6-10    Information 10 Information displayed in the Statistics tab

Column    Description

...

ColumnDescription
SPIDDisplays the system process ID. The SPID is a unique integer assigned to each user connection when the connection is made.
CPU

...

TimeCumulative CPU time for the entity during the selected time frame.
Physical I/O

...

OperationsTotal number of physical I/O requests performed by the selected session during the selected time frame.
Memory Pages

...

UsedDisplays the memory consumed (in pages) by the selected session during the selected time frame.

See See Understanding In Sybase session states on page 25.

Anchor
HowtheActivitytabcanhelpyouidentifyperformanceproblems
HowtheActivitytabcanhelpyouidentifyperformanceproblems
How the Activity tab can help you identify performance problems

You can identify a performance problem by doing one or more of the following:

...

Anchor
Examiningresourceconsumptionofanentireinstanceanddatabase
Examiningresourceconsumptionofanentireinstanceanddatabase
Examining resource consumption of an entire instance and database

When performing a tuning audit it is very important to analyze and understand the performance behavior of your instances and databases. You may have already drilled down to analyze the performance of a single query or program. However, examining the entire instance's behavior can alert you to the health of your system. The Instance (or Database) represents the performance of the average application. This helps you answer questions such as: "This query suffers from Log wait, but does the entire system suffer from lock wait?" If, for example, you discover that your system suffers from I/O wait and you tune a query that performs memory operations, you most likely will not improve the entire system's I/O wait problem. So examining the entire instance can provide a quick overview of the dominant resources consumed.

...

  1. In the Instance list, choose the item you want to analyze.
  2. In the Time Frame list, choose the period of time you want to analyze.
  3. On the View controls in the Main area, click Overview. Examine the entire instance and determine which are the dominant resources that are consumed by your system.
  4. On the Association controls in the Association area, click Databases.
  5. On the Performance tab, place the cursor in the In Sybase column of the top database and view the information displayed on its resource consumption.
Info

As a rule of thumb, a healthy system should have a high Using CPU value, a 10 - 15% I/O Wait, a Log Wait based on the nature of the application, and the remaining states should show values that are as minimum as possible.

Anchor
Identifyingheavyresourceconsumers
Identifyingheavyresourceconsumers
Identifying heavy resource consumers

Precise for Sybase lets you drill down to application components (such as Logins, Databases, Programs, Machines, and Statements) to determine which application component consumes the most resources. This is accomplished by clicking on an application component in the Association area. This process is iterative and you may continue to drill down until you discover the application component that you want to tune.

...

  1. In the Instance list, choose the item you want to analyze.
  2. In the Time Frame list, choose the period of time you want to analyze.
  3. On the View controls in the Main area, click In Sybase to view a breakdown of the In Sybase time.

    Info

    When trying to determine which application component to drill down to, take into consideration not only the total In Sybase of the application, but also its number of Sessions or Executions and Duration (Avg). If you do not take these elements into consideration you may try to tune a program that runs once a year, consuming 20 hours, instead of tuning a program that consumes 2 seconds but runs every time a user logs on to the system.

  4. On the Association controls in the Association area, click Programs.
  5. On the Performance tab, place the cursor in the In Sybase column of the top program entity and view the information displayed regarding its resource consumption.
  6. Drill down on the entity to focus on additional components.
  7. Go back to the overview of the instance you originally selected.
  8. In the Association area, use the Association controls to select different entities associated with the instance, and analyze the average duration of each entity.

Anchor
Examiningresourceconsumptionovertime
Examiningresourceconsumptionovertime
Examining resource consumption over time

When you analyze and tune the performance of an application component (such as, database, program, or query) it is important to take into consideration its performance over time. Precise for Sybase lets you view the component's performance over a selected time period.

...

  1. In the Instance list, choose the item you want to analyze.
  2. In the Time Frame list, choose the period of time you want to analyze.
  3. On the View controls in the Main area, click In Sybase.
  4. Move the cursor over the bars in the graph to view the instance's resource consumption over time.

Anchor
Resolvingblockingsituations
Resolvingblockingsituations
Resolving blocking situations

While many think that locking is bad, the truth is that locking is good - it maintains data integrity. The situations to avoid are contentions. Contentions are situations in which one application waits for a resource that is being held by another application.

...

  1. In the Instance list, choose the item you want to analyze.
  2. In the Time Frame list, choose the period of time you want to analyze.
  3. In the Association area drill down to the database entity you want to analyze.
  4. On the View controls in the Main area, click Locking.
  5. Examine the locking of the selected entity in the graph, for the period of time you selected. Move the cursor over the bars in the graph to view the Lock Wait breakdown.
  6. Examine the locks tree to observe all the contentions that occurred and determine which sessions were involved in contentions.
  7. Assess who is blocking who (For example, determine which session is blocking which session. By drilling from the application component with Lock Wait to the Blocker Session entity, you can find the sessions that caused the contention).

Anchor
IdentifyingoffendingSQLstatements
IdentifyingoffendingSQLstatements
Identifying offending SQL statements

Having identified a major resource-consuming entity, you can further drill down to the statements and batches executed by that entity. These may include long running SQL statements and SQL statements that use few resources but were executed frequently. In many cases analyzing the queries executed by the entity and tuning them will result in the most performance gain. For each statement, you can do the following:

...

  1. In the Instance list, choose the item you want to analyze.
  2. In the Time Frame list, choose the period of time you want to analyze.
  3. In the Association area, drill down to the top resource-consuming database.
  4. On the Association controls in the Association area, click Statements. On the Performance tab view which entities executed the statement and view the resources consumed by the statement.
  5. In the Plan tab, in the Association area, view a summary of the statement's access plan.

Anchor
ExaminingthescalabilityofyourapplicationorSybaseservers
ExaminingthescalabilityofyourapplicationorSybaseservers
Examining the scalability of your application or Sybase servers

Applications are called upon to support the addition of more and more users, and data, over the years. One of today's tasks is ensure that our application and servers are scalable for tomorrow's tasks.

...

  1. In the Instance list, choose the item you want to analyze.
  2. In the Time Frame list, choose the period of time you want to analyze.
  3. On the View controls in the Main area, click Scalability.
  4. In the Session Duration (Avg) vs. Sessions graph, observe the number of sessions and the impact of the average session duration, over the selected time period. For example, if you observe that average session duration decreases when the number of sessions increase, this may indicate that the application has a scalability problem.

 

Precise. Performance intelligence from click to storage. Learn more > >

 

...


Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
 | 
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
 
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
 | 
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/precise/
 | 
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
 
|
 
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
 | 
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
 
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse