On Fri, 2011-09-30 at 02:52 -0700, Shri :) wrote: > @Dave I think I followed the pattern suggested in the link that you gave me > (http://openjena.org/wiki/SDB/Loading_data), the above is the snippet of my > source code. > And one more thing, I didn't get the idea of "Are you wrapping the load in a > transaction to avoid auto-commit costs?", can you please elaborate a bit on > this?? Sorry, I am relatively a novice..
You want to make sure the database sees all your inserts as one large transaction. You have explicit control over this via model.begin()/model.commit(). However, SDB will do this for you automatically so the main thing is to make sure you are using the bulkloader as Andy and Damian have already said. Dave
