phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <>
Subject Re: How to speed up write performance
Date Tue, 05 Sep 2017 18:48:41 GMT
500writes/seconds seems very low to me. On my wimpy laptop, I can easily 
see over 10K writes/second depending on the schema.

The first check is to make sure that you have autocommit disabled. 
Otherwise, every update you make via JDBC will trigger an HBase RPC. 
Batching of RPCs to HBase is key to optimal performance via Phoenix.

Regarding #2, unless you have intimate knowledge with how Phoenix writes 
data to HBase, do not investigate this approach.

On 9/5/17 5:56 AM, Hef wrote:
> Hi guys,
> I'm evaluating using Phoenix to replace MySQL for better scalability.
> The version I'm evaluating isĀ 4.11-HBase-1.2, with some dependencies 
> modified to match CDH5.9 which we are using.
> The problem I'm having is the write performance to Phoenix from JDBC is 
> too poor, only 500writes/second, while our data's throughput is almost 
> 50,000/s. My questions are:
> 1. If the 500/s TPS is normal speed? How fast can you achieve in your 
> production?
> 2. Whether I can write directly into HBase with mutation API, and read 
> from Phoenix, that could be fast. But I don't see the secondary index be 
> created automatically in this case.
> Regards,
> Hef

View raw message