Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3575

Store column counters at global view level

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Today we store the column qualifier counters at the base table level. Views created on the table use this common pool of counters. When views are altered i.e. when columns are added to them, it is likely that the qualifiers allocated to views are not contiguous. This makes the data for views sparse which prevents us from taking advantage of encoding strategies. See discussion on PHOENIX-2565. There could be use cases where the user defines a global view and then child views are defined on that global view. By storing the counter at global view level, child views will be allocated a relatively contiguous set of column qualifiers (especially if they are not modified after the initial CREATE VIEW call).

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            samarthjain Samarth Jain
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development