GitHub user selvaganesang opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/898

    [TRAFODION-2420] RMS enhancements

    Introduced a feature  in RMS offender to list queries blocked in storage 
engine.
    
    This lists queries which are blocked in the storage engine APIs
    for more than given number of seconds. The BLOCKED_FOR_SECS denotes how
    long the storage engine API is blocked.
    
    The SQL commands to list SE_BLOCKED queries are available at:
    $TRAF_HOME/export/limited-support-tools/LSO/se_blocked.sql
    
    Example output is below:
    
    cd $TRAF_HOME/export/limited-support-tools/LSO
    ./offender -s se_blocked
    
    CURRENT_TIMESTAMP           NO_OF_PROCESSES  BLOCKED_FOR_SECS   QUERY_ID    
                                                  TABLE_NAME
    --------------------------  ---------------  ----------------  
------------------------------------------------------------  
------------------------------
    
    2016-12-28 10:29:43.941455                1                83  
MXID11000030514212349680799580002000000000206U3333300_18_S1   TRAFODION.SCH.T022

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/selvaganesang/incubator-trafodion se_offender

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/898.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #898
    
----
commit ce6b44612f3fc19a18314f985853322dd39b66e4
Author: selvaganesang <[email protected]>
Date:   2016-12-28T14:57:49Z

    [TRAFODION-2420] RMS enhancements
    
    Introduced a feature to list queries blocked in storage engine
    via RMS offender.
    
    This lists queries which are blocked in the storage engine APIs
    for more than given number of seconds. The BLOCKED_FOR_SECS denotes how
    long the storage engine API is blocked.
    
    The SQL commands to list SE_BLOCKED queries are available at:
    $TRAF_HOME/export/limited-support-tools/LSO/se_blocked.sql
    
    Example output is below:
    
    cd $TRAF_HOME/export/limited-support-tools/LSO
    ./offender -s se_blocked
    
    CURRENT_TIMESTAMP           NO_OF_PROCESSES  BLOCKED_FOR_SECS   QUERY_ID    
                                                  TABLE_NAME
    --------------------------  ---------------  ----------------  
------------------------------------------------------------  
------------------------------
    
    2016-12-28 10:29:43.941455                1                83  
MXID11000030514212349680799580002000000000206U3333300_18_S1   TRAFODION.SCH.T022

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to