Use of LOG MINER - VERY URGENT

Hello,
I have a situation:
I want to recover the database till Friday (Last week).
I am ready to loose the data of Sat/Sun/Mon and Tuesday.
In other words, I need to get the Friday's database state. I have backups of last 30 days. My database is running in archivelog mode.
Can I use the LOGMINER to go back to the Friday's state? If yes then HOW? I have never used the Log miner neither I have been involved in the recovery, so pleaes guide me!!!
If anyone knows the answer and the methodology can they suggest it to me? It will be a greate help!!!!
Thanks in advance.
Himanshu

Hi,
you got it wrong as you think that you will able to go back on friday's database state through logminer.i would say that logminer is used to get the information from the redo log as it got the historic changes about the database,so log miner is used for variety of purposes.
1.the cahnges made to the database (insert,update,delete,ddl)
2.the scn at which the changes were made.
3.the scn at which the changes were commited.
4.the name of the user who issued the the changes etc.
so you can get these information by using log miner either throgh command based utility or oem.log miner gives you a pin point information.assume that if you don't know the time and name of the dropped table what would you do to get around these sort of problem.
you can do one thing with log miner is that you cab get scn no of corrosponding changes which dropped the table.
and you can restore your database prior to thaat scn no.
suppode you get the scn no abc of that changes.
then
run {
set until scn (the no u get through log miner );
restore database ;
recover database ;
you get the disired state of database which you willing to accomplish.
i still feel that your one question remain unanswerd.in which is you saying that i diden't recieve the media failure and your database is still up and running smothly.
so dear i would love to tell you if want to performa theses sort of recoveries then you need to restore your database this is mendetory.the reason is "trancation activity can only be rolled forward to desired time not rolled back to desired time this is why you need to restore all your database files to back in desired time."
thanks..

Similar Messages

  • Problem in JDBC , when using LIKE operator. - VERY URGENT

    Problem in JDBC , when using LIKE operator.
    LINE 1 : String temp = "AA";
    LINE 2 : String query = "select * from emp where EMPNAME like '*temp*' ";
    LINE 3 : Staement st = con.createStaement();
    LINE 4 : ResultSet rs = st.executeQuery(query);
    '*' character is not getting evaluated. In MS ACCESS2000 only * is accepted instead of '%'. Moreover in MS ACCESS the like operator has to be used within double quotes as a String. whereas in other databases, it accepts single quotes as a String.
    Ex:
    In MS ACCESS
         select * from emp where ename like "*aa*";
    Other Databases
         select * from emp where ename like '%aa%';
    In my situation iam passing a Variable inside a like operator and '*' is used.
    For the above Scenario, Please help me out.
    If possible Kindly let me know the exact Syntax.
    Please give me the answer as LINE1,LINE2,LINE3,LINE4,
    I have verified in JDBC Spec also, it has been specified to use escape sequence.that too did not work.
    Due to this, My project is in hold for about 4 days. I could not find a suitable solution.
    Please help me out.

    I made a LIKE clause work with M$ Access, using PreparedStatement and the % wildcard:
                escapeStr                   = "%";
                String sql                  = "SELECT USERNAME, PASSWORD FROM USERS WHERE USERNAME LIKE ?";
                PreparedStatement statement = connection.prepareStatement(sql);
                statement.setString(1, ("user" + escapeStr));
                ResultSet resultSet         = statement.executeQuery();
                while (resultSet.next())
                    System.out.println("username: " + resultSet.getObject("USERNAME") + " password: " + resultSet.getObject("PASSWORD"));

  • How to use Embedded browser in Java using Linux Platform?(Very urgent.....)

    Hi,
    I'm trying to use the embedded browser in Linux, but it fails with the following error:
    Can't execute the native embedded browser. Error message:
    when I use it on a Windows machine, it works fine.
    i get this
    org.jdesktop.jdic.init.JdicInitException: java.lang.UnsatisfiedLinkError: no jdic in java.library.path
    at org.jdesktop.jdic.init.JdicManager.initBrowserNative(Unknown Source)
    at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
    at netsim.NetSimBasics.<init>(NetSimBasics.java:40)
    at netsim.NetSimBasics.main(NetSimBasics.java:64)
    Caused by: java.lang.UnsatisfiedLinkError: no jdic in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1030)
    at org.jdesktop.jdic.init.InitUtility.<clinit>(Unknown Source)
    ... 4 more
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no jdic in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1030)
    at org.jdesktop.jdic.browser.internal.WebBrowserUtil.<clinit>(Unknown Source)
    at org.jdesktop.jdic.browser.MsgClient.<init>(Unknown Source)
    at org.jdesktop.jdic.browser.NativeEventThread.<init>(Unknown Source)
    at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
    at netsim.NetSimBasics.<init>(NetSimBasics.java:40)
    at netsim.NetSimBasics.main(NetSimBasics.java:64)

    use JComboBox
    JComboBox liste = new JComboBox(new Object[]{"azerty","qwerty});the api documentation :
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JComboBox.html
    the turotial on combobox :
    http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html

  • CAN ANY BODY EXPLAIN THESE QUESTIONS, VERY URGENT

    WHAT IS THE USE OF CHAPTER ID, IN CHAPTER ID RATES    WILL  BE   DETERMINES.
    HOW MANY TAX CODES NEED CST, LST.
    WHERE CAN I SEE EXCISE REGISTER
    WHAT IS MEANT BY RG1 CAN ANY BODY EXPLAIN BRIEFLY, WHAT IS THE USE OF RG1
    HOW DO I GET OPENING BALANCE FOR EVERY MONTH.
    IN DEPOT SALES, IF CREATING  EXCISE INVOICE A CERTIFICATED WILL ISSUE, IN A CERTIFICATE WHICH FIELDS WILL BE THERE.
    WHAT IS MEANT BY JURISDICTION CODE & COUNTY CODE.
    IN SD FACTORY SALES WHICH A/C ENTERIES GENERATED.
    CAN ANY BODY EXPLAIN THESE FORMS, WHICH SITUATION THESE FORMS WE ARE USING.  I NEED VERY URGENT.
    a) A form
    b) D form
    c) C form
    d) H form
    e) DDP form
    f) TR6 form
    g) D3 form.
    H) ARE.
    I) ARE 1
    j) ARE 2
    IN DEPOT SALES PRICING PROCEDURE JFACT, WHICH CONDITION TYPES  WILL COME,
    IN FACTORY SALES PRICING PROCEDURE JFACT, WHICH CONDITION TYPES WILL COME
    NOW WHAT IS THE VAT TAX.
    what is the use of common distribution channel and common divisions
    PLS FORWARD ANSWERS TO THIS MAIL ID.
    i hope that definitely people will help
    thanks every body.

    Dear vara prasad
    You can take it for granted if you post so much questions in one thread like this, nobody will answer / clarify you.
    So please make one thread per question.
    Meanwhile, just I would like to clarify for few questions
    1)  The most important feature of chapter id is that based on this chapter id which you maintain in "Excise Tax Rate",  all your excise tax rates will be flowing into your sale order / billing
    2) If the rate of tax differs, then you need to maintain a separate tax code.  For example, the LST / VAT in some state is 4%, and in some state it is 12%.  So in this case, you need to maintain two tax codes
    thanks
    G. Lakshmipathi

  • Log miner utility

    Hi
    How do i use the log miner utility to retreive the information from the generated archive logs?
    Imran

    Finf the below output.
    SQL>EXECUTE DBMS_LOGMNR_D.BUILD( -
    DICTIONARY_FILENAME =>'dictionary.ora', -
    DICTIONARY_LOCATION => '/oracle/utl/');> >
    PL/SQL procedure successfully completed.
    SQL>
    EXECUTE DBMS_LOGMNR.ADD_LOGFILSQL> E( -
    LOGFILENAME => '/oracle/oradata/arch/1_61_715193506.arc', -
    OPTIONS => DBMS_LOGMNR.ADDFILE);
    >>
    PL/SQL procedure successfully completed.
    SQL> BEGIN
    DBMS_LOGMNR.start_logmnr (
    options => Dbms_Logmnr.DDL_Dict_Tracking);
    END;
    SELECT OPERATION, SQL_REDO, SQL_UNDO
    FROM V$LOGMNR_CONTENTS
    WHERE SEG_OWNER='SIFON';
    no rows selected
    I have deleted few rows and created logs manually. But it does not shows any rows. Did i left any steps. pls help me.

  • Very Urgent: Deleting Batch from STO and Goos Issue reversal  Using BAPI

    Hi,
    I want to delete outbound delivery for particular shipment number and this should be done using BAPI or a FM not using the tcode VL02N.
    I wld be very grateful
    Please List out the BAPI 's or FM that can be used for to perform these listed , with using Tcodes:
    1) REVERSE BILLING DOCUMENT(VF11)
    2) GOODS ISSUe REVERSAL (VL09N)
    3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
    4) DELETING DELIVERY(VL02N)
    5) REMOVE BATCH FROM STO (ME22N)
    Its very urgent..
    Thank you in advance....

    1) REVERSE BILLING DOCUMENT(VF11)
    BAPI_BILLINGDOC_CANCEL
    2) GOODS ISSUe REVERSAL (VL09N)
    BAPI_GOODSMVT_CANCEL
    3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
    BAPI_SHIPMENT_CHANGE
    4) DELETING DELIVERY(VL02N)
    5) REMOVE BATCH FROM STO (ME22N)
    BAPI_PO_CHANGE

  • How to enable RFC and how to use it in Report..please tell its very urgent

    Dear Techie's,
    Please tell its very urgent..
    How to enable RFC and how to use it in Report. ??
    Virendra

    hi,
    pls chk any of these links.
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    rgds
    Anver

  • How use class file in jsp(very urgent)

    i have class file called birds (birds is actually a xslt file transformed to java class file) now this class file i have to use in my jsp file. how can i use them. if possible can any one give me sample code please very urgent
    can any one help me

    java files
    import org.w3c.dom.*;
    import javax.servlet.http.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import java.io.*;
    public class XmlParser
         public String XmlParser()
              try
    String strXML= "employee.xml";
                   String xslFile = "employeeId.xsl";
                   TransformerFactory tFactory = TransformerFactory.newInstance();
                   StreamResult theTransformationResult = new StreamResult( new ByteArrayOutputStream() );
                   Transformer transformer = tFactory.newTransformer(new StreamSource(xslFile));
                   transformer.transform(new StreamSource(new StringReader(strXML)), theTransformationResult);
                   String output = theTransformationResult.getOutputStream().toString()
              catch(Exception e)
                   System.out.println(" ***** XmlParser.XmlParser ERROR ***** " + e);
    return output;
    using class files in jsp
    <%@ page import="com.qqqq.aaaa.XmlParser"%>
    <%
         XmlParser xmlParser          =     new XmlParser();
    out.println(xmlParser.XmlParser());
    %>
    i think it will help you.

  • How to use a DropDownList in Java Swing.Its very very Urgent

    Hi Sir,
    Here i need to know how to do (or) create a dropdownlist by using Java Swing.I know that there is JMenuBar & JMenuItems without using that when i click a JButton for example the dropdownlist should come from the top to bottom.I have already posted this quesion once.And i found that it has been removed.So i hope that this time i will get a better answer.Pls.do provide the code as well sir.So that i will be very thankful to u.Since i am involved in a project which contains this
    feature.It is very very Urgent.So pls.do provide the code i will be waiting for the reply.
    Thanx,
    m.ananthu

    use JComboBox
    JComboBox liste = new JComboBox(new Object[]{"azerty","qwerty});the api documentation :
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JComboBox.html
    the turotial on combobox :
    http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html

  • Capex budget using Internal Oder  - very urgent

    Dear All
    My requirement is to use statistical internal order to control the capex budget. I have created stat order , activated commitment management, availability control. and assigned order number in asster master.
    But the problem is when creating purchase requisition the system should be a warning or information as per the availability control . to do this what should i do ?
    Please respond .. its very urgent for me
    regards
    Venkat

    Thank you Sridevi and Murali for the responses .
    I want to do the aquisition of fixest asset using  PR-PO-MIGO-MIRO . The system should react as per the available budget by giving warning / error  at the time of PR itself. one more thing is i need not give order nuber in PR or PO as suggested by Murali . The system deriving IO number from the Asset master.
    Now its working perfectly .
    Now i found the reason for not working earlier  .
    I have done all the settings relating to Order type, Budget Profile , Availability Control every thing .
    I have not done the following setting in the asset module :
    In order for you to be able to makes this automatic statistical posting, all of the following must apply:
    •     The acquisition transaction types in Asset Accounting have to be designated as relevant to the budget.
    •     The APC asset balance sheet accounts have to be defined as statistical cost elements.
    •     The APC asset balance sheet accounts have to have a field status definition that allows additional account assignment to orders or WBS elements.
    I have rectified the above now . I hope this will help others who have the same requirement
    best regards
    Venkat

  • Very Urgent..How to create a report Using SQ01 and Sq02.

    Hi Friends,
    It's very urgent.pl help  me in generating a report using SQ01 and SQ02.
    Help is appreciated.
    thanks In advance.
    Regards,
    Nanditha.

    Check out these links...
    http://www.insightcp.com/res_15.htm
    http://www.ams.utoronto.ca/Assets/output/assets/adhoc_2990830.pdf.pdf
    Also, do basic search in this forum...you will find a lot of threads related to this.
    SKR

  • Splitter operator doesnt use multi table inserts in OWB...very very urgent

    Hi,
    I am using OWB 9i to carry out tranformations. I want to copy the same seuence numbers to the two target tables.
    Scenario:
    I have a source table source_table, which is connected to a splitter and the splitter is used to dump the records in two target tables namely target1_table and target2_table. I have a sequence which is also an input to the splitter, so that I can have the same sequence number in the the two output groups of he splitter. I then map the sequence number from the two output groups to the two target tables expecting to have the same sequence number in the target tables. But when I see the generated code it creates two procedures and effectively inserts sequencing numbers in the target tables which are not consistent. Please help me so that I have the same sequencing numbers in the target tables which are consistent.
    Well the above example works in row based operating mode but not in set based mode. Please give me a valid explanation.
    OWB pdf says that splitter uses multi table inserts for multiple targets. After seeing the generated code for set based operations I dont agree to this.
    Its very urgent.
    thanks a lot in advance.
    -Sharat

    Hi Mark,
    You got me wrong, let me explain you the problem again.
    RDBMS oracle 9.2.0.4
    OWB 9.2.0.2.8
    I have three tables T1,T2 and T3.
    T1 is the source table and the remaining two tables T2 and T3 are target tables.
    Following are the contents of table T1 -
    SQl>select * from T1;
    DEPTNAME LOCATIO?N
    COMP PUNE
    MECH BOMBAY
    ELEC A.P
    Now I want to populate the two destination tables T2 and T3 with the records in T1.
    For this I am using splitter operator in OWB which is suppose to generate multi table inserts, but unfortunately its not doing so when I generate the SQL. There si no "insert all" command in the sql it generates.
    What I want is, when I populate T2 and T3 I use a sequence generator and I want the same sequences for T2 and T3 eg.
    SQl>select * from T2;
    NEXT_VAL DEPTNAME LOCATIO?N
    1 COMP PUNE
    2 MECH BOMBAY
    3 ELEC A.P
    SQl>select * from T3;
    NEXT_VAL DEPTNAME LOCATIO?N
    1 COMP PUNE
    2 MECH BOMBAY
    3 ELEC A.P
    I am able to achieve this when I set the operating mode to ROW BASED. I am not geting the same result when I set the operating mode to SET BASED.
    Help me....
    -Sharat

  • How to use SIMPLE CDC log MINER in ODI ?

    Can you please let me the step to do the simple cdc using log miner

    ya that link only tells us about consistent set journalizing . i want to know how to do simple journalizing using log miner ?
    when we import the JKM Oracle 11g Consistent (LOGMINER) . we can select in the KM if we want to use simple set or consistent set
    I am getting an error at the lock Journalizing step .
    update     schema_name.J$S_TRG
    set     JRN_CONSUMED = '1'
    where     (1=1)
    AND JRN_SUBSCRIBER = 'SUNOPSIS' /* AND JRN_DATE < sysdate */
    i check the J$S_TRG table it does not have the jrn_consumed and jrn_subscriber column names in it .
    error message
    904 : 42000 : java.sql.SQLException: ORA-00904: "JRN_SUBSCRIBER": invalid identifier

  • Update Equipment BOM using Function module (very urgent)

    Hi All,
    I am an ABAPER and trying to update equipemnt BOM.
    I want to update equipment BOM using a function module. I am currently using 'CSAI_BOM_MAINTAIN' function module. But i am not able to update the Equipment BOM. After function call the sy-subrc value is 0, even though the BOM is not updated.
    Please help its very urgent.
    Kind Regards,
    Sharat.

    Hi Sharat,
    I am facing the same problem. Could you please let me know what might be the reason.
    Plz mail me at [email protected]
    Plz update this section once u have mailed the answer.
    Thanks a lot in advance.
    Regards,
    Himanshu

  • Swings using FORTE- very urgent

    hi all..
    i want to know is forte is still used to develop swing applications?
    'cz i need to develop swing applications using forte..
    is forte reasonable for developing swings??
    plzz let me know the answers for this as it is very urgent for me..
    waiting for your favourable response..
    plzz mail me to [email protected]
    thanks in advance
    raj

    Forte is fine but the default folder it starts in depends on where it was loaded from. For Windows, the current folder will be the
    %FORTE_HOME%\bin folder or whatever was set in the shortcut.
    Workaround: create a new project and mount a new folder (directory if you like). Then close Forte and make a new Shortcut with the Start In field set to the project's home folder. Use the shortcut to start Forte.

Maybe you are looking for

  • Is it possible to have Flash open the menu when you right click a link?

    I'm using sIFR 3 on a few of my websites. Personally I think it's a really cool and nice solution. I have had no issues with it so far except what I've recently discovered. When you right click on a link (or control click on a mac) it should have the

  • Difference between Oracle 10g 64 bit /Oracle 10g 32 Bit Windows

    Hi all We are using 10g Oracle 32 Bit windows as well as Oracle 10g 64 Windows at some installations. Now we tested these two systems in our office for Testing purpose on two similar machines i.e Intel i3 with 4 GB RAM. Database size approx 4GB We ha

  • Multiplication result incorrect

    Hi, Following code is not giving correct result in user exit: CONSTANTS:          LC_DCM      TYPE RV45A-BTGEW VALUE '5000.000',          LC_FACTOR TYPE RV45A-BTGEW VALUE '0.970'. DATA: LV_DCM_CAPCTY TYPE RV45A-BTGEW. CLEAR LV_DCM_CAPCTY.          LV

  • License file missing exception while starting managed server

    Hi, I am trying to start a managed server on the same machine as the adminstration server. There are no problems starting the admin server but when we try to start the managed server , we get a "Missing License File" exception. The license file is va

  • FRM-40039 Error

    I am getting an FRM-40039 Message "Cannot attach library Ofg4tel while opening Form ......... The library is in the path......Works for Developer, not to a deployed work station........I took over for another developer, so I'm new at deployment.....w