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

Lars Hofhansl edited comment on PHOENIX-4939 at 10/2/18 6:05 PM:
-----------------------------------------------------------------

This table is actually salted into 8 buckets, which explains some of this.
Lemme do some more testing. Then I'll either have a fix or close this.

I tried with 256 salt buckets on a totally empty table. Local index creation 
took 227 seconds.
It seems to run into a ColumnNotFoundException on each region, then sleep for 
1000ms for some reason... Again for each region.

Not super important, but still weird.


was (Author: lhofhansl):
This table is actually salted into 8 buckets, which explains some of this.
Lemme do some more testing. Then I'll either have a fix or close this.

NM: Happens with an unsalted table as well.

> It takes over 13 seconds to create a local index on an empty table
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-4939
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4939
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Lars Hofhansl
>            Priority: Major
>
> {{create local index local1 on test(v2);}}
> No rows affected (13.216 seconds)
>  
> {{create index global1 on test(v2);}}
> No rows affected (6.274 seconds)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to