在这个 DDL 语法中,EXPIRE是否意味着 SnappyData 在这段时间之后从字面上删除记录?或者,只是从本地缓存/内存中过期,以后可以从磁盘中再次检索它?
CREATE TABLE [IF NOT EXISTS] table_name
(
COLUMN_DEFININTION
)
USING 'row | column'
OPTIONS (
COLOCATE_WITH 'table_name', // Default none
PARTITION_BY 'PRIMARY KEY | column name', // If not specified it will be a replicated table.
BUCKETS 'NumPartitions', // Default 113
REDUNDANCY '1' ,
RECOVER_DELAY '-1',
MAX_PART_SIZE '50',
EVICTION_BY ‘LRUMEMSIZE 200 | LRUCOUNT 200 | LRUHEAPPERCENT,
PERSISTENT ‘DISKSTORE_NAME ASYNCHRONOUS | SYNCHRONOUS’, //empty string will map to default diskstore
OFFHEAP ‘true | false’ ,
**EXPIRE ‘TIMETOLIVE in seconds'**,
)