Abort because of Index in diffrent Environment

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
kamalshil
Participant
Posts: 179
Joined: Mon Jun 23, 2008 1:19 am

Abort because of Index in diffrent Environment

Post by kamalshil »

Hi,
I am using oracle enterprise stage for loading the table.
Write method is 'Load'.
write mode is 'Truncate'.

And target table has no index.

In our dev environment and testing its running fine.

But when we put this code in different environment its giving below abort message.

Code: Select all

Indexes on table 'TMP_T' preclude direct parallel loading unless an index option is included. Add an index option or drop indexes and rerun step.
Is this a environment problem.
do i need to change some environment variables?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So you tested against a target table with no indexes but it has some in production? Hmmm...

As noted in the error you need to "Add an index option or drop indexes and rerun step", the "index option" is a property of the stage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kamalshil
Participant
Posts: 179
Joined: Mon Jun 23, 2008 1:19 am

Post by kamalshil »

Yes as my target table has no index.
so there is no need to use index option to add index or drop index.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Your error message says otherwise. Double-check.
-craig

"You can never have too many knives" -- Logan Nine Fingers
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Check the value of APT_ORACLE_LOAD_OPTIONS environment variable in both environment.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Post Reply