I am working on a java application that reads files from a cd and uploads each file as a blob to an oracle table. The application runs quite slow, only inserting 10-20 files per second. I am looking for a way to speed up this rate of inserting.
答案 0 :(得分:2)
The first step of such an exercise is to identify why it is slow, or to put it another way, you need to find the bottleneck before you can improve anything. There are several things that could be causing a bottleneck in your application:
In order to find the bottleneck, you should eliminate the possibilities one by one:
If neither of these things help, then it sounds like you might have the wrong database for the job. Oracle is a highly efficient enterprise grade piece of kit and if it isn't performing as fast as you expect then it's probably mis-configured or the files are larger than Oracle is designed for.