flyong 公告
flyong · 共 5 篇文章
求:10w级别连续插入方法
昨天模拟了在mysql5.0数据库中连续插入10w条记录,主要用到hibernate的save()方法,用for循环模拟了一下,结果到3w,是在没有心情等下去了,花了1H多,数据库是本机的, 个人机器AMD sempron 3000+ 主频1.60GHz,内存1.5GB 想问:10w级别的如何连续插入控制在1m内?一般连续插入10w级别的数据在mysql数据库中耗时是多少?
2008-11-27 19:55 · 杂谈 · 评论(3)
something about war
something about war My love,you are strong and you will do well in life. I love you and my children deeply.Today and tomorrow,let each day grow and grow. Keep smiling and never give up,even when thing get you down.So,in closing my love,tonight,tuck my children in bed warmly.Tell them i love them.Th…
2008-11-25 21:07 · 杂谈 · 评论(0)