hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From N Keywal <nkey...@gmail.com>
Subject Re: HBase first steps: Design a table
Date Wed, 13 Jun 2012 08:58:14 GMT
Hi,

> Usually I'm inserting about 40 000 rows at a time. Should I do 40 000
> calls to put? Or is there any "bulkinsert" method?

There is this chapter on bulk loading:
http://hbase.apache.org/book.html#arch.bulk.load
But for 40K rows you may just want to use "void put(final List<Put>
puts)" in HTableInterface, that will save a lot of rpc calls.

Cheers,

N.

Mime
View raw message