phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-4701) Declare SYSTEM.LOG table as immutable with compact storage format
Date Mon, 23 Apr 2018 17:35:00 GMT


James Taylor commented on PHOENIX-4701:

Also, I don't think a PK of only QUERY_ID is particularly useful. It should be part of the
PK (for uniqueness), but at the end as we won't every query by QUERY_ID). What would be
the most common query against the table? That'll drive what the PK should be. Perhaps a PK

Also, START_TIME should be declared as a DATE, not a TIMESTAMP. TIMESTAMP is nanosecond granularity
which we don't need (and wouldn't capture anyway) and it'd cause more overhead. DATE is millisecond
granularity which is what we'd want.

> Declare SYSTEM.LOG table as immutable with compact storage format
> -----------------------------------------------------------------
>                 Key: PHOENIX-4701
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: James Taylor
>            Priority: Major
>             Fix For: 4.14.0, 5.0.0
> If possible, the SYSTEM.LOG table would benefit greatly  (3-5x perf gain) from being
declared as immutable with a column encoding of 1 byte and a storage format of SINGLE_CELL_ARRAY_WITH_OFFSETS.

This message was sent by Atlassian JIRA

View raw message