Trigger - find triggering statement

Heyho there,
I have a question: can a trigger somehow find out, which statement caused the trigger to fire? And if so, is it possible to find out the session?
thx for your help in advance
René

Hello
Within a trigger, you can access the session id via SYS_CONETEXT('USERENV','SESSIONID') - that will give you the audsid value that you'd find in v$session.audsid. You could use this to query v$session if you wanted to get sid and serial#.
In terms of finding out which statement caused the trigger to fire, that's a little more difficult. The issue is that the statement could have been as a result of someone connecting via a development tool and issuing a dml statement, or it could be as a result of calling a stored procedure. When it's the result of a procedure call, you could find the caller details like so
X>create table dt_test
  2  (id number)
  3  /
Table created.
Elapsed: 00:00:01.09
X>create or replace trigger dt_test_trg
  2  before insert or update on dt_test
  3  for each row
  4  declare
  5
  6      v_Owner         VARCHAR2(30);
  7      v_Name          VARCHAR2(30);
  8      v_Line          NUMBER;
  9      v_Caller        VARCHAR2(30);
10
11  BEGIN
12
13      owa_util.who_called_me
14      (   v_Owner ,
15          v_Name  ,
16          v_Line  ,
17          v_Caller
18      );
19
20      dbms_output.put_line('Owner '||v_Owner);
21      dbms_output.put_line('Name '||v_Name);
22      dbms_output.put_line('Line '||v_Line);
23      dbms_output.put_line('Caller '||v_Caller);
24
25
26  end;
27  /
Trigger created.
Elapsed: 00:00:00.57
X>create or replace procedure p_test
  2  is
  3
  4  begin
  5
  6      insert into dt_test values(1);
  7
  8  end;
  9  /
Procedure created.
Elapsed: 00:00:00.35
X>set serveroutput on
X>
X>ev_ec p_test;
Owner SWAPP_OWNER
Name P_TEST
Line 6
Caller PROCEDURE
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.25But note that if it is a package that contains the stored procedure, you'll get the line number and the name of the package, not the name of the procedure...
X>create or replace package pkg_test
  2  is
  3
  4      procedure p_test;
  5
  6  end;
  7  /
Package created.
Elapsed: 00:00:00.07
X>
X>create or replace package body pkg_test
  2  is
  3
  4      procedure p_test
  5      is
  6
  7      begin
  8
  9          insert into dt_test values(1);
10
11      end;
12  end;
13  /
Package body created.
Elapsed: 00:00:00.10
X>exec pkg_test.p_test;
Owner SWAPP_OWNER
Name PKG_TEST
Line 9
Caller PACKAGE BODYand if this is just a stand alone SQL statement that's not being called from a stored procedure, you won't get any caller info...
X>insert into dt_test values(1);
Owner
Name
Line
Caller
1 row created.
Elapsed: 00:00:00.00Hope that helps
David
Edited by: 950453 on Sep 10, 2012 10:37 AM
Just saw the link to the solution that searches the shared pool for the triggering statement which will give a much more detailed view of what's caused the statement to fire. Bravo.

Similar Messages

  • Could not find prepared statement with handle %.

    Greetings. I've seen several posts for this error on the web, but no clear cut answers. I captured the code below in profiler, with the intention of replaying in mgmt studio.
    However, the attempt end in the following error: "Could not find prepared statement with handle 612."
    declare @p1 int
    set @p1=612
    declare @p2 int
    set @p2=0
    declare @p7 int
    set @p7=0
    exec sp_cursorprepexec @p1 output,@p2 output,N'@P0 int,@P1 int,@P2 int,@P3 int,@P4 bit',N'EXEC dbo.mySproc @P0,@P1,@P2,@P3,@P4 ',4112,8193,@p7 output,219717,95,NULL,1,0
    select @p1, @p2, @p7
    Something noteworthy is that my sproc only has 5 input parameters, but this makes it look like it has many more.
    How do I manipulate the code enough to make it work in mgmt studio? Thanks!
    TIA, ChrisRDBA

    In profiler you would normally see RPC:Starting and RPC:Completed. The statement shown in RPC staring is what you need to pick because as Erland explained, completed would show "funky" behavior.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • How to find sql statement which generates LOCK

    Hello,
    In my plsql procedure i have used SELECT FOR UPDATE NO WAIT statement to avoid the current record used by another user.
    Actually i want to find which sqlquery is locking the Object other than my procedure.
    I can find the session id which is locking the object but i can not able to find sql text.
    How to find the SQL text from particular LOCKING Session id as v$sql or v$sqltext or v$sqlarea dont have session id?
    Any help can be appreciated.
    Thanks in advance.

    It's not necessarily that easy to find the statement that was responsible for the lock.
    It depends.
    First of all, it depends on version.
    If you're >= 10g and you're lucky and you're licensed for Diagnostic Pack, you might find it in ASH.
    If the statement that's responsible for the lock is also waiting on something else or runs for long enough, then ASH will almost certainly have it.
    Doug Burns has a 10-part series on the subject.
    http://oracledoug.com/serendipity/index.php?/archives/1477-Diagnosing-Locking-Problems-using-ASH-Part-1.html

  • How to find sql statement with Unix process pid

    Hi
    how to find sql statement with Unix process pid
    is there any view to find that.
    please if so let me know
    Thanks in advance

    this is how I am doing this:
    oracle 7352340 7459066 0 07:47:10 - 0:00 oracleJDERED (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oracle 7459066 5386396 2 07:47:10 pts/1 0:01 sqlplus
    select sid,serial# from v$session where process='7459066';
    SID SERIAL#
    2178 6067
    select sql_text
    from
    v$sqlarea a,
    v$session b
    where a.hash_value = b.sql_hash_value
    and b.sid = 2178
    ;

  • Could not find prepared statement with handle 13

    Hi,
    I'm having a terrible problem: When I try to execute a SQL Query the following exception is thrown:
    * "java.sql.SQLException: [Macromedia][SQLServer JDBC Driver][SQLServer]Could not find prepared statement with handle 13."
    This exception is thrown is this line:
    boolean returnResultSet = ((PreparedStatement)sqlStatement).execute();
    The sqlStatement object is a java.sql.PreparedStatement that was received as a Statement in the method definition.
    The following query is being executed in this PreparedStatement:
    SELECT id_promocao, ds_nome, id_tipo, ds_sinopse, dt_lancamento, pt_site, pt_caminho_relativo, fl_ativo FROM TAB_CINE_GM ORDER BY ds_nome
    I'm using Macromedia JRun 4 build 61650 and I'm using MS-SQL Server 2000 as a database server.
    If anyone can help, I'll thanks a lot.
    Helcio Chaves
    S�o Paulo - SP - Brazil
    [email protected]

    There is a common way to check runtime type:
    if (sqlStatement instanceof PreparedStatement)
    returnResultSet = ((PreparedStatement)sqlStatement).execute();
    else
    returnResultSet = sqlStatement.execute();
    }By the way - I can't understand why you're trying to cast sqlStatement to PreparedStatement? It doesn't matter at all due to so-called polymorphism of all Java methods (except static ones). Anyway execute() will run for PreparedStatement but bot for Statement
    Enjoy,
    Pavel

  • Help me with the Trigger (or) Triggers..that depend on 2 tables..

    Hi everyone,
    I have a requirement like this..
    (just an example that resembles my requirement)
    TABLE_1
    TABLE_1_ID
    TABLE_1_TEXT
    TABLE_1_SCALE_ID
    TABLE_1_SCORE_NO
    TABLE_1_RISK_VAL
    TABLE_2
    TABLE_2_ID
    TABLE_1_ID
    TABLE_2_TEXT
    TABLE_2_FLAG ( values should be 'Y' or 'N')
    Logic that i need to implement
    =====================
    For every TABLE_1_ID
    IF -------->
    TABLE_1.TABLE_1_SCALE_ID = 1 AND TABLE_1.TABLE_1_SCORE_NO <=18 AND TABLE_2.TABLE_2_FLAG = 'Y'
    then i have to populate TABLE_1_RISK_VAL = 1
    TABLE_1.TABLE_1_SCALE_ID = 141 AND TABLE_1.TABLE_1_SCORE_NO <=16 AND TABLE_2.TABLE_2_FLAG = 'Y'
    then i have to populate TABLE_1_RISK_VAL = 2
    otherwise
    i have to populate TABLE_1_RISK_VAL = 0
    When there is insert or update happening on those 2 tables the trigger or triggers need to check the above conditions and populate the TABLE_1_RISK_VAL depend on the conditions..
    Please help me with this issue..
    Thanks

    Hi guys...
    These are the actual tables and triggers that i have created..
    CREATE TABLE PU_PREV_SRVY
      PU_PREV_SRVY_ID        NUMBER(10)             NOT NULL,
      PU_SRVY_CENSUS_ID      NUMBER(10)             NOT NULL,
      ACCT_NO                NUMBER,
      DOB                    DATE,
      AGE                    NUMBER(3),
      SEX_CD                 VARCHAR2(2 BYTE),
      ASSESSED_FLG           VARCHAR2(2 BYTE),
      SCALE_ID               NUMBER(10),
      LAST_SCORE_DTS         DATE,
      SCORE_NO               NUMBER,
      ULCER_ON_ADMIT_NO      NUMBER(10),
      ULCER_TOTAL_NO         NUMBER,
      ULCER_NOS_NO           NUMBER                 DEFAULT 0,
      ULCER_PRVNT_PROTCL_CD  VARCHAR2(2 BYTE),
      ENTER_DTS              DATE,
      ACCT_VERIFIED_FLG      VARCHAR2(2 BYTE),
      ULCER_PRVNT_CTGRY_LST  VARCHAR2(400 BYTE),
      AT_RISK_FLG            VARCHAR2(1 BYTE)
    CREATE TABLE PU_PREV_NOS_DETAIL
      PU_PREV_NOS_DETAIL_ID  NUMBER                 NOT NULL,
      PU_PREV_SRVY_ID        NUMBER(10)             NOT NULL,
      ULCER_NOS_STAGE_ID     NUMBER(10)             NOT NULL,
      ULCER_NOS_SITE_ID      NUMBER(10)             NOT NULL,
      ENTER_DTS              DATE,
      DISCOVERED_DTS         DATE,
      GL_DEPT_NO             NUMBER,
      PRESENT_ON_ADMIT_FLG   VARCHAR2(2 BYTE)
    CREATE OR REPLACE TRIGGER ASSESS_RISK2
    BEFORE INSERT OR UPDATE ON MAGNET.PU_PREV_SRVY
    FOR EACH ROW
    DECLARE
      NUM_REC NUMBER;
    BEGIN
      IF (:NEW.SCALE_ID = 1 AND :NEW.SCORE_NO <=18) OR
        (:NEW.SCALE_ID = 141 AND :NEW.SCORE_NO <=16) THEN
          SELECT COUNT(1)
          INTO NUM_REC
          FROM PU_PREV_NOS_DETAIL pnd
          WHERE PU_PREV_SRVY_ID = :NEW.PU_PREV_SRVY_ID
            AND pnd.PRESENT_ON_ADMIT_FLG = 'Y';
          IF NUM_REC > 0 THEN
            IF :NEW.SCALE_ID = 1 AND :NEW.SCORE_NO <= 18 THEN
              :NEW.RISK_VAL := 1; 
            ELSIF :NEW.SCALE_ID = 141 AND :NEW.SCORE_NO <= 16 THEN
              :NEW.RISK_VAL := 2;
            END IF;  
          ELSE
            :NEW.RISK_VAL := 0;
          END IF;
      ELSE
        :NEW.RISK_VAL := 0;
      END IF;   
    END;
    CREATE OR REPLACE TRIGGER ASSESS_RISK
    BEFORE INSERT OR UPDATE ON MAGNET.PU_PREV_NOS_DETAIL
    FOR EACH ROW
    DECLARE
      NUM_REC NUMBER;
      V_SCALE_ID NUMBER;
      V_SCORE_NO NUMBER;
      V_RISK_VAL NUMBER;
    BEGIN
      IF :NEW.PRESENT_ON_ADMIT_FLG = 'Y' THEN
        SELECT pps.SCALE_ID, pps.SCORE_NO
        INTO V_SCALE_ID, V_SCORE_NO
        FROM PU_PREV_SRVY pps
        WHERE pps.PU_PREV_SRVY_ID = :NEW.PU_PREV_SRVY_ID;
        IF V_SCALE_ID = 1 AND V_SCORE_NO <= 18 THEN
          V_RISK_VAL := 1; 
        ELSIF V_SCALE_ID = 141 AND V_SCORE_NO <= 16 THEN
          V_RISK_VAL := 2;
        END IF;
      ELSE
        V_RISK_VAL := 0;
      END IF; 
    --  DBMS_OUTPUT.PUT_LINE('V_RISK_VAL ' || V_RISK_VAL);
      UPDATE PU_PREV_SRVY pps
      SET RISK_VAL = V_RISK_VAL
      WHERE pps.PU_PREV_SRVY_ID = :NEW.PU_PREV_SRVY_ID;
    END;
    /But i am getting Mutating error with these two triggers...because in the ASSESS_RISK trigger i am doing this..
    UPDATE PU_PREV_SRVY pps
    SET RISK_VAL = V_RISK_VAL
    WHERE pps.PU_PREV_SRVY_ID = :NEW.PU_PREV_SRVY_ID;
    when i am updating PU_PREV_SRVY it is querying the PU_PREV_NOS_DETAIL (detail table) which is the Triggered table...
    Does Creating a VIEW is the only option for these kind of situation?

  • FindByPrimaryKey: Could not find prepared statement with handle 3

    I've inherited a WL61 application and been asked to make it work under WL81. We're using SQL Server 2000. We only access two tables. The XML got auto-converted during the upgrade, but I had to correct the RDBMS column names in the weblogic-cmp-jar.xml
    The application mostly works except the findByPrimaryKey fails with:
    ERROR ExecuteThread: '14' for queue: 'weblogic.kernel.Default' Administrator : TargetSessionBean - Error finding promotion with ID <2>
    javax.ejb.FinderException: Problem in findByPrimaryKey while preparing or executing statement: 'weblogic.jdbc.wrapper.PreparedStatement_weblogic_jdbc_base_BasePreparedStatement@95':
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Could not find prepared statement with handle 3.
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Could not find prepared statement with handle 3.
    at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
    at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
    I've checked the database table and the row exisits with the appropriate PK (in this case a promotion with ID <2>).
    In the WL61 version the findByPrimaryKey was explicitly defined in the weblogic-cmp-rdbms-jar.xml as follows:
    <finder>
    <method-name>findByPrimaryKey</method-name>
    <method-params>
    <method-param>com.fujitsu.ftxs.corema.server.PromotionPK</method-param>
    </method-params>
    <finder-query><![CDATA[ (= $0 promotionId) ]]></finder-query>
    <finder-expression>
    <expression-number>0</expression-number>
    <expression-text><![CDATA[@0.promotionId]]></expression-text>
    <expression-type>int</expression-type>
    </finder-expression>
    </finder
    But I understand that with WL81 I should no longer define this - it's done implicitly - so I've removed this finder definition.
    Any help appreciated. Thanks,
    - Andy Abel

    I fixed it by switching from the using the BEA driver:-
    DriverName="weblogic.jdbc.sqlserver.SQLServerDriver"
    URL="jdbc:bea:sqlserver://host:1433"
    And using the Microsoft Driver instead:-
    DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    url=jdbc:microsoft:sqlserver://host:1433
    If anyone can explain why the Microsoft Driver works and the BEA driver does not I'd like to know.
    Thanks,
    - Andy Abel

  • Could not find prepared statement with handle 1.

    [Macromedia][SQLServer JDBC Driver][SQLServer]Could not find prepared statement with handle 1.
    I'm getting this error message in what appear to be random ways. The first time I look at a page I might not get it, but the second time I might. I discovered that removing a cfqueryparam tag worked, but that is not really a safe solution. I checked that the cf_sql_type matched the database field, and in one case changed a cf_sql_varchar to a cf_sql_char so it would match a SQL Server nchar(10) field. But still these errors. Any ideas? I've not had any luck Googling this.
    I should add that I'm running Coldfusion 9 as a Tomcat webapp on a Linux server. The database is SQL Server 2005, I think.

    Here's the one that is breaking now:
    <cfquery name="CheckCredentials" datasource="#application.crossreg_dsn#">
                                            SELECT [name_first]+' '+[name_last] as name
                                                        ,p.[uni]
                                                        ,p.email
                                                        ,p.role_id
                                                         ,r.role_name
                                                      ,p.external_program_id
                                              FROM [CrossReg].[dbo].[People] p
                                               INNER JOIN dbo.Roles r on r.role_id = p.role_id
                                              WHERE uni = <cfqueryparam cfsqltype="cf_sql_char" value="#Session.username#">
    </cfquery>
    Session.username is being returned from a CAS authentication system. I've never had troubles with it before.

  • How to find invalid statements(not syntax error) executed using v$ views

    Hi
    I want find invalid statements(not syntax error statements) that executed, when some of the applications runs in the server,
    for eg: permissions denied, table/view doesn't exit .. etc
    I could not able to find it in v$sql views. is there any other view that gives this information?

    V$ views only contain parsed statements, not incorrect ones.
    Max

  • How do I find the state (start/stopped) of a Clock?

    Does anyone know how to find the State (start/stopped) of a Clock for a Media Player?

    Clock doesn't have a getState() method, but Controller does, and he expands the concept of the "stopped" state into "realizing", "realized", "prefetching", etc.
    Player subclasses Controller, and Controller subclasses Clock, so you can probably just call getState() on your Player.
    --invalidname

  • Find perform statement in MB1B which is calling Form statement in Zprogram

    Hi,
    we written form statement in zprogram, it is called in MB1B transaction.this linked
    to one output type.my problem is how to find  perform statement in MB1B.
    Do help at earliest.
    Thanks in advance.
    Rama.
    SAP-Techincal consultant.

    Thanks for reply.
    in zprogram we have been updating ztables.problem here is even we set break point here, cursor  not coming into that subroutine when we run transaction MB1B.
    CAN U PLZ say how to stop execution in subroutine.
    YOURS
    RAM

  • Find schema stats lock or unlock

    Dear All,
    How to find schema stats locked or unlocked?

    SQL> exec dbms_stats.lock_schema_stats('K');
    PL/SQL procedure successfully completed.
    SQL>  select STATTYPE_LOCKED from dba_tab_statistics where  OWNER ='K';
    STATT
    ALL
    1 row selected.
    SQL> exec dbms_stats.unlock_schema_stats('K');
    PL/SQL procedure successfully completed.
    SQL> select STATTYPE_LOCKED from dba_tab_statistics where  OWNER ='K';
    STATT
    1 row selected.

  • Where did we find connection statement interfaces?

    where did we find connection ,statement interfaces when we are working with type 4 driver?

    where did we find connection ,statement interfaces
    when we are working with type 4 driver?The interfaces are always present in rt.jar. :)

  • How to set a pre-trigger when triggering off a physical channel

    I am trying to set a pretrigger when triggering off a physical channel when the voltage is above a threashold. Basically I would like to capture the pretrigger and posttrigger from a channel. I am using Visual C++.NET with Measurement Studio 7.1 with DAQmx 7.4 driver. I used to program this application with Visual C++ 6.0 with traditional NI DAQ with software analog (stop condition). How do I program in the DAQmx ?
    Thanks,
    Yajai

    In NI-DAQmx, the triggering technique you are referring to is called 'Reference Triggering'. In the attached zip folder is an ANSI C example in NI-DAQmx that demonstrates analog input with a digital reference trigger, acquiring pre and post trigger data. You will have to change the reference trigger function to use an analog edge as opposed to a digital edge (use DAQmxCfgAnlgEdgeRefTrig function). Also in the attached zip file is the NI-DAQmx C Reference Help. You can find all the DAQmx functions and properties there. Hope this helps.
    -Alan A.
    Attachments:
    DAQmx_ref_trig_and_HelpFile.zip ‏53 KB

  • DBAN reports 250 tablescans within 60sec - how to find the statements/field

    Hello,
    I try to fix performance/cache-hit-rate problems on a MaxDB v 7.5.00.44.
    I've fixed and improved several effects but there is still a pure Data-Cache-Hitrate
    > Cache Sizes
    >
    >
    >  I/O Buffer Cache:          1.562,50 MB
    >
    >     Data Cache:             1.549,00 MB
    >     Converter:                 12,88 MB
    >     Misc.:                      0,62 MB
    >
    >  Catalog Cache:           411.648,00 MB
    >
    >  Sequence Cache:                0,01 MB
    >
    > Cache Accesses
    >
    >                                Acesses          Successful    Unsuccessful       Hit Rate
    >
    >  Data Cache:             8.143.185.274      7.915.878.680       227.306.594       97,21 %
    >  SQL Data:               8.140.734.533      7.913.427.939       227.306.594       97,21 %
    >
    >  History/Undo:               2.450.874          2.450.874                 0      100,00 %
    >
    >  Catalog Cache:          3.334.089.052      3.150.536.080       183.554.889       94,49 %
    >  Sequence Cache:                 1.063              1.062                 1       99,91 %
    >
    > Parameters
    >
    >  CACHE_SIZE:                  200000
    >
    >  CAT_CACHE_SUPPLY:            52690944
    >
    >  USE_MEM_ENHANCE:
    >
    >  MEM_ENHANCE_LIMIT:
    The DB-analyzer with interval 60 sec reports to me that there are more than 200 table-scans within a minute
    > ===== #2          at 2008-03-26 14:46:17
    > *  I  SQL commands executed: 10859, avg. 182.11 per second
    >       CON: PureSQL_Cmds > INTERVAL * 5
    >       VAL: 10859        > 61       * 5
    > * W3  Data cache hitrate (SQL Pages) 80.69%, 448569 of 2322671 accesses failed
    >       CON: DC_Hit < 96 && ( PReads ) > MAX_IDLE_IO_ALL_DEVS
    >       VAL: 80.69  < 96 && ( 448570 ) > 2440                
    >       ACT: In addition to enlarging the data cache (note the paging risk of the operating system), search for the cause of the high read activity. Frequently, individual SQL statements cause a high percentage of the total logical and physical read activities. Enlarging the cache only moves the load from the disk to the CPU although an additional index could transform a read-intensive table scan into a cheap direct access.
    >       DES: For a running database application the data cache hitrate should not be less than 99%, otherwise too much data has to be read physically. Data cache hitrates less than 99% for intervals of 15 minutes or more must be avoided.
    > * W3  Selects and fetches selectivity 0.02%: 2779 selects and fetches, 20199200 rows read, 4033 rows qualified
    >       CON: SelFetSel < 0.3
    >       VAL: 0.02      < 0.3
    > * W1  Updates selectivity 3.66%: 316 updates, 4129 rows read, 151 rows qualified
    >       CON: UpdSel < 5.0
    >       VAL: 3.66   < 5.0
    > * W3  215 table scans, selectivity 0.00%: 21087692 rows read, 323 rows qualified
    >       CON: TabScanSel < 0.3
    >       VAL: 0.00       < 0.3
    > *  I  Number of physical reads: 448570
    >       CON: PReads > ( 4 * MAX_IDLE_IO_ALL_DEVS )
    >       VAL: 448570 > ( 4 * 2440                 )
    My DBA-user holds 273 tables (some with millions of rows) with 563 indizies on it - my feeling is at last one index is still missing...
    Our own CRM-system offers the possibility to "click together" requests - what makes it nearly impossible to get reasonable informations concerning the WHERE clauses.
    The high amount of tablescans let me think that it must be in a often used function - but i can't figure out which ...
    Now I have two questions
    1.) Is there any "best-practice" to find out (on server-side) which statement (WHERE-part?)
        caused the tablescans ( a trace had no stisfying result to me - maybe you can give
        me a hint with the right option and debug-level)
    2.) More common question to shared memory resources:
        Referring to the parameter "CACHE_IN_SHARED_MEMORY"  ( "...can lead to performance problems on NUMA architectures.")
        Which CACHE is ment by this parameter - set this to YES and tell OS to share three of four gigs of memory?
        Is there any documentation/commendation what is best memory-setup on SMP-Linux?
    Any hints are welcome - thanks in advance
    Harald Flaucher

    Hi,
    there is no complex command to start all the command monitor options together. It's correct you must start each option with the seperate command.
    This gives the possibility to switch only some of the monitoring options on, if you are searching e.g. those commands which have bad selectivity or high read og data.
    Ok - without SMP LOGIN you cannot check the FAQ notes.
    About the kernel parameters you will find information when you check the parameters via DBMGUI. This is only a short description about parameters.
    You can check the MaxDb documenation if you can find more information about the parameter you are interrested in there:
    [param-doku|http://maxdb.sap.com/doc/7_7/44/bd1ec6a5d51388e10000000a155369/frameset.htm]
    And you can check the cserv.pcf file to get the dependencies of the serveral parameters to each other.
    Check the workshop material as well if you can find more information about the parameters there: [maxdb.sap.com|http://maxdb.sap.com]
    Hope this will help.
    Regards, Christiane

Maybe you are looking for