RE: Migration from HPUX to Linux
Date: Thu, 24 Oct 2024 09:59:54 -0400
Message-ID: <0bf401db261d$032476b0$096d6410$_at_rsiz.com>
Regarding your lob column:
- Does the lob column change after its original insertion?
- Is there a "born on" date associated with with the lob (which is relevant if the answer to 1) is no.
Regarding connectivity: are the computers both in the same data center or campus and are they connected via WAN or LAN? (This *may* be relevant to the suggested solution below, which begs a test. IF the move is remote or WAN [even if local geographically] this is more likely to be a problem than a LAN, but it should be tested for possible trouble shooting requirements in case even if LAN the connectivity strings are suboptimal your initial test may be unnecessarily joyless.)
Since you are moving everything, an evaluation of the possible benefits of physically reordering the data to do something transparently useful such as accelerate queries using the most used indexes or make indexes permanently smaller is in order. Good luck. You might not need any improvements, but a physical move is an opportunity to do a lot of useful things that may or may not be worth the time and effort.
mwf
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of dimensional.dba ("dimensional.dba")
Sent: Wednesday, October 23, 2024 7:06 PM
To: pbrunoster_at_gmail.com; 'oracle list'
Subject: RE: Migration from HPUX to Linux
If your insert across the database link works you should be able to simple create a materialized view over the database link. Move the data by whatever means you want , then start refreshing the MV after your initial data movement.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org <oracle-l-bounce_at_freelists.org> On Behalf Of pier paolo Bruno
Sent: Wednesday, October 23, 2024 2:13 PM
To: oracle list <oracle-l_at_freelists.org>
Subject: Migration from HPUX to Linux
Hi,
I have to move a database of 1,5gb from hpux 11.2.0.1 to a linux machine with 19.24 with oracle restart (different endianess ) .
The database is formed by 500gb of data and lob, a single lob of 700b and indexes. The single lob table is not on separated tablespace. I discarded the use of transportable tablespace because for installing
11.2.0.4 on OL 8.10 i need a patchset and a patch that i can not download :
Requirements for Installing Oracle Database/Client 11.2.0.4 on OL8 or
RHEL8 64-bit (x86-64) (Doc ID 2988626.1).
It would also be a serious problem to put the source in readonly for the time of the datafile copy, it would last at least 8 hours and for a health system it is a problem (source system is old and slow ) . I could ask a window once , but we evaluated that with datapump i can do all the test i want without giving impact, in the window 16pm 7 am .
I can do the migration in 2 steps ,so our idea is to export everything without the big lob table and to do it afterwords. Applications can survive with this table empty for what we know till now. The hpux machine is quite slow but in an initial test i managed to export with datapump and import everything in 13 hours and for me it is ok.
The problem is how to proceed with the 700gb lob. Exporting on filesystem seems quite slow, i had to kill the export because i could i had a window from 16pm to 7am and only 200 were exported . I know that when i will do the migration i will be able t o let it going but i was asking if it was the best way to do the task. Lobs are basicfiles.
I also try a test like this :
create global temporary table tb1 ;
insert into tb1 select * from table_at_remote where rownum< 5000; insert into final_table select * from tb1 ; It worked but it took 20 minutes for 5gb .
Surely i could study a way to cluster values of primary key in plsql and to try to build a manual "parallelism" mechanism, but i don't know if at the end i go faster and i have not a test envirorment .
I can not modify the source envirorment because it is a system of pubic health service and so we can touch anything .
I was wondering to try impdp with network link but i am not sure if it works with basicfile lob ( if i can i try tomorrow but i am allocated on more than one project ) .
Have you a different idea to test ?
Any hint is appreciated
Regards
Paolo
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Thu Oct 24 2024 - 15:59:54 CEST