Contents of flashback and undo ?

When Flashback logs are generated would UNDO also be filed ?
Would the contents of Flashback logs and Undo Logs be the same ?
I believe undo information is stored in SGA and then the Undo Logs.

When Flashback logs are generated would UNDO also be filed ?
Its the other way around. Undo gets filled up and from there a background process, RVWR writes this content into the Flashback logs. Undo can't be retained for a very long period of time. Theoretically, there can be a very long duration but practically its impossible. That's why Oracle has given Flashback logs. The idea is that in the case, some thing terrible has gone wrong (logically) with lots of tables than rather than sitting and doing either, incomplete recovery of the database and/or Flashback for the tables one by one, which both are time consuming and error prone,its better to go with Flashback logs.
Would the contents of Flashback logs and Undo Logs be the same ?
In gernal , yes they are. But all that is contained in Undo does NOT go in the Flashback logs.
I believe undo information is stored in SGA and then the Undo Logs.
Undo is an old copy of the block change and its sent to the Undo Segment immediately when you do the block change. Undo is not required to be kept in the Buffer Cache as long as some one doesn't need to have a read consistent copy of that block which you have changed.
HTH
Aman....

Similar Messages

  • Flashback and UNDO

    I have a database with UNDO parameter "log_archive_dest" defined in the init file. When I tried to define the flashback parameter "db_recovery_file_dest" after I mounted the DB in SQL if got a "ORA-16019: cannot use db_recovery_file_dest with LOG_ARCHIVE_DEST" error message. Does using flashback mean I cannot have auto UNDO enabled in the database at the same time?

    you can use auto undo with flashback, db_recovery_file_dest will be used for archived log destination.

  • Flashback and transaction query very slow

    Hello. I was wondering if anyone else has seen transaction queries be really slow and if there is anything I can do to speed it up? Here is my situation:
    I have a database with about 50 tables. We need to allow the user to go back to a point in time and "undo" what they have done. I can't use flashback table because multiple users can be making changes to the same table (different records) and I can't undo what the other users have done. So I must use the finer granularity of undoing each transaction.
    I have not had a problem with the queries, etc. I basically get a cursor to all the transactions in each of the tables and order them backwards (since all the business rules must be observed). However, getting this cursor takes forever. From that cursor, I can execute the undo_sql. In fact, I once had a cursor that did "union all" on each table and even if the user only modified 1 table, it took way too long. So now I do a quick count based on the ROWSCN (running 10g and tables have ROWDEPENDANCIES) being in the time needed to find out if this table has been touched. Based on that, I can create a cursor only for the tables that have been touched. This helps. But it is still slow especially compared to any other query I have. And if the user did touch a lot of tables, it is still way too slow.
    Here is an example of part of a query that is used on each table:
    select xid, commit_scn, logon_user, undo_change#, operation, table_name, undo_sql
    from flashback_transaction_query
    where operation IN ('INSERT', 'UPDATE', 'DELETE')
      and xid IN (select versions_xid
                  from TABLE1
                  versions between SCN p_scn and current_scn
                  where system_id = p_system_id)
      and table_name = UPPER('TABLE1')Any help is greatly appreciated.
    -Carmine

    Anyone?
    Thanks,
    -Carmine

  • Rollback and UNDO

    Hi,
    I'm confuse about Rollback and Undo concepts, can some one explain it to me please?
    Felipe :)

    This is a copy of a previous post I made some time ago:
    There might be confusion while undo and rollback segment terms are used interchangeably in db world. It is due to the compatibility issue of oracle.
    Undo
    Oracle Database must have a method of maintaining information that is used to roll back, or undo, changes to the database. Such information consists of records of the actions of transactions, primarily before they are committed. These records are collectively referred to as undo.
    Undo records are used to:
    * Roll back transactions when a ROLLBACK statement is issued
    * Recover the database
    * Provide read consistency
    * Analyze data as of an earlier point in time by using Flashback Query
    When a ROLLBACK statement is issued, undo records are used to undo changes that were made to the database by the uncommitted transaction. During database recovery, undo records are used to undo any uncommitted changes applied from the redo log to the datafiles. Undo records provide read consistency by maintaining the before image of the data for users who are accessing the data at the same time that another user is changing it.
    Undo vs Rollback
    Earlier releases of Oracle Database used rollback segments to store undo. Oracle9i introduced automatic undo management, which simplifies undo space management by eliminating the complexities associated with rollback segment management. Oracle strongly recommends (Oracle 9i and on words) to use undo tablespace (automatic undo management) to manage undo rather than rollback segments.
    To see the undo management mode and other undo related information of database-
    SQL> show parameter undo
    NAME TYPE VALUE
    undo_management string AUTO
    undo_retention integer 900
    undo_tablespace string UNDOTBS1
    Since the advent of Oracle9i, less time-consuming and suggested way is—using Automatic Undo Management—in which Oracle Database creates and manages rollback segments (now called “undo segments”) in a special-purpose undo tablespace. Unlike with rollback segments, we don’t need to create or manage individual undo segments—Oracle Database does that for you when you create the undo tablespace. All transactions in an instance share a single undo tablespace. Any executing transaction can consume free space in the undo tablespace, and when the transaction completes, its undo space is freed (depending on how it’s been sized and a few other factors, like undo retention). Thus, space for undo segments is dynamically allocated, consumed, freed, and reused—all under the control of Oracle Database, rather than manual management by someone.
    Switching Rollback to Undo
    1. We have to create an Undo tablespace. Oracle provides a function (10g and up) that provides information on how to size new undo tablespace based on the configuration and usage of the rollback segments in the system.
    DECLARE
    utbsiz_in_MB NUMBER;
    BEGIN
    utbsiz_in_MB ;= DBMS_UNDO_ADV.RBU_MIGRATION;
    end;
    CREATE UNDO TABLESPACE UNDOTBS
    DATAFILE ‘/oradata/dbf/undotbs_1.dbf’
    SIZE 100M AUTOEXTEND ON NEXT 10M
    MAXSIZE UNLIMITED RETENTION NOGUARANTEE;
    Note: In undo tablespace creation, “SEGMENT SPACE MANAGEMENT AUTO” can not be set
    2.Change system parameters
    SQL> alter system set undo_retention=900 scope=both;
    SQL> alter system set undo_tablespace=UNDOTBS scope=both;
    SQL> alter system set undo_management=AUTO scope=spfile;
    SQL> shutdown immediate
    SQL> startup
    UNDO_MANAGEMENT is a static parameter. So database needs to be restarted.
    Reference: 10gR2 Administration Guide and Concepts
    Regards,
    Francisco Munoz Alvarez

  • Worth to use Flashback and useful?

    I'm new in oracle system design and very confused.
    In newer version of Oracle, flashback technology was introduced. If my user won't call DBA to rollback some data suddenly, what is the purpose of it?
    Even if a user want to flashback some data, there may be many data dependence or data integrity problems.
    Also, if the db_recovery_file_dest_size is not enough within db_flashback_retention_target somehow, there may be error "ORA-38700: Limit of %s flashback database logs has been exceeded" which affects the daily operation.
    Unless the size of UNDO and REDO Logs are enough, it is not worth to maintain the flashback feature, isn't it?
    Thanks in advance!

    Anothony,
    Flashback and Flashback database are two different things , made to recover from two different kind of erros. Its indeed correct to say that Flashback is related to Undo and there should be a sufficient size for the Undo to be available. But assume a situation where a logical change, for example, all teh salaries have been made to zero, will your user would wait for 4 days to come to know about it? I guess not. The default size of Undo retention, on which Flashback is based primarily , is for 900 seconds(15 minutes). If you need more bigger time frame than that, you can always go for a larget sized Undo space.
    The retention target that you have mentioned for Flashback, is NOT for the statndard Falshback but for the Flashback Database technology, a completely diffetent thing to recover or rewind the entire database which have undergone massive logical corruptions. The default for this is False that means the database is not in the Flashback mode by default. And this setting doesn't rely upon the setting of teh undo retention as a completely different process writes the records to the Flb files of the Flashback log and maintains it for the retention period that you would specify in the target parameter. This is again set to a high and almost suffificient value, 1 day, which should be enough for a db. Redo logs won't take part in the Flashback technology.
    The only feaure that you would enable explicitly is Flashback Database, rest all is by default maintained by Oracle implicitly. I don't see any good in going back to RBS in the current era. And if you are using AUM, than you are going to have Flashback technology already on for you. Yeah, you use it or not, that depends on you and on your users.
    HTH
    Aman....

  • I am trying to Show Package contents of iMovie and it freezes at the hr.lprog folder

    While doing a virus scan my machine would freeze on the file
    Applications/iMovie/Contents/Resource/hr.lprog/Title-SidewaysDrifting.nib/keyedo bjects.nib.
    Bitdefender said to send them the file.
    I am able to "Show package contents" of iMovie, and open the Contents and Resources folder. When I try to open the hr.lprog folder, I get the spinning beach vball of death and I have to reboot my machine using the power button.
    Does anyone have an idea what might be causing this and how to fix it?
    Is the hr.lprog folder just the language files for Croatia? If so, can I safely delete them, or is there more to it?

    My guess would be that your hard drive has become corrupt, and the corruption is affecting something about that folder or its contents such that when the Finder tries to display them, it crashes. I would recommend immediatelyrepairing with Disk Utility. Also, if you don't have any backups, now would be a good time to start, before something bad happens.
    If repairing the hard drive doesn't work, I would try deleting and reinstalling iMovie.
    Also, note that I don't recommend BitDefender. Read my Mac Malware Guide, and if after reading that you want to have anti-virus software, use one of the programs it recommends. BitDefender has performed poorly in my anti-virus software testing, both in the first round and the second round of testing.

  • Is Acrobat Pro right for us. We have an Employee Handbook that needs editing. Some is current pdf, some from an older version. Want to get all into one handbook, have the table of contents automatically adjust and link to specific pages from the ToC.

    Is Acrobat Pro right for us. We have an Employee Handbook that needs editing. Some is current pdf, some from an older version. Want to get all into one handbook, have the table of contents automatically adjust and link to specific pages from the ToC.

    You can download the trial version (http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html) to convert the PDF back to WORD if you do not have the original. The conversion may not be perfect, but it is typically better than starting from scratch. You may be lucky and get a good result. You might check the settings (in the save screen) to try retain format versus retain text flow. The format version can be a pain to edit since it creates a bunch of text boxes. The flow version may require you to reformat in WORD, but you likely would want to do that anyway.

  • I erroneously deleted some background icons, that now have left me with only thumbnail images, what appears when I want to enlarge is a grey circle containing a black exclamation symbol, how can I get back full function and undo my mistake

    I have erroneoulsy deleted icons repetious images from the computer which then affected my iphoto images, leaving me in some cases only with the thembnail image.   When I try to enlarge or perform any other function all that appears is a black field containing a grey circle with a black exclamation symbol( !)
    within it.  How to I get back full function of these affected images and undo my goof up.   I have tried restore, but my attempts have not proved successful. 
    Help !!!
    silvercoho

    What exactly did you do to delete these?
    How did you try to "restore" and what did you try to restore?
    Probably the only solution is to restore your backup of the iPhoto library  from before you did this
    LN

  • I live in a home with two other people, and one housemate tried to sync up his content from iTunes and iCloud onto another housemate's new iPad. the iTunes library only contains my content. is there any way to retrieve the there person's iCloud?

    i live in a home with two other people, and one housemate tried to sync up his content from iTunes and iCloud onto another housemate's new iPad. the iTunes library only contains my content. is there any way to retrieve the other person's iCloud? Can they go out of my account? Their content is saved on their iPads, but can another iCloud be on the same home computer?

    The syncing of music is one way, computer to phone. See this helpful document from a fellow user. Credit goes to the author.
    https://discussions.apple.com/docs/DOC-3141

  • How can I resize a pdf page content with annotations and highlights in Acrobat Pro?

    How can I resize a pdf page content with annotations and highlights in Acrobat Pro while maintaining page size and annotation/highlight interactivity? I've tried to use the crop tool in Acrobat Pro (9) and the page does resize, but the highlights and annotations go all over the place. I specifically need to scale the page content smaller (83%) but maintain page size and annotation/highlight to content connection and interactivity.

    An old trick (not recommended) would be to print to a new PDF with the page size selected but a scaling of the content. Only print the document, not the markup, to a new PDF. Close that PDF when done and reopen the old one (or maybe a copy of the old one for safety) and use Document Replace pages and select the new document to replace your current pages. You will then have to go back through the markup to locate it all correctly. There may be a more elegant way, but this may be the fastest.

  • Using BI Content as prototype and re-create the whole thing as custom obj

    Dear SDN fellows,
    Currently in my project I encountered the case where 1 BW system is shared by 2 source systems (R/3 and ECC6) and the master data from the 2 source systems are overlapped (eg. same material no from R/3 and ECC6 have different meaning).
    One of the suggestions is to use BI Content as prototype and re-create the whole thing as custom objects. For example:
    0MATERIAL is created as ZMATERIAL, thus all "0" objects are for ECC6 source system and "Z" objects for R/3.
    It will require enormous effort to do, and we try to automate as much as possible in every stage of development (to avoid human error as well) such as:
    u2022 Re-create all BI Content InfoObjects programmatically using BAPI functions (BAPI_IOBJ_GETDETAIL, BAPI_IOBJ_CREATE and BAPI_IOBJ_ACTIVATE_MULTIPLE). Does anyone know what function module or ABAP class to get like "Create InfoObject from template in RSA1"?
    u2022 Re-create all BI Content Transfer & Update Rules programmatically (copying and automatically changing the InfoObjects from "0" to "Z" in the mapping). We are still researching on class CL_RSAU_UPDR and function module RSAU_UPDR* for this.
    Our main worries is when re-creating the transfer & update rules, as most of the SAP complex logics are implemented here using start routines, transformation routines, formulas, rule groups, etc. Using copy-paste & find-replace the routine may not be sufficient, full understanding of the logic might be required, and there are many of them, which makes it even more difficult.
    If anyone ever did this approach before, please share how did you go about it? Thanks alot.
    regards,
    arie

    Thanks Akashdeep for your input. Yes we are aware to add 0SOURSYSTEM compounding in all master data InfoObjects to handle multiple source systems.
    We would like to get practical advice on how to do the re-creation of all BI Content objects (InfoObjects, Transfer & Update Rules, Queries, etc) in the most efficient way, probably programmatical way, to reduce the huge effort required and avoid human error if we are doing it manually.
    Also our main worries with re-creating the transfer & update rules, as most of the SAP complex logics are implemented here using start routines, transformation routines, formulas, rule groups, etc. Using copy-paste & find-replace the routine may not be sufficient, full understanding of the logic might be required, and there are many of them, which makes it even more difficult.

  • When I open FF there is no text displaying(menus, content, etc.), and most of the window is blacked out. For example... I can is the the firefox button on the t

    When I open FF there is no text displaying(menus, content, etc.), and most of the window is blacked out. For example... I can see the the firefox button on the top left corner, when I go to it the drop down list drops and there is no text, if I move down the drop down I hit where there is a slide out in that drop down and no text is there. So, to start in safe mode you need to go to the firefox button, and click on start in safe mode. I can't See safe mode or click on anything were safe mode should be.

    hello, close all firefox windows & hold the shift-key while opening firefox in order to launch it in safemode. in the first dialog just choose "continue in safemode" and go to firefox > options > advanced > general. in there disable hardware acceleration, restart firefox normally again and see if this has changed anything.
    also see [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]

  • Why do the "SAVE", "SAVE AS" and "UNDO" functions of InDesign CS6 stop working after a short time?

    Why do the "SAVE", "SAVE AS" and "UNDO" functions of InDesign CS6 stop working after a short time?

    Normally they don't. You might have some sort of problem on your system, possibly a conflict with other software, or corrupt ID prefs or application. Trashing the prefs is easy, and good place to start: Replace Your Preferences
    It will help if you tell us the OS version, whther you've installed the 8.0.1 patch, and how you are trying to access the commands, and what happens when you do. Is this isolated to one file, or does it happen with all files?

  • How do I copy and paste to my mac and undo the change attributes like I do withmy iPad. I cannot shake my mac?

    How do I copy and paste to my mac and undo the change attributes. On my ipad I can shake it and undo the change attributes but not sure how to do this on the imac? Example Excel to email and undo changes?

    Thanks for the information....It did not work,....
    I am copying information from Excel and posting it into Lotus
    It works fine in word and other application, just not in Lotus notes...
    Any other ideas?

  • SAPu2019s content server (DMS) and EDMS with ECC 5.0

    Hi all,
    I am in the process of setting up SAPu2019s content server (DMS) and would really appreciate some insights as what version I should be installing.
    We are currently running ECC 5.0 (640).
    I am also interested in utilizing the Easy DMS functionality and would also really appreciate some insight on that as well (version etc).
    Please advise?
    Regards,
    Iqbal

    Hi Iqbal,
    unfortunately I'm not a Content Server expert. From DMS point of view I would recommend you to use always the latest Content Server patch level (see SAP note 514500). For the decision on the content server I would recommend you to contact your local consulting organisation which will support you in finding the right content server for your business requirements.
    Regarding EasyDMS and the version you should use I can provide you the following suggestion. General there are currently three versions of EasyDMS which are 6.0, 7.0 and 7.1.
    If you would like to run EasyDMS on Windows 7 PCs too, then you have to use version 7.1 because only this version supports Windows 7. Otherwise I would recommend you to run the latest patch level of verison 7.0
    Further I can recommend you to read through the following notes which provide useful information on EasyDMS:
    990018 - EasyDMS 6.0 Restriction Note
    903827 - FAQ for Easy DMS 6.0
    1273919 - SAP Easy Document Management 7.0 Restriction Note
    1276709 - SAP Easy Document Management 7.0 FAQ Note
    1467697 - SAP Easy Document Management 7.1 Restriction Note
    1465763 - SAP Easy Document Management 7.1 FAQ Note
    Best regards,
    Christoph

Maybe you are looking for

  • Data1.cab not found when installing msi bluetooth

    Hi I just bought an MSI bluetooth pc2pc and when I am trying to install its software on my Windows XP, it keeps on saying to me that an error occured. The error number is 1311. It says "source file not found: E:/Blue Tooth/data1.cab. Verify that the

  • Problem in fetching data by using loop.

    Hello Friends, i have to create one report based upon item wise. Based upon item wise i have displayed Total stock qty and then item wise GRPO details with Qty data. I have created Stored procedure for this. Now i have kept one column RestQty which i

  • ArrayCollections with same data source

    Hi Everyone, Recently I got in a project which use Tree objects to visualize and manipulate objects. The data source of this object must to be the same but with different visualizations. In some views this tree will be filtered and in other places it

  • Iphoto 09 default library

    Sorry if this has been posted elsewhere.... Does anyone know if there is a way of setting up iphoto 09 for a macbook pro with mac os x 10.6.3 so that it can point to all the photos and folders stored in the mac hd/user/pictures folder. I am strugglin

  • Update plans

    Ted, Back in April '08 you said this regarding the Default Value property of a Parameter: "Current Java Reporting Component (JRC) implementation doesn't support the Default Value property." Are there any plans to include the Default Value property fo