You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2015/07/02 01:05:05 UTC

[jira] [Comment Edited] (PHOENIX-2095) Lower the default for phoenix.sequence.saltBuckets

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

James Taylor edited comment on PHOENIX-2095 at 7/1/15 11:05 PM:
----------------------------------------------------------------

Makes sense. A default value of 0 might be best as then it won't be salted at all. You'd just need to change the static constant QueryServicesOptions.DEFAULT_SEQUENCE_TABLE_SALT_BUCKETS to be 0.


was (Author: jamestaylor):
Makes sense. A default value of 0 might be best as then it won't be salted at all.

> Lower the default for phoenix.sequence.saltBuckets
> --------------------------------------------------
>
>                 Key: PHOENIX-2095
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2095
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Andrew Purtell
>            Priority: Minor
>
> The current default of phoenix.sequence.saltBuckets is 256 and leads to the creation of SYSTEM.SEQUENCE with 256 regions (only when first created). This is too many regions for small test clusters or dev clusters so the default should probably be lowered, with production sizing documented elsewhere. 
> I suggest a new default of 8, 4, or even 1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)