phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Pompermaier <pomperma...@okkam.it>
Subject Re: Phoenix executeBatch
Date Tue, 23 Jan 2018 11:45:35 GMT
Any answer on this..?

On Fri, Jan 12, 2018 at 10:38 AM, Flavio Pompermaier <pompermaier@okkam.it>
wrote:

> Hi to all,
> looking at the documentation (https://phoenix.apache.org/tuning_guide.html),
> in the writing section, there's the following sentence: "Phoenix uses
> commit() instead of executeBatch() to control batch updates". Am using a
> Phoenix connection with autocommit enabled + PreparedStatement.executeBatch().
> Doesn't Phoenix handle this correctly...?
> I'm asking this because writing directly to HDFS (as Parquet) takes 1
> minute, while UPSERTING into HBASE takes 15 m...what can I do to detect
> what is slowing down the write?
>
> Best,
> Flavio
>



-- 
Flavio Pompermaier
Development Department

OKKAM S.r.l.
Tel. +(39) 0461 041809

Mime
View raw message