开发者

why so slow when I insert row with many columns into HBase?

开发者 https://www.devze.com 2023-03-29 23:00 出处:网络
I want to insert data into HBase from database, but One row with many columns(more than fifty, there is only one column family).

I want to insert data into HBase from database, but One row with many columns(more than fifty, there is only one column family). And I have 4 region servers, but the performance of insert less than 10000 rows/s开发者_如何学运维ec.

what can I do ?


Ignoring the hardware side of things (i.e. get better harddrives/servers/etc.) there are ways to optimize Put commands. I don't know how you're talking to HBase, but there are settings you can disable (like WAL) to increase performance and executing many Puts at the same time. Additionally, you should ensure you don't have a lot of row-key collisions as these create hot spots and degrade Region Server performance.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号