Performance of Multiple Inserts
From: David Roberts <droberts_at_seas.gwu.edu>
Date: 1995/08/10
Message-ID: <40bnnu$ot5_at_cronkite.seas.gwu.edu>#1/1
Date: 1995/08/10
Message-ID: <40bnnu$ot5_at_cronkite.seas.gwu.edu>#1/1
A friend of mine has written a simple Oracle program that he thinks should run in a couple of hours, that now appears to need 48 days to complete! I offered to ask for advice here....
A couple of questions--
- I suspected that the program might run faster if it committed about a whole pageful of data and then COMMITted, rather than issuing a COMMIT after each INSERT. What do you think?
- Would that same strategy help for the multiple-client case? Are the multiple clients each going to work with the same page of data, hence have to wait on each other, or will Oracle give each of them a separate page?
Thanks