新手问题。# Java - 爪哇娇娃B*g2008-12-18 08:121 楼公司要bulk load数据去oracle,数据是text。需要multiple CPU工作,咋搞?数据比较大,一个文件几百G。啥hibernate,spring的都能用吗?谢谢。
g*g2008-12-18 08:122 楼干这个活,显然写一个脚本就行了。【在 B*****g 的大作中提到】: 公司要bulk load数据去oracle,数据是text。需要multiple CPU工作,咋搞?数据比: 较大,一个文件几百G。: 啥hibernate,spring的都能用吗?: 谢谢。
B*g2008-12-18 08:127 楼need to load fast, but only given limited resources.【在 k***r 的大作中提到】: add a delay, load more slowly
g*g2008-12-18 08:128 楼Go as fast as you can without bringing the server down, usesmaller data to figure out the right delay.【在 B*****g 的大作中提到】: need to load fast, but only given limited resources.
B*g2008-12-18 08:129 楼谢谢,让我先看看【在 g*****g 的大作中提到】: Go as fast as you can without bringing the server down, use: smaller data to figure out the right delay.
s*e2008-12-18 08:1211 楼Actually this is a good question.Rule of thumb: no ORM should be used for bulk load.
B*g2008-12-18 08:1212 楼let me google ORM first.【在 s******e 的大作中提到】: Actually this is a good question.: Rule of thumb: no ORM should be used for bulk load.
k*r2008-12-18 08:1213 楼Just don't use any of the fancy stuff :)【在 B*****g 的大作中提到】: let me google ORM first.
F*n2008-12-18 08:1214 楼Why not just write a Java I/O class then you can control everythingincluding buffering and delay.【在 k***r 的大作中提到】: add a delay, load more slowly