Migrating a very large object in Oracle can be a daunting task, especially when dealing with large volumes of data. One approach to this problem is to use online redefinition, a feature introduced in Oracle 9i, which allows for the restructuring of tables without requiring downtime. Online redefinition involves creating a new table with the desired structure and then copying the data from the old table to the new table using an online copy process. Once the data has been copied, the old table is dropped and the new table is renamed to take its place. This approach is particularly useful when migrating data from one tablespace to another. However, there are several complexities and things to be taken care of when performing a large volume migration using online redefinition. Some of these are outlined below: Available Space: Before starting the migration, it is essential to ensure that there is enough space available in both the source and target tablespaces. If there is insufficient space, the migration process will fail, and the data could be left in an inconsistent state. Concurrent Transactions: It is essential to ensure that there are no concurrent transactions running against the object being migrated. Concurrent transactions can lead to inconsistencies in the data and can cause the migration process to fail. Object Dependencies: When migrating an object, it is essential to consider its dependencies. For example, if the object being migrated is a partitioned table, it is essential to ensure that all its partitions are migrated in the correct order. Indexes and Constraints: If the object being migrated has indexes or constraints, they will need to be migrated along with the data. This can add to the complexity of the migration process, as the indexes and constraints may need to be disabled and re-enabled during the migration process. Performance Considerations: The migration process can be resource-intensive, particularly when dealing with large volumes of data. It is essential to consider the performance impact of the migration process on the database and to tune the database appropriately to minimize the impact. Backup and Recovery: Before starting the migration process, it is essential to take a backup of the database. This will ensure that the data can be recovered in the event of any issues during the migration process. In conclusion, migrating a very large object in Oracle using online redefinition can be a complex and challenging task, particularly when dealing with large volumes of data. It is essential to consider the complexities and things to be taken care of, as outlined above, to ensure a successful migration process. By following best practices and taking the necessary precautions, the migration process can be completed with minimal downtime and without compromising data integrity.
The voice in my head may not be real , but they have some good ideas !!!
Fail Fast, Fail Forward, Fail Often, Fail Better , Standup Every Time
Every problem has at least one solution. Only some solutions are harder to find.
Popular Posts
-
[oracle@testebsop3app01 ~]$ perl /u01/install/APPS/fs1/EBSapps/comn/clone/bin/adcfgclone.pl appltop /u01/install/APPS/fs1/inst/apps/SATURN_...
-
FS_CLONE Phase It is a stand-alone command used for file system cloning. Standard cloning (using adcfgclone.pl) cannot be used to synch...
-
Suddenly all production reports in BI Publisher failed with message " ORA-01017: invalid username/password; logon denied" The da...
-
Abort Phase If for some reason either the prepare or apply phase failed or gave problems, you can abort the patching cycle. After runnin...
-
As a green field expert in data science, you would be responsible for designing and implementing data science projects from scratch. This i...
-
If you are an EBS administrator the first thing some asks you to do a health check of an environment , you return to him with a Request ID o...
-
PRVG-2031 : Owner of file "/u01/app/oracle/diag/crs/rac01/crs/lck" did not match the expected value on node "HOST1". [Ex...
-
ADOPValidations_detailed.log reported a warning message for one of the critical error "Cross Reference" ValidateFSConfigFile...
-
Ready the instance for cutover Perform the final operations like Compile Invalids , Generate Derived Objects and Pre-compute DDL to be run...
-
Scenario You have noticed that the on the patch edition there are lot of patches applied. You did the cutover and now customer wants t...