[ https://issues.apache.org/jira/browse/PHOENIX-3128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405211#comment-15405211 ]
Hudson commented on PHOENIX-3128: --------------------------------- SUCCESS: Integrated in Phoenix-master #1351 (See [https://builds.apache.org/job/Phoenix-master/1351/]) PHOENIX-3128 Remove extraneous operations during upsert with local (jamestaylor: rev ca7c36d59247795d92f7fc23a4ae4038da215284) * phoenix-core/src/main/java/org/apache/phoenix/index/PhoenixIndexMetaData.java * phoenix-core/src/main/java/org/apache/phoenix/compile/PostLocalIndexDDLCompiler.java * phoenix-core/src/it/java/org/apache/phoenix/end2end/index/IndexIT.java * phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/IndexMetaData.java * phoenix-core/src/main/java/org/apache/phoenix/util/TransactionUtil.java * phoenix-core/src/main/java/org/apache/phoenix/index/PhoenixTransactionalIndexer.java * phoenix-core/src/main/java/org/apache/phoenix/hbase/index/covered/NonTxIndexBuilder.java * phoenix-core/src/it/java/org/apache/phoenix/end2end/DistinctPrefixFilterIT.java * phoenix-core/src/main/java/org/apache/phoenix/schema/PTableImpl.java * phoenix-core/src/main/java/org/apache/phoenix/execute/MutationState.java > Remove extraneous operations during upsert with local immutable index > --------------------------------------------------------------------- > > Key: PHOENIX-3128 > URL: https://issues.apache.org/jira/browse/PHOENIX-3128 > Project: Phoenix > Issue Type: Bug > Reporter: Junegunn Choi > Assignee: Junegunn Choi > Fix For: 4.8.0 > > Attachments: PHOENIX-3128.patch, PHOENIX-3128_v2.patch, > PHOENIX-3128_v3.patch, PHOENIX-3128_v4.patch, PHOENIX-3128_v5.patch, > PHOENIX-3128_v6.patch, PHOENIX-3128_v7.patch, PHOENIX-3128_v8.patch, > PHOENIX-3128_wip.patch > > > Upsert to a table with a local immutable index is supposed to be more > efficient than to a table with a local mutable index, but it's actually > slower (in our environment by 30%) due to extraneous operations involved. > The problem is twofold: > 1. Client unnecessarily prepares and sends index update. > 2. Index cleanup is done regardless of the immutability of the table. -- This message was sent by Atlassian JIRA (v6.3.4#6332)