Ajude a dar forma ao GoConqr. O que a gente deve adicionar?

Fluxograma

Monitoring System Performance

ots m8 Monitoring Inglês

Flowchart about monitoring system performance: sessions, threads, blocked transactions and expensive statements

Flowchart: Monitoring system performance

Conteúdo do fluxograma

  1. Performance TAB

  2. Monitoring System Performance

  3. Threads

  4. Sessions

  5. Progress of long-running jobs

  6. Expensive statements

  7. Blocked Transactions

  8. Execution statistics of frequently-executed queries in the SQL plan cache

  9. System load

  10. ● Active/inactive sessions and their relation to applications

    ● Whether a session is blocked and if so which session is blocking

    ● The number of transactions that are blocked by a blocking session

    ● Statistics like average query runtime and the number of DML and DDL statements in a session

    ● The operator currently being processed by an active session (Current Operator column).

  11. ● Threads with the same connection ID are grouped.

    ● Within each group, the call hierarchy is depicted (first the caller, then the callee).

    ● Groups are displayed in order of descending duration.

  12. To investigate sessions with the connection status RUNNING, you can analyze the SQL statements being

    processed in the session. To see the statements, ensure that the Last Executed Statement and Current

    Statement columns are visible. You can then copy the statement into the SQL console and analyze it using

    the Explain Plan and Visualize Plan features. It is also possible to use the SQL plan cache to understand and

    analyze SQL processing.

  13. Monitoring and Analysis Features

  14. To support monitoring and analysis, you can perform the following actions on the Sessions sub-tab:

    ● Cancel a session by right-clicking the session and choosing Cancel Session...

    ● Jump to the following related objects by right-clicking the session and choosing

    Navigate To

    <related

    object> :

    ○ Threads with the same connection ID as the selected session

    ○ Blocked transactions with the same connection ID as the selected session

    ● Activate the performance trace, SQL trace, or expensive statements trace by choosing

    Configure Trace

    <required trace> .

  15. Blocked transactions, or transactionally blocked threads, can impact application responsiveness. They are Indicated in the Administration editor on the Performance Threads tab. You can see another Representation of the information about blocked and blocking transactions on the Blocked Transactions sub-tab

  16. The SQL plan cache can provide you with an insight into the workload in the system as it lists frequently

    executed queries. You can view the plan cache in the Administration editor on the

    Cache

    Performance

    SQL Plan

    sub-tab.

    Technically, the plan cache stores compiled execution plans of SQL statements for reuse, which gives a

    performance advantage over recompilation at each invocation. For monitoring reasons, the plan cache keeps

    statistics about each plan, for instance number of executions, min/max/total/average runtime, and lock/wait statistics

    Analyzing the plan cache is very helpful as one of the first steps in performance analysis because it

    gives an overview about what statements are executed in the system.

  17. To help you understand and analyze the execution plan of an SQL statement further, you can generate a

    graphical view of its plan by right-clicking the statement and choosing Visualize Plan.

  18. The following information may be useful:

    ● Dominant statements (TOTAL_EXECUTION_TIME)

    ● Long-running statements (AVG_EXECUTION_TIME)

    ● Frequently-executed plans (EXECUTION_COUNT)

    ● Number of records returned (TOTAL_RESULT_RECORD_COUNT)

    ● Statements with high lock contention (TOTAL_LOCK_WAIT_COUNT)

  19. The system views associated with the SQL plan cache are M_SQL_PLAN_CACHE_OVERVIEW and

    M_SQL_PLAN_CACHE.

  20. Expensive statements are individual SQL statements whose execution time exceeded a configured threshold.

    The expensive statements trace records information about these statements for further analysis. It is inactive

    by default.

    You activate and configure the expensive statements trace in the Administration editor on either the Trace

    Configuration tab or the Performance tab. Information about recorded expensive statements is displayed on

    the Performance tab.

    If in addition to activating the expensive statements trace, you enable per-statement memory tracking, the

    expensive statements trace will also show the peak memory size used to execute the expensive statements.

  21. The following information may be useful:

    ● When the query started (START_TIME)

    ● How long the query took (DURATION_MICROSEC)

    ● Name(s) of the objects accessed (OBJECT_NAME)

    ● The SQL statement (STATEMENT_STRING)

  22. To help you understand and analyze the execution plan of an expensive statement further, you can generate a

    graphical view of its plan by right-clicking the statement and choosing Visualize Plan.

  23. Certain operations in SAP HANA typically run for a long time and may consume a considerable amount of

    resources. You can monitor long-running jobs in the Administration editor on the

    Progress

    Performance

    Job

    sub-tab.

    By monitoring the progress of long-running operations, for example, delta merge operations and data

    compression, you can determine whether or not they are responsible for current high load, see how far along

    they are, and when they will finish.

  24. The following information is available, for example:

    ● Connection that triggered the operation (CONNECTION_ID)

    ● Start time of the operation (START_TIME)

    ● Steps of the operation that have already finished (CURRENT_PROGRESS)

    ● Maximum number of steps in the operation (MAX_PROGRESS)

    For more information about the operations that appear on the Job Progress sub-tab, see system view

    M_JOB_PROGRESS.

  25. A graphical display of a range of system performance indicators is available in the Administration editor on the

    Performance

    Load

    sub-tab.

    You can use the load graph for performance monitoring and analysis. For example, you can use it to get a

    general idea about how many blocked transactions exist now and in the past, or troubleshoot the root cause of

    slow statement performance.

Informações

Descrição
Monitoring Fluxograma sobre Monitoring System Performance, criado por ots m8 em 16-05-2017.
Criado por
ots m8
Visualizações
3
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que a gente deve adicionar?