Caching is the number of rows that will be fetched per RPC, depending on how big your rows are you might want to set it larger or smaller. Try 10 then do some experiments.
There's not that many more, speed of reading is always improved with caching. Make sure your data can fit in the block cache and that it stays there. J-D On Tue, Jan 25, 2011 at 2:35 AM, 陈加俊 <[email protected]> wrote: > final Scan scan = new Scan(); > scan.setCaching(scannerCaching); > scan.addColumn(family); > > table.getScanner(scan); > > For improving the speed of scan . > How to adjust the parameters ? Is there any more parameters or methods that > I don't know. >
