Trace a user

I need trace a user (no the session), because I want to check what events occurred during the connection process. This is because the user takes to much time to get connect.
Can anybody tell me how to do it?
Thanks

You could do a client side trace. This will show everything that happens on the client side as soon as a logon is attempted.
keep an eye on sql stmt
Ignore the second part of the post in the link, it's for tracing individual sessions.

Similar Messages

  • Unable to capture trace, when user logs in throuigh Web Interface

    The Trace shows 'No Records Found', when user logs in through Web Interface of CRM. But there is Trace found, when the same user logs in through logon pad and carries out normal actvities.
    sufficient auth. is provided.
    Is there any setting in ST01, through which i can get trace , when user logs in through Web Interface
    Regards

    ST10 traces 1 instance only.
    Your CRM web interface could use another instance than your backend. Go to transaction SM21, choose the appropriate server and run ST10 again.
    Succes!
    Kind regards,
    Lodewijk Borsboom

  • How to trace an user access

    Even if I've got no DBA permission (for example I don't see the v$session table), have I got any way to trace the users accessing the DB? How can I do? I was told about trace but can someone tell me more? I'd like to know the user accessing the DB and the operation that he's launching. Is it possible?
    Thanks!

    Anything is possible if you have the correct privileges. But then you probably don't have those privileges, and probably for a reason, as you probably also don't have the DBA role for a reason.
    If you are to enable trace in a different session, you would need execute access on an Oracle provided package, which differs by version, and of course you assume Oracle never changes, and there is only one version out there: yours.
    For a DBA it would be the easiest to grant you the select_catalog_role and the execute_catalog_role.
    But then again one would ask why you think you should spy on him, and why you don't cooperate with him and/or try to convince him.
    Sybrand Bakker
    Senior Oracle DBA

  • How to trace a USER in oracle?

    Hi Sir,
    I have a rquirement that I need to Trace a session created through the Application. The only data I have is that I know the application will connect to a Database schema and nothing else. How is it possilbe that I can create a trace file for it.
    Also is it possilble, that i can trace complete user. how to find all the trace as it create number of process inturn number of trace, how do I find it and combine. I read the documentation but can't understand it clearly?
    Any help will be great.

    sanora600 wrote:
    Aman, thanks for replying. This is the problem, they have not implemented dbms_application_info.
    That is the reason I want to know how to trace user(all session of a schema) and combine all the session generated trace(something like trcsess) and then generate tkprof. I am on Oracle 10g.Well, first off, users connect to databases, they don't connect to schemas. And as a follow on, users have sessions, schemas don't.
    That said, you might investigate a logon trigger that initiates a 1046 trace. Something like this:
    -- create a logon trigger for capturing extended trace data
    -- NOTE: must be run as SYS
    -- NOTE: Be sure to change both occurances of the target username
    -- ('user = xxx' and 'TRACEFILE_IDENTIFIER=') to the
    -- correct value for the session you want to trace.
    create or replace trigger logon_trigger
    after logon on database
    begin
    if (user = 'SCOTT' ) then
    execute immediate 'ALTER SESSION SET TRACEFILE_IDENTIFIER=''SCOTT_APP''';
    execute immediate 'alter session set timed_statistics=true';
    execute immediate 'ALTER SESSION SET EVENTS ''10046 TRACE NAME CONTEXT FOREVER, LEVEL 12''';
    end if;
    exception
    when others then
    null;
    end;
    end;
    Of course, you can play around with the 'if' condition, and delete or disable the trigger when it is no longer needed. The resulting trace file can be run through tkprof.
    Edited by: EdStevens on Dec 19, 2008 9:03 AM

  • How to trace other user's session?

    Dear Experts,
    I would like to trace other user's session, I am on Oracle 10g R2 (10.2.0.4) on a Windows box. I did search on google and found tons of articles explaining about tracing techniques. But unfortunately, trace file is not getting generated in my case. Below are the steps I am following:
    SQL> conn /as sysdba
    Connected.
    SQL>
    SQL> select sid, serial# from v$session where username = 'TEST';
           SID    SERIAL#
            38         17
    SQL> show parameter user_d
    NAME                                 TYPE        VALUE
    user_dump_dest                       string      C:\DB10G\UDUMP
    SQL> show parameter timed_s
    NAME                                 TYPE        VALUE
    timed_statistics                     boolean     TRUE
    SQL>Connect a new SQL*Plus session as TEST and then
    SQL> show user
    USER is "SYS"
    SQL>
    SQL> select sid, serial# from v$session where username = 'TEST';
           SID    SERIAL#
            19      24465
            38         17
    SQL> exec dbms_system.set_ev(38,17, 10046, 12, '');
    PL/SQL procedure successfully completed.
    SQL> exec dbms_system.set_ev(38,17, 10046, 0, '');
    PL/SQL procedure successfully completed.
    SQL> grant execute on dbms_system to test;
    Grant succeeded.
    SQL> exec dbms_system.set_ev(38,17, 10046, 12, '');
    PL/SQL procedure successfully completed.in the new session (TEST):
    SQL> select * from tab;
    TNAME                          TABTYPE  CLUSTERID
    T                              TABLE
    T3                             TABLE
    T1                             TABLE
    T2                             TABLE
    MYEMP                          TABLE
    SQL>Yet, no trace file is generated in "C:\db10g\udump" folder.
    C:\db10g\udump>dir
    Volume in drive C is SYSTEM
    Volume Serial Number is AC21-0462
    Directory of C:\db10g\udump
    12/15/2008  12:36 PM    <DIR>          .
    12/15/2008  12:36 PM    <DIR>          ..
                   0 File(s)              0 bytes
                   2 Dir(s)   9,891,508,224 bytes free
    C:\db10g\udump>Your help/advice in this regard will be very helpful.
    Regards

    You must be using shared server.
    You can verify this by referring to the SERVER column of v$session.
    In shared server several servers will execute your code, so that's why you don't find a trace file.
    The method described in this article should work in your case also:
    http://technology.amis.nl/blog/1794/how-to-trace-a-java-application-through-a-connection-pool-using-dbms_monitor-6
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • How to trace which user shutdown oracle database in unix OS?

    our organization is having 10 DBA with sysdba priviladge. We are using UNIX operating system. At morning say for example if some one (SYSDBA user) shutdown the oracle database how other sysdba user trace the user who shutdown the database? the information i need is terminal from where oracle got shutdown and the username? Please help...

    Hello,
    You are right Sybrand, SYSDBA connections are always audited.
    My answer was about enabling auditing to any connections, which may give informations about who access to the Database in general. And, this is true, it was not the scope of the OP question.
    However, so as to enlarge audit of SYS/SYSDBA/SYSOPER operations, setting the parameter audit_sys_operations=TRUE may be interesting:
    http://download.oracle.com/docs/cd/E11882_01/network.112/e16543/auditing.htm#DBSEG0611
    To the OP:
    Where the audit tracefile get genareted for sys user?You may execute this:
    show parameter audit_file_destThank again Sybrand for correcting me.
    Best regards,
    Jean-Valentin

  • How to trace connect user ?

    Hi,
    How can I trace all user connection in a file ?
    I would like to know who connected (user oracle) and when.
    Thanks for your help,
    gnom92.

    You can see the figure how many connection made since the db starts up quering v$sysstat;
    select name,value from v$sysstat where name like '%logon%';
    NAME VALUE
    logons cumulative 132671
    logons current 175
    Generally, Oracle doesn't keep this information. You have to enable audit to keep this info.

  • Trace a user setting

    Hi,
    Is there a way to trace a user settings in the portal EP6 Sp2 Patch 40,  I need to know where a settings is stored in the oracle database of the portal.  The reason I am asking is, i want to activate the accessibility feature for all user and i just want to activate it for all user at once.  Then they can turn it off if they want, but by default it will be on.
    Thanks
    Jean Seguin

    Hi,
    Just activate and launch the SQL Trace and try setting this accessibility setting for user from Portal. In your SQL Trace, you will see into which DB Table the settings are saved.
    http://help.sap.com/saphelp_nw70/helpdata/en/17/358df9c9fee2469105731e10756921/frameset.htm
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]

  • How to trace a user System or I.P address

    Hi Experts,
    Had to ask how to trace a User's System or I.p address whom  has performed changes over a BEX Query.
    I have a situation where a user has done some changes in report it displays in last changed by user name:-****and last change date  but i would like to trace the system from which these changes have been applied over a the bex Query.
    Thanks in advance
    Aman

    Hi Aman,
    Please have a quick look at the note 368048 which explains why the terminal ids are blank in some cases and gives the solutions where applicable.
    If you want to see the current workstation with IP Addresses you can have a look at table USR41 which contains this information but this is not contained within the security audit log.
    539404     FAQ: Answers to questions about the Security Audit
    39418      Logging user actions
    As for your query, about viewing user's IP, you might need to get user's Terminal ID from STAT/AL08 and manually use tracert in MS-DOS command to see particular user's IP. EG:tracert myl5005500.
    Tracing route to <hostname>[10.10.10.10]
    over a maximum of 30 hops:
      1    <1 ms    <1 ms    <1 ms  <FQDN> [10.10.10.10]
    Trace complete.
    Note : I personally tested from logging in via query designer but my connections were not displayed in USR41. Once I connect to backend system my terminal IP could be traced.
    Regards,
    Naveen.

  • Trace the user who has started the java instance.

    Hi Gurus,
    How can we trace the users those who restart the java instances?
    Regards,
    Ratan roy

    Hi,
    Check dev traces and java trace files
    \usr\sap\<SID>\<instance name>\work and
    usr\sap\<SID>\<instance name>\j2ee\cluster\server<n>\log
    and /usr/sap/<SID>/<Central instance name>/j2ee/JSPM/
    I am not sure wthr the user who started the instance will be traced you can also try and trace database log files . I am not sure of the path
    Rakesh

  • Trace travel user activity

    Hi guru's
    How do I trace a users activity in travel module. I'm particularly interested in dates for
    => creation of travel requests
    => deletion of travel requests
    regards

    Once the trip (travel request) is deleted you have no information available about it.

  • Is it possible to trace unauthorized users? (via ip address or terminal id)

    Hi friends
    I was wondering if you can help me out with our Logon Securities predicament: We have set up some generic apps ids that are only known to a handful of users. Regular but unauthorized users are trying to sign-on using these generic ids by guessing the password and end up locking them when they exceed sign-on attempts. Is it possible to trace these unauthorized users? (via ip address or terminal id?) (We are on 11.5.10)
    Thanks in advance
    Ankur

    We look at the time of the failure from the fnd_unsuccessful_logins and then correlate it with the AppsLocalLogin.jsp entries in the apache access logs. The ip address is in the access_log.
    If you have a lot of logon failures combined with a lot of logons it may be tough to find the offending users but it might help you. Most of our users connect via SSO so finding our offenders are relatively easy. Very few users logon with AppsLocalLogin in our environment.
    Edited by: mcharchu on Feb 5, 2009 9:24 PM
    Edited by: mcharchu on Feb 5, 2009 9:25 PM

  • Not able to trace sys user connection from which node  in audit

    We have got one user who is accessing as sysdba and cannot be traced where the connection has come.
    List of unique users logged successfully into SQLPLUS as SYSDBA
    CLIENT USER: , STATUS: 0
    Regards
    Naga

    We get the information from Audit of our production.
    Someone accessing the production from client/desktop whose session is not traceable. Is there a way to trace the information who accessed it.
    we are on 9.2.0.8 database

  • How to trace a user who entered/dropped a table in a shared DataBase

    Hai, I have a doubt plz help me
    when working in a shared DataBase environment, different users will create or drop
    tables from the DataBase. Is it possible to trace who has created/altered a particular table in the DB. If yes plz tell me the procedure.
    Thanks in advance.
    SrihariKrishna

    Maybe this link provides some help?
    http://asktom.oracle.com/pls/ask/f?p=4950:8:5395923770553724381::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:6399608034075
    C.

  • To trace the users connecting to database

    Hi ,
    can any body help me on tracing the users who are connected to a database at a particular period of time.?
    thanks

    soundar wrote:
    these details on the audit where it gets recorded..?
    it's in audit trail file in the same directory as background process trace files or some where else..?It depends on the setting. If it is set to DB then it will be sent to the SYS.AUD$ table. This table doesn't need to be accessed directly. You can use the DBA_AUDIT_TRAIL view to get a more friendly look at the audit information.
    If it is set to OS it will go to the operating systems audit trail.
    It may be worth it to look at the documentation :)
    [Initialization Parameters: AUDIT_TRAIL|http://download.oracle.com/docs/cd/A84870_01/doc/server.816/a76961/ch111.htm]

Maybe you are looking for

  • Questions

    I am not sure about  the answers for these questions...It would be helpful if anyone can answer them... 1.What are transfer rules and update rules? This question has more than one answer. a. Where I can change data and add ABAP routines b. Rules on t

  • Resource not release when starting/stopping the deployed application

    I am testing to deploy an standard web application on Weblogic 11gR1 at Windows XP. It is running and everything is working fine. But I noticed below situation which concersns about the release of resouce during stop and start deployed application by

  • External Links in KM Repository

    Hi, How to create external links in KM repository in Web Dynpro Java application? Thanks Sundar

  • 2500 series support mobility groups?

    Do you know if the new 2500 series controller supports things like mobility groups?  Could I use 2 of these and do inter-controller roaming. Also do you know if this would work with a 2106 controller and a 2505 controller or are they 2 completely ind

  • Whether to go for bdc or user exits???

    hi, I have a reqirement like given below how should i proceed plz help me out. If pre-tax contribution percentage in field EEPCT from table P0169  is less than 6%, only first sequence of  customizing table V_74FF_C should run. It means, for employer