How to view history in oracle database?

hi..
is there any method to view history of sqlplus command in oracle database ?.
This is because i would like to know what my vendor done to the oracle..
Thank you,
baharin

This is because i would like to know what my vendor done to the oracle..Interesting enough.
There is no direct method to view the commands executed from SQL*Plus.
If that sqlplus session was launched on Windows platform AND the command window buffer was already set to a higher value AND you have not yet closed that command window then you can launch sqlplus again in the same window and go through the history of commands.
Else, you can try mining your archive logs (assuming your database is in archive log mode), find out the commands executed from that particular session and hope you get all of them (as some commands are/were not supported by log miner).

Similar Messages

  • How do I get from Oracle Database 8.1.7.0.0 to 8.1.7.2?

    How do I get from Oracle Database 8.1.7.0.0 to 8.1.7.2? There is a patchset that fixes a bug in 8.1.7 for memory leaks that I need installed. I am currently running on a WindowsNT Server with a Oracle Database version of 8.1.7.0.0. Is going to 8.1.7.2 a complete release upgrade, or is there a smaller upgrade to get there, and how do I get the files required>
    Thanks,

    Hi,
    Sorry for my english
    For Windows NT, the last big patchset is 8.1.7.4.x. I advice you to use the last patchset. A patchet is not a upgrade or a migrate. the installation is in two phase. Phase One:Patch the files in the oracle home with Oracle Universal Installer (Oui) and Phase Two: execute sql files on the dictionnary of each database. There is a readme with the patch.
    you can get files on metalink if you have a account (metalink.oracle.com).
    List bug for Memory Corruption
    8174 1748759 Client memory corruption / dump (eg: in ttcfopr) using pre-fetch
    8174 1859905 Intermittent dump / client memory corruption
    8174 1964934 Memory corruption possible using INSERT /*+ APPEND */ over DBLINK
    8174 2126096 Session heap corruption from LIKE :bind ESCAPE '/' if :bind ends in the escape character
    8174 2152752 Memory corruption / OERI:17182 possible fetching CHAR from DB2 over HS
    8174 2217159 13 byte PGA corruption possible using SQL over DBLINKS from PLSQL with MTS to V7 database
    8174 2248904 Memory corrupt possible during optimization of distributed query
    8173 1836101+ Memory Corruption from distributed query / query with binds (OERI:17114/17xxx/dump in kkecdn/kgh*/kke*)
    8173 1542218 Heap corruption (OERI:17182/dump in kghfrf) using very large collections
    8173 1661786 OERI:12261 / single byte memory corruption possible for CALL type triggers
    8173 1711803 DBW & users may CRASH under heavy load on multi-CPU system with FAST_START_IO_TARGET set > 0
    8173 1744786 Cursor work heap corruption from CONNECT BY PRIOR
    8173 1752554 OERI:17182 selecting DB2 DATA TYPE of CHAR over HS
    8173 1791258 CONNECT BY on IOT can cause SGA memory corruption
    8173 1810829 Lightwieght sessions (via proxy connect) may dump / corrupt shadow memory if users have >1 ROLE
    8173 1847583 Client memory corruption/dump using large value_sz for OCIDefineByPos with OCI_DYNAMIC_FETCH
    8173 1968635 OERI:KCOAPL_BLKCHK / buffer cache corruption from CR rollback
    8173 1987654 Compiling a PLSQL block with an INDICATOR clause can corrupt memory
    8173 1995026 OERI:17112 / heap corruption from Oracle Trace with MTS & Large Pool
    8173 2002799 Wrong results / heap corruption from PQ with aggregates in inline view
    8173 2048336 OERI:150 / Memory corruption from interrupted STAR TRANSFORMATION
    8173 2065386 Mem. Corruption / OERI:KGHFRE2 / OERI:17172 possible using bitmap indexes
    8172 1365873 OERI:17182 / CGA corruption with CURSOR_SHARING=FORCE
    8172 1373920 Memory corruption from PLSQL ORA-6502 errors
    8172 1447610 DBMS_SQL.BIND_ARRAY may dump / report private memory corruption type errors
    8172 1679690 Buffer cache in memory corruption (OERI:2032) can lead to permanent data/index mismatch (OERI:12700)
    8172 1732885 oeri:[KDIBR2R2R BITMAP] / memory corruption possible from BITMAP AND
    8172 1763408 RPC between 9i <-> 8i with CHAR data can corrupt memory
    8171 1227384 SGA heap corruption using DBMS_SQL under heavy load (Rare)
    8171 1364542 Buffer Cache corruption possible (rare)
    8171 1394565 PROBE: Callheap corruption printing a RAW in PLSQL debugger
    Bye !!!
    Cordialement
    XsTiaN

  • How to extract data from oracle database directly in to bi7.0 (net weaver)

    how to extract data from oracle database directly in to bi7.0 (net weaver)? is it something do with EDI? can anybody explain me in detail?
    Thanks
    York

    You can use UDConnect to get from Oracle database in to BW
    <b>Data Transfer with UD Connect -</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
    <b>Prerequisites</b>
    You have installed the SAP WAS J2EE Engine with BI Java components.  You can find more information on this in the SAP BW installation guide on the SAP Service Marketplace at service.sap.com/instguides.
    Hope it Helps
    Chetan
    @CP..

  • How to see history in Oracle SQL

    how to see history in Oracle SQL
    i.e
    create table.....
    select * from tablename....
    delete tablename;
    Now i want to see how many command run after login.......please tell me the command...

    user12261139 wrote:
    how to see history in Oracle SQL
    i.e
    create table.....
    select * from tablename....
    delete tablename;
    Now i want to see how many command run after login.......please tell me the command...I'm not aware of an easy way to see how many commands were run after logging on. Different tools have different capabilities, though.
    The ms-dos version of SQL*PLUS offers a Doskey option to use the up and down arrows to recover recently executed commands.
    The SQL Workshop in Apex has a command history. Some of the GUI tools might offer similar functionality.

  • How to connect Java to oracle Database Express Edition?

    Anyone can help me?
    How to connect JAVA TO ORACLE DATABASE EXPRESS EDITION?

    I suggest you to read this article:
    http://wiki.oracle.com/page/JDBC
    Regards,
    Ricky

  • How to view corrupt ms access database?

    How to view corrupt ms access database? When you open a written "Application Error" and all. Tried to import objects into a
    new database. Tables and queries were imported without a problem, but on the forms, reports and modules gives the same error. 

    if it fails to recover all known methods, which are described in google, then you need software - such as MDB Viewer Tool from http://www.mdb.viewertool.com/ Somewhere
    seen a similar problem on the forum if it fails to recover all known methods, which are described in google, then you need software - such asMDB Viewer Tool from http://www.mdb.viewertool.com/Somewhere
    seen a similar problem on the forumhttp://www.filerepairforum.com/forum/microsoft/microsoft-aa/access/1318-unable-to-open-mdb-file-please-help

  • How do I tune an Oracle database running RequestCenter?

    How do I tune an Oracle database running RequestCenter?
    The details in the following discussion apply to RequestCenter/AlignmentCenter versions 2006 and prior.
    For most efficient operation of ServiceManger, several of the RequestCenter tables must have statistics collected which include histograms.  You can use the SQL commands below to collect the required statistics:
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS StateID SIZE 45;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS PerformerShared, IsBusy, TicketObjectID SIZE 2;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS Waiting, FlagID, EscalationLevel SIZE 3;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS PerformerOfficeID SIZE 75;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS PerformerID SIZE 185;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS CustomerID SIZE 200;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS ActivityFormID, ActivityTypeID SIZE 3;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS ClientOUID SIZE 45;
    ANALYZE TABLE TxActivity COMPUTE STATISTICS
        FOR COLUMNS NextActionID SIZE 6;
    ANALYZE TABLE TxProcess COMPUTE STATISTICS
        FOR COLUMNS TicketObjectID, EscalationLevel SIZE 3;
    ANALYZE TABLE TxRequisition COMPUTE STATISTICS
        FOR COLUMNS BeingProcessed SIZE 2;
    ANALYZE TABLE TxRequisition COMPUTE STATISTICS
        FOR COLUMNS OrganizationalUnitID SIZE 16;
    ANALYZE TABLE TxRequisition COMPUTE STATISTICS
        FOR COLUMNS StatusID SIZE 6;
    ANALYZE TABLE TxRequisitionEntry COMPUTE STATISTICS
        FOR COLUMNS ServiceID SIZE 32;
    ANALYZE TABLE TxRequisitionEntry COMPUTE STATISTICS
        FOR COLUMNS StatusID SIZE 6;
    ANALYZE TABLE DirPerson COMPUTE STATISTICS
        FOR COLUMNS isOffice SIZE 2;
    ANALYZE TABLE DirPerson COMPUTE STATISTICS
        FOR COLUMNS IsInactive SIZE 2;
    ANALYZE TABLE DirPerson COMPUTE STATISTICS
        FOR COLUMNS TimeZoneID SIZE 6;
    ANALYZE TABLE DirPerson COMPUTE STATISTICS
        FOR COLUMNS SupervisorID SIZE 3;
    ANALYZE TABLE DirPermission[LW1]  COMPUTE STATISTICS
        FOR COLUMNS TargetObjectID SIZE 12;
    ANALYZE TABLE DirPermission COMPUTE STATISTICS
        FOR COLUMNS OwnerObjectID SIZE 4;
    ANALYZE TABLE DirOrganizationalUnit COMPUTE STATISTICS
        FOR COLUMNS OrganizationalUnitTypeID SIZE 4;
    ANALYZE TABLE DefJavascript COMPUTE STATISTICS
        FOR COLUMNS IsGlobalOnLoad, IsGlobalOnSubmit, IsGlobalOnUnload
        SIZE 2;
    ANALYZE TABLE UIEntry COMPUTE STATISTICS
        FOR COLUMNS ObjectID SIZE 7;
    ANALYZE TABLE UIEntry COMPUTE STATISTICS
        FOR COLUMNS UserInterfaceID SIZE 16;

    I thought there will be a magic switch to turn it off and on!That is how Oracle has been since I can remember. You get what you ask for. Does that sound bad?
    Would you want:
    IF ('ABC' = 'Abc')to evaluate to TRUE or FALSE?
    The behaviour seems to be correct. In cases where you want the comparision to be case insensitive, you have several ways to do it. You do it exactly where you need it, not everywhere and all the places.
    The default behaviour would potentially give you one row where as making it case insensitive could potentially give you several rows. now you need to pick one, which one?
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1560806455855#6467925371258

  • How to Send SMS from Oracle Database to Mobile

    Hi All,
    I need urgent help in how to send sms from oracle database to mobile
    thanks and best regards

    you can use smslib..... . i have made a program with this. its working fine with oracle database.
    see the links here ...
    http://halimdba.blogspot.com/2011/08/send-sms-from-oracle-database-with.html
    by the way, how you can say "urgent help" ?
    regards
    Halim

  • How to find out whether Oracle database was upgraded ??

    Hi,
    I need to find out whether my Oracle database was upgraded, If yes how to find out by SQL query .I know their is database_properties table, but when I try to query that it didnt gave me the output which I required.
    Like in SAP we have uvers table which keep info about the upgrade history, whether such history is avaliable in oracle ?? . Iam looking out for output which is like old database Release 9.2.0.7 and new database release 10.2.0.2.
    Whether similar such history is maintained in Oracle database.
    Awaiting for your feedback.
    Kind Regards
    Neenad

    Hi all,
    After checking all the material,I dont think prior to 10g, oracle register its earlier version.
    The views of v$version show the current version for various components and also dba_registry displays info about catlog/catproc versions.
    In 10g, you can use the following query to know the version when the database was broughtup.
    select startup_time,version,db_name from dba_hist_database_instance.
    Anways thanks to all of you.
    Kind Regards
    Neenad

  • HOW DO YOU CONVET AN ORACLE DATABASE FILE TO A TXT FILE?

    Is there a way in a program unit of a form to convert an ORACLE database file into TXT format? When the file gets created, I want to use the text file in a distribution list for sending email. My code in the program unit is:
    Insert into THE_IMO_EMAIL
    Select distinct imo_email from DS_POC
    where imo_email is not null;
    commit;
    Table THE_IMO_EMAIL is a temporary table. The temporary table gets deleted everytime before records get inserted into it. There is only 1 item in the temporary table.
    IMO_EMAIL VARCHAR2(55)
    After the COMMIT I want to copy the contents out of the
    THE_IMO_EMAIL into a TXT File.
    How do I do this? What parameters do I need to use? Should I do this in another program unit?

    can you be more clear on this
    "DATABASE FILE" what is this? an RDBMS file and you need this in ASCII format. I am lost.

  • How can we clone the Oracle database in new Oracle Home

    Hi,
    I would like to clone oracle database into new oracle home. How can we set it using OEM.
    I am using 10g grid control. Target db is on solaris
    Thanks
    Naveen

    after logging into target database, under maintenance tab, data movement header; ther is "clone database" option. When you click on it; you'll see :
    Clone Database uses RMAN to duplicate a database from:
    -- An open database in ARCHIVELOG mode, or
    -- An open database in NOARCHIVELOG mode (restart required), or
    -- A saved working directory from previous cloning
    Clone Database performs the following operations:
    -- Backup each database file and store it in a working directory
    -- Transfer each backup file from source to destination host
    -- Restore each backup file to existing destination Oracle Home
    -- Recover the cloned database with saved archived log files
    -- Open the cloned database with resetlogs
    It seems to be for cloning to a different host, but i guess you can chose the same host for source and destination. (I've never used cloning on em by the way :))
    But firstly, you should create a new oracle home, you can simply copy your oracle home with a new name (cp -R /oracle/app/oracle/product/10.2.0 /oracle/app/oracle/product/10.2.0.new) or make a new installation.
    I suggest you to do this cloning with CLI. You should take a full backup with RMAN, copy the oracle home, create a new initNEWSID.ora file and nomount the database, restore (or simply copy) controlfiles, restore database (with set newname commands), recover database, open resetlogs.

  • Can I define tables/views of another oracle database as data sources in DBI?

    Hi!
    Assuming I created a dblink between an Oracle EBS database and another oracle database and I wish to create custom dashboards and reports in Oracle Daily Business Intelligence, will the tables/views from the another oracle database be allowed as the data sources?
    Thanks.

    Pl do not post duplicates - Can I read data from other database and tables in Oracle Daily Business Intelligence?
    Whether the custom tables are in the same database or a separate database is a trivial issue - a database link and local synonyms can easily mask where the tables are located.

  • How to view history of web seach?

    I was viewing things on my phone while waiting in the doctors office and didn't save any of it.  I know want to refer back to something I read and can't find it.  Does anyone know how to view the internet history on the iPhone 4s?

        Hamann7869,
    We can help you go through your Safari History to find that page! Simply open your Safari browser and tap on the blue icon that looks like an open book (second icon from the right at the bottom of the screen). That will open your Bookmarks, and you will be able to view your History from there.
    SarahO_VZW
    Follow us on Twitter @VZWSupport

  • How to send syslog to Oracle database?

    Is it possible to directly pipe syslog entries to the database?

    You can load external data to Oracle database... for instance a txt file...
    External tables allow you to query data that is stored outside the database in flat files. You can't do DML on external tables but they can be used for query, join and sort operations directly or by using views or synonyms
    CREATE DIRECTORY MYEXT_TAB_DIR AS '/path_to_my_file';
    CREATE TABLE syslog
    (mydata varchar2(1000))
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER DEFAULT DIRECTORY MYEXT_TAB_DIR ACCESS PARAMETERS
    RECORDS DELIMITED BY NEWLINE FIELDS TERMINATED BY ';'
    LOCATION ('mysyslogfile.txt')
    PARALLEL 5
    REJECT LIMIT 200;
    SELECT * FROM syslog;
    Regards,
    Joao Oliveira
    http://beyondoracle.wordpress.com

  • How to insert date into oracle database

    Hi, there,
    I want to insert date information to oracle database in a jsp page using JSTL. but always got wrong message:
    javax.servlet.jsp.JspException:
    INSERT INTO DATE_TEST
    (date_default,date_short,date_medium)
    values(?,?,?)
    : Invalid column type
    I don't know how to convert java date type to oracle date type or vice versa. the following is the source code(all the fields of DATE_DEFAULT,DATE_SHORT,DATE_MEDIUM are oracle date type. and even I want to insert d instead d1, I got the same wrong message)
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="java.util.*" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
    <%
    Calendar now;
    Calendar rightNow = Calendar.getInstance();
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>
    Hello World
    </title>
    </head>
    <body>
    <h2>
    The current time is:
    </h2>
    <p>
    <%= new java.util.Date() %></p>
    <%
    java.util.Date d=new java.util.Date();
    java.sql.Date d1=new java.sql.Date(d.getYear(),d.getMonth(),d.getDate());
    out.print(d1.toString());
    %>
    <sql:update>
    INSERT INTO DATE_TEST
    (DATE_DEFAULT,DATE_SHORT,DATE_MEDIUM)
    VALUES(?,?,?)
    <sql:dateParam value="${d}" type="date" />
    <sql:dateParam value="${d}" type="date" />
    <sql:dateParam value="${d}" type="date" />
    </sql:update>
    </body>
    </html>
    thank you very much for the great help!!

    Hi, there,
    I want to insert date information to oracle database in a jsp page using JSTL. but always got wrong message:
    javax.servlet.jsp.JspException:
    INSERT INTO DATE_TEST
    (date_default,date_short,date_medium)
    values(?,?,?)
    : Invalid column type
    I don't know how to convert java date type to oracle date type or vice versa. the following is the source code(all the fields of DATE_DEFAULT,DATE_SHORT,DATE_MEDIUM are oracle date type. and even I want to insert d instead d1, I got the same wrong message)
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="java.util.*" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
    <%
    Calendar now;
    Calendar rightNow = Calendar.getInstance();
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>
    Hello World
    </title>
    </head>
    <body>
    <h2>
    The current time is:
    </h2>
    <p>
    <%= new java.util.Date() %></p>
    <%
    java.util.Date d=new java.util.Date();
    java.sql.Date d1=new java.sql.Date(d.getYear(),d.getMonth(),d.getDate());
    out.print(d1.toString());
    %>
    <sql:update>
    INSERT INTO DATE_TEST
    (DATE_DEFAULT,DATE_SHORT,DATE_MEDIUM)
    VALUES(?,?,?)
    <sql:dateParam value="${d}" type="date" />
    <sql:dateParam value="${d}" type="date" />
    <sql:dateParam value="${d}" type="date" />
    </sql:update>
    </body>
    </html>
    thank you very much for the great help!!

Maybe you are looking for

  • Error while activating DSO ....date is not possible....

    Hi all, While activating the DSO ,I am getting the following error: Value '20022009' of characteristic 0DATE is not possible In FEB 20/02/2009 is possible ...but why system giveing this message...? Any suggessions...on this.. Thanks....Bk Edited by:

  • New Row in tableGrid

    I am struggling to find any documentation anywhere on how to add a blank record to an already populated grid. I am updating a record set and then posting the changed records back to a cfc for a sql table update. The update of existing records is alre

  • Transport binding consuming CICS WS

    I have been trying for more than a week to consume a WebService from an IBM CICS Transaction Server. I have tried with .NET, AXIS, and XML Spy. They all work. I have editted the proxy generated (standalone and deployable) in order to more or less mat

  • Question related to Physical Data Guard (Oracle 10gR2)

    Hi, I have a question regarding Physical Data Guard in a RAC environment (Oracle 10g Release 2). Say we have 4-node RAC in production and DG is also configured for RAC but number of nodes differ in production and DG. Which node in DG will apply log f

  • How can i get Messenger to work or do i have to download parallel

    How can i get Messenger to work or do i have to download parallel