Transection tracking in oracle 10g

hi,
how can i track transection (current and previous) in oracle database 10g.
pls help
regards
Prabhaker

how can i track transection (current and previous) in oracle database 10gWhat do you mean of tracking the transactions. Do you want to audit. Please give some more details.
Thanks

Similar Messages

  • Oracle 10g OCA-DBA Track :documentation

    dear all
    I 'm readying for oracle 10g certification(OCA) in dba track. pls send me the proper documentation for my purpose.(currently I'm using oca-database administration1 -CYBEX reference)
    thanks

    Also Check link =>
    Concepts of and sample questions on space usage

  • How to trace an application in Oracle 10g

    Hi,
    I want to trace a complete application in Oracle 10g end-to-end.
    Here is the scenario,
    The are two systems:
    System A: Oracle 10g server
    System B: Windows server
    The application runs on system B.
    How do I trace the complete application in oracle 10g?
    I read about the trcsess tool but will like to know if there is a way to collate all *.trc produced by the application.
    Thanks in advance!
    -Thanks
    Karthik

    Tracing the Oracle transactions is easy, but you need to decide what level of trace you want and identify the database sessions to trace.
    Tracing can generate huge amounts of logs, so think carefully if you really need to do this.
    The tracing will only capture the database transactions. It won't track what happens in the application (e.g mouse clicks etc)
    Options to enable tracing :-
    -- ALTER SESSION
    alter session set tracefile_identifier = 'robert_trace'; # so that the trace files from this session are easily identified
    alter session set events '10046 trace name context forever, level 8';
    -- ALTER SYSTEM
    alter system set sql_trace=true;
    -- DBMS_SESSION
    exec dbms_session.set_sql_trace(sql_trace => TRUE);
    -- DBMS_SUPPORT
    exec dbms_support.start_trace(waits=>TRUE, binds=>FALSE);
    -- DBMS_SYSTEM
    exec sys.dbms_system.set_ev(72,21237,10046,12,'');
    -- ORADEBUG
    select username, spid from v$process;
    ORADEBUG SETOSPID 21237
    ORADEBUG EVENT 10046 TRACE NAME CONTEXT FOREVER, LEVEL 12
    -- DBMS_MONITOR
    exec dbms_monitor.session_trace_enable(session_id=>75, serial_num=>21237);

  • Issues while installing ORACLE 10g R2 RAC on RHEL 5.3

    i am installing oracle 10g R2 RAC on RHEL 5.3 in a test environment. my aim was to install using ASM.
    i went through the pre-requisites ok before beginning with the installation.
    since RHEL 5.3 doesnt support raw devices i used
    http://www.idevelopment.info/data/Unix/Linux/LINUX_ConnectingToAniSCSITargetWithOpen-iSCSIInitiatorUsingLinux.shtml#Configure%20iSCSI%20Initiator%20and%20New%20Volume
    udev to configure shared storage. my storage is on openfiler as a iSCSI target.
    fdisk -l on both nodes shows the shared drives.
    [root@node1 ~]# fdisk -l
    Disk /dev/sda: 21.4 GB, 21474836480 bytes
    255 heads, 63 sectors/track, 2610 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          13      104391   83  Linux
    /dev/sda2              14        2053    16386300   8e  Linux LVM
    /dev/sda3            2054        2372     2562367+  82  Linux swap / Solaris
    Disk /dev/sdd: 10.5 GB, 10502537216 bytes
    64 heads, 32 sectors/track, 10016 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdd1               1       10016    10256368   83  Linux
    Disk /dev/sdb: 10.5 GB, 10536091648 bytes
    64 heads, 32 sectors/track, 10048 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       10048    10289136   83  Linux
    Disk /dev/sdc: 10.5 GB, 10536091648 bytes
    64 heads, 32 sectors/track, 10048 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1       10048    10289136   83  Linux
    Disk /dev/sdf: 10.5 GB, 10569646080 bytes
    64 heads, 32 sectors/track, 10080 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdf1               1       10080    10321904   83  Linux
    Disk /dev/sde: 10.5 GB, 10502537216 bytes
    64 heads, 32 sectors/track, 10016 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sde1               1       10016    10256368   83  Linux
    [root@node1 ~]# ls -l /dev/iscsi/arpl*
    /dev/iscsi/arpl1:
    total 0
    lrwxrwxrwx 1 oracle oinstall  9 Jun 30 12:58 part -> ../../sde
    lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sde1
    /dev/iscsi/arpl2:
    total 0
    lrwxrwxrwx 1 oracle oinstall  9 Jun 30 12:58 part -> ../../sdd
    lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdd1
    /dev/iscsi/arpl3:
    total 0
    lrwxrwxrwx 1 oracle oinstall  9 Jun 30 12:58 part -> ../../sdb
    lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdb1
    /dev/iscsi/arpl4:
    total 0
    lrwxrwxrwx 1 oracle oinstall  9 Jun 30 12:58 part -> ../../sdc
    lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdc1
    /dev/iscsi/arpl5:
    total 0
    lrwxrwxrwx 1 oracle oinstall  9 Jun 30 12:58 part -> ../../sdf
    lrwxrwxrwx 1 oracle oinstall 10 Jun 30 12:58 part1 -> ../../sdf1
    [root@node1 ~]# configuring udev results in the drives being mapped to persistent drive names eg. /dev/iscsi/arpl1/part1
    still when i enter the name of the raw device which i have created i get the following error. please help
    Image: !http://img91.imageshack.us/img91/7448/oracle.png!

    did you check this
    http://download-west.oracle.com/docs/cd/B19306_01/install.102/b14203/storage.htm#BABBHECD
    http://download.oracle.com/docs/cd/B28359_01/install.111/b28263/storage.htm#CDEBFDEH
    also before you do what is suggested on the url posted by Mufalani,
    it seems that you should do the following:
    Check existence of udev raw mapping rule file /etc/udev/rules.d/60-raw.rules
    On RH/EL5, udev raw mapping rule file /etc/udev/rules.d/60-raw.rules should exist by default as part of the util-linux package, for example:
    # ls /etc/udev/rules.d/60-raw.rules
    /etc/udev/rules.d/60-raw.rulesCreate a custom udev raw mapping rule file, /etc/udev/rules.d/61-oracleraw.rules say, for example:
    # touch /etc/udev/rules.d/61-oracleraw.rules3b. Add udev raw binding rules to /etc/udev/rules.d/61-oracleraw.rules file
    Add the udev raw binding rules to the /etc/udev/rules.d/61-oracleraw.rules file, for example:
    # cat /etc/udev/rules.d/61-oracleraw.rules
    # Raw bind to Oracle Clusterware devices
    ACTION=="add", KERNEL=="sd*", PROGRAM=="/sbin/scsi_id", RESULT=="360a98000686f6959684a453333524174", RUN+="/bin/raw /dev/raw/raw1 %N"
    ACTION=="add", KERNEL=="sd*", PROGRAM=="/sbin/scsi_id", RESULT=="360a98000686f6959684a453333524179", RUN+="/bin/raw /dev/raw/raw2 %N"If migrating to RHEL5/OEL5 from an earlier Linux version that relied on /etc/sysconfig/rawdevices file for persistent raw device bindings, the following script can be used as a basis for generating your RHEL5/OEL5 udev rules. Note, the script does not factor device name persistency.
    #!/bin/bash
    grep -v "^ *#" /etc/sysconfig/rawdevices | grep -v "^$" | while read dev major minor ; do
    if [ -z "$minor" ]; then
    echo "ACTION==\"add\", KERNEL==\"${major##/dev/}\", RUN+=\"/bin/raw $dev %N\""
    else
    echo "ACTION==\"add\", ENV{MAJOR}==\"$major\", ENV{MINOR}==\"$minor\", RUN+=\"/bin/raw $dev %M %m\""
    fi
    done

  • Differences between Oracle 10G Client ODBC from 10.1.x to 10.2.x (datatype)

    What differences where implemented to Oracle 10G Clients ODBC connectivity drivers between 10G Release 1 and Release 2 concerning datatypes?
    I have an application that performs a qualified read returning a group of records (this is successful) and then performs a delete on each record read. No errors occur on completion of the application. When using release 1, the records are physically removed. Using release 2 a portion of the same group of records are not removed. The key for the table is a numeric field with six decimal places (not my design). My applications C code defines the field as a DOUBLE.

    I certainly agree that something changed. The question is whether it was a change in function or not. With a lot of these sorts of errors, tracking down the "source" of the error involves finding a change in a piece of code that allowed what was always possible to actually occur. That is, you may have two pieces of code that are functionally identical but that end up allowing the sorts of "round off" errors that are always possible when using doubles. The driver might, for example, now be going down a code path where it shifts a number to the right or left rather than dividing or multiplying by 2, which may make this sort of thing more likely. Functionally, given that doubles don't guarantee infinite precision, these operations are identical, but one may be significantly more likely to cause problems.
    Is your application using the ODBC API directly? Or is it going through a higher-level API? If you are going through ODBC directly, you might look to see whether the data types that are being returned by the driver to your code are the same across driver versions.
    Justin

  • [Oracle 10g] How to show concurrent transactions during a period?

    Hello all,
    I used Oracle 10g database
    I try to select the number of concurrent transactions during a period.
    I know how to select the number of transactions executed in one day, but i want to know the concurrent transactions.
    Can you help me ?
    Thanks in advance
    Regards
    Mathieu

    Which transactions do you wish to track?
    Are you referring to transactions that occur against a specific set of tables or all transactions against a schema and/or database instance?

  • Is it possible to install Oracle 10g database on a linux Os ?

    Hello all,
    I recently installed Fedora 14, and oracle 10g free edition, on my modest laptop.
    Problem is , I can't upload any scripts, because as i recently learnt from my school teacher, Oracle only works smoothly with Internet explorer browser (i.e.).
    I tried using programs like winetricks to download a linux version of i.e. but in this case Oracle doesn't even open its homepage.
    -In a nutshell, does anyone know a possible way to work with oracle 10g , (or any alternative), that's fully functional on linux (fedora 14) ? Download, Install steps,etc.
    All i need to do is upload simple SQL scripts, and practice my " select from...." commands.
    -Is oracle linux a option ? and what is it?
    Thank you already for any replies, I'm really getting tired of googling threw different forums.

    865504 wrote:
    Ed,
    -i knew my teacher was being stubborn;
    -I meant that the winetricks version of i.e., didn't open the homepage of oracle 10g (=log in screen).
    -what i was trying to do was, after having installed oracle 10g , "go to data base homepage" (openend by firefox) , once logged in with my username, upload a script , and practice typing the different (select from ...group by..etc) sql commands.
    Here is one of several concepts you need to fix in your mind. Databases don't have home pages. Client applications do. Databases store and manage data. Humans at the keyboard see the client application, not the database. Oracle provides some client apps ( iSQLPlus, Oracle Enterprise Manager (Grid Control), dbcontrol, APEX) and even installs some with the database by default, but they are distinctly separate from the database, and so must be identified when talking about user interface issues. Unfortunately, telling us you tried to open "the home page of oracle" tells us nothing at all. If you had said "Tried to log in with iSQLPlus" or "I tried to connect with Apex", it would have conveyed MUCH more information. We would have then had some frame of reference as to what you were seeing.
    To the "upload from where" question : I simply copied the scripts ( .sql , file) from the pc's from school, on usb, then copied them on my own system. When using the "upload scripts" option from oracle, Again, you must distinguish between "oracle" (the database) and whatever client tool you use to connect to it. "Oracle" (the database) doesn't have an "upload scripts" option. Some un-named application does.
    the script is uploaded, but when i try to "run" it , nothing , blank page. no tables, nada. And given what I've said above, you can guess what this statement means. - grin -
    My first guess was, well the teacher said " i.e. only " , so i tried installing i.e. , using winetricks, but i had a feeling i was going off-track, and that surely there must have been a much easier way.
    Even Billy was more charitable toward your teacher than I feel. And when he is so wrong about something as simple as this, makes me wonder what else he is wrong about. And the quality of the teachers calls into question the quality of the school in general.
    In fact, had I been told that by an instructor, I would make it a personal mission to prove him wrong. Not in front of the class (as much short term satisfaction as that may provide) but just by taking my laptop to his office and saying "let me show you something". One of my personal hot buttons is for someone who should know better to pronounce something as "won't work" when I've been doing it for so long and so easily as to just take it for granted.
    >
    Linux (fedora 14) is up and running,
    oracle 10g , linux version, was installed using detailed guide.
    And yes, i will look into oracle linux, and oracle 11g ,
    but i was hoping to use the same version as my school, to avoid any surprises when passing my exams.Edited by: EdStevens on Jun 13, 2011 3:02 PM

  • How to genrate and check wait statistics in oracle 10g

    Dear all,
    how to genrate and check WAIT STATISTICS in oracle 10g on RHEL4.
    Regards,
    Ali

    Oracle Kernel keeps track of these statistics. Query v$waitstat for overall system level wait statistics or v$session_wait for individual session wait statistics.

  • Auditing in oracle 10g database and oracle 10g application server

    Dear friends,
    We have oracle 10g application server and oracle 10g database server in place.My criteria is to audit users connected using oracle application user credentials to the database.
    Can you please tell me how can i do it.
    Thanks & regards,

    Its the database connection you want to track. The session audit will show where it came from.
    Auditing is turned using this command:
    alter system set audit_trail = DB scope=spfile;
    Note: The use of spfile will require a DB bounce before audit starts
    To audit Sessions:
    audit create session;
    Query by Audit Type:
    SELECT A.USERNAME,
    OS_USERNAME,
    A.TIMESTAMP,
    A.RETURNCODE,
    TERMINAL,
    USERHOST
    FROM DBA_AUDIT_SESSION A
    WHERE USERHOST = <replace with iAS servername> ;
    By User
    SELECT USERNAME,OBJ_NAME,ACTION_NAME , TIMESTAMP
    FROM DBA_AUDIT_TRAIL WHERE USERNAME = 'SCOTT';
    Check for users sharing database accounts
    select count(distinct(terminal)),username
    from dba_audit_session
    having count(distinct(terminal))>1
    group by username;
    Attempts to access the database at unusual hours
    SELECT username, terminal, action_name, returncode,
    TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS'),
    TO_CHAR (logoff_time, 'DD-MON-YYYY HH24:MI:SS')
    FROM dba_audit_session
    WHERE TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') <
    TO_DATE ('08:00:00', 'HH24:MI:SS')
    OR TO_DATE (TO_CHAR (TIMESTAMP, 'HH24:MI:SS'), 'HH24:MI:SS') >
    TO_DATE ('19:30:00', 'HH24:MI:SS');
    Attempts to access the database with non-existent users
    SELECT username, terminal, TO_CHAR (TIMESTAMP, 'DD-MON-YYYY HH24:MI:SS')
    FROM dba_audit_session
    WHERE returncode <> 0
    AND NOT EXISTS (SELECT 'x'
    FROM dba_users
    WHERE dba_users.username = dba_audit_session.username);
    Other audits you might consider:
    audit grant any object privilege;
    audit alter user;
    audit create user;
    audit drop user;
    audit drop tablespace;
    audit grant any role;
    audit grant any privilege;
    audit alter system;
    audit alter session;
    audit delete on AUD$ by access;
    audit insert on AUD$ by access;
    audit update on AUD$ by access;
    audit delete table;
    audit create tablespace;
    audit alter database;
    audit create role;
    audit create table;
    audit alter any procedure;
    audit create view;
    audit drop any procedure;
    audit drop profile;
    audit alter profile;
    audit alter any table;
    audit create public database link;
    Best Regards
    mseberg

  • Connect PostgreSQL to Oracle 10g through ODBC: can't read all_tables

    Oracle 10g is not able to read the database table names (all_tables and all_objects, es. select * from all_tables@hspostgresodbc) from PostgreSQL using ODBC (v. 08.01.0200). This functionality is essential to be able to use Oracle Warehouse Builder and import external database definitions (heterogeneous services).
    However, Oracle (SQL*Plus) is able to retrieve records when the table name is stated in the SQL query (es. select * from “my_table”).
    The problem seems to be specifically with the PostgreSQL ODBC because Oracle is able to read schemes from other databases through ODBC. I’ve done some tests with Access dbs just to be sure that the problem is not with my system (Windows XP SP2).
    The problem appears both with ANSI and UNICODE PostgreSQL drivers.
    Any suggestion of how workaround this problem?
    thanks in advance,
    Raoni

    Dear all,
    I’ve tried different tracing levels with out success. The log file does not seem to be created by Oracle.
    Looking closer to the debug and comm logs from the driver 8.01.0200, I’ve found out that the problem was generated after a table wasn’t found (the driver seems to search for the all_tables table, and just afterwards to query the scheme pg_catalog). In this case the all the following queries returned with the error “ERROR: current transaction is aborted, commands ignored until end of transaction block”. Maybe this problem is related with the bug [#1000641] http://pgfoundry.org/tracker/index.php?func=detail&aid=1000641&group_id=1000125&atid=538
    Following the Postgres odbc developers suggestion, I’ve installed the psqlODBC v 08.02.0002 and I’ve got a completely different result.
    As before, the simple query “select * from my_table@hsodbc” returns the result using SQL*Plus clearly faster than before.
    Doing the query “select * from all_tables@hsodbc” the result is OK (the name of 56 tables) but the process is very slow and burdensome. The file paging memory in the machine running Oracle and the SQL*Plus jumps from the normal 700 MB to 1.7 GB, and the query takes about 20 minutes to complete.
    Also the 1.7 GB remains allocated and the query process halted in PostGreSQL even after the on screen result of the query. The memory is freed and the process terminated after the logging out SQL*Plus.
    Probably as result of this memory explosion, the system runs out of memory and Oracle Warehouse Builder selecting data base link -> schema, after some minutes get an error similar to: “can’t read from memory address XXXXX”
    All those test where done with PostGreSQL 8.0.1 (on Linux Suse 9.0) and Oracle 10g (Windows XP SP2).
    To be sure that the problem was not related to the PostGreSQL version, we updated the server to the 8.1.3 (running in Linux Suse 9.0 with psqlODBC v 08.02.0002 ) and OWB couldn’t see any table as before and doing Select * from all_tables@hsodbc we’ve got the message:
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC]
    ORA-02063: preceding 2 lines from HSPG
    no rows selected
    On the other hand, with the same configuration as before (Oracle 10g under Windows XP SP1, psqlODBC v 08.02.0002) but with PostGreSQL 8.1.3 under Windows XP SP1, OWB can read table names (same tables imported from Linux PostgreSQL) but not all_tables (a minor problem, because what is important for us is to make OWB work with PostgreSQL).
    The encoding for all DBs is UTF8.
    Any ideas of where could be the problem?
    regards,
    R.

  • When will Oracle 10g/11g support Windows Server 2008 and AIX6.1

    Hi all
    I'm sorry if I post it in a wrong place... But I really want to know when will Oracle 10g/11g support Windows Server 2008 and AIX 6.1?
    I've searched in metalink but found nothing useful. Is there anybody can give me a link of Oracle's roadmap for platform support?
    Thanks!

    Oracle does not announce release dates and neither
    does any other software company.But Oracle does have a very good track record of supporting their products on new windows releases extremely close to the windows release date. Clearly they can't support on an unreleased platform though. Given that the launch of Server 2008 isn't even complete worldwide yet (19th March in the UK for example) it would seem that this enquiry is a little premature.
    Niall Litchfield
    http://www.orawin.info/

  • Oracle 10g Certification

    I want to do Oracle 10g certification( 1z0-042 and 1z0-043 ). Do I have to take training course from ORACLE for
    that. How much it will cost? Is there any other way like doing Oracle 9i DBA Track without this instructor led
    training programme.

    That means I have to attend the course before taking the second exam 1z0-043.The before* bit is not true ... the order can be either way .....
    Just to be clear you can take 1z0-043 before taking your hands on line course (which is what I did). The advantage in that is you dont have to fork out the money for the course before you've passed the exam, the disadvantage is it will probably take an extra 5 weeks before your OCP certificate comes in the post .. eg about 12 weeks in total after finishing the hands on course before you get your certificate ... ( in the meanwhile seek out [http://en.wikipedia.org/wiki/I%27m_Still_Waiting] on iTunes)
    I had similar choices to you - I was initiallially for choosing a 2 day 10g advanced pl/sql course (cheap) ... but the one i had seen got cancelled so 1 did a 5 day 11g RAC course instead. (expensive but good). Worth getting aware of the schedule of courses at locations convenient to youself and costs of courses and seek out the one with the best cost/benefit for yourself (that is an acceptable hands on for 10g dba).

  • Coyotepoint E350 and OracleAs 10g Hardware Load Balancing SSL

    Hi:
    Has anyone been successful using a CoyotePoint E350 with XCEL SSL accelerator card and OracleAS 10g with SSL to hardware load balance an HTTPS site?

    You're on the right track adding the SSL certificate to the Load Balancer. I'm not really sure what you mean 'without the use of Webcache'? However, if I had the choise, I'd always add the certificate to the Load Balancer.
    A good document setting up a load balanced environment is the Enterprise Deployment Guide. Chapter 8 describes the tasks for a Forms environment.
    Regards,
    Martin

  • How to alter the DEPENDENCIES in a table oracle 10g

    I am using Oracle 10g.
    I had created a table with DEPENDENCIES='disabled' i.e, default dependencies access.
    Now i want to ALTER the table which has DEPENDENCIES='enabled';
    Can you give me the ALTER command
    Thanks

    What is it that you're trying to accomplish from a business perspective?
    So far as I'm aware, there is no DEPENDENCIES setting for a table. There is a ROWDEPENDENCIES setting that controls whether ORA_ROWSCN tracks the SCN of changes at the block or at the row level. Is that what you're lookinig for?
    Justin

  • Oracle 10g Admin-I is done, what next?

    Hi,
    I have completed Oracle 10g Admin I & SQL. Can i take Oracle 11g Admin II or i just have to completed Oracle 10g Admin II (Instructer Lead) exam and the go for an upgrade to 11g ?
    Plz suggest.
    Regards

    Your question is not really clear. I'm going to take some guesses at what you mean and what you are asking
    I have completed Oracle 10g Admin I & SQL.I'm guessing that by this you mean that you have passed two Oracle certification exams, presumably:
    *1Z0-007     Introduction to Oracle9i SQL*
    and
    *1Z0-042     Oracle Database 10g: Administration I*     
    Can i take Oracle 11g Admin II I'm assuming that you are asking if you can take the following exam:
    *1Z0-053     Oracle Database 11g: Administration II*
    This exam is on a different track than 1Z0-042. The two cannot be combined for any certification.
    or i just have to completed Oracle 10g Admin II (Instructer Lead) exam To complete the Oracle 10G certification, you must pass the following exam:
    *1Z0-043     Oracle Database 10g: Administration II*
    The exam itself is not instructor-lead, so I don't know what you mean by that. In addition to passing the test, you must attend instructor-lead training. The courses valid for the 10G track can be found here:
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=244#2
    and the go for an upgrade to 11g ?Once you have your 10G certification, you can upgrade to having an 11G OCP certification by passing the following exam:
    *1Z0-050     Oracle Database 11g: New Features for Administrators*

Maybe you are looking for