Commit Size on Load Append.
Moderators: chulett, rschirm, roy
Commit Size on Load Append.
Hi,
I am using load append method to insert 30 million rows into oracle table. But it is commiting after every 64 records. For this there is huge numbers of Commit Point reached message that is consuming all the space and also the performance is degrading.
Please advise how I can set the commit interval to 10,000 or more.
Parameter currently using,
$APT_ORACLE_LOAD_OPTIONS=OPTIONS(DIRECT=FALSE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=FALSE,SKIP_UNUSABLE_INDEXES
=TRUE,ERRORS=1000000)
I am using load append method to insert 30 million rows into oracle table. But it is commiting after every 64 records. For this there is huge numbers of Commit Point reached message that is consuming all the space and also the performance is degrading.
Please advise how I can set the commit interval to 10,000 or more.
Parameter currently using,
$APT_ORACLE_LOAD_OPTIONS=OPTIONS(DIRECT=FALSE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=FALSE,SKIP_UNUSABLE_INDEXES
=TRUE,ERRORS=1000000)
Thanks !!!
Sambit
Sambit
You should investigate the use of the APT_ORAUPSERT_COMMIT_ROW_INTERVAL and APT_ORAUPSERT_COMMIT_TIME_INTERVAL environment variables. Or, if you'd rather use the Oracle OPTION, use ROWS=x there with whatever number you feel is appropriate.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Well... they certainly won't work with a direct path load as there are no commits done when DIRECT=TRUE. So, is the ROWS option working for you or not? Hard to tell for sure from the way you phrased it. Note that you may also need to increase the BINDSIZE depending on the length of your records so it can hold that number of rows:
http://www.orafaq.com/forum/t/84903/0/
http://www.orafaq.com/forum/t/84903/0/
Last edited by chulett on Tue Dec 30, 2008 4:32 pm, edited 1 time in total.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore