10g to 9i database data migration

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
mathewb
Premium Member
Premium Member
Posts: 22
Joined: Tue Jul 17, 2007 10:35 pm

10g to 9i database data migration

Post by mathewb »

We need to extract data from a 10g database to a 9i database application. We created the datastage job and the write method is Load. Since the env file dsenv has path specified as 10g, the loader is failing after it loads the data. I am thinking the failure is becase the sqlloader is looking some 10g specific attributes while finishing with the load process.
The error is

Oracle_Enterprise_1,0: SQL*Loader-925: Error while uldlpim: OCIStmtExecute

Oracle_Enterprise_1,2: ORA-00904: "MESSAGE_NUM": invalid identifier

pls let me know what you guys think of this issue..


Thanks
mathew
kris
Participant
Posts: 160
Joined: Tue Dec 09, 2003 2:45 pm
Location: virginia, usa

Re: 10g to 9i database data migration

Post by kris »

~Kris
bkumar103
Participant
Posts: 214
Joined: Wed Jul 25, 2007 2:29 am
Location: Chennai

Post by bkumar103 »

I dont think 10G loader will be able to load data in 9i database. 9i loader can load the data in 10G. try using 9i loader. change the dsenv to point to 9i loader.
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

Try making Direct and Parallel options to false and run.

Below quote may be of interest for you
In Oracle 10g - 9i combination, when you try to load to 9i using 10g sqlldr it finally try to insert/update MESSAGE_NUM column which does not exist in 9i.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
mathewb
Premium Member
Premium Member
Posts: 22
Joined: Tue Jul 17, 2007 10:35 pm

Post by mathewb »

The dsenv was changed to point to 10g since one project was migrating to 10g. We have now reverted back to 9i since we know that things will work with old setting. Now the work is to test all the 10G ones and find its problems.

Have you guys faced any problems for migrating database to 10G where as your DS still points to 9i path. Project level path will not help since these paths are appended to the existing one and will not take effect.

Thanks
mathewb
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

We support both 9i and 10g using a 9i client without issue.
-craig

"You can never have too many knives" -- Logan Nine Fingers
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Post by gateleys »

chulett wrote:We support both 9i and 10g using a 9i client without issue.
Ditto!!!
gateleys
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

However, just now noticing the forum we're in, I'll add the caveat that in my specific case we are Server only. Not sure it matters, but wanted to make that point.
-craig

"You can never have too many knives" -- Logan Nine Fingers
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Post by gateleys »

chulett wrote:However, just now noticing the forum we're in, I'll add the caveat that in my specific case we are Server only. Not sure it matters, but wanted to make that point.
Uh-oh!! Ditto again. :lol:
gateleys
mathewb
Premium Member
Premium Member
Posts: 22
Joined: Tue Jul 17, 2007 10:35 pm

Post by mathewb »

what is the 9i version...Is it 9.2.0.7 or is it 9.2.0.8?? ... We are having problem with java libs with the 9.2.0.7_64 client and 10g database.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

From what I recall, we're using 9.2.06 actually.
-craig

"You can never have too many knives" -- Logan Nine Fingers
coface
Premium Member
Premium Member
Posts: 57
Joined: Fri Aug 10, 2007 8:13 am

Post by coface »

JoshGeorge wrote:Try making Direct and Parallel options to false and run.

Below quote may be of interest for you
In Oracle 10g - 9i combination, when you try to load to 9i using 10g sqlldr it finally try to insert/update MESSAGE_NUM column which does not exist in 9i.
Please check following thread for further details using 10g Client with 9i Server: viewtopic.php?t=121926&highlight=oracle+10g
Post Reply