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

Alicia Ying Shu commented on PHOENIX-1240:
------------------------------------------

Enhanced ALTER TABLE sql statement to set TTL (in seconds) after table is 
created. Also CREATE TABLE can specify TTL (in seconds). For example:

ALTER TABLE set_ttl_test SET TTL=30;
CREATE TABLE ttl_test (pk char(2) not null primary key) TTL=100 SPLIT ON 
('EA','EZ');

Attached patch.

> Add TTL to SYSTEM.TRACING_STATS table
> -------------------------------------
>
>                 Key: PHOENIX-1240
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1240
>             Project: Phoenix
>          Issue Type: Sub-task
>    Affects Versions: 5.0.0, 4.1.1
>            Reporter: Jesse Yates
>            Assignee: Alicia Ying Shu
>             Fix For: 5.0.0, 4.1.1
>
>
> Tracing table should have a configurable TTL on it, so the table doesn't fill 
> up with too much data.



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

Reply via email to