On Mon, Jun 8, 2009 at 8:45 AM, llpind <[email protected]> wrote:

>
> The insert works well for when I have a row key which is constant for a
> long
> period of time, and I can split it up into blocks.  But when the row key
> changes often, then insert performance over time starts to suffer.  The
> suggestion made by Ryan does help, and I was eventually able to get the
> entire data set into HBase. ( ~120 Million records)



Row key changes frequently?

You mean you are filling rows with lots of columns and while you hold to a
single row, insert is fast?

Your uploader encounters keys randomly or are they sorted?


>
>
> Currently working on some analysis, and had a question about the java api.
> Is there a way to get record count given a row key?  something like: long
> getColumnCount (rowkey).  So it doesn't bring down any data to client, but
> simply returns the size..?


No.  You have to scan currently.

St.Ack

Reply via email to