Obviously, if each unit of work were two, or ten, or one hundred times as large as a single string method call, then the proportion of time spent in thread overhead would be correspondingly small.
显然,如果每个工作单元都相当于单个字符串方法调用的两倍、十倍或一百倍,那么所花费的线程开销比例就相应地更小了。
Ensure that locklist and maxlocks are large enough, or else reduce the unit of work by issuing commit statements more often.
确保locklist和maxlocks足够大,或者通过更为频繁地发出commit语句减小工作单元。
应用推荐