You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2026/10/05 20:08:00 UTC

[jira] [Updated] (PHOENIX-8007) Perf bottleneck - Server side Index metadata lookup overhead

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

Viraj Jasani updated PHOENIX-8007:
----------------------------------
    Fix Version/s: 5.4.0
                   5.3.3

> Perf bottleneck - Server side Index metadata lookup overhead
> ------------------------------------------------------------
>
>                 Key: PHOENIX-8007
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-8007
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 5.4.0, 5.3.1
>            Reporter: Tanuj Khurana
>            Assignee: Viraj Jasani
>            Priority: Major
>             Fix For: 5.4.0, 5.3.3
>
>         Attachments: 7727-server-lock-flamegraph.html, 7727-server-wall-flamegraph.html
>
>
> PHOENIX-7727 added _phoenix.index.useServerMetadata_ (default true) to eliminate the client _addServerCache_ RPC by having the region server rebuild the I{_}ndexMaintainer{_} from its PTable cache per batch {_}PhoenixIndexMetaDataBuilder.getIndexMetaDataCacheFromPTable{_}.  It builds a fresh PhoenixConnection per batch which contributes to wall latency and under concurrent load has lock contention. I have attached both wall and lock flamegraphs which show the contribution of new connection. I think we can create the connection lazily per region but we have to be careful if the connection is reaped and closed for example when cqsi closes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)