The shell uses a scanner prefetching of 10 rows in the shell, maybe you set it higher in your own code?
But 3000 secs does seem unusually high. J-D 2010/4/23 WANG Shicai <evan...@yahoo.cn>: > Hi, > > Count operation in shell over a 1,000,000 records table wasted 3000 seconds; > while a scan operation using java api cost only 32 seconds. Why? > > WANG Shicai , > > __________________________________________________ > 赶快注册雅虎超大容量免费邮箱? > http://cn.mail.yahoo.com > >