|
-
 Originally Posted by sumit
"you should not commit across fecthes" - can you explain more on this please?
If you populate a cursor with let's say 100,000 rows then loop the cursor and commit every let's say 1,000 rows you are committing across fetches.
 Originally Posted by sumit
...as I said earlier, I am runing this application in 10 parallel thread reading 10 separate input files. After each 100 records, the process will commit records in the database. Are you seeing anything wrong doing this?
Yes.
100 rows? Why not 1,000? or 10,000?
Most probably you are commiting too often.
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|