Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
In this session, I will cover under-the-hood features that power Oracle Real Application Clusters (Oracle RAC) 19c specifically around Cache Fusion and Service management. Improvements in Oracle RAC helps in integration with features such as Multitenant and Data Guard. In fact, these features benefit immensely when used with Oracle RAC. Finally we will talk about changes to the broader Oracle RAC Family of Products stack and the algorithmic changes that helps quickly detect sick/dead nodes/instances and the reconfiguration improvements to ensure that the Oracle RAC Databases continue to function without any disruption
Oracle RAC 19c - the Basis for the Autonomous DatabaseMarkus Michalewicz
Oracle Real Application Clusters (RAC) has been Oracle's premier database availability and scalability solution for more than two decades as it provides near linear horizontal scalability without the need to change the application code. This session explains why Oracle RAC 19c is the basis for Oracle's Autonomous Database by introducing some of its latest features, some of which were specifically designed for ATP-D, as well as by taking a peek under the hood of the dedicated Autonomous Database Service (ATP-D).
The document describes managing the Oracle Automatic Storage Management (ASM) instance. It discusses initializing and starting the ASM instance, creating and dropping ASM disk groups, adding and removing disks from disk groups, and retrieving ASM metadata. The key benefits of ASM include eliminating tasks such as file system management and performance tuning of storage.
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesMarkus Michalewicz
This document outlines an agenda for a presentation on Oracle Real Application Clusters (RAC) 12c Release 2 operational best practices. The agenda includes discussing fundamentals, architecture choices, applying best practices, and using smart features. It provides information on shared storage, networking and interconnect requirements. It also describes the Cluster Domain architecture and how best practices apply across architectures. Tools for obtaining and applying best practices like CVU, ORAchk and the Autonomous Health Framework are also covered.
Make Your Application “Oracle RAC Ready” & Test For ItMarkus Michalewicz
This presentation talks about the secrets behind Oracle RAC’s horizontal scaling algorithm, Cache Fusion, and how you can ensure that your application is “Oracle RAC ready.”. It discusses do's and don'ts and how to test your application for "Oracle RAC readiness". This version was first presented in Sangam19.
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...Sandesh Rao
This document provides an overview of Oracle Database 12c and Oracle Real Application Clusters (RAC) troubleshooting and diagnosing. It begins with an architectural overview of Grid Infrastructure including Oracle Clusterware and Automatic Storage Management. It then discusses common troubleshooting scenarios and tools that can be used for both proactive and reactive troubleshooting of Oracle RAC environments.
This version of "Oracle Real Application Clusters (RAC) 19c & Later – Best Practices" was first presented in Oracle Open World (OOW) London 2020 and includes content from the OOW 2019 version of the deck. The deck has been updated with the latest information regarding ORAchk as well as upgrade tips & tricks.
HBase and HDFS: Understanding FileSystem Usage in HBaseenissoz
This document discusses file system usage in HBase. It provides an overview of the three main file types in HBase: write-ahead logs (WALs), data files, and reference files. It describes durability semantics, IO fencing techniques for region server recovery, and how HBase leverages data locality through short circuit reads, checksums, and block placement hints. The document is intended help understand HBase's interactions with HDFS for tuning IO performance.
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
In this session, I will cover under-the-hood features that power Oracle Real Application Clusters (Oracle RAC) 19c specifically around Cache Fusion and Service management. Improvements in Oracle RAC helps in integration with features such as Multitenant and Data Guard. In fact, these features benefit immensely when used with Oracle RAC. Finally we will talk about changes to the broader Oracle RAC Family of Products stack and the algorithmic changes that helps quickly detect sick/dead nodes/instances and the reconfiguration improvements to ensure that the Oracle RAC Databases continue to function without any disruption
Oracle RAC 19c - the Basis for the Autonomous DatabaseMarkus Michalewicz
Oracle Real Application Clusters (RAC) has been Oracle's premier database availability and scalability solution for more than two decades as it provides near linear horizontal scalability without the need to change the application code. This session explains why Oracle RAC 19c is the basis for Oracle's Autonomous Database by introducing some of its latest features, some of which were specifically designed for ATP-D, as well as by taking a peek under the hood of the dedicated Autonomous Database Service (ATP-D).
The document describes managing the Oracle Automatic Storage Management (ASM) instance. It discusses initializing and starting the ASM instance, creating and dropping ASM disk groups, adding and removing disks from disk groups, and retrieving ASM metadata. The key benefits of ASM include eliminating tasks such as file system management and performance tuning of storage.
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesMarkus Michalewicz
This document outlines an agenda for a presentation on Oracle Real Application Clusters (RAC) 12c Release 2 operational best practices. The agenda includes discussing fundamentals, architecture choices, applying best practices, and using smart features. It provides information on shared storage, networking and interconnect requirements. It also describes the Cluster Domain architecture and how best practices apply across architectures. Tools for obtaining and applying best practices like CVU, ORAchk and the Autonomous Health Framework are also covered.
Make Your Application “Oracle RAC Ready” & Test For ItMarkus Michalewicz
This presentation talks about the secrets behind Oracle RAC’s horizontal scaling algorithm, Cache Fusion, and how you can ensure that your application is “Oracle RAC ready.”. It discusses do's and don'ts and how to test your application for "Oracle RAC readiness". This version was first presented in Sangam19.
AIOUG : OTNYathra - Troubleshooting and Diagnosing Oracle Database 12.2 and O...Sandesh Rao
This document provides an overview of Oracle Database 12c and Oracle Real Application Clusters (RAC) troubleshooting and diagnosing. It begins with an architectural overview of Grid Infrastructure including Oracle Clusterware and Automatic Storage Management. It then discusses common troubleshooting scenarios and tools that can be used for both proactive and reactive troubleshooting of Oracle RAC environments.
This version of "Oracle Real Application Clusters (RAC) 19c & Later – Best Practices" was first presented in Oracle Open World (OOW) London 2020 and includes content from the OOW 2019 version of the deck. The deck has been updated with the latest information regarding ORAchk as well as upgrade tips & tricks.
HBase and HDFS: Understanding FileSystem Usage in HBaseenissoz
This document discusses file system usage in HBase. It provides an overview of the three main file types in HBase: write-ahead logs (WALs), data files, and reference files. It describes durability semantics, IO fencing techniques for region server recovery, and how HBase leverages data locality through short circuit reads, checksums, and block placement hints. The document is intended help understand HBase's interactions with HDFS for tuning IO performance.
This document provides an overview of SQL Server clustering. It discusses the importance of high availability and introduces some key concepts in clustering like nodes, shared storage, heartbeats, failover and failback. It also covers the basic architecture of a SQL Server cluster, including the virtual server and different types of clusters. Some advantages and disadvantages of clustering are outlined. Finally, it discusses some terminology used in clustering and provides a checklist for preparing Windows clustering.
Apache Phoenix’s relational database view over Apache HBase delivers a powerful tool which enables users and developers to quickly and efficiently access their data using SQL. However, Phoenix only provides a Java client, in the form of a JDBC driver, which limits Phoenix access to JVM-based applications. The Phoenix QueryServer is a standalone service which provides the building blocks to use Phoenix from any language, not just those running in a JVM. This talk will serve as a general purpose introduction to the Phoenix QueryServer and how it complements existing Apache Phoenix applications. Topics covered will range from design and architecture of the technology to deployment strategies of the QueryServer in production environments. We will also include explorations of the new use cases enabled by this technology like integrations with non-JVM based languages (Ruby, Python or .NET) and the high-level abstractions made possible by these basic language integrations.
Oracle RAC 12c Practical Performance Management and Tuning as presented during Oracle Open World 2013 with Michael Zoll.
This is part three of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
This part concludes the main part of the "reindeer series" except for one bonus track "Oracle Multitenant meets Oracle RAC 12c" (available via SlidesShare, too).
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
Oracle Real Application Clusters 19c provides best practices and new features for upgrading to Oracle 19c. It discusses upgrading Oracle RAC to Linux 7 with minimal downtime using node draining and relocation techniques. Oracle 19c allows for upgrading the Grid Infrastructure management repository and patching faster using a new Oracle home. The presentation also covers new resource modeling for PDBs in Oracle 19c and improved Clusterware diagnostics.
"Extended" or "Stretched" Oracle RAC has been available as a concept for a while. Oracle RAC 12c Release 2 introduces an Oracle Extended Cluster configuration, in which the cluster understands the concept of sites and extended setups. This knowledge is used to more efficiently manage "Extended Oracle RAC", whether the nodes are 0.1 mile or 10 miles apart.
The presentation was last updated on August 7th 2017 to add a reference to the new MAA White Paper: "Installing Oracle Extended Clusters on Exadata Database Machine" - http://www.oracle.com/technetwork/database/availability/maa-extclusters-installguide-3748227.pdf and to correct some minor details.
This document provides a summary of a presentation on Oracle Real Application Clusters (RAC) integration with Exadata, Oracle Data Guard, and In-Memory Database. It discusses how Oracle RAC performance has been optimized on Exadata platforms through features like fast node death detection, cache fusion optimizations, ASM optimizations, and integration with Exadata infrastructure. The presentation agenda indicates it will cover these RAC optimizations as well as integration with Oracle Data Guard and the In-Memory database option.
Have you ever used Oracle WebLogic Server? If the answer is no, this presentation is for you. We explain core WebLogic Server concepts and perform a live walkthrough of the console covering core administration areas that include managed servers, JVM servers, JMS resources, logs, data sources, application deployments, and more.
You've heard about Oracle APEX, you're keen to learn more and see what it can do. You're in the right place. In this edition of the APEX Office Hours, we're going to show you everything you need to get started with the low-code web development platform, Oracle APEX.
Achieving Continuous Availability for Your Applications with Oracle MAAMarkus Michalewicz
This document summarizes a presentation on achieving continuous availability for applications with Oracle Maximum Availability Architecture (MAA). The presentation covers:
1. An overview of Transparent Application Continuity (TAC) and how it can be used for planned maintenance and unplanned outages.
2. The high availability requirements needed to ensure business continuity, such as using database services, connection strings, and Active Data Guard.
3. A customer example of how JPMorgan Chase uses Oracle Application Continuity in their Gaia Oracle Service to improve application resilience across the firm.
This document discusses upgrading to Oracle Database 19c and migrating to Oracle Multitenant. It provides an overview of key features such as being able to have 3 user-created PDBs without a Multitenant license in 19c. It also demonstrates how to use AutoUpgrade to perform an upgrade and migration to Multitenant with a single command. The document highlights various Multitenant concepts such as resource sharing, connecting to containers, and cloning PDBs.
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
This document provides an overview of Oracle Dataguard including:
- Dataguard allows configuration of up to 30 physical or logical standby databases for high availability and disaster recovery.
- It provides benefits such as offloading backups and reporting without impacting primary database performance.
- Key concepts include primary and standby databases, redo transport, and different protection modes for data replication.
Oracle Data Guard ensures high availability, disaster recovery and data protection for enterprise data. This enable production Oracle databases to survive disasters and data corruptions. Oracle 18c and 19c offers many new features it will bring many advantages to organization.
Standard Edition High Availability (SEHA) - The Why, What & HowMarkus Michalewicz
Standard Edition High Availability (SEHA) is the latest addition to Oracle’s high availability solutions. This presentation explains the motivation for Standard Edition High Availability, how it is implemented and the way it works currently as well as what is planned for future improvements. It was first presented during Oracle Groundbreakers Yatra (OGYatra) Online in July 2020.
This is part 1 of the Azure storage series, where we will build our understanding of Azure Storage, and will also learn about the storage data services, and the types of Azure Storage. Last but not least, we will also touch base on securing storage accounts
In the second part, we will continue with our demo on creating and utilizing the Azure Storage.
The document discusses Amazon Aurora, a database service from AWS that is compatible with PostgreSQL and MySQL. It provides summaries of Aurora's architecture, performance advantages, and customer benefits compared to traditional databases. Specifically, the document notes that Aurora achieves higher performance and availability than PostgreSQL by using a distributed, scalable storage system and replicating data across Availability Zones. It shares performance test results showing that Aurora can be up to 3x faster than PostgreSQL for various workloads. Customers have also cited lower costs and easier management with Aurora compared to commercial databases.
Oracle ACFS High Availability NFS Services (HANFS) Part-IAnju Garg
To satisfy increasing demands for data storage from big data and IoT, Oracle DBAs will need to handle massive amounts of normal file system storage. While some organizations have adopted open stack storage, others are evaluating options like NAS, NFS or other file systems. Oracle Database 12c R1 introduces ACFS as a high availability NFS file system (HANFS) that allows files on ACFS clusters to be accessed outside the cluster using highly available NFS exports, providing continuous access even if the exporting node fails.
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesMarkus Michalewicz
Oracle OpenWorld 2019 featured a presentation on best practices for high availability (HA) features in Oracle Database versions 12c, 18c, and 19c. The presentation covered key HA capabilities like Oracle Multitenant and Pluggable Databases, Data Guard, Hang Manager, and Real Application Clusters. It provided an overview of how each feature enables common lifecycle operations and maintenance tasks to be performed with minimal downtime.
Amazon Relational Database Service (Amazon RDS) is a web service that makes it easy to set up, operate, and scale a relational database in the cloud. With Amazon RDS, you can MySQL in minutes with cost-efficient and re-sizable hardware capacity. In this webinar, we'll discuss how to get the most out of the service, including techniques for migrating data in and out.
The document discusses Oracle Real Application Clusters (Oracle RAC) and how it provides high availability and scalability for Oracle Database workloads. Oracle RAC uses a shared-nothing architecture with multiple independent database instances managing a shared database, and it leverages a cluster interconnect for communication between the nodes. Key features of Oracle RAC discussed include dynamic resource management for improved performance, hang detection and resolution capabilities, and service-oriented buffer cache access to optimize data access based on service location.
Oracle ASM Training covers database and storage concepts, ASM architecture, installation and configuration of ASMLIB, creating and managing ASM disk groups, best practices for ASM configuration, and migrating databases to ASM. The document includes an agenda with topics on ASM, ASMLIB, disk groups, files, redundancy, rebalancing, and troubleshooting. It also lists office locations for consulting services.
AMIS organiseerde op maandagavond 15 juli het seminar ‘Oracle database 12c revealed’. Deze avond bood AMIS Oracle professionals de eerste mogelijkheid om de vernieuwingen in Oracle database 12c in actie te zien! De AMIS specialisten die meer dan een jaar bèta testen hebben uitgevoerd lieten zien wat er nieuw is en hoe we dat de komende jaren gaan inzetten!
Deze presentatie is deze avond gegeven in de vorm van een parallelsessie.
Oracle Flashback Technology provides a set of features that allow viewing and reverting database objects to previous states without using traditional backup and recovery methods. This allows logical errors to be corrected by querying past data states, tracking changes at the transaction level, and reverting specific tables or the entire database to a prior point in time. Flashback reduces recovery time from hours to minutes by leveraging automatic undo data and optimized flashback logs rather than conventional backup and recovery processes.
This document provides an overview of SQL Server clustering. It discusses the importance of high availability and introduces some key concepts in clustering like nodes, shared storage, heartbeats, failover and failback. It also covers the basic architecture of a SQL Server cluster, including the virtual server and different types of clusters. Some advantages and disadvantages of clustering are outlined. Finally, it discusses some terminology used in clustering and provides a checklist for preparing Windows clustering.
Apache Phoenix’s relational database view over Apache HBase delivers a powerful tool which enables users and developers to quickly and efficiently access their data using SQL. However, Phoenix only provides a Java client, in the form of a JDBC driver, which limits Phoenix access to JVM-based applications. The Phoenix QueryServer is a standalone service which provides the building blocks to use Phoenix from any language, not just those running in a JVM. This talk will serve as a general purpose introduction to the Phoenix QueryServer and how it complements existing Apache Phoenix applications. Topics covered will range from design and architecture of the technology to deployment strategies of the QueryServer in production environments. We will also include explorations of the new use cases enabled by this technology like integrations with non-JVM based languages (Ruby, Python or .NET) and the high-level abstractions made possible by these basic language integrations.
Oracle RAC 12c Practical Performance Management and Tuning as presented during Oracle Open World 2013 with Michael Zoll.
This is part three of the Oracle RAC 12c "reindeer series" used for OOW13 Oracle RAC-related presentations.
This part concludes the main part of the "reindeer series" except for one bonus track "Oracle Multitenant meets Oracle RAC 12c" (available via SlidesShare, too).
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
Oracle Real Application Clusters 19c provides best practices and new features for upgrading to Oracle 19c. It discusses upgrading Oracle RAC to Linux 7 with minimal downtime using node draining and relocation techniques. Oracle 19c allows for upgrading the Grid Infrastructure management repository and patching faster using a new Oracle home. The presentation also covers new resource modeling for PDBs in Oracle 19c and improved Clusterware diagnostics.
"Extended" or "Stretched" Oracle RAC has been available as a concept for a while. Oracle RAC 12c Release 2 introduces an Oracle Extended Cluster configuration, in which the cluster understands the concept of sites and extended setups. This knowledge is used to more efficiently manage "Extended Oracle RAC", whether the nodes are 0.1 mile or 10 miles apart.
The presentation was last updated on August 7th 2017 to add a reference to the new MAA White Paper: "Installing Oracle Extended Clusters on Exadata Database Machine" - http://www.oracle.com/technetwork/database/availability/maa-extclusters-installguide-3748227.pdf and to correct some minor details.
This document provides a summary of a presentation on Oracle Real Application Clusters (RAC) integration with Exadata, Oracle Data Guard, and In-Memory Database. It discusses how Oracle RAC performance has been optimized on Exadata platforms through features like fast node death detection, cache fusion optimizations, ASM optimizations, and integration with Exadata infrastructure. The presentation agenda indicates it will cover these RAC optimizations as well as integration with Oracle Data Guard and the In-Memory database option.
Have you ever used Oracle WebLogic Server? If the answer is no, this presentation is for you. We explain core WebLogic Server concepts and perform a live walkthrough of the console covering core administration areas that include managed servers, JVM servers, JMS resources, logs, data sources, application deployments, and more.
You've heard about Oracle APEX, you're keen to learn more and see what it can do. You're in the right place. In this edition of the APEX Office Hours, we're going to show you everything you need to get started with the low-code web development platform, Oracle APEX.
Achieving Continuous Availability for Your Applications with Oracle MAAMarkus Michalewicz
This document summarizes a presentation on achieving continuous availability for applications with Oracle Maximum Availability Architecture (MAA). The presentation covers:
1. An overview of Transparent Application Continuity (TAC) and how it can be used for planned maintenance and unplanned outages.
2. The high availability requirements needed to ensure business continuity, such as using database services, connection strings, and Active Data Guard.
3. A customer example of how JPMorgan Chase uses Oracle Application Continuity in their Gaia Oracle Service to improve application resilience across the firm.
This document discusses upgrading to Oracle Database 19c and migrating to Oracle Multitenant. It provides an overview of key features such as being able to have 3 user-created PDBs without a Multitenant license in 19c. It also demonstrates how to use AutoUpgrade to perform an upgrade and migration to Multitenant with a single command. The document highlights various Multitenant concepts such as resource sharing, connecting to containers, and cloning PDBs.
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
This document provides an overview of Oracle Dataguard including:
- Dataguard allows configuration of up to 30 physical or logical standby databases for high availability and disaster recovery.
- It provides benefits such as offloading backups and reporting without impacting primary database performance.
- Key concepts include primary and standby databases, redo transport, and different protection modes for data replication.
Oracle Data Guard ensures high availability, disaster recovery and data protection for enterprise data. This enable production Oracle databases to survive disasters and data corruptions. Oracle 18c and 19c offers many new features it will bring many advantages to organization.
Standard Edition High Availability (SEHA) - The Why, What & HowMarkus Michalewicz
Standard Edition High Availability (SEHA) is the latest addition to Oracle’s high availability solutions. This presentation explains the motivation for Standard Edition High Availability, how it is implemented and the way it works currently as well as what is planned for future improvements. It was first presented during Oracle Groundbreakers Yatra (OGYatra) Online in July 2020.
This is part 1 of the Azure storage series, where we will build our understanding of Azure Storage, and will also learn about the storage data services, and the types of Azure Storage. Last but not least, we will also touch base on securing storage accounts
In the second part, we will continue with our demo on creating and utilizing the Azure Storage.
The document discusses Amazon Aurora, a database service from AWS that is compatible with PostgreSQL and MySQL. It provides summaries of Aurora's architecture, performance advantages, and customer benefits compared to traditional databases. Specifically, the document notes that Aurora achieves higher performance and availability than PostgreSQL by using a distributed, scalable storage system and replicating data across Availability Zones. It shares performance test results showing that Aurora can be up to 3x faster than PostgreSQL for various workloads. Customers have also cited lower costs and easier management with Aurora compared to commercial databases.
Oracle ACFS High Availability NFS Services (HANFS) Part-IAnju Garg
To satisfy increasing demands for data storage from big data and IoT, Oracle DBAs will need to handle massive amounts of normal file system storage. While some organizations have adopted open stack storage, others are evaluating options like NAS, NFS or other file systems. Oracle Database 12c R1 introduces ACFS as a high availability NFS file system (HANFS) that allows files on ACFS clusters to be accessed outside the cluster using highly available NFS exports, providing continuous access even if the exporting node fails.
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesMarkus Michalewicz
Oracle OpenWorld 2019 featured a presentation on best practices for high availability (HA) features in Oracle Database versions 12c, 18c, and 19c. The presentation covered key HA capabilities like Oracle Multitenant and Pluggable Databases, Data Guard, Hang Manager, and Real Application Clusters. It provided an overview of how each feature enables common lifecycle operations and maintenance tasks to be performed with minimal downtime.
Amazon Relational Database Service (Amazon RDS) is a web service that makes it easy to set up, operate, and scale a relational database in the cloud. With Amazon RDS, you can MySQL in minutes with cost-efficient and re-sizable hardware capacity. In this webinar, we'll discuss how to get the most out of the service, including techniques for migrating data in and out.
The document discusses Oracle Real Application Clusters (Oracle RAC) and how it provides high availability and scalability for Oracle Database workloads. Oracle RAC uses a shared-nothing architecture with multiple independent database instances managing a shared database, and it leverages a cluster interconnect for communication between the nodes. Key features of Oracle RAC discussed include dynamic resource management for improved performance, hang detection and resolution capabilities, and service-oriented buffer cache access to optimize data access based on service location.
Oracle ASM Training covers database and storage concepts, ASM architecture, installation and configuration of ASMLIB, creating and managing ASM disk groups, best practices for ASM configuration, and migrating databases to ASM. The document includes an agenda with topics on ASM, ASMLIB, disk groups, files, redundancy, rebalancing, and troubleshooting. It also lists office locations for consulting services.
AMIS organiseerde op maandagavond 15 juli het seminar ‘Oracle database 12c revealed’. Deze avond bood AMIS Oracle professionals de eerste mogelijkheid om de vernieuwingen in Oracle database 12c in actie te zien! De AMIS specialisten die meer dan een jaar bèta testen hebben uitgevoerd lieten zien wat er nieuw is en hoe we dat de komende jaren gaan inzetten!
Deze presentatie is deze avond gegeven in de vorm van een parallelsessie.
Oracle Flashback Technology provides a set of features that allow viewing and reverting database objects to previous states without using traditional backup and recovery methods. This allows logical errors to be corrected by querying past data states, tracking changes at the transaction level, and reverting specific tables or the entire database to a prior point in time. Flashback reduces recovery time from hours to minutes by leveraging automatic undo data and optimized flashback logs rather than conventional backup and recovery processes.
Oracle Flashback Technology provides a set of features that allow viewing and reverting database objects to previous states without using traditional backup and recovery methods. This allows logical errors to be corrected by querying past data states, tracking changes at the transaction level, and reverting specific tables or the entire database to a prior point in time. Flashback reduces recovery time from hours to minutes by leveraging automatic undo data and optimized flashback logs rather than conventional backup and recovery processes.
Oracle Flashback Query allows users to recover data to a previous point in time using the System Change Number (SCN) or timestamp. Setting up Flashback Query involves determining the undo retention period, creating an undo tablespace, and granting privileges to users. The DBMS_FLASHBACK package implements Flashback Query procedures like ENABLE_AT_TIME and DISABLE. DBMS_RESUMABLE allows long-running operations to suspend and resume if errors occur. The AFTER SUSPEND trigger notifies DBAs of suspended operations. Export/Import now supports Flashback Query parameters and resuming space allocation operations.
This document discusses tablespace point-in-time recovery (TSPITR), including how to perform TSPITR, the terminology involved, when TSPITR is appropriate to use, how to determine the correct target time, and how to identify relationships between tablespaces. It provides details on the RMAN process for TSPITR including restoring data files, recovering to the target time, exporting and importing metadata, and troubleshooting potential issues.
Tablespace point-in-time recovery (TSPITR) allows recovery of one or more tablespaces to an earlier point in time without affecting other tablespaces. It performs restore and recovery of data files for the recovery set and auxiliary set to the target time, then exports and imports metadata to make the recovered tablespaces available. TSPITR is useful for undoing DML changes or recovering from logical corruption in a subset of the database, and can be fully automated using RMAN or performed with a custom auxiliary instance.
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
This document contains a summary of an Oracle DBA presentation on DBA commands and concepts that every developer should know. The presentation covered topics such as parallel queries, row chaining, explain plans, flashback queries, pending statistics, bulk processing, virtual private databases, extended data types, identity columns, and online table redefinition. It provided examples and demonstrations of many of these commands and concepts.
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
The document provides an overview of DBA commands and concepts that every developer should know. It includes sections on availability of Oracle Database 12c, parallel queries, row chaining and migration, explain plans, Oracle Flashback Query and Table, schema management, rollbacks, pending statistics, bulk processing vs row-by-row, Virtual Private Database, extended data types, SQL text expansion, identity columns, and virtual columns. The presentation aims to help developers better understand database administration tasks and functionality.
This document discusses Oracle's flashback technologies including Total Recall and the recycle bin. Total Recall allows tracking of historical database changes at the table level and querying past data. The recycle bin stores dropped objects and allows restoring them. The document covers setting up Total Recall, accessing historical data, managing space usage in the recycle bin, and querying the recycle bin.
The document discusses Oracle's Flashback technology which allows recovering data to earlier points in time. It describes Flashback Database which rolls back the entire database, Flashback Table which rolls back a specific table, and Flashback Drop which recovers accidentally dropped tables. It also discusses Flashback Query to view data as of a past time, Flashback Versions Query to see row versions over time, and Flashback Transaction Query to view transaction history. The key benefits of Flashback are that it is fast, only restores changed data, and uses easy commands compared to traditional recovery techniques.
Flashback operations allow recovering data from earlier points in time using undo and redo information. The Flash Recovery Area (FRA) stores files needed for flashback and recovery operations. Configuring the FRA involves specifying its size and location using parameters like DB_RECOVERY_FILE_DEST_SIZE and DB_RECOVERY_FILE_DEST. Flashback features like Flashback Query, Flashback Versions Query, and Flashback Database use information in the FRA to access earlier states of data.
1783696 huge space consumption of sm optstat in sysaux tablespaceVictor Hugo
SM/OPTSTAT occupies a large amount of space in the SYSAUX tablespace by default in Oracle Database 10g due to retaining old statistics for 31 days. This can be addressed by reducing the statistics retention period, disabling statistics history collection, or purging existing statistics data to free up space. Reorganizing the statistics tables and rebuilding their indexes can also reclaim space.
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...Alex Zaballa
This document provides an overview of new features in Oracle Database 12c for developers and DBAs. It begins with an introduction by Alex Zaballa and then covers several new features including native support for JSON, data redaction, row limits and offsets for SQL queries, PL/SQL functions callable from SQL, session level sequences, and temporary undo. The document includes demonstrations of many of these new features.
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...Alex Zaballa
Oracle Database 12c introduces many new features for developers and DBAs. These include native support for JSON, data redaction capabilities, improved SQL query functionality using row limits and offsets, and new PL/SQL features like calling functions from SQL. The presentation provides demonstrations of these new features.
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
This document summarizes a presentation on DBA commands and concepts that every developer should know. The presentation covers topics such as parallel processing, explain plans, flashback queries, pending statistics, virtual columns, and online table redefinition. It demonstrates several commands and concepts to help developers better understand database administration tasks.
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
This document summarizes a presentation on DBA commands and concepts that every developer should know. The presentation covers topics such as:
- Using SQLcl and DBMS_XPLAN to analyze query performance
- Leveraging parallelism to improve query performance
- Using Flashback Query and Flashback Table to view and recover past data
- Performing table recovery with RMAN
- Managing database schemas and statistics
- Implementing security with Virtual Private Database
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
This document summarizes a presentation on DBA commands and concepts that every developer should know. The presentation covers topics such as:
- Using SQLcl and tools like dbms_xplan to analyze queries and explain plans
- Leveraging parallelism to improve query performance
- Using flashback queries to view past data states
- Recovering dropped or corrupted tables using flashback and recycle bin features
- Migrating and restoring statistics to support testing and troubleshooting
The presentation provides examples and demonstrations of commands for tasks like analyzing queries, improving performance, recovering data, and managing database metadata.
The document provides information on how to reduce the size of the SYSAUX tablespace in an Oracle database. It discusses which database components occupy space in SYSAUX, including top offenders like SM/AWR and SM/OPTSTAT. It then describes various methods to cleanup the SYSAUX tablespace such as reorganizing tables and indexes, moving components to other tablespaces using provided procedures, and reducing retention periods for components like AWR and advisors to delete old data. Proper sizing of the SYSAUX tablespace is also discussed.
Similaire à Flashback time travel vs Flash back Data Archive.pdf (20)
1) The document discusses Oracle ASM Filter Driver (ASMFD), ASMLIB, and how they relate to managing I/O for Oracle databases on Linux. ASMFD replaces ASMLIB, providing persistent device naming and preventing accidental overwrites of Oracle disks.
2) It provides information on when and how to use ASM with and without ASMLIB, alternatives to each, and how to configure Oracle single-instance and RAC databases with and without ASM and ASMLIB. Configuration without these components can use filesystems, LVM, or third-party cluster file systems instead.
Recovering a Oracle datafile without backup.pdfAlireza Kamrani
This document describes how to recover an Oracle database file without a backup by:
1. Creating an empty file with the same size as the damaged file using ALTER DATABASE.
2. Performing media recovery on the empty file to apply archived redo logs and restore the data.
3. After recovery, the database can be opened with a resetlogs.
♨️How To Use DataPump (EXPDP) To Export From Physical Standby….pdfAlireza Kamrani
This document provides steps to successfully export data from a physical standby database using Data Pump Export (EXPDP). It explains that EXPDP cannot be run directly on the physical standby due to its read-only status, so a database link must be used to connect from a non-standby database. The physical standby must be opened in read-only mode before exporting. Example commands are given to create a database link, open the physical standby read-only, and run EXPDP with the NETWORK_LINK parameter to export the data. Common errors that can occur without using these steps are also described.
♨️CPU limitation per Oracle database instanceAlireza Kamrani
Cgroups improve database performance by associating a dedicated set of CPUs and memory to a database instance, limiting each instance to only those resources. The setup_processor_group.sh script is used to create cgroups on Linux systems. To bind a database instance to a cgroup, the PROCESSOR_GROUP_NAME parameter must be set to the cgroup name and the instance restarted. Best practices include configuring cgroups out of CPU threads from minimum cores/sockets and creating cgroups with at least 2 CPU cores.
Out-of-Place Oracle Database Patching and Provisioning Golden ImagesAlireza Kamrani
Out-of-place Oracle database patching involves creating a new Oracle Home, applying patches to it, and updating the Oracle Inventory. Golden images can then be created by cloning an existing Oracle Home or Grid Home. Additional Oracle features can be provisioned using the -apply_ru option after applying patches to the golden image. These techniques help minimize downtime and maintain consistency when upgrading Oracle databases.
IO Schedulers (Elevater) concept and its affection on database performanceAlireza Kamrani
I/O schedulers in Linux reorder and group I/O requests to improve throughput while balancing latency. Different schedulers take different approaches, and there is no single best scheduler for all situations. For Oracle databases on Linux, Oracle recommends using the Deadline scheduler for HDD storage to prioritize I/O requests, while the none scheduler may be best for SSD/NVMe storage. When selecting a scheduler, it is important to consider the storage media and I/O characteristics of the workload.
The Fundamental Characteristics of Storage concepts for DBAsAlireza Kamrani
The document discusses key storage concepts for database administrators including latency, IOPS, and bandwidth. Latency refers to the delay in a storage system's response to an I/O request, typically measured in milliseconds for disk and microseconds for flash. IOPS represents the number of input/output operations per second a storage system can support. Bandwidth refers to the amount of data that can be transferred per second, measured in megabytes or gigabytes per second. These concepts are related, as IOPS and latency increase as storage systems approach maximum throughput. It is important for DBAs to understand how applications will impact I/O patterns in terms of these concepts when choosing appropriate storage solutions.
What is Scalability and How can affect on overall system performance of databaseAlireza Kamrani
Scalability refers to a system's ability to handle increased workload by proportionally increasing resource usage. Poor scalability can occur due to resource conflicts like locking, consistency work, I/O, or queries that don't scale well. Systems become unscalable if a resource is exhausted, limiting throughput and response times. There are two types of scaling: vertical involves more powerful hardware, while horizontal adds more nodes without changing individual nodes. Sharding distributes data across partitions to improve performance and storage limits by scaling out horizontally.
🏗️Improve database performance with connection pooling and load balancing tec...Alireza Kamrani
This document discusses improving database performance through connection pooling and load balancing. It describes how connection pooling reuses database connections to optimize performance as traffic and clients grow. It then summarizes several Oracle and MySQL/MariaDB solutions for connection pooling and load balancing, including Oracle Traffic Director, Oracle Connection Manager, MariaDB MaxScale, and ProxySQL. These solutions can distribute database requests, provide high availability, and monitor performance.
Lock-free reservations is a new Oracle Database 23c feature that allows concurrent transactions to modify the same data without blocking each other. It does this by reserving rows for updates rather than locking them, and verifies that the updates can succeed at commit time. This improves concurrency and user experience over traditional locking. Lock-free reservations can be used for applications that manage shared resources like tickets, seats, or balances to allow high concurrency without sessions hanging. It works by having the database track reservations in a temporary journal table rather than locking data.
Store non-structured data in JSON column types and enhancements of JSONAlireza Kamrani
The document discusses features and enhancements for working with JSON data in Oracle databases. It describes how JSON can be stored in a JSON column type or text-based columns like CLOB. Validation functions are introduced in Oracle 23c to check JSON data for compatibility with the JSON type and validate against schemas. The document provides examples of converting text-based JSON columns to the JSON type and using the new validation functions.
Codeless Generative AI Pipelines
(GenAI with Milvus)
https://ml.dssconf.pl/user.html#!/lecture/DSSML24-041a/rate
Discover the potential of real-time streaming in the context of GenAI as we delve into the intricacies of Apache NiFi and its capabilities. Learn how this tool can significantly simplify the data engineering workflow for GenAI applications, allowing you to focus on the creative aspects rather than the technical complexities. I will guide you through practical examples and use cases, showing the impact of automation on prompt building. From data ingestion to transformation and delivery, witness how Apache NiFi streamlines the entire pipeline, ensuring a smooth and hassle-free experience.
Timothy Spann
https://www.youtube.com/@FLaNK-Stack
https://medium.com/@tspann
https://www.datainmotion.dev/
milvus, unstructured data, vector database, zilliz, cloud, vectors, python, deep learning, generative ai, genai, nifi, kafka, flink, streaming, iot, edge
Discovering Digital Process Twins for What-if Analysis: a Process Mining Appr...Marlon Dumas
This webinar discusses the limitations of traditional approaches for business process simulation based on had-crafted model with restrictive assumptions. It shows how process mining techniques can be assembled together to discover high-fidelity digital twins of end-to-end processes from event data.
We are pleased to share with you the latest VCOSA statistical report on the cotton and yarn industry for the month of May 2024.
Starting from January 2024, the full weekly and monthly reports will only be available for free to VCOSA members. To access the complete weekly report with figures, charts, and detailed analysis of the cotton fiber market in the past week, interested parties are kindly requested to contact VCOSA to subscribe to the newsletter.
[VCOSA] Monthly Report - Cotton & Yarn Statistics May 2024
Flashback time travel vs Flash back Data Archive.pdf
1. ♨ Flashback time travel♨
vs
♨ Flash back Data Archive♨
Oracle 19c and newer
Sometimes DBA need to restore/recover important data set in production to avoiding data lost or
deletion by user interference, and human errors or any problems.
As examples consider a user did some wrong delete on a base table, at this situation if you alert
quickly you have a chance to
fl
ashback deleted rows on the table by using undo data, for
example:
SQL>insert into base_table
Select * from table1 AS OF TIMESTAMP TO_TIMESTAMP('224-02-12 13:34:12', 'YYYY-MM-DD
HH24:MI:SS');
Or
SQL>insert into base_table
Select * from table1 AS OF SCN 123456;
But this chance is depending on sizing of undo_retention parameter and undo tablespace.
that the UNDO_RETENTION is not guaranteed by default so the fact that the UNDO_RETENTION
is 900 seconds (=15 minutes) doesn't necessarily mean that you can query data as of 15 minutes
ago. Another thing that you should also take into account is the UNDO_RETENTION behaviour in
autoextend undo tabelspace vs.
fi
xed-size undo tablespace because in
fi
xed-size undo
tablespace the UNDO_RETENTION is being ignored by Oracle so it's basically meaningless
(unless retention guarantee is enabled).
So you can consider a bigger retention for your undo, but if you want to protect a big table in
production same as this way, this solution is not applicable (very large undo for recovering
inadvertent deleted data is not good solution)
2. Solution:
Use Flashback Data Archive (FDA).
This solution protects your speci
fi
c tables and also can be used for auditing and tracking
changes on the tables in a isolated and separated tablespace without need Undo tablespace!
So if we have big or very big tables also we can used this feature and we can enable or disable on
demand any time.
The FDA is available feom 11g but has some improvements on 19c and higher.
In Oracle 19c, they rebranded the feature called “Flashback Time Travel”. The Flashback Time
travel is a nothing but a combination Flashback Data archive and Flashback Query AS OF and
Versions.
Use Flashback Time Travel to automatically track and archive historical versions of changes to
tables enabled for
fl
ashback archive, ensuring SQL-level access to the versions of database
objects without getting a snapshot-too-old error.
The Historical data is key for business decisions and having reliable data is very important for
organizations. There are frequent implications for both
fi
nancial and legal data for organizations
and having a secure and accurate history of change of data is crucial for business. Oracle
Flashback technology o
ff
ers signi
fi
cant bene
fi
ts for database management and recovery to meet
the organizational needs.
Using Flashback Time Travel in Orcale 19c and higher
Flashback Time Travel provides the ability to track and store transactional changes to a table over
its lifetime. It is useful for compliance with record stage policies and audit reports.
A Flashback Archive consists of one or more tablespaces or parts thereof. You can have multiple
Flashback Archives. If you are logged on as SYSDBA, you can specify a default Flashback
Archive for the system. A Flashback Archive is con
fi
gured with retention time. Data archived in the
Flashback Archive is retained for the retention time speci
fi
ed when the Flashback Archive was
created.
3. Creating a Flashback Archive
You can create a Flashback Archive with the CREATEFLASHBACK ARCHIVE statement.
Create a Flashback Archive with the CREATEFLASHBACK ARCHIVE statement, specifying:
• Name of the Flashback Archive
• Name of the
fi
rst tablespace of the Flashback Archive
• (Optional) Maximum amount of space that the Flashback Archive can use in the
fi
rst tablespace
The default is unlimited. Unless your space quota on the
fi
rst tablespace is also unlimited, you
must specify this value; otherwise, error ORA-55621 occurs.
• Retention time (number of days that Flashback Archive data for the table is guaranteed to be
stored)
• (Optional) Whether to optimize the storage of data in the history tables maintained in the
Flashback Archive, using [NO]OPTIMIZE DATA.
The default is NO OPTIMIZE DATA.
If you are logged on as SYSDBA, you can also specify that this is the default Flashback Archive
for the system. If you omit this option, you can still make this Flashback Archive as default at a
later stage.
Oracle recommends that all users who must use Flashback Archive have unlimited quota on the
Flashback Archive tablespace; however, if this is not the case, you must grant su
ffi
cient quota on
that tablespace to those users.
Examples
• Create a default Flashback Archive named
fl
a1 that uses up to 10 G of tablespace tbs1, whose
data are retained for one year:
SQL> CREATE FLASHBACK ARCHIVE DEFAULT
fl
a1 TABLESPACE tbs1 QUOTA 10G
RETENTION 1 YEAR;
• Create a Flashback Archive named fa2 that uses tablespace tbs2, whose data are retained for
two years:
SQL> CREATE FLASHBACK ARCHIVE fa2 TABLESPACE tbs2 RETENTION 2 YEAR;
Examining and Restoring Past Data
By de
fi
ning FDA or FTT, retrieving data in a older time is same as Flashback method such as:
SQL> Select * from table1 AS OF TIMESTAMP TO_TIMESTAMP('2024-02-12 13:30:12', 'YYYY-
MM-DD HH24:MI:SS');
Suppose that you discover at 12:30 PM that the row for employee KAMRANI was deleted from
the employees table, and you know that at 9:30AM the data for KAMRANI was correctly stored in
the database. You can use Oracle Flashback Query to examine the contents of the table at 9:30
AM to
fi
nd out what data was lost. If appropriate, you can restore the lost data.
Example 1:
Retrieves the state of the record for Kamrani at 9:30AM, April 4, 2024:
SELECT * FROM employees
AS OF TIMESTAMP
TO_TIMESTAMP('2024-02-04 09:30:00', 'YYYY-MM-DD HH:MI:SS')
WHERE last_name = 'Kamrani ';
Example 2 Restores Kamrani's information to the employees table:
4. INSERT INTO employees (
SELECT * FROM employees
AS OF TIMESTAMP
TO_TIMESTAMP('2024-02-04 09:30:00', 'YYYY-MM-DD HH:MI:SS')
WHERE last_name = 'Kamrani'
);
Bene
fi
ts of Flashback data archive:
Uses of Oracle Flashback Query include:
• Recovering lost data or undoing incorrect, committed changes.
For example, if you mistakenly delete or update rows, and then commit them, you can
immediately undo the mistake.
• Comparing current data with the corresponding data at an earlier time.
For example, you can run a daily report that shows the change in data from yesterday. You can
compare individual rows of table data or
fi
nd intersections or unions of sets of rows.
• Checking the state of transactional data at a particular time.
For example, you can verify the account balance of a certain day.
• Selecting data that was valid at a particular time or at any time within a user-de
fi
ned valid time
period.
For example, you can
fi
nd employees with valid employee information as of a particular
timestamp or between a speci
fi
ed start and end time in the speci
fi
ed valid time period.
• Simplifying application design by removing the need to store some kinds of temporal data.
Oracle Flashback Query lets you retrieve past data directly from the database.
• Applying packaged applications, such as report generation tools, to past data.
• Providing self-service error correction for an application, thereby enabling users to undo and
correct their errors.
Guidelines for Oracle Flashback Query
• You can specify or omit the AS OF clause for each table and specify di
ff
erent times for di
ff
erent
tables.
• Note: If a table is a Flashback Time Travel and you specify a time for it that is earlier than its
creation time, the query returns zero rows for that table, rather than causing an error.
• You can use the AS OF clause in queries to perform data de
fi
nition language (DDL) operations
(such as creating and truncating tables) or data manipulation language (DML) statements (such
as INSERT and DELETE) in the same session as Oracle Flashback Query.
• To use the result of Oracle Flashback Query in a DDL or DML statement that a
ff
ects the current
state of the database, use an AS OFclause inside an INSERT or CREATE TABLEAS SELECT
statement.
• If a possible 3-second error (maximum) is important to Oracle Flashback Query in your
application, use an SCN instead of a time stamp.
• You can create a view that refers to past data by using the AS OF clause in the SELECT
statement that de
fi
nes the view.
If you specify a relative time by subtracting from the current time on the database host, the past
time is recalculated for each query. For example:
CREATE VIEW hour_ago AS SELECT * FROM employees AS OF TIMESTAMP
(SYSTIMESTAMP - INTERVAL '60' MINUTE);
SYSTIMESTAMP refers to the time zone of the database host environment.
• You can use the AS OF clause in self-joins, or in set operations such as INTERSECTand MINUS,
to extract or compare data from two di
ff
erent times.
You can store the results by preceding Oracle Flashback Query with a CREATETABLE AS
SELECT or INSERT INTO TABLESELECT statement. For example, this query reinserts into table
employees the rows that existed an hour ago:
INSERT INTO employees (SELECT * FROM employees AS OF TIMESTAMP
(SYSTIMESTAMP - INTERVAL '60' MINUTE) MINUS SELECT * FROM employees;
5. SYSTIMESTAMP refers to the time zone of the database host environment.
• You can use the AS OF clause in queries to check for data that was valid at a particular time.
Using Oracle Flashback Version Query
Use Oracle Flashback Version Query to retrieve the di
ff
erent versions of speci
fi
c rows that existed
during a given time interval. A row version is created whenever a COMMIT statement is executed.
Note:After executing a CREATE TABLE statement, wait at least 15 seconds to commit any
transactions, to ensure that Oracle Flashback Version Query re
fl
ects those transactions.
Specify Oracle Flashback Version Query using the VERSIONS BETWEEN clause of the SELECT
statement. The syntax is either:
VERSIONS BETWEEN { SCN | TIMESTAMP } start AND end
where start and end are expressions representing the start and end, respectively, of the time
interval to be queried. The time interval includes (start and end).
or:
VERSIONS PERIOD FOR user_valid_time [ BETWEEN TIMESTAMP start AND end ]
where user_valid_time refers to the user-speci
fi
ed valid time period.
Oracle Flashback Version Query returns a table with a row for each version of the row that existed
at any time during the speci
fi
ed time interval. Each row in the table includes pseudocolumns of
metadata about the row version, which can reveal when and how a particular change (perhaps
erroneous) occurred to your database.
For example, this output indicates that the salary was 10243 from September 9, 2023, included,
to November 25, 2024, excluded.
VERSIONS_START_TIME VERSIONS_END_TIME SALARY
----------------- ----------------- ------
09-SEP-2"24 25-NOV-2024 10243
Here is a typical use of Oracle Flashback Version Query:
SELECT versions_startscn, versions_starttime,
versions_endscn, versions_endtime,
versions_xid, versions_operation,
last_name, salary
FROM employees
VERSIONS BETWEEN TIMESTAMP
TO_TIMESTAMP('2024-12-18 14:00:00', 'YYYY-MM-DD HH24:MI:SS')
AND TO_TIMESTAMP('2024-12-18 17:00:00', 'YYYY-MM-DD HH24:MI:SS')
WHERE
fi
rst_name = 'John';
You can use VERSIONS_XID with Oracle Flashback Transaction Query to locate this transaction's
metadata, including the SQL required to undo the row change and the user responsible for the
change.
Flashback Version Query allows index-only access only with IOTs (index-organized tables), but
index fast full scan is not allowed.
Using Flashback Time Travel
Flashback Time Travel provides the ability to track and store transactional changes to a table over
its lifetime. It is useful for compliance with record stage policies and audit reports.
6. A Flashback Archive consists of one or more tablespaces or parts thereof. You can have multiple
Flashback Archives. If you are logged on as SYSDBA, you can specify a default Flashback
Archive for the system. A Flashback Archive is con
fi
gured with retention time. Data archived in the
Flashback Archive is retained for the retention time speci
fi
ed when the Flashback Archive was
created.
By default, Flashback Archive is not enabled for any tables. You can enable Flashback Archive for
a table if all of these conditions are true:
• You have the FLASHBACK ARCHIVE object privilege on the Flashback Archive to use for that
table.
• The table is not nested, temporary, remote, or external.
• The table contains neither LONG nor nested columns.
• The table does not use any of these Flashback Archive reserved words as column names:
◦ STARTSCN
◦ ENDSCN
◦ RID
◦ XID
◦ OP
◦ OPERATION
You cannot enable Flashback Archive on a nested table, temporary table, external table,
materialized view, Advanced Query (AQ) table, or non-table object.
After Flashback Archive is enabled for a table, you can disable it only if you either have the
FLASHBACKARCHIVE ADMINISTER system privilege or you are logged on as SYSDBA.
When choosing a Flashback Archive for a speci
fi
c table, consider the data retention requirements
for the table and the retention times of the Flashback Archives on which you have the
FLASHBACK ARCHIVEobject privilege.
E
ff
ective with Oracle Database 12c Release 1 (12.1.0.1), Flashback Archive is enhanced to include
the following:
• User context tracking. The metadata information for tracking transactions can include (if the
feature is enabled) the user context, which makes it easier to determine which user made which
changes to a table.
To set the user context level (determining how much user context is to be saved), use the
DBMS_FLASHBACK_ARCHIVE.SET_CONTEXT_LEVEL procedure. To access the context
information, use the DBMS_FLASHBACK_ARCHIVE.GET_SYS_CONTEXT function.
• Database hardening. This feature enables you to associate a set of tables together in an
"application", and then enable Flashback Archive on all those tables with a single command.
Also, database hardening enables you to lock all the tables with a single command, preventing
any DML on those tables until they are subsequently unlocked. Database hardening is designed
to make it easier to use Flashback Time Travel to track and protect the security-sensitive tables
for an application.
DDL Statements on Tables Enabled for Flashback Archive
Flashback Archive supports only these DDL statements:
• ALTER TABLE statement that does any of the following:
◦ Adds, drops, renames, or modi
fi
es a column
◦ Adds, drops, or renames a constraint
◦ Drops or truncates a partition or subpartition operation
• TRUNCATE TABLE statement
• RENAME statement that renames a table
Flashback Archive does not support DDL statements that move, split, merge, or coalesce
partitions or subpartitions, move tables, or convert LONG columns to LOB columns.
For example, the following DDL statements cause error ORA-55610 when used on a table
enabled for Flashback Archive:
• ALTER TABLE statement that includes an UPGRADE TABLE clause, with or without an
INCLUDING DATA clause
• ALTER TABLE statement that moves or exchanges a partition or subpartition operation
• DROP TABLE statement
If you must use unsupported DDL statements on a table enabled for Flashback Archive, use the
DBMS_FLASHBACK_ARCHIVE.DISASSOCIATE_FBAprocedure to disassociate the base table
from its Flashback Archive. To reassociate the Flashback Archive with the base table afterward,
7. use the DBMS_FLASHBACK_ARCHIVE.REASSOCIATE_FBAprocedure. Also, to drop a table
enabled for Flashback Archive, you must
fi
rst disable Flashback Archive on the table by using the
ALTER TABLE ... NO FLASHBACK ARCHIVE clause.
Consideration:
Before con
fi
guration of FDA you should consider following:
Allocate su
ffi
cient storage to handle retention period
•For Faster access create indexes on the History tables
•Ideal approach is to create FDA on tables with primary key
•Enable FDA on tables which are important for business not on all tables in a schema
Limitations:
You can enable
fl
ashback data archive, but you must meet below conditions:
You cannot enable Flashback Archive on a nested table, temporary table, external table,
materialized view, Advanced Query (AQ) table, or non-table object.
•The table is not nested, remote, external, or temporary
•The table has neither nested column or LONG column
•The table does not any reserved words as column names such as START SCN, END SCN, OP,
OPERATION, XID, RID
•The user should have FLASHBACK ARCHIVE object privilege.
Conclusion:
The historical data is key for business decisions and having reliable data is very important for
organizations. Flashback Data Archive and Time Travel provides centralized historical data store
by tracking changes in a secure and e
ffi
cient way, which helps organization with compliance,
audit, historical reporting, selective data recovery and restore lost data cause of human
interference
and many other capabilities, but this feature have some limitations aslo.
For more information see:
https://docs.oracle.com/en/database/oracle/oracle-database/19/adfns/
fl
ashback.html
Sincerely,
Alireza Kamrani.