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 2016/01/24 04:43:39 UTC

[jira] [Resolved] (PHOENIX-1270) Avoid retrieve metadata from server to gain performance

     [ https://issues.apache.org/jira/browse/PHOENIX-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Taylor resolved PHOENIX-1270.
-----------------------------------
    Resolution: Duplicate

Duplicate of PHOENIX-2520

> Avoid retrieve metadata from server to gain performance
> -------------------------------------------------------
>
>                 Key: PHOENIX-1270
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1270
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: daniel meng
>            Assignee: James Taylor
>         Attachments: PHOENIX-1270.patch
>
>
> Now the SELECT or UPSERT(when autoCommit is TRUE) will need one extra RPC for retrieve metadata from RS. In some cases where metadata rarely changed and higher TPS is required, we should let the client have a choice to use cache directly for better performance. the attached patch do two :
> 1. enable metadata cache self refresh (switch by "phoenix.cache.autoRefresh")
> 2. client can use hint /\*+ALWAYS_USE_META_CACHE\*/ to force compiler to use cache frist
> thanks in advance for your advice



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