direct parallel loading unless an index option is included.

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
ajayyos06
Participant
Posts: 4
Joined: Mon Jan 10, 2011 3:42 am

direct parallel loading unless an index option is included.

Post by ajayyos06 »

The ETL interface Job got aborted today due to be below error message.Looks like this is error ralated to Database(PMMPROD).

Error msg:

Indexes on table 'MWW_19C_EXT' preclude direct parallel loading unless an index option is included. Add an index option or drop indexes and rerun step.

Kindly suggest how to proceed further
Thanks!!
Ajay Yogesh

!!Beat it & Get it!!
Ready to lose few battles to win the WAR
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

As the error message suggests, you can either:

1) Select an index option in the database stage you are writing with. Typically you may elect to rebuild the index, but other options may be present
2) Disable or remove the index before loading the data. The stage may have the option to disable the index, or you can work with the DBAs to disable it.

Ask your DBA which option they recommend for their database. Also, you can read the database connectivity guide document for the type of database you are connecting to to gain a better understanding of the options available to you.

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
ppgoml
Participant
Posts: 58
Joined: Mon Aug 20, 2007 11:00 pm

Post by ppgoml »

Be careful when you choose to disable the index before load and then enable it after load, particularly you have unique index on target table.
you should ensure that there is no violation of the unique constrain, or your table will be read only and the DBMS will not let you enable the unique index.
Jack Li
ajayyos06
Participant
Posts: 4
Joined: Mon Jan 10, 2011 3:42 am

Re: direct parallel loading unless an index option is includ

Post by ajayyos06 »

Thankyou very much both of you!!!!

It solved the issues, actually there was no unique constrain so I tried with the first option, and it is good to go..

1) Select an index option in the database stage you are writing with. Typically you may elect to rebuild the index, but other options may be present
Thanks!!
Ajay Yogesh

!!Beat it & Get it!!
Ready to lose few battles to win the WAR
Post Reply