phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Batyrshin <0x62...@gmail.com>
Subject Any reason for so small phoenix.mutate.batchSize by default?
Date Tue, 03 Sep 2019 12:03:29 GMT
 Hello all,

1) There is bug in documentation - http://phoenix.apache.org/tuning.html <http://phoenix.apache.org/tuning.html>
phoenix.mutate.batchSize is not 1000, but only 100 by default
https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java#L164
<https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java#L164>
Changed for https://issues.apache.org/jira/browse/PHOENIX-541 <https://issues.apache.org/jira/browse/PHOENIX-541>


2) I want to discuss this default value. From PHOENIX-541 <https://issues.apache.org/jira/browse/PHOENIX-541>
I read about issue with MR and wide rows (2MB per row) and it looks like rare case. But in
most common cases we can get much better write perfomance with batchSize = 1000 especially
if it used with SALT table
Mime
View raw message