dbms_system.set_sql_trace_in_session

dbms_system.set_sql_trace_in_session

We have a slow running query, which hangs for 30 seconds or so when run via an application using the JDBC driver.

When the same query is run in SQLPLUS it takes less than a second.

Thus, using the dbms_system procedure above, I turned on follow-up to the session.

While tracing is enabled, the system executes this query in a second, and the application works as expected.

So my question is:

What defines the plsql procedure, that could affect the ongoing request for enforcement?

Your call to the dbms_system activates the SQL Trace. Do not use dbms_system; Use dbms_monitor instead:

https://docs.Oracle.com/CD/B28359_01/AppDev.111/b28419/d_monitor.htm#i1003679

Maybe you're whitnessing this phenomenon:

http://www.Oracle.com/technetwork/issue-archive/2008/08-Jan/o18asktom-090158.html

see you soon

Tags: Database

Similar Questions

  • SQL trace

    Hello

    I know how to generate sql trace of user session that follows.

    SQL > ALTER SESSION SET EVENTS 10046 trace name forever, context level 12';

    SQL > alter session set tracefile_identifier = "xyz";

    I want to know how to generate sql trace system (or any other account) from different machine when working some of the user databases with SQL and PLSQL on another computer and access the database.

    concerning

    EXEC DBMS_SYSTEM.set_sql_trace_in_session (211, 23084, TRUE);

    EXEC DBMS_SYSTEM.set_ev (211, 23084, 10046, 12, 'test');

    You do not use both.  Use set_sql_trace_in_session (preferred) or set_ev (not officially supported).

    But I want to find other user sessions.

    Yes, an account with EXECUTE on DBMS_SYSTEM (for example with the DBA role) can use dbms_system.set_sql_trace_in_session to enable tracing to another session.

    Note that the name of the trace file is by processID of BONES of the dedicated server process (i.e. the SPID in V$ PROCESS for this session)

    Hemant K Collette

  • generate the file path with name required

    Hi all

    as a sys user I want to draw a user session. so, I'm using

    SQL > EXEC DBMS_SYSTEM.set_sql_trace_in_session (sid = > 123, serial #= > 1234, sql_trace = > TRUE);

    SQL > EXEC DBMS_SYSTEM.set_sql_trace_in_session (sid = > 123, serial #= > 1234, sql_trace = > FALSE);

    track. but this track file is the mixture with an another udump trace files.

    did a few google and found that we can use ALTER SESSION SET TRACEFILE_IDENTIFIER = "MY_TEST_SESSION." but it will generate a trace file for the user account sys not to the session of the user of your choice. How we can define the name of the user of your choice session trace file.

    Please let me...

    Thank you

    Note how to track of database users specific to collect full DML statements Executed (Doc ID 309798.1) explains how to set the identifier for a specific user using a trigger. This may work for what you are looking for

    Paul

  • Generation of Oracle Trace files for a session

    Hello

    I use oracle 10g (10.2.0.5) in RHEL5 server. I used the instruction exec dbms_system.set_sql_trace_in_session (147,3,TRUE); to draw a particular session. I am able to track successfully, but I created a new table in this session where I'm not able to find any statement of create table in the trace file generated, but I can find the insert statements that I made on the table newly created in the trace file.

    Is not recorded in the events of path of the DDL statements?

    Kind regards

    007

    Salvation;

    Please find below the doc who can help you

    DBMS_SYSTEM. SET_SQL_TRACE_IN_SESSION GENERATES NO TRACE FOR THE SESSION ACTIVE [ID 236178.1]
    How to enable the SQL Trace for all new Sessions [ID 178923.1]

    Follow-up to the Sessions to Oracle using the package DBMS_SUPPORT [ID 62160.1]

    Respect of
    HELIOS

  • Using TKPROF tracing for an activity for the current session

    Hello

    I use Oracle 10 g (10.2.0.1) in Solaris 10 Server. I generated a trace file using the script below

    execute sys.dbms_system.set_sql_trace_in_session(sid,serial#,TRUE);

    It was difficult to find my trace file generated. Is it possible to give a name to our file of track for easy identification?

    Kind regards

    007

    Vikash Jain (trainee DBA) wrote:
    Hi Srikkhanth,

    Use query below to find special trace file name.

    SET LINESIZE 100
    The argument COLUMN FORMAT A60 trace_file

    SELECT s.sid,
    s.Serial #, s.SchemaName,.
    PA. Value | '/' || Lower (SYS_CONTEXT ('userenv', 'instance_name')) |
    "_ora_" | p.SPID | '.trc' AS the trace_file argument
    V $ session s,.
    v$ process p,.
    parameter PA v$
    WHERE pa.name = 'user_dump_dest.
    AND s.paddr = p.addr
    AND s.audsid = SYS_CONTEXT ('USERENV', 'SESSIONID');

    hope this will give u exactly everything you wanted.

    Kind regards
    Vikash (trainee DBA)

    I modified this request a little further. Added the SID

    SELECT s.sid,
    s.Serial #, s.SchemaName,.
    PA. Value | '/' || Lower (SYS_CONTEXT ('userenv', 'instance_name')) |
    "_ora_" | p.SPID | '.trc' AS the trace_file argument
    V $ session s,.
    v$ process p,.
    parameter PA v$
    WHERE pa.name = 'user_dump_dest.
    AND s.paddr = p.addr
    and s.sid = 143
    AND s.audsid = SYS_CONTEXT ('USERENV', 'SESSIONID');

    HTH

  • no trace file in... / udump

    Hello

    DB 10.2.0.5

    I activated a tarce session by:

    run sys.dbms_system.set_sql_trace_in_session (267,21842,TRUE); (this is the process J011)

    and he can see in session$ v:

    SQL > select sid, serial # sql_trace, sql_trace_waits, session sql_trace_binds $ v where sid = 267;

    SID, SERIAL # SQL_TRAC SQL_T SQL_T
    ---------- ---------- -------- ----- -----
    267 21842 REAL TRUE ACTIVE


    but there is no trail in the udump directory file?

    BR
    Daniel

    Daniel,

    The dbms_system package is a package undocumented internally only. Please do not use it. Instead of him, use dbms_monitor package to perform the same task.

    Edit

    If you are still interested to use this package only, do some activity in the session. See below,

    SQL> grant dba to aman identified by aman;
    
    Grant succeeded.
    
    SQL> cl scr
    
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    [oracle@edbar2p0-orcl ~]$ sqlplus aman/aman
    
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Jul 11 17:00:34 2011
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    SQL> select sid, serial# from V$session where username='AMAN';
    
           SID    SERIAL#
    ---------- ----------
            31        353
    
    SQL> execute sys.dbms_system.set_sql_trace_in_session(31,353,TRUE);
    BEGIN sys.dbms_system.set_sql_trace_in_session(31,353,TRUE); END;
    
          *
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'SYS.DBMS_SYSTEM' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    
    SQL> conn / as sysdba
    Connected.
    SQL> grant execute on dbms_system to aman;
    
    Grant succeeded.
    
    SQL> cl scr
    
    SQL> conn aman/aman
    Connected.
    SQL> select sid, serial# from V$session where username='AMAN';
    
           SID    SERIAL#
    ---------- ----------
            31        357
    
    SQL> alter session set tracefile_identifier='aman';
    
    Session altered.
    
    SQL> execute sys.dbms_system.set_sql_trace_in_session(31,357,TRUE);
    
    PL/SQL procedure successfully completed.
    
    SQL> select sid, serial#, sql_trace, sql_trace_waits, sql_trace_binds from v$session where sid=31;
    
           SID    SERIAL# SQL_TRAC SQL_T SQL_T
    ---------- ---------- -------- ----- -----
            31        357 ENABLED  FALSE FALSE
    

    After that, I checked in the diag folder, there is no file created control.

    [oracle@edbar2p0-orcl trace]$ ls *aman*
    ls: *aman*: No such file or directory
    [oracle@edbar2p0-orcl trace]$ 
    

    Now, I just ran some queries in the session.

    SQL> select * from scott.emp;
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
    ---------- ---------- --------- ---------- --------- ---------- ----------
        DEPTNO
    ----------
          7369 SMITH      CLERK           7902 17-DEC-80        800
            20
    
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300
            30
    
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500
            30
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
    ---------- ---------- --------- ---------- --------- ---------- ----------
        DEPTNO
    ----------
          7566 JONES      MANAGER         7839 02-APR-81       2975
            20
    
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400
            30
    
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850
            30
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
    ---------- ---------- --------- ---------- --------- ---------- ----------
        DEPTNO
    ----------
          7782 CLARK      MANAGER         7839 09-JUN-81       2450
            10
    
          7788 SCOTT      ANALYST         7566 19-APR-87       3000
            20
    
          7839 KING       PRESIDENT            17-NOV-81       5000
            10
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
    ---------- ---------- --------- ---------- --------- ---------- ----------
        DEPTNO
    ----------
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0
            30
    
          7876 ADAMS      CLERK           7788 23-MAY-87       1100
            20
    
          7900 JAMES      CLERK           7698 03-DEC-81        950
            30
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
    ---------- ---------- --------- ---------- --------- ---------- ----------
        DEPTNO
    ----------
          7902 FORD       ANALYST         7566 03-DEC-81       3000
            20
    
          7934 MILLER     CLERK           7782 23-JAN-82       1300
            10
    
    14 rows selected.
    

    After having done that, I checked once again.

    [oracle@edbar2p0-orcl trace]$ ls *aman*
    orcl_ora_9828_aman.trc  orcl_ora_9828_aman.trm
    [oracle@edbar2p0-orcl trace]$ 
    
    PARSING IN CURSOR #3 len=23 dep=0 uid=93 oct=3 lid=93 tim=1310404033551285 hv=52
    404428 ad='32ab2004' sqlid='ggqns3c1jz86c'
    select * from scott.emp
    END OF STMT
    PARSE #3:c=1000,e=1903,p=1,cr=24,cu=0,mis=1,r=0,dep=0,og=1,plh=3956160932,tim=13
    10404033551284
    EXEC #3:c=0,e=10,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=3956160932,tim=131040403
    3551335
    FETCH #3:c=0,e=266,p=6,cr=7,cu=0,mis=0,r=1,dep=0,og=1,plh=3956160932,tim=1310404
    033551649
    FETCH #3:c=0,e=19,p=0,cr=1,cu=0,mis=0,r=13,dep=0,og=1,plh=3956160932,tim=1310404
    033551860
    STAT #3 id=1 cnt=14 pid=0 pos=1 obj=73181 op='TABLE ACCESS FULL EMP (cr=8 pr=6 p
    w=0 time=0 us cost=3 size=532 card=14)'
    

    HTH
    Aman...

    Published by: Aman... July 11, 2011 17:08
    Edit added

  • Debugging PL/SQL

    Hi all

    I am trying to debug a pl/sql code

    so I have a function that calls another function within a packet,
    function inside the packaging appealed to another procedure,

    This workflow is in progress,

    I wonder if there is a way to track process flow, also if anyone can share a good debugging stratergy in addition to dbms_out.print_line would be very useful.

    As I tried to trace the session with dbms_system.set_sql_trace_in_session, which gives the result yet cedrick. and the rows returned by the function of high level.

    Thank you very much
    N

    personally, I think that nothing beats a logging strategy good message - with each procedure/function output of debug messages if a switch is enabled for this session or something similar.

    It's really only a step to the top of the good messages dbms_output.

    Some IDE's like TOAD allow debugging where you can follow the variables and things like watching the fancy etc call stack. I used occasionally and found it very useful to leap into the snippets of code.

  • help with tkprof

    I try to visualize the sql_trace, but I get this message

    C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP

    SQL > select b.username, c.value | '\' || Lower (d.value) | "_ora_" |
    2 to_char (a.spid, 'fm00000'). '.trc' "TRACE_FILE.
    3 v $ process a, v$ session b, v$ parameter, parameter c of $ v d
    4 where a.addr = b.paddr
    5 and c.nom = 'user_dump_dest.
    6 and d.name = "db_name".
    7 and b.username is not null;

    USERNAME
    ------------------------------
    TRACE_FILE ARGUMENT
    ------------------------------------------------------------------------

    SCOTT
    C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP\xe_ora_03008.TRC


    SQL > C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP > xe_ora_03008.trc output.txt
    SP2-0023: String not found.

    Someone knows why?

    Thanks in advance

    good boss. Hope your track session

    Try using this procedure below to draw a particular session of a schema

    (1) sqlplus system/system@orcl
    (2) check the sid and serial of the session of the session of v$

    Use the following query to see what session to draw

    SQL > select username, to_char (logon_time,' MY - DD - YYYY HH) session $ v where username ='' order of logon_time;

    SQL > exec sys.dbms_system.set_sql_trace_in_session(sid,serial#,TRUE);
    (3) now run the report/transaction.
    (4) once the activity is completed

    SQL > exec sys.dbms_system.set_sql_trace_in_session (sid, serial, FALSE);
    (5) now the trace file will be available in the folder database udump
    The track will be available in $oracle_home/admin/orcl/udump
    (6) to find the name of the use of trace files the following query

    Select spid in process $ v where addr = (select paddr in session $ v where sid =);

    This will give the name of the file
    If you are not able to identify the trace file, then delete all the files in udump before you start the trace.
    (7) copy the trace on your local pc and run the command of tkprof

    TKPROF D:\trace.txt explain = sort (prsela, exeela, fchela) = Oracle user and password (user application) name

    This will give a trace in readable format file (you must have the oracle on your pc for tkprof client work)

  • trace generation for a session

    Hi all

    I have a problem with enabling sql trace for a particular sql code that gives performance problems

    IAM using oracle 9.2.0.6 with EBS 11.5.10 and OS is HP-UX 11.11

    I've identified on BONES of top command

    so I ran the following query to obtain the sid and serial No.

    Select spid, s.sid, p.serial #, s.terminal, pid, machine, s.program, osuser,.
    p.Program, w.event from v$ session s, v$ process p,.
    v$ session_wait w where addr = paddr and (spid like ' % & & % DISO ' or)
    process as ' % & & % DISO ')
    and w.sid (+) = s.sid;


    as I do not know which user executed this code


    now, I tried to start tracing for this session

    EXECUTE dbms_system.set_sql_trace_in_session ('59 ',' 9', TRUE);

    but I cud not see any trace file generated in user_dump_destination

    How can I generate the trace for this particular session?

    If a SQL statement began performing at 10:01 and you enable followed by the session at 10:02:05 and the SQL triggers No. LOOKS because it runs all with logical bed, CPU, without increasing the physical read waits ("db-reading scattered files" or "db file sequential read") and don't experience lock causint claim to wait on the latches etc... then it do not write in the trace file.
    Only the following SQL statement OR the appearance of a wait will cause an entry in the trace file.

    (Of course, the other possibility is that you have enabled tracing on the incorrect Session SID. Applications Oracle EBS notoriously used two or more database sessions as well.
    There are a large number of Metalink Note on EBS track sessions.
    Start with Notes 171647.1 and then read Thraliana mentioned therein).

  • best way to take a trace of a session

    Hello

    I always use dbms_system.set_ev (sid, serial #, trace_level...)

    What is the best way to take a trace of a session?
    There are other ways to run a trace of a session?

    See you soon,.

    EA

    Hello

    Here are a few ways to generate a trace:

    To activate the traces at the instance level

    (1) assign the parameter sql_trace the pfile or spfile. It will allow to trace for all sessions and the background
    process

    SQL_Trace = TRUE to enable or disable trace use sql_trace = FALSE

    (2) to activate the tracing without restarting the databasejust, run the following command using sqlplus:

    SQL > ALTER SYSTEM SET trace_enabled = TRUE; To start the trace
    SQL > ALTER SYSTEM SET trace_enabled = FALSE; To stop the trace

    To activate the traces at the session level

    If you need to generate trace your own sesion use:

    SQL > ALTER SESSION SET sql_trace = TRUE; to start the trace
    SQL > ALTER SESSION SET sql_trace = FALSE; to stop the trace

    or

    SQL > EXECUTE dbms_session.set_sql_trace (TRUE); to start the trace
    SQL > EXECUTE dbms_session.set_sql_trace (FALSE); to stop the trace

    or

    SQL > EXECUTE dbms_support.start_trace; to start the trace
    SQL > EXECUTE dbms_support.stop_trace; to stop the trace

    To enable tracing in a different session

    Discover the SID and the v SERIES No. $ session to help:

    SQL > SELECT * FROM v$ session WHERE osuser = OSUSER;

    and use:

    SQL > EXECUTE dbms_support.start_trace_in_session (SID, SERIAL #); to start the trace
    SQL > EXECUTE dbms_support.stop_trace_in_session (SID, SERIAL #); to stop the trace

    or

    SQL > EXECUTE dbms_system.set_sql_trace_in_session (SID, SERIAL #, TRUE); to start the trace
    SQL > EXECUTE dbms_system.set_sql_trace_in_session (SID, SERIAL #, FALSE); to stop the trace

    Please see this link for more information regarding the use of DBMS_MONITOR:

    * http://www.dbasupport.com/oracle/ora10g/session_tracing301.shtml

    Also take a look at this link:

    * http://www.ixora.com.au/scripts/dumps.htm

    See you soon,.

    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • DBMS_SYSTEM allows you to change a parameter string for the other sessions value?

    Hello

    I want dbms_system allows you to change a string to another session parameter. Aims to enable cursor_sharing = FORCE for currently connected sessions.

    For future connections, this will be done by a trigger connection, but there are several sessions of app server that will remain connected for weeks or months without change.

    dbms_system contains procedures to set integers and Boolean values in other sessions, but I can't find anything on char/string parameters. For what is documented here Oracle DBMS_SYSTEM it seems that nothing like this available.

    DB version is 11.2.0.3. Is it possible to do it on this version?

    Is it perhaps a sql to activate cursor_sharing = FORCE (and event set through dbms_system.set_ev)?

    Concerning

    Thomas

    DBMS_SYSTEM is an old man who was not formally documented.

    DBMS_MONITOR is a current which * is * documented, but it has no documented method to set the cursor (for example).

    There is no documented way I know to do what you suggest. If you really must do it this way, I would recommend that you open an SR with Oracle Support to ask them. Otherwise, just schedule some downtime for your application and implement the logon trigger.

  • dbms_system.ksdwrt (), want to know the abbreviation ksd

    dbms_system.ksdwrt (), want to know the abbreviation ksd

    Thank you

    Dbms_system is a package undocumented, so the use of it in fact should not be there in the first place. And since his papers, its very likely that information on its procedures and functions is not available in a great detail. Available, even the more information
    http://psoug.org/reference/dbms_system.html

    Doesn't really go in the explanation of the terms. But it seems that it should be K (ernel) S (ystem) D (database?) WRT (Write). Yet once, it is not confirmed but an assumption.

    Aman...

  • sys.dbms_system.get_env returns null

    Salvation;

    Oracle Database 11g Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    I have two environment variables
    ORACLE_HOME = / home/oracle/oraHome1
    TEST = mytest
    DECLARE
       folder   VARCHAR2 (100);
    BEGIN
       sys.DBMS_SYSTEM.get_env ('ORACLE_HOME', folder);
       DBMS_OUTPUT.put_line (folder);
    END;
    The result: / home/oracle/oraHome1-> OK
    DECLARE
       folder   VARCHAR2 (100);
    BEGIN
       sys.DBMS_SYSTEM.get_env ('TEST', folder);
       DBMS_OUTPUT.put_line (folder);
    END;
    The result: a null or empty value-> NOK


    Why it can read some variables and not others?

    How to read the value of the TEST variable?

    It depends on how connect you to oracle - by bequeth or Net8 - in the first case, you can see variables defined in your session, in the second case, you can see only those, visible through the listening process.
    Similar has been discussed here:
    http://blog.tanelpoder.com/2009/03/27/read-OS-environment-variables-using-dbms_systemget_env/

    Best regards

    Maxim

  • ORA-01438: how to find the name of the column?

    Hello

    I'm trying to find the column which is causing ORA-01438 when inserting into a table.

    The insertion is made by a C program that reads from a socket and written in an oracle 10 g database using Oracle Pro * C.

    I tried to identify the column by printing the values (about 250) just before the insert statement is executed, but check these values has been a task heavy and error prone and did not help to correct the mistake (I found a bunch of values which out of reach, but changing these values has not resolved the issue).

    Abandon this idea, I tried to track the session to help
    (1) DBMS_SYSTEM. SET_SQL_TRACE_IN_SESSION,
    (2) DBMS_MONITOR.session_trace_enable/disable and still
    (3) change the context name system set events 10046 trace forever, level 12' and;
    (4) alter system set sql_trace = true scope = mΘmoire;

    DBMS_MONITOR.session_trace_enable only gave me a few tips (the insert statement) in a trace file. But it worked for a simple example of a test database.

    When I try to turn on tracing on the database, where the error occurs, then I'm still not able to set SQL_TRACE in V$ SESSION true, even if no error is returned by the statement "DBMS_MONITOR.session_trace_enable". The value of SQL_TRACE in V$ SESSION does not change and I have no idea why. On the test database, it works fine and I can find the trace file in the user_dump_destination directory.

    Anyone have any suggestions on how to fix this?

    Any help is appreciated.
    Thanks in advance!

    Just check this:

    SQL > conn osama/osama ;
    SQL> create table test as select * from scott.dept ;
    
    SQL> select * from test ;
    
        DEPTNO DNAME          LOC
    ---------- -------------- -------------
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    
    SQL> alter system set events='1438 trace name Errorstack forever,level 10';
    
    SQL> insert into test values (100000000000000000,'osama','JOR');
    insert into test values (100000000000000000,'osama','JOR')
                             *
    ERROR at line 1:
    ORA-01438: value larger than specified precision allowed for this column
    
    In Trace File :
    
    ORA-01438: value larger than specified precision allowed for this column
    Current SQL statement for this session:
    insert into test values (100000000000000000,'osama','JOR')
    
  • Trace file created for the wrong session

    DB version: 10.2.0.3.0
    Version of the operating system: Solaris 5.10
    2 node RAC

    With the help of DBMS_MONITOR. SESSION_TRACE_ENABLE, I tried to draw an oracle session led by a C++ application.

    So, I determined which instance this session is connected by querying the gv$ session. I logged, SYS in this instance of node and then issued
    execute dbms_monitor.session_trace_enable(4371,98124, true, false);
    After activating, I saw new a trace file that is generated. But this track is actually some tracking SYS session that executed dbms_monitor.session_trace_enable and not the session (4371,98124). I tested a few session of SYS as basic queries
    select sysdate from dual
    And I see all these complaints contained in the trace file. What could be the cause of this problem?

    I noticed that
    SHARED_SERVERS = 1
    on both nodes. Is the origin of this strange problem? For the follow-up, if I disable using SHARED_SERVERS
    alter system set SHARED_SERVERS = 0
    It can cause connection problems for client applications because of their setting of the tnsnames.ora file?

    Hi, you can also try this one in conjunction with the dbms_monitor.

    DBMS_SYSTEM. SET_SQL_TRACE_IN_SESSION

    concerning

Maybe you are looking for