Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQL loader error while using parallel in direct path

944524Dec 23 2015 — edited Dec 23 2015

Hi,

While loading the mulitiple files through sql loader, i was getting below error

SQL*Loader-951: Error calling once/load initialization

ORA-26002: Table T1 has index defined upon it.

Later i used SKIP_INDEX_MAINTENANCE=TRUE to avoid but this have disabled index under my table T1 , is there a way to avoid disabling the indexes i mean to use direct and parallel load

ctl file

LOAD DATA

INFILE '/path/1.dat'

INFILE '/path/2.dat'

BADFILE '/path/1.bad

DISCARDFILE  '/path/1.dsc'

INTO TABLE T1

APPEND

FIELDS TERMINATED BY ','

TRAILING NULLCOLS

(ID,

date_col);

sqlldr userid=user/pass@db control=/path/test.ctl parallel = true direct = true SKIP_INDEX_MAINTENANCE = TRUE log=/path/.$(date +"%Y%m%d_%H%M%S").log errors=100000

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 20 2016
Added on Dec 23 2015
14 comments
3,363 views