How to know all queries executed by users of the database?

Hi all
I am new to Oracle. I created a database (version 10.2) and several users in this database. I would like to know how to record in a database table all queries executed by users of the database.
Thank you.

I would like to know how to record in a database table all queries executed by users of the database.

activate SQL_TRACE for each session, but such an effort cost more than any advantage gained.

Tags: Database

Similar Questions

  • How to know all of the standard reports available under EBS R12

    Hi all

    How to know all of the standard reports available under EBS R12?

    Is there a SQL seeking standardized reports (finance, HR, OM.. etc) available under EBS R12?

    If you have advice or a solution, please update your comments freely.


    Kind regards

    Hi all

    I see notes 561585.1 and found the SQL

    Concerning

  • How to change the password for all users in the database

    Hi buddies!

    Could someone tell me how to change the password for all users in the database? I want to set the same password for all users.

    Thank you.

    Nith

    Published by: user645399 on March 1, 2011 14:23

    Write the file spooling
    as

    Make sure that all profiles has password_verify_function with a NULL value

    then

    Select 'edit user' | username: ' identified by ;' from dba_users;

    you will get the output... you just run.

  • How can I make photoshop usable for users of the guest account?

    How can I make photoshop usable for users of the guest account?

    Hi vinturs,

    · Was there a prompt during the installation of Photoshop in what concerns users?

    · You are unable to use Photoshop in the guest account?

    Any program installed on the computer must also be available to be used by the guest account, unless as otherwise modified during the installation.

  • creating user using the database link

    Hello

    I have 11g installed on one of the server
    I created the database BUGAU to bugau.us.oracle.com link
    link works fine

    "Select * from table@"Bugau "gives the expected result

    I ran the Sub statement to my server using the dblink.but do not know how to use the dblink to that effect. Please sat down

    CREATE USER ABC IDENTIFIED BY welcome TEMPORARY by DEFAULT TABLESPACE USERS_001 temp123 TABLESPACE;

    GRANT DEFAULT TO abc;

    ALTER USER abc PROFILE LEVEL_1;

    Thank you
    Archana

    Bravid wrote:

    You cannot create a user on a remote database using a database link.

    You can, but it is not a good design:

    SQL> exec dbms_utility.exec_ddl_statement@orcl('CREATE USER ABC IDENTIFIED BY ABC');
    
    PL/SQL procedure successfully completed.
    
    SQL> exec dbms_utility.exec_ddl_statement@orcl('GRANT CREATE SESSION TO ABC');
    
    PL/SQL procedure successfully completed.
    
    SQL> connect abc@orcl/ABC
    Connected.
    SQL> 
    

    Of course, the user in the database unite ORCL must have EXECUTE on DBMS_UTILITY privilege.

    SY.

  • safety of the user in the database

    Hello

    I have a following requirement:

    Oracle version: oracle 8i (8.1.7.0.0)

    I need to create a schema (user) and it will contain data of staking and none of the other user in the database should not acess that presents data to users,

    How I can implent suggestions are appreciated.

    Thank you

    Prakash GR

    Prakash - we found the 'problem' - permission.

    In order to do a full export the user has select on all tables.

    Oded

  • Please how can I insert a value of richinputtext in the database string attribute

    Please how can I insert a value of richinputtext in the database string attribute

    If you can get its value at the bean and then call your insert statement to put it in the DB table

    and if you want to know about the execution of SQL query

    then check - Ashish Awasthi (Jdev/ADF) Blog: SQL to run in an ADF Application using DataSource DBTransaction & JDBC query

    Ashish

  • Reg: verification of users in the database pending

    I need to check the users in the database pending. In the primary database, I got the result by querying dba_users. But how to check standby db, without opening the database.
    Is it possible with any views?

    No, you can't.

    Assuming that physical standby, you can only query dynamic views of performance when it is in MOUNT.

    I like the answer of sb92075. Its a copy of the same database. We're in a mode where you can search for users, and we're in a mode where you can not.

    Make sure that your databases are synchronized and interrogate primary school.

    Best regards and thanks!

    mseberg

  • backs up all blocks of logic control validate the database

    Hello

    Metalink: How to use RMAN, check for logical and physical database Corruption [ID 283053.1]

    The following example shows how to validate all data files:

    Run {}
    allocate channel d1 type disk;
    backs up all blocks of logic control validate the database.
    output channel d1;
    }


    This command checks only corruption, or it is actually trying to save the data files on the disks?

    Thank you

    Hello

    The BACKUP VALIDATE statement is used to check The corrupt block is not for the performance of a backup.

    You will have more details on the following links:

    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270/rcmvalid.htm#CHDECGBJ

    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270/rcmvalid.htm#CHDCEHFD

    Hope this helps.
    Best regards
    Jean Valentine

  • last logon of the user to the database

    Hello

    I need to find the last logon of the user to the database, any ideas who view data dictionary can help me?

    Thank you.

    user8869798 wrote:

    Hello

    I need to find the last logon of the user to the database, any ideas who view data dictionary can help me?

    Thank you.

    What version of Oracle?

    With 12 c, it's to (drum roll, please...) DBA_USERS.

    12 c, it is not in any table/view documented .

  • How to know which mode (landscape/portrait) user is in

    How can you tell / changing your screen settings in html5/webworks if the user changes the orientation of the device?

    You can use the object and the window.orientation of JavaScript orientationchange event.  Here's a demo:

    http://BlackBerry.github.com/WebWorks-samples/kitchenSink/HTML/browser/orientation.html

    You can also use CSS3 media queries, define styles for portrait and landscape.  Here's a demo of it too:

    http://BlackBerry.github.com/WebWorks-samples/kitchenSink/HTML/CSS3/mediaquery.html

  • How to know all the elements in a block

    Hello everyone.

    Im working with forms and the States 10 G.

    One quick question.

    I need to know all the elements in a block.

    I know with the get_block_property premier_enregistrement and Last_record I know the first and the last point in a record, but
    How do I know all the others?

    Thanks in advance and greetings to all.
    Happy Cristmast

    You can the fisrt element in a block using GET_BLOCK_PROPERTY ('BLOCKNAME', FIRST_ITEM);
    then the loop above the element

    LOOP
      vcItem:=GET_ITEM_PROPERTY(vcItem, NEXTITEM);
      EXIT WHEN vcItem IS NULL;
    END LOOP;
    
  • How to know all the collections photo belongs

    I would like to know all the collections in which appears a given photo

    Thank you for your response.

    What is a false picture?

    When I click on the little badge he told me that the picture belongs to the collection that is selected, even if this photo belongs to 2 collections. I would like to know all the collections in which appears a photo.

  • How to share files & folders with other users on the same PC

    We have 2 users on our PC I can find how to 'share' on a network, but not on the same PC (I'm a user 'low tech') all the headings of 'aid' seemed to refer to a network of more than 1 PC

    Files/folders that you want to share between users on the same machine should be placed in the Public, C:\Users\Public directory. That is what concerns the Public directory. MS - MVP - Elephant Boy computers - don't panic!

  • How to publish applications located on LAN users from the Internet

    Dear support.

    I have a problem of security.

    I have an application based on my local network, this app locally available by http. It is a critical application for the company.

    For business reasons, we need access to internet users to access the application, read the data, push and load files and do other measures regarding the application.

    My question is how can I give access to the main application for users from the internet to an application based on the local network?

    There is a solution to ensure the scenario?

    Thank you

    Well, there is rarely a "must" or "must not" such things.

    Commonly accepted recommended is to use a DMZ. The server is reinstalled to a dedicated subnet where the only publicly accessible servers. You allow outside clients initiate traffic only to the appropriate ports and protocols on the web server and then enable the web server to initiate communication to internal resources through its service known and required profile.

    There are all kinds of building measures additional can be taken. I would like to reiterate the secure application via demanding https instead of http traffic completely uncertain. It is a method. Others include things like using a 7 Web Application layer firewall in front of your server. This feature is available in the majority of the load balancers / application delivery controllers (such as Citrix Netscaler, F5 BigIP, etc.).

    Maybe it's not practical for a small store without all of this existing infrastructure and only one application running on a single server, but you asked how large companies such as banks do. They use multiple layers of security with several points in the access, treatment and storage subsystems to implement defense in depth.

Maybe you are looking for