Query the status of flashback

Hi,
From which v$ view I can take look the status after the command =>
alter tablespace users flashback off;

Monitor flashback status
You could use v$flashback_database_log. This view shows the oldest time and SCN available for flashback, the current size of the flashback data, and the estimated flashback size based on recent workload:
SELECT retention_target "RETENTION TARGET (MINS)",
       ROUND ((SYSDATE - oldest_flashback_time) * 24 * 60, 0)
       "CURRENT RETENTION (MINS)",
       TO_CHAR (oldest_flashback_time,
            'DD-MON-YYYY HH24:MI:SS') "OLDEST FLASHBACK TIME",
       ROUND (flashback_size / 1024 / 1024, 1)
       "FLASHBACK SIZE (M)",
       ROUND (estimated_flashback_size / 1024 / 1024, 1)
            "ESTIMATED FLASHBACK SIZE (M)"
FROM   v$flashback_database_log;
                 CURRENT                                  ESTIMATED
    RETENTION  RETENTION OLDEST                FLASHBACK  FLASHBACK
TARGET (MINS)     (MINS) FLASHBACK TIME         SIZE (M)   SIZE (M)
          120        178 21-FEB-2007 16:21:54     1339.1     2001.9 ~ Madrid.

Similar Messages

  • Help with sql query the status of  A/P Reserve Invoice

    Hi,
    I am trying to write a query which lists all A/P Reserve Invoice info with OPEN status.
    I check the OPCH table and cannot find the rule to tell the status.
    The "DocStatus" field has two values only: 'O' for open and 'C' for closed.
    However, the status of A/P Reserve Invoice are OPEN, CLOSED, DELIVERED, PAID, etc.
    I try to use DocStatus field to filter, but the result does not match what I see in SAP.
    Could you please give me some hints about how to get the data I need? Thank you.
    Best regards,
    Sylvia
    Edited by: csylvia on Jun 23, 2011 5:54 AM

    Hi Darius,
    Thanks for your reply.
    However, I don't know what is the relationship between Purchase order and A/P Reserve Invoice.
    Do you mean using "SELECT T0.DocEntry FROM OPCH T0, OPOR T1 WHERE T0.DocNum = T1.DocNum AND T1.DocStatus = 'O';" to query the A/P Reserve Invoice data with OPEN status?
    But the result is not what I want.
    The result of "*SELECT * FROM OPOR WHERE DocStatus = 'O';*" is also not.
    I'd like to query A/P Reserve Invoice list with OPEN status, and I try the following sql query:
    SELECT DocEntry FROM OPCH WHERE DocStatus = 'O' AND InvntSttus = 'O';
    The result is close to what I need, but it's not exactly correct.
    Moreover, I don't think the sql query conditions is accurate.
    Please give me some advice. Thank you.
    Best regards,
    Sylvia

  • How to query the status of disk groups in specific time?

    Dears,
    While trying connect to database , i faced ORA-00257:archiver error. Connect internal only, until freed.
    Also found in alert file ORA-15041: diskgroup space exhausted
    And found in ASM alert file WARNING: allocation failure on disk DG_DATA_0002 for file 357 xnum 2147483648
    I expected from above errors that the problem in ASM Disk groups or in file system space.
    After checking, found every thing is fine and OK as i have much free space.
    And when i tried after some time to connect to database, it connected successfully without errors.
    It means that the problem not in space,may be the status of disk groups became invalid for some time
    Appreciate your advise. And how can i know the status of disk groups in specific time?
    Thanks & Regards,,

    Hi All,
    We got another idea to create new template and use it as "Current Default Workbook".
    Then it is showing latest date as we changed one of the Text element from "Display Status of Data" to "Display status of Data To".
    But the this change is showing to my user id only but not to the other users.
    We are selecting the tick mark for "Global Default Workbook", but this tick mark is going away after each refresh. I think if this tick mark is holds permanently, my problem will solve.
    Please suggest me if you have any ideas to resolve this issue....

  • How can I query a https website used to display the status of an application using Powershell?

    Need assistance on querying the status of an application using Powershell. The status of the application is displayed in a https website. I want to receive a notification when one of the listed applications fails.
    Below is an example the failures I need to capture.
    h-t-t-p-::://xpps2.xxcom/ssol/sSOLStatus.asp?autorun
    SSOL Status
    Current App Server: xpps2.xx.com
    SQL Server Details: 
    SSS_MyAccount DB Connection: PASS
    SSS_MyAccount DB Query: PASS
    CAGWEB DB Connection: FAIL - Unable to Connect
    CAGWEB DB Query: FAIL - Pay location not found
    DB2 Server Details:
    DB2 D Connection: PASS
    DB2 Q Query: FAIL -Acct not found
    DB2 X Query: PASS
    DB2 N Query: PASS
    DB2 S Query: PASS
    DB2 K Query: PASS
    DB2 I Query: PASS
    Mitem Server Details:
    MITEM server: MITEMP2
    MITEM Total Devices: 10
    MITEM Devices Lines Up: 10
    MITEM Devices Logged In: 10
    MITEM Devices In Use: 0
    Mitem Server Status: PASS
    Web Service Details:
    SAW Web Service Status: FAIL
    Maximo Vizcaino

    thats where you are going to check what it is supposed to be.
    lets say your page shows as SSOL Status : running  you
    probably want to use "if($totalstrng.ToLower().contains("ssqlL status
    : running"))". its
    checking if the html page contains the string you are looking for.
    you might want to print $totalstrng
    and see what you need to look for.
    usign XMLHttp
    or XML object  as mentioned by JRV might be easier and faster way.

  • Query connector status

    Hi folks,
    Can anyone tell me how to query the status of a connector via either Powershell or SDK?
    I can find pretty much everything except for:
    a)Start time
    b)Finish time
    c) is running?
    Many thanks
    Steve

    You're looking for a connector's "SyncStatus" object.
    SyncStatus objects are related to each connector. They keep track of start/end times and current status.
    The class name is "Microsoft.SystemCenter.LinkingFramework.SyncStatus"
    The relationship class between the connector object and the sync status object is "Microsoft.SystemCenter.LinkingFramework.DataSourceHostSyncStatus"
    Here's a quick line of C# to get the sync status object related to your connector:
    //Connect to your management group
    EnterpriseManagementGroup emg = new EnterpriseManagementGroup("myGroup");//Get the relationship we'll need
    ManagementPackRelationship relDataSourceHostSyncStatus = emg.EntityTypes.GetRelationshipClass(new Guid("1548950D-6CEA-D9C1-11EC-53701FBCBBEC")); //Microsoft.SystemCenter.LinkingFramework.DataSourceHostSyncStatus
    //Get your connector from the connector framework. Your Id is a Guid (you may have to look it up in the MT_Connector table in SQL, unless you already know it)
    EnterpriseManagementConnector emcMyConnector = emg.ConnectorFramework.GetConnector(new Guid("<my connector's Id>"));
    //Get all related sync status objects via the DataSourceHostsSyncStatus relationship
    IList<EnterpriseManagementObject> lstSyncStatus = emg.EntityObjects.GetRelatedObjects<EnterpriseManagementObject>(emcMyConnector.ConnectorObject.Id, relDataSourceHostSyncStatus, TraversalDepth.OneLevel, ObjectQueryOptions.Default);
    //Get the sync status object from the returned list..there should only be one sync status object per connector.
    EnterpriseManagementObject emoSyncStatus = null;
    foreach(EnterpriseManagementObject emo in lstSyncStatus)
    emoSyncStatus = emo;
    After you have your sync status object, you can see the "LastRunStartTime", "LastRunFinishTime", "SyncPercent", and "Status". Status is an enumeration with values like "Running, finishedsuccess, neverrun, unknown,
    funishedwitherror, and runningwitherror"
    Example:
    ManagementPackClass mpcSyncStatus = emg.EntityTypes.GetClass(new Guid("2D4AFD51-D2FF-92C6-266F-2B6060000DAE")); //Microsoft.SystemCenter.LinkingFramework.SyncStatus
    Console.Writeline(emoSyncStatus[mpcSyncStatus,"LastRunStartTime"].Value.ToString());
    Console.Writeline(emoSyncStatus[mpcSyncStatus,"LastRunFinishTime"].Value.ToString());
    Console.Writeline(emoSyncStatus[mpcSyncStatus,"Status"].Value.ToString());
    Console.Writeline(emoSyncStatus[mpcSyncStatus,"SyncPercent"].Value.ToString());
    Note that the .Value.ToString() calls will fail if Value is null..always check to see if the value has something in it :)

  • Checking the status of the insert query in JSP

    frendz,
    i am working with JSP .i have some content to be inserted in the database.i have used the insert query in SQL for that.i am able to check whether it has been inserted properly in the SQL but i want to check the status of the insert query with its return value(so that i can confirm it does not return a error).so please help.

    The Statement#executeUpdate() returns an int with the row count. Get hold of it.
    Also see the Statement API: http://java.sun.com/javase/6/docs/api/java/sql/Statement.html
    Apart from this, I recommend you to use PreparedStatement instead. It will not only ease setting Java objects in a query (no hassle anymore with quotes), but it will also prevent you from SQL injections.
    Prepare here: http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html
    SQL injections: http://en.wikipedia.org/wiki/SQL_injection

  • Workflwow query to know the status of the PO, Action, performed by

    can any one help me to get the workflow query to know the status of the PO, Action, performed by. or the table which can show the Action, Performed by.
    please help me with action history table
    Edited by: user11309801 on Jun 20, 2010 1:13 AM

    Not sure what workflow has to do with PO action history, but pl see if MOS Doc 394787.1 (How to Tell What had been Changed and Who had Made the Changes to a Purchase Order?) can help.
    HTH
    Srini

  • OIM sql Query for getting the status of the task which got failed

    Hi Everyone,
    We have a requirement like we need to get the status of a particular task(say Create User in OID resource - Completed\Rejected status) for the particular user.We are able to get the status of the resource provisioed to the user but not the status of the particular task getting trigerred for the user.can someone put some light on this.We need to get the SQL query for this.
    Thanks in Advance.
    Regards,
    MKN

    Hi
    Use this sample query to get the task status, also check the cooments
    SELECT USR.USR_LOGIN, OSI.SCH_KEY,SCH.SCH_STATUS,STA.STA_BUCKET FROM
    OSI,SCH,STA,MIL,TOS,PKG,OIU,USR,OBJ,OST
    WHERE OSI.MIL_KEY=MIL.MIL_KEY
    AND SCH.SCH_KEY=OSI.SCH_KEY
    AND STA.STA_STATUS=SCH.SCH_STATUS
    AND TOS.PKG_KEY=PKG.PKG_KEY
    AND MIL.TOS_KEY=TOS.TOS_KEY
    AND OIU.USR_KEY=USR.USR_KEY
    AND OIU.OST_KEY=OST.OST_KEY
    AND OST.OBJ_KEY=OBJ.OBJ_KEY
    AND OSI.ORC_KEY=OIU.ORC_KEY
    AND OBJ.OBJ_NAME='AD User'
    AND OST.OST_STATUS = 'Provisioning' -- filter accordinglly
    AND STA.STA_BUCKET = 'Pending' -- filter accordinglly
    AND PKG.PKG_NAME='AD User' -- filter accordinglly
    AND MIL.MIL_NAME='System Validation' ---- filter accordinglly
    Thanks,
    Kuldeep

  • How to Query the Employment Status of an Employee in Time Evaluation

    Hi SAPGurus,
    Does any one have an idea as to how to query an employee's Employment Status in Time Evaluation.
    Looking forward to hear from you soon.
    Regards,
    Aslam

    Arun,
    Thanks, for your reply. I was looking for a way to query the Field: P0000-STAT2 ie: employment status in Time Evaluation. I am aware of the way I can query an employee's Time management status ie: P0007-ZTERF. Would be great if you know a way to query it in Time Evaluation.
    Thanks Again.
    Regards,
    Aslam

  • To know the status of activation of Infoproviders, Query etc--

    Hi,
    How we can know the status of BI objects such as Infocubes,queries, process chains and so on whether they are activated or not?
    what happens if u  by mistake reinstall the object of already in activation state?
    Raj

    hi
    when we open the objects like info object, cube dso pc's etc .. its shows the status of  objects like activte or new or modify
    if it is alredy install, again re-install its over write the existing.
    we all are know while install oe object its create a copy of object, while re-install its only over write
    i think tis helps u
    Regards,
    SRINIVAS

  • How to find the status of package (valid/invalid) was at a particular time

    How to find the status of package (valid/invalid) was at a particular time ?
    I want to find the status of one oracle package at 3pm yesterday. The status of this package today is INVALID.
    I am sure it was VALID yesterday. But no way to prove it. Can any one help please???
    I can generate AWR report for last 7 days...

    Try using a flashback query, like this:
    select object_name, object_type, status
    from dba_objects AS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL '18' HOUR)  -- 18 hours ago
    where object_name = 'MY_OBJECT'
    ;if you haven't granted FLASHBACK privs, you may need to connect as SYS to do a flashback query on a data dictionary table.
    But this should give you the info you need - if it's still in undo.

  • Delivery Document has been created - showing the status of Being Processed.

    Hi All.
    I am facing the following typical problem.
    1. Sales order has been created - showing the status of COMPLETED.
    2. Delivery Document has been created - showing the status of Being Processed.
    3. Goods Issue document created successfully- showing status as COMPLETE
    4. Billing Document has created successfully - showing the status as COMPLETED.
    5. Customer Account got updated properly.
    Query: Despite of completion of SO, DELIVERY, GOODS ISSUED, AND BILLING DOCUMENT u2013 and accounting document is cleared why the outbound Delivery document status is showing as BEING PROCESSED.
    If I go T-code Vlo3n see document flow
    Delivery 5080789885 being processed.
    Go to VF03 document flow also it is showing
    Delivery 5080789885 being processed.
    Aditya

    Hi ALL,
    Further to my query I would like to clarify the following:
    It is happening since 2004 all Bom components status (Delivery being processed) all the BOM main items header status is showing completed.
    It not impacting the business, but suddenly user raise query SO, DELIVERY, GOODS ISSUED, AND BILLING DOCUMENT completed why still delivery showing as being processed.
    1. I have checked at SO level -- all the line items were delivered. ie: delivery, goods issue, billing completed.
    2. I checked the Header Level data completed and Item Level data being processed.
    3. If I look into the each item level also it is showing as being processed.
    4. Even the SALES ORDER HEADER LEVEL showing the status of Completed.
    5. Removed credit check in delivery.
    The only issue is OUTBOUND DELIVERY DOCUMENT: Status alone it is showing as ' Being Processed' -- surprisingly!
    Aditya.

  • Change the status of a form

    Hi All,
    Can anybody tell me how to change the status of the form?
    I want to exit the form with out committing the changes when the user click a button,
    For it...
    EXIT_FORM(NO_COMMIT);
    will do but, only when the form is not in a query mode.
    How do I change the status of the form or do something so that I can exit the form when I click the button irrespective of the form mode?
    Thanks,
    Naren.

    You don't need to change the status, you just need to ignore it. Try:
    exit_form(NO_VALIDATE)
    Oracle Forms exits the current form without validating the changes, committing the changes, or prompting the operator.

  • Flashback query works, but not flashback versions query

    This is a test database (Oracle10g 10.1.0.5), not in archivelog mode. I deleted one row 2 hours ago. I can still use flashback query:
    select * from tm_instances as of timestamp to_timestamp('STARTTIME_HERE') to view this row. But I can't use the following flashback versions query:
    SELECT versions_startscn, versions_starttime,
    versions_endscn, versions_endtime,
    versions_xid, versions_operation from tm_instances VERSIONS BETWEEN TIMESTAMP to_timestamp('STARTTIME_HERE') and MAXVALUE
    It gave the following error:
    ORA-30052: invalid lower limit snapshot expression
    So I guess flashback query works better than flashback versions query?
    undo_retention is set to 900 by default here.
    Thanks,
    Hai

    currently function returns all mydate rows, i just want mydesired date rowsCheck if there is a column in the table with the same name as the function parameter. It's the most probable reason of such DML operations behaviour in PL/SQL procedures and function.
    Rgds.

  • Finding the status of PO

    Hi All,
    Can anyone please help me to frame a query to find out the status of a PO.
    I can see the following fields related to status in PO_HEADERS_ALL table -
    OTM_STATUS_CODE
    AUTHORIZATION_STATUS
    STATUS_LOOKUP_CODE
    FIRM_STATUS_LOOKUP_CODE
    EDI_PROCESSED_STATUS
    But which field indicates the status of PO, can anyone help me with this.
    Regards,
    Shruti

    Can anyone please help me to frame a query to find out the status of a PO.
    I can see the following fields related to status in PO_HEADERS_ALL table -
    OTM_STATUS_CODE
    AUTHORIZATION_STATUS
    STATUS_LOOKUP_CODE
    FIRM_STATUS_LOOKUP_CODE
    EDI_PROCESSED_STATUS
    But which field indicates the status of PO, can anyone help me with this.11i: http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=PO_HEADERS_ALL&c_owner=PO&c_type=TABLE
    R12: http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=PO_HEADERS_ALL&c_owner=PO&c_type=TABLE
    Thanks,
    Hussein

Maybe you are looking for