11g - how do I enable sql logging

Hi, experts,
I can't find how to activate the SQL logging (in nqquery.log)

How to configure?

Hi user,

You can do this with the administration tool. Open the administration tool, and then open your repository in online mode. Go to the manage--> identity. Double-click the user that you want to be able to see queries and the level 2 loggin increse.

I hope this helps.

J. -.

Tags: Business Intelligence

Similar Questions

  • How to find the sql query

    four months back someone updated my table of billing through sql developer.

    How can I find the details of the request or the original data.

    now the problem is that we rebooted the server, if it's not rest with time stamp.

    log mode is Archieve record only.
    Please help me

    I don't know why you're getting this error, I tried and it works:

    SQL> exec dbms_logmnr.add_logfile( logfilename=> 'C:\oracle\product\11.2.0\dbhome_1\RDBMS\ARC0000000736_0765299251.0001', options=> dbms_logmnr.new);
    
    PL/SQL procedure successfully completed.
    
    SQL> EXECUTE DBMS_LOGMNR.START_LOGMNR(OPTIONS => DBMS_LOGMNR.DICT_FROM_ONLINE_CATALOG);
    
    PL/SQL procedure successfully completed.
    
    SQL> exec dbms_logmnr.start_logmnr
    
    PL/SQL procedure successfully completed.
    
    SQL> select seg_owner,seg_name,sql_redo,sql_undo from v$logmnr_contents;
    
    .....
    
    35 rows selected.
    
    SQL> exec dbms_logmnr.end_logmnr
    
    PL/SQL procedure successfully completed.
    

    @Boris - you don't have to have an additional connection to the database. The thing is that if you don't have additional logging, Oracle will give you only the ROWID of the records and if it is not the same database or something has changed (as "alter table... move"), ROWID is not relevant. If you enable additional logging, you will get more information on the line (like the other columns or PK) which will help you a lot to identify RELEVANT changes. As I said, it is not mandatory, but as you say, if you want extra logging, it must be turned on BEFORE the changes in the database.

    Hope that's clear,
    Liron

  • How can I enable disable Activity Manager?

    How can I enable disable Activity Manager?

    General information:
    The activity Manager records all interactions between Thunderbird and your e-mail in one place provider. There is no guesswork more. Just look in one place to see what's going on with your email.
    Activity Manager allows you to follow more closely what is happening in the system and what activities are currently performed (for example, synchronization of folders offline IMAP, download new POP messages). The info in the status bar may appear and disappear quickly sometimes before able to read, but the info is displayed in the Manager activity.

    Useful in the audit of what has occurred and are auto stocks. This can help in the troubleshooting section.

    It appears if you select 'Tools' > 'the activity Manager.
    Thus, it is not something that suddenly arises every two minutes to annoy the user.
    The journal is deleted whenever you leave Thunderbird or you can clear the log manually.
    "Tools" > "activity Manager".
    Click on the button 'clear list '.

    This is an unusual request to stop the activity of logging as a background process and the only way to check what activity account has or has not occurred.

    I have searched and checked preferences to see if it could be turned off, but nothing helped.

  • How can I change the logging settings in Vista Home Premium?

    I was in the management of the computer and discovered a few troubling record, such as how he was following my use of the office. Worse, I couldn't find no way to enable or disable the newspapers, as the procedures I used XP Pro and 2K 3 server did not work.

    How can I disable logging of my use of Microsoft office, so that change the other settings for logging in Event Viewer? I had a class on the audit for XP & Server and I had to sometimes see newspapers located in a business environment (never had to do anything with Vista or 7 well) so I have a good idea of what to leave past generations of operating systems. How do I change however logging in Vista Home Premium? I can't access "local security policy" in my version of Vista.

    SlickRCBD salvation,

    There is no way to disable the use of Microsoft office in the event viewer.

    However if you want you can completely turn off event viewer of logging of all events performed on the computer by disabling the service on the computer Windows event log.

    (a) click on the start menu, type services.msc in the search box and press ENTER.

    (b) click on services in the list now locate the Windows event log service

    (c) right-click on the service and click on disable

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to disable/enable inputtextfileld on select of another radiobutton using adf12.1.3

    Hello

    How to disable/enable inputtextfileld on select of another radiobutton using adf12.1.3

    Can anyone provide a few points on that.

    I did it like below on my listner valuechange radiobutoon method but does not work

    {} public void onRadiobuttonVCE (ValueChangeEvent valueChangeEvent)

    Add the code in the event here...

    log.info ("GCONF1001Bean onRadiobuttonVCE() started:::"+valueChangeEvent.getNewValue()); ")

    concentratorMode = valueChangeEvent.getNewValue (m:System.NET.SocketAddress.ToString ());

    concentratorMode is the value of the selected radiobutton

    RichInputText r = findComponentInRoot ("it2") (RichInputText);

    log.info ("value of r GCONF1001Bean onRadiobuttonVCE:" + r);

    {if (concentratorMode.Equals("1"))}

    log.info ("GCONF1001Bean onRadiobuttonVCE() inside the 1st if :::"); ")

    r.setDisabled (false);

    log.info ("GCONF1001Bean onRadiobuttonVCE() after 1st if :::"); ")

    }

    {if (concentratorMode.Equals("2"))}

    log.info ("GCONF1001Bean onRadiobuttonVCE() inside the 2nd if :::"); ")

    r.setDisabled (true);

    log.info ("' GCONF1001Bean onRadiobuttonVCE (after if 2nd): '");

    }

    {if (concentratorMode.Equals("3"))}

    log.info ("GCONF1001Bean onRadiobuttonVCE() inside the 3rd if :::"); ")

    r.setDisabled (true);

    log.info ("GCONF1001Bean onRadiobuttonVCE() after the 3rd if :::"); ")

    }

    }

    --

    JS

    You can set a variable bean said "textBeanDisabled" and set the value of this 'Y' or 'n', based on your health status.

    Then set the disabled property

    Just copy - paste your logic to the above post:

    String textBeanDisabled = "N";

    {} public void onRadiobuttonVCE (ValueChangeEvent valueChangeEvent)

    Add the code in the event here...

    log.info ("GCONF1001Bean onRadiobuttonVCE() started:::"+valueChangeEvent.getNewValue()); ")

    concentratorMode = valueChangeEvent.getNewValue (m:System.NET.SocketAddress.ToString ());

    concentratorMode is the value of the selected radiobutton

    RichInputText r = findComponentInRoot ("it2") (RichInputText);

    log.info ("value of r GCONF1001Bean onRadiobuttonVCE:" + r);

    {if (concentratorMode.Equals("1"))}

    log.info ("GCONF1001Bean onRadiobuttonVCE() inside the 1st if :::"); ")

    r.setDisabled (false);

    textBeanDisabled = "N";

    log.info ("GCONF1001Bean onRadiobuttonVCE() after 1st if :::"); ")

    }

    {if (concentratorMode.Equals("2"))}

    log.info ("GCONF1001Bean onRadiobuttonVCE() inside the 2nd if :::"); ")

    r.setDisabled (true);

    textBeanDisabled = 'Y ';

    log.info ("' GCONF1001Bean onRadiobuttonVCE (after if 2nd): '");

    }

    {if (concentratorMode.Equals("3"))}

    log.info ("GCONF1001Bean onRadiobuttonVCE() inside the 3rd if :::"); ")

    r.setDisabled (true);

    textBeanDisabled = 'Y ';

    log.info ("GCONF1001Bean onRadiobuttonVCE() after the 3rd if :::"); ")

    }

    }

    See you soon

    AJ

  • How to run a SQL statement to use a specific implementation plan

    Hi all

    I have a SQL that has recently been run badly. I tried the Advisor tuning SQL for the given SQL query and it gives the following information:

    GENERAL INFORMATION SECTION

    -------------------------------------------------------------------------------

    Name of the task of tuning: 2q94zb7djr2xn

    The owner task of tuning: LMDBPROD

    Type of work: single SQL statement

    County of execution: 2

    The current run: EXEC_8869

    Type of execution: TUNE SQL

    Scope: COMPLETE

    Time Limit (seconds): 60

    Status: COMPLETED

    Started on the: 03/02/2014-20:43:39

    To the: 03/02/2014 20:44:25

    -------------------------------------------------------------------------------

    Name of the schema: LMDBPROD

    SQL ID: 2q94zb7djr2xn

    SQL text: SELECT NPCOMMON. FGET_ACTION_CODE (ORDNUM) ACTIONCODE, STATUS,

    SUMA COUNT (*) FROM SORDER, WHERE HEADORDNUM IS NOT NULL AND

    NPCOMMON. FGET_PRODUCTOFFER4ORDER (ORDNUM) IN (SELECT ID FROM)

    PRODUCTOFFER WHERE PPSPECIFICATION_ID IN (SELECT ID FROM)

    PPSPECIFICATION WHERE PCLASS_CODE IN (SELECT PCLASS_CODE FROM)

    ARUSERGROUP WHERE CODE IN (SELECT ARUSERGROUP_CODE FROM)

    ARUSER_ARUSERGROUP WHERE ARUSER_USERNAME =: B1 AND STATUS = '1')

    AND STATUS = '1'))) GROUP BY NPCOMMON. FGET_ACTION_CODE (ORDNUM),

    STATUS

    -------------------------------------------------------------------------------

    RESULTS SECTION (1 result)

    -------------------------------------------------------------------------------

    1-alternative Plan conclusion

    ---------------------------

    Some implementation plans alternative for this statement was found by searching

    performance data in real-time and historical of the system.

    The following table lists these plans sorted by their average time.

    See "SECTION of ALTERNATIVE PLANS" section for detailed information on each

    plan.

    plan ID hash last visit elapsed note of origin (s)

    -- ---------- -------------------- ------------ --------------- ----------------

    1 617797893 2013-07-11/07: 45:20 9.555 no reproducible STS

    2 1311086720 2014-01-31/04: 00:44 19.569 AWR

    3 1226863820 2014-01-31/18: 00:24 AWR 21.158

    4 1359606848 2014-02-03/16: 00:34 21.492 AWR original plan

    The plan with hash 617797893 seems the most efficient one and is based on some specific SQL Tuning Set I ran on this time. But the note says that the plan is not reproducible. Is there anyway how can I force the SQL statement to execute the plan? The database version is Standard Edition 11.2.0.1.0

    Best regards

    Rodriguez

    Hello

    I think you can use this

    http://rnm1978.WordPress.com/2011/06/28/Oracle-11g-how-to-force-a-sql_id-to-use-a-plan_hash_value-using-SQL-baselines/

    before 11 g, we used to create an outline stored for this.

    concerning

  • How can I just disable logging in El Capitan? It is not visible in the disk utility by pressing alt and file!

    How can I just disable logging in El Capitan? It is not visible in the disk utility when you press alt and file!

    Mac OS X: about the logging of system - Apple Support files

    Hope this helps, good luck to you.

  • Hi, I answered no to the question on the registration of password for a spesific site. I changed my mind and would like Firefox to save the password. How to re-enable password for a spesific site saver?

    Hi, I answered no to the question on the registration of password for a spesific site. I changed my mind and would like Firefox to save the password. How to re-enable password for a spesific site saver?

    Check the list of exceptions to your Firefox password manager and check if your site is there or not?

  • How can I enable HTML in Mail?

    How can I enable HTML in Mail?

    You do not have.

  • How can I enable the memory remapping in BIOS on the Satellite A100-192

    Hello!
    How can I enable the memory remapping in BIOS (5.90) on my laptop?

    Thank you.

    Hello

    It seems a problem with the Microsoft 32-bit Windows operating system.

    Please check this:
    http://support.toshiba-tro.de/KB0/TSB7601WE0007R01.htm

    You can find this info:

    _Issue: _
    I put in the memory 2x2gb in my book * and the BIOS * and the operating system is worth about 3 GB

    _Solution: _
    This is a limitation of the 32-bit system.
    System resources need of addressing which overlaps physical memory below 4 GB.
    These requirements can reduce available addressable memory space to and reported by the operating system

  • How can I enable scan of the computer

    My printer tells me that my computer is not listed. How can I enable scan of the computer

    Hello

    Double-click the printer icon on your desktop.

    In the new screen, click "manage the scan of the computer.

    In the new screen tick the Automatic start scan of the computer...

    and click on the Activate button.

  • How can I enable AutoCorrect Word when text messaging

    How to re-enable the feature of AutoCorrect Word for text messages

    Hi Leonard0922,

    Welcome to the communities of Apple Support! If you are looking for how to re - activate the AutoCorrect or predictive text, you can find these options in the keyboard settings (settings > general > keyboard), as shown in the following article:

    Get help with the keyboard on your iPhone, iPad or iPod touch - Apple Support

    Concerning

  • How can I enable AHCI in dv7 6199us? And install windows on a SSD?

    Hello!

    I got help.

    How can I enable AHCI in dv7 6199us? And install windows on a SSD?

    Intel based computers, like yours, are usually set to "RAID", which is a superset of "AHCI". Basically, if the BIOS won't let you choose between "IDE mode", "AHCI" and "RAID", leaving in the RAID led to you everything done "AHCI". In this case there is no need to activate the AHCI, as RAID will support an SSD anyway.

    If you have any other questions, feel free to ask.

    Please click the 'Thumbs Up' white LAURELS to show your appreciation

  • How can I turn off, log on my HP 11 e115nr touchsmart laptop

    How can I disable the log on my new HP Touchsmart 11 Notebook PC 11.6?   Someone knows something about this laptop? If what do you think about this?

    JohnD

    johnev702 wrote:

    How can I disable the log on my new HP Touchsmart 11 Notebook PC 11.6?   Someone knows something about this laptop? If what do you think about this?

    Did you mean this: How to identify you automatically to the user account to the Windows 8 start and 8.1

  • How to export a .sql file, I created from Oracle Application Express of SQL Server Management 2012?

    Hello

    I was wondering if you could help me.

    I'm trying to find out how to export a .sql file, I created from Oracle Application Express of SQL Server Management 2012? I'm not very technical, but it seems that the Oracle code does not work with SQL Management Studio when I drag the file inside.

    I need the database Oracle express and its data to enter in SQL Management Studio, so any help would be much appreciated!

    Thank you.

    Hello

    Your question is beyond the scope of this community.

    Please repost your question in the SQL Server TechNet Forums.

    https://social.technet.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer

    See you soon.

Maybe you are looking for