Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 

 

11g DDL Limitations for Flashback Data Archive

Oracle 11g New Features Tips by Donald BurlesonJune 29, 2015

Oracle 11g New Features Tips

A flashback archive guarantees the capture of all changes to customer data.  Therefore, all DDL operations which would invalidate the history data are not allowed for tables with flashback archiving enabled. These operations include:

  • Dropping the table

  • Truncating the table

  • Renaming the table

  • Dropping or removing columns of the table

In the flashback archive, there is a column mapping table which is used to map columns in the history table to columns in the original table.

SYS AS SYSDBA @ orcl SQL> SELECT * FROM  lutz.SYS_FBA_DDL_COLMAP_60849; 

STARTSCN     ENDSCN XID   O COLUMN_NAME TYPE  HISTORICAL_COLUMN_NAME
----------   ------ ---   - ----------- ------  -------------------------
    910480                               COL1        NUMBER  COL1
    910480                               COL2        NUMBER  COL2

% The internal tables in the flashback archive cannot be dropped directly. They            are automatically dropped with a DROP FLASHBACK ARCHIVE statement.

% Dropping a flashback archive does not drop the tablespaces used by it. They            could also contain other data!


What's new about UNDO and transactions in 11g?

Optimized UNDO BACKUP with RMAN

Prior to Oracle database 11g, RMAN always backed up all undo with a full backup, including undo for committed transactions. However, in 11g, RMAN  is able to skip undo information for transactions which have already committed and which the undo_retention time has exceeded. RMAN can do this because the committed undo is not needed for a recovery operation. This makes backups of the undo tablespace a lot faster, though it does not have any impact on flashback operations.

% BACKUP UNDO OPTIMIZATION is an RMAN feature which is enabled            by DEFAULT  and cannot be switched off

Conclusion

As of Oracle 10g, DBAs were unable to apply undo on a whole transaction, despite advances in reading data from past points, and manually viewing undo sql with flashback table.  11g does bring the DBA the ability to flashback transaction.  Furthermore, using flashback data archive allows for UNDO data to no longer be time consuming by using dedicated tablespaces.  Due to increasing regulation of customer data in various organizations, flashback data archive offers automated transaction tracking over large spans of time.   To ensure a seamless process, in 11g startup FBDA is used automatically as a background process for flashback data archiver.  Furthermore, in 11g RMAN has also been improved when it comes to backing up, and undo commands. 

New 11g features covered in this chapter:

  • Transaction Backouts using PL/SQL

  • Transaction Backouts using OEM

  • Using Flashback Data Archive?UNDO and other 11g transactions
     
This is an excerpt from the new book Oracle 11g New Features: Expert Guide to the Important New Features by John Garmany, Steve Karam, Lutz Hartmann, V. J. Jain, Brian Carr.

You can buy it direct from the publisher for 30% off.

 

 
��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.