You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Anoop Sam John (Jira)" <ji...@apache.org> on 2021/03/05 11:40:00 UTC

[jira] [Commented] (PHOENIX-3412) Add flag to use batch update APIs in pherf

    [ https://issues.apache.org/jira/browse/PHOENIX-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17295985#comment-17295985 ] 

Anoop Sam John commented on PHOENIX-3412:
-----------------------------------------

[~elserj]
As per the patch, we have in WriteWorkload.java
this.useBatchApi = Boolean.getBoolean(USE_BATCH_API_PROPERTY);
useBatchApi  is not referring to the system property being added at Pherf.  This always convert the string 'pherf.default.dataloader.batchApi' to boolean and will be false always.  Am I missing something?

> Add flag to use batch update APIs in pherf
> ------------------------------------------
>
>                 Key: PHOENIX-3412
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3412
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: 4.9.0
>
>         Attachments: PHOENIX-2541.patch
>
>
> It would be nice to have a flag on pherf that would use the JDBC addBatch/executeBatch APIs (for PQS to perform more efficient updates).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)