The new puzzle is as below…..
Let us assume a business with its application running on an Oracle Database. Before running into the deep detail of the puzzle, let us name it as D1 and also consider it has a very much customized physical database structure (different file system, different data files (names and sizes) and we can name it as DF1. This database has three application schemas namely D1S1, D1S2 and D1S3. Transactions are happening 24X7. No downtime.
Now another Oracle database on a different hardware is installed, with same database SID, but using OFA (Let us name this physical structure as DF2 with much bigger database files) and consider this database is D2. Now I am allowed to create the application schemas. Remember the schemas in the new database having different tablespace (names). And you are also allowed to copy the data.
Let us consider you took 8 hours for creating the second database D2 starting from 00:00:01 hrs. So the data is consistent till 00:00:00 hrs. Now till 08:00:00 hrs there is enough transactions happened in the first database D1.
The puzzle is how to reflect the data in the D1 to D2 So that the users can be shifted to database D2 for the application?
Whether any native oracle tools oracle technology (comes free with if Oracle Enterprise version is purchased) available to do such job?
Or there are a need of special tools to used? Who are the vendors?
- The basic rule is minimum downtime. Downtime is only permitted to stop user pointing to D1 and start users to point to D2.
- The other point is you should have an evidence which proves the data in D1 and D2 are same same at the point of stoppage. This is a compliance requirement…..No data should miss and the the evidence it is not missed is must….
So enjoy solving the puzzle……