You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Sergey Soldatov (JIRA)" <ji...@apache.org> on 2017/02/17 01:34:42 UTC

[jira] [Commented] (PHOENIX-3681) Store local indexes in a column family per index

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

Sergey Soldatov commented on PHOENIX-3681:
------------------------------------------

Sounds like a great idea. Definitely maintenance is quite painful at the moment (dropping one of the local indexes on large table takes ages). 

> Store local indexes in a column family per index
> ------------------------------------------------
>
>                 Key: PHOENIX-3681
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3681
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>
> Currently all local indexes are stored in a single column family. That makes maintenance (such as dropping an index) more expensive than necessary.
> Let's have each local index in its own column family (or be able to declare which column family an index should go into).
> As [~jamestaylor] points out, this won't work for indexes on views as there might be 1000's of them.
> Another issue are covered local indexes, but I'd argue that local indexes would benefit little from being covered. (that also needs to be experimentally verified)
> Local indexes in individual column families would be great to isolate any maintenance and even usage from each other.
> [~rajeshbabu], [~mujtabachohan]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)