mark some file to been opensource for ce-farm

This commit is contained in:
niyuhang
2023-11-15 11:44:43 +00:00
committed by ob-robot
parent 4900683cff
commit c8ace58297
685 changed files with 1080566 additions and 111051 deletions

View File

@ -0,0 +1,171 @@
drop table if exists test_kv_attr;
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"HColumnDescriptor": {"TimeToLive": 5, "MaxVersions": 2}}' partition by key(K) partitions 3;
ERROR 0A000: kv attributes with wrong format not supported
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{}' partition by key(K) partitions 3;
ERROR HY000: Invalid argument
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"MaxVersion": 2}}' partition by key(K) partitions 3;
ERROR 0A000: kv attributes with wrong format not supported
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 5, "MaxVersions": 2, "MinVersions": 1}}' partition by key(K) partitions 3;
ERROR 0A000: kv attributes with wrong format not supported
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 1, "MaxVersions": 0}}' partition by key(K) partitions 3;
ERROR HY000: Incorrect arguments to max versions, which should greater than 0
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 0, "MaxVersions": 1}}' partition by key(K) partitions 3;
ERROR HY000: Incorrect arguments to time to live, which should greater than 0
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"TimeSeries": {}}' partition by key(K) partitions 3;
ERROR 0A000: kv attributes with wrong format not supported
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 0}, "Hbase": {"MaxVersions": 1}}' partition by key(K) partitions 3;
ERROR HY000: Invalid argument
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 10, "MaxVersions": 2}}' partition by key(K) partitions 3;
alter table test_kv_attr kv_attributes '{"HColumnDescriptor": {"TimeToLive": 5, "MaxVersions": 2}}';
ERROR 0A000: kv attributes with wrong format not supported
alter table test_kv_attr kv_attributes '{}';
ERROR HY000: Invalid argument
alter table test_kv_attr kv_attributes ='{"Hbase": {"TimeToLive": 5, "MaxVersions": 2, "MinVersions": 1}}';
ERROR 0A000: kv attributes with wrong format not supported
alter table test_kv_attr kv_attributes = '{"Hbase": {"MaxVersion": 2}}';
ERROR 0A000: kv attributes with wrong format not supported
alter table test_kv_attr kv_attributes = '{"Hbase": {"TimeToLive": 1, "MaxVersions": 0}}';
ERROR HY000: Incorrect arguments to max versions, which should greater than 0
alter table test_kv_attr kv_attributes ='{"Hbase": {"TimeToLive": 0, "MaxVersions": 1}}';
ERROR HY000: Incorrect arguments to time to live, which should greater than 0
alter table test_kv_attr kv_attributes ='{"Hbase": {"MaxVersions": 4}}';
alter table test_kv_attr kv_attributes ='{"Hbase": {"TimeToLive": 10000000}}';
alter table test_kv_attr kv_attributes ='{"Hbase": {"MaxVersions": 4, "TimeToLive": 10000000}}';
alter table test_kv_attr kv_attributes ='{"Hbase": {}}';
drop table if exists test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 hour);
show create table test_ttl;
Table Create Table
test_ttl CREATE TABLE `test_ttl` (
`a` int(11) NOT NULL,
`b` varchar(1024) DEFAULT NULL,
`c` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`a`)
) DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMPRESSION = 'zstd_1.3.8' REPLICA_NUM = 2 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE TABLET_SIZE = 134217728 PCTFREE = 0 TTL = (c + INTERVAL 1 hour)
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c datetime) TTL(c + INTERVAL 1 hour);
show create table test_ttl;
Table Create Table
test_ttl CREATE TABLE `test_ttl` (
`a` int(11) NOT NULL,
`b` varchar(1024) DEFAULT NULL,
`c` datetime DEFAULT NULL,
PRIMARY KEY (`a`)
) DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMPRESSION = 'zstd_1.3.8' REPLICA_NUM = 2 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE TABLET_SIZE = 134217728 PCTFREE = 0 TTL = (c + INTERVAL 1 hour)
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c varchar(1024)) TTL(c + INTERVAL 1 hour);
ERROR 0A000: Not supported feature or function
create table test_ttl(a int primary key, b varchar(1024), c date) TTL(c + INTERVAL 1 hour);
ERROR 0A000: Not supported feature or function
create table test_ttl(a int primary key, b varchar(1024), c time) TTL(c + INTERVAL 1 hour);
ERROR 0A000: Not supported feature or function
create table test_ttl(a int primary key, b varchar(1024)) TTL(now() + INTERVAL 1 hour);
ERROR 0A000: Not supported feature or function
create table test_ttl(a int primary key, b varchar(1024), c timestamp, d datetime) TTL(c + INTERVAL 0 hour);
show create table test_ttl;
Table Create Table
test_ttl CREATE TABLE `test_ttl` (
`a` int(11) NOT NULL,
`b` varchar(1024) DEFAULT NULL,
`c` timestamp NULL DEFAULT NULL,
`d` datetime DEFAULT NULL,
PRIMARY KEY (`a`)
) DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMPRESSION = 'zstd_1.3.8' REPLICA_NUM = 2 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE TABLET_SIZE = 134217728 PCTFREE = 0 TTL = (c + INTERVAL 0 hour)
alter table test_ttl TTL(c + INTERVAL 60 DAY);
show create table test_ttl;
Table Create Table
test_ttl CREATE TABLE `test_ttl` (
`a` int(11) NOT NULL,
`b` varchar(1024) DEFAULT NULL,
`c` timestamp NULL DEFAULT NULL,
`d` datetime DEFAULT NULL,
PRIMARY KEY (`a`)
) DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMPRESSION = 'zstd_1.3.8' REPLICA_NUM = 2 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE TABLET_SIZE = 134217728 PCTFREE = 0 TTL = (c + INTERVAL 60 DAY)
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 second);
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 minute);
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 hour);
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 day);
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 month);
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 year);
alter table test_ttl drop column c;
ERROR 0A000: Not supported feature or function
alter table test_ttl change column c c2 datetime;
ERROR 0A000: Not supported feature or function
alter table test_ttl modify column c bigint;
ERROR 0A000: Not supported feature or function
alter table test_ttl modify column c datetime;
ERROR 0A000: Not supported feature or function
alter table test_ttl add column d datetime, ttl(d + INTERVAL 1 minute);
ERROR 0A000: Not supported feature or function
alter table test_ttl remove ttl;
show create table test_ttl;
Table Create Table
test_ttl CREATE TABLE `test_ttl` (
`a` int(11) NOT NULL,
`b` varchar(1024) DEFAULT NULL,
`c` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`a`)
) DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMPRESSION = 'zstd_1.3.8' REPLICA_NUM = 2 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE TABLET_SIZE = 134217728 PCTFREE = 0
alter table test_ttl drop column c;
drop table test_kv_attr;
drop table test_ttl;

View File

@ -0,0 +1,169 @@
alter system minor freeze;
alter system set enable_kv_ttl = true;
drop table if exists ttl_tm;
CREATE TABLE ttl_tm(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 5, "MaxVersions": 2}}' partition by key(K) partitions 3;
drop table if exists ttl_t;
CREATE TABLE ttl_t(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes = '{"Hbase": {"TimeToLive": 5}}' partition by key(K) partitions 3;
drop table if exists ttl_m;
CREATE TABLE ttl_m(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"MaxVersions": 2}}' partition by key(K) partitions 3;
drop table if exists ttl_m_single;
CREATE TABLE ttl_m_single(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"MaxVersions": 2}}';
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 0, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 0, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 0, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 0, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 1, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 1, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 1, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 1, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 2, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 2, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 2, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 2, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 3, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 3, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 3, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 3, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 4, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 4, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 4, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 4, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 5, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 5, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 5, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 5, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 6, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 6, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 6, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 6, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 7, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 7, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 7, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 7, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 8, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 8, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 8, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 8, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 9, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 9, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 9, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 9, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 10, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 10, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 10, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 10, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 11, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 11, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 11, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 11, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 12, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 12, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 12, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 12, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 13, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 13, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 13, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 13, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 14, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 14, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 14, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 14, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 15, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 15, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 15, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 15, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 16, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 16, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 16, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 16, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 17, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 17, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 17, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 17, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 18, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 18, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 18, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 18, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 19, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 19, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 19, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 19, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 20, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 20, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 20, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 20, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 21, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 21, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 21, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 21, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 22, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 22, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 22, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 22, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 23, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 23, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 23, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 23, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 24, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 24, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 24, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 24, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 25, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 25, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 25, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 25, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 26, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 26, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 26, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 26, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 27, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 27, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 27, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 27, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 28, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 28, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 28, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 28, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 29, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 29, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 29, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 29, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 30, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 30, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 30, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 30, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 31, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 31, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 31, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 31, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 32, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 32, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 32, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 32, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 33, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 33, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 33, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 33, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 34, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 34, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 34, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 34, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 35, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 35, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 35, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 35, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 36, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 36, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 36, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 36, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 37, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 37, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 37, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 37, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 38, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 38, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 38, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 38, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 39, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 39, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 39, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 39, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 40, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 40, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 40, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 40, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 41, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 41, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 41, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 41, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 42, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 42, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 42, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 42, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 43, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 43, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 43, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 43, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 44, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 44, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 44, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 44, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 45, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 45, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 45, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 45, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 46, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 46, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 46, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 46, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 47, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 47, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 47, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 47, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 48, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 48, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 48, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 48, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 49, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 49, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 49, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 49, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 50, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 50, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 50, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 50, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 51, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 51, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 51, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 51, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 52, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 52, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 52, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 52, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 53, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 53, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 53, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 53, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 54, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 54, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 54, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 54, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 55, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 55, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 55, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 55, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 56, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 56, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 56, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 56, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 57, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 57, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 57, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 57, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 58, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 58, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 58, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 58, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 59, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 59, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 59, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 59, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 60, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 60, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 60, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 60, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 61, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 61, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 61, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 61, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 62, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 62, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 62, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 62, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 63, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 63, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 63, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 63, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 64, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 64, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 64, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 64, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 65, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 65, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 65, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 65, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 66, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 66, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 66, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 66, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 67, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 67, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 67, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 67, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 68, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 68, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 68, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 68, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 69, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 69, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 69, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 69, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 70, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 70, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 70, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 70, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 71, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 71, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 71, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 71, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 72, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 72, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 72, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 72, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 73, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 73, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 73, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 73, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 74, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 74, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 74, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 74, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 75, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 75, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 75, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 75, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 76, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 76, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 76, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 76, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 77, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 77, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 77, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 77, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 78, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 78, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 78, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 78, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 79, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 79, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 79, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 79, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 80, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 80, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 80, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 80, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 81, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 81, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 81, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 81, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 82, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 82, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 82, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 82, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 83, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 83, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 83, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 83, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 84, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 84, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 84, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 84, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 85, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 85, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 85, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 85, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 86, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 86, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 86, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 86, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 87, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 87, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 87, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 87, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 88, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 88, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 88, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 88, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 89, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 89, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 89, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 89, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 90, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 90, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 90, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 90, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 91, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 91, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 91, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 91, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 92, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 92, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 92, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 92, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 93, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 93, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 93, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 93, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 94, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 94, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 94, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 94, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 95, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 95, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 95, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 95, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 96, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 96, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 96, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 96, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 97, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 97, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 97, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 97, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 98, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 98, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 98, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 98, 'del');;
insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', 99, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', 99, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', 99, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', 99, 'del');;
alter system trigger ttl;
select count(*) from ttl_tm;
count(*)
0
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_tm' order by tablet_id;
TABLE_NAME TRIGGER_TYPE STATUS TTL_DEL_CNT MAX_VERSION_DEL_CNT SCAN_CNT RET_CODE
ttl_tm USER FINISHED 0 0 0 OB_SUCCESS
ttl_tm USER FINISHED 0 0 0 OB_SUCCESS
ttl_tm USER FINISHED 2 98 100 OB_SUCCESS
select count(*) from ttl_t;
count(*)
0
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_t' order by tablet_id;
TABLE_NAME TRIGGER_TYPE STATUS TTL_DEL_CNT MAX_VERSION_DEL_CNT SCAN_CNT RET_CODE
ttl_t USER FINISHED 0 0 0 OB_SUCCESS
ttl_t USER FINISHED 0 0 0 OB_SUCCESS
ttl_t USER FINISHED 100 0 100 OB_SUCCESS
select count(*) from ttl_m;
count(*)
2
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_m' order by tablet_id;
TABLE_NAME TRIGGER_TYPE STATUS TTL_DEL_CNT MAX_VERSION_DEL_CNT SCAN_CNT RET_CODE
ttl_m USER FINISHED 0 0 0 OB_SUCCESS
ttl_m USER FINISHED 0 0 0 OB_SUCCESS
ttl_m USER FINISHED 0 98 100 OB_SUCCESS
select count(*) from ttl_m_single;
count(*)
2
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_m_single' order by tablet_id;
TABLE_NAME TRIGGER_TYPE STATUS TTL_DEL_CNT MAX_VERSION_DEL_CNT SCAN_CNT RET_CODE
ttl_m_single USER FINISHED 0 98 100 OB_SUCCESS
drop table ttl_tm;
drop table ttl_t;
drop table ttl_m;
drop table ttl_m_single;

View File

@ -0,0 +1,649 @@
alter system minor freeze;
alter system set enable_kv_ttl = true;
alter system set ttl_thread_score = 4;
drop table if exists ttl_table_ts;
create table ttl_table_ts(a varchar(1024) primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 0 SECOND) partition by key(a) partitions 7;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(0 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(1 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(2 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(3 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(4 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(5 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(6 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(7 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(8 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(9 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(10 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(11 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(12 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(13 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(14 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(15 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(16 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(17 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(18 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(19 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(20 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(21 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(22 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(23 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(24 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(25 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(26 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(27 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(28 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(29 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(30 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(31 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(32 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(33 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(34 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(35 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(36 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(37 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(38 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(39 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(40 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(41 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(42 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(43 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(44 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(45 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(46 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(47 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(48 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(49 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(50 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(51 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(52 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(53 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(54 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(55 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(56 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(57 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(58 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(59 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(60 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(61 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(62 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(63 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(64 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(65 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(66 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(67 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(68 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(69 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(70 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(71 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(72 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(73 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(74 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(75 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(76 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(77 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(78 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(79 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(80 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(81 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(82 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(83 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(84 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(85 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(86 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(87 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(88 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(89 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(90 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(91 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(92 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(93 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(94 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(95 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(96 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(97 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(98 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(99 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(100 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(101 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(102 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(103 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(104 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(105 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(106 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(107 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(108 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(109 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(110 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(111 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(112 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(113 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(114 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(115 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(116 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(117 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(118 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(119 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(120 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(121 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(122 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(123 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(124 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(125 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(126 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(127 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(128 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(129 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(130 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(131 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(132 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(133 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(134 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(135 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(136 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(137 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(138 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(139 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(140 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(141 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(142 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(143 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(144 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(145 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(146 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(147 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(148 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(149 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(150 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(151 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(152 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(153 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(154 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(155 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(156 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(157 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(158 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(159 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(160 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(161 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(162 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(163 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(164 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(165 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(166 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(167 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(168 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(169 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(170 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(171 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(172 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(173 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(174 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(175 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(176 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(177 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(178 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(179 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(180 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(181 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(182 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(183 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(184 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(185 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(186 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(187 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(188 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(189 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(190 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(191 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(192 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(193 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(194 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(195 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(196 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(197 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(198 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(199 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(200 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(201 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(202 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(203 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(204 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(205 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(206 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(207 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(208 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(209 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(210 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(211 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(212 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(213 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(214 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(215 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(216 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(217 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(218 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(219 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(220 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(221 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(222 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(223 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(224 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(225 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(226 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(227 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(228 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(229 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(230 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(231 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(232 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(233 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(234 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(235 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(236 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(237 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(238 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(239 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(240 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(241 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(242 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(243 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(244 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(245 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(246 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(247 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(248 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(249 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(250 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(251 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(252 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(253 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(254 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(255 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(256 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(257 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(258 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(259 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(260 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(261 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(262 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(263 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(264 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(265 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(266 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(267 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(268 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(269 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(270 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(271 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(272 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(273 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(274 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(275 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(276 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(277 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(278 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(279 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(280 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(281 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(282 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(283 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(284 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(285 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(286 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(287 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(288 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(289 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(290 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(291 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(292 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(293 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(294 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(295 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(296 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(297 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(298 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(299 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(300 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(301 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(302 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(303 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(304 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(305 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(306 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(307 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(308 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(309 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(310 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(311 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(312 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(313 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(314 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(315 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(316 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(317 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(318 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(319 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(320 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(321 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(322 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(323 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(324 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(325 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(326 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(327 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(328 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(329 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(330 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(331 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(332 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(333 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(334 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(335 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(336 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(337 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(338 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(339 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(340 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(341 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(342 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(343 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(344 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(345 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(346 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(347 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(348 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(349 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(350 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(351 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(352 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(353 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(354 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(355 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(356 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(357 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(358 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(359 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(360 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(361 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(362 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(363 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(364 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(365 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(366 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(367 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(368 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(369 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(370 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(371 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(372 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(373 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(374 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(375 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(376 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(377 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(378 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(379 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(380 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(381 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(382 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(383 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(384 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(385 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(386 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(387 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(388 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(389 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(390 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(391 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(392 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(393 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(394 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(395 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(396 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(397 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(398 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(399 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(400 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(401 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(402 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(403 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(404 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(405 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(406 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(407 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(408 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(409 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(410 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(411 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(412 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(413 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(414 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(415 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(416 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(417 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(418 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(419 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(420 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(421 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(422 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(423 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(424 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(425 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(426 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(427 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(428 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(429 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(430 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(431 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(432 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(433 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(434 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(435 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(436 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(437 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(438 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(439 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(440 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(441 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(442 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(443 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(444 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(445 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(446 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(447 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(448 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(449 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(450 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(451 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(452 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(453 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(454 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(455 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(456 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(457 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(458 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(459 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(460 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(461 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(462 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(463 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(464 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(465 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(466 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(467 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(468 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(469 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(470 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(471 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(472 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(473 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(474 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(475 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(476 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(477 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(478 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(479 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(480 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(481 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(482 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(483 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(484 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(485 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(486 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(487 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(488 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(489 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(490 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(491 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(492 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(493 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(494 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(495 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(496 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(497 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(498 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(499 as char)), 'hello world', now());;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(500 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(501 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(502 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(503 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(504 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(505 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(506 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(507 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(508 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(509 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(510 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(511 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(512 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(513 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(514 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(515 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(516 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(517 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(518 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(519 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(520 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(521 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(522 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(523 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(524 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(525 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(526 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(527 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(528 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(529 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(530 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(531 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(532 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(533 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(534 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(535 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(536 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(537 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(538 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(539 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(540 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(541 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(542 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(543 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(544 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(545 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(546 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(547 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(548 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(549 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(550 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(551 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(552 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(553 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(554 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(555 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(556 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(557 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(558 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(559 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(560 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(561 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(562 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(563 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(564 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(565 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(566 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(567 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(568 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(569 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(570 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(571 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(572 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(573 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(574 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(575 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(576 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(577 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(578 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(579 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(580 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(581 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(582 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(583 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(584 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(585 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(586 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(587 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(588 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(589 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(590 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(591 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(592 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(593 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(594 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(595 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(596 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(597 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(598 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
insert into ttl_table_ts(a, b, c) values (concat('row', cast(599 as char)), 'hello world', date_add(now(), interval + 2 MINUTE));;
alter system trigger ttl;
select count(*) from ttl_table_ts;
count(*)
100
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_table_ts' order by tablet_id;
TABLE_NAME TRIGGER_TYPE STATUS TTL_DEL_CNT MAX_VERSION_DEL_CNT SCAN_CNT RET_CODE
ttl_table_ts USER FINISHED 76 0 91 OB_SUCCESS
ttl_table_ts USER FINISHED 64 0 79 OB_SUCCESS
ttl_table_ts USER FINISHED 64 0 76 OB_SUCCESS
ttl_table_ts USER FINISHED 66 0 77 OB_SUCCESS
ttl_table_ts USER FINISHED 69 0 85 OB_SUCCESS
ttl_table_ts USER FINISHED 82 0 98 OB_SUCCESS
ttl_table_ts USER FINISHED 79 0 94 OB_SUCCESS
drop table ttl_table_ts;
drop table if exists ttl_table_ts_column_order;
create table ttl_table_ts_column_order(a varchar(1024), b int primary key, c timestamp) TTL(c + INTERVAL 0 SECOND) partition by key(b) partitions 7;
drop procedure if exists insert_data;
create PROCEDURE insert_data(del int, no_del int)
BEGIN
DECLARE i INT DEFAULT 0;
WHILE i < del do
insert into ttl_table_ts_column_order(a, b, c) values (concat('row', cast(i as char)), i, now());
set i = i + 1;
end while;
while i < del + no_del do
insert into ttl_table_ts_column_order(a, b, c) values (concat('row', cast(i as char)), i, date_add(now(), interval + 2 MINUTE));
set i = i + 1;
end while;
END |
call insert_data(500, 100);
alter system trigger ttl;
select count(*) from ttl_table_ts_column_order;
count(*)
100
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_table_ts_column_order' order by tablet_id;
TABLE_NAME TRIGGER_TYPE STATUS TTL_DEL_CNT MAX_VERSION_DEL_CNT SCAN_CNT RET_CODE
ttl_table_ts_column_order USER FINISHED 81 0 97 OB_SUCCESS
ttl_table_ts_column_order USER FINISHED 62 0 77 OB_SUCCESS
ttl_table_ts_column_order USER FINISHED 70 0 78 OB_SUCCESS
ttl_table_ts_column_order USER FINISHED 55 0 75 OB_SUCCESS
ttl_table_ts_column_order USER FINISHED 71 0 86 OB_SUCCESS
ttl_table_ts_column_order USER FINISHED 80 0 90 OB_SUCCESS
ttl_table_ts_column_order USER FINISHED 81 0 97 OB_SUCCESS
drop table ttl_table_ts_column_order;

View File

@ -0,0 +1,167 @@
#owner: shenyunlong.syl
#owner group: shenzhen
connect (conn_admin, $OBMYSQL_MS0,admin,$OBMYSQL_PWD,test,$OBMYSQL_PORT);
connection default;
### test kv_attributes syntax
--disable_warnings
drop table if exists test_kv_attr;
--error 1235
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"HColumnDescriptor": {"TimeToLive": 5, "MaxVersions": 2}}' partition by key(K) partitions 3;
--error 1210
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{}' partition by key(K) partitions 3;
--error 1235
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"MaxVersion": 2}}' partition by key(K) partitions 3;
--error 1235
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 5, "MaxVersions": 2, "MinVersions": 1}}' partition by key(K) partitions 3;
--error 1210
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 1, "MaxVersions": 0}}' partition by key(K) partitions 3;
--error 1210
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 0, "MaxVersions": 1}}' partition by key(K) partitions 3;
--error 1235
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"TimeSeries": {}}' partition by key(K) partitions 3;
--error 1210
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 0}, "Hbase": {"MaxVersions": 1}}' partition by key(K) partitions 3;
CREATE TABLE test_kv_attr(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 10, "MaxVersions": 2}}' partition by key(K) partitions 3;
--error 1235
alter table test_kv_attr kv_attributes '{"HColumnDescriptor": {"TimeToLive": 5, "MaxVersions": 2}}';
--error 1210
alter table test_kv_attr kv_attributes '{}';
--error 1235
alter table test_kv_attr kv_attributes ='{"Hbase": {"TimeToLive": 5, "MaxVersions": 2, "MinVersions": 1}}';
--error 1235
alter table test_kv_attr kv_attributes = '{"Hbase": {"MaxVersion": 2}}';
--error 1210
alter table test_kv_attr kv_attributes = '{"Hbase": {"TimeToLive": 1, "MaxVersions": 0}}';
--error 1210
alter table test_kv_attr kv_attributes ='{"Hbase": {"TimeToLive": 0, "MaxVersions": 1}}';
alter table test_kv_attr kv_attributes ='{"Hbase": {"MaxVersions": 4}}';
alter table test_kv_attr kv_attributes ='{"Hbase": {"TimeToLive": 10000000}}';
alter table test_kv_attr kv_attributes ='{"Hbase": {"MaxVersions": 4, "TimeToLive": 10000000}}';
alter table test_kv_attr kv_attributes ='{"Hbase": {}}';
### test ttl syntax
--disable_warnings
drop table if exists test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 hour);
show create table test_ttl;
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c datetime) TTL(c + INTERVAL 1 hour);
show create table test_ttl;
drop table test_ttl;
## not supported data type
--error 1235
create table test_ttl(a int primary key, b varchar(1024), c varchar(1024)) TTL(c + INTERVAL 1 hour);
--error 1235
create table test_ttl(a int primary key, b varchar(1024), c date) TTL(c + INTERVAL 1 hour);
--error 1235
create table test_ttl(a int primary key, b varchar(1024), c time) TTL(c + INTERVAL 1 hour);
--error 1235
create table test_ttl(a int primary key, b varchar(1024)) TTL(now() + INTERVAL 1 hour);
## alter table ttl
create table test_ttl(a int primary key, b varchar(1024), c timestamp, d datetime) TTL(c + INTERVAL 0 hour);
show create table test_ttl;
alter table test_ttl TTL(c + INTERVAL 60 DAY);
show create table test_ttl;
drop table test_ttl;
## different ttl unit
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 second);
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 minute);
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 hour);
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 day);
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 month);
drop table test_ttl;
create table test_ttl(a int primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 1 year);
## drop or modify a ttl column
--error 1235
alter table test_ttl drop column c;
--error 1235
alter table test_ttl change column c c2 datetime;
--error 1235
alter table test_ttl modify column c bigint;
--error 1235
alter table test_ttl modify column c datetime;
--error 1235
alter table test_ttl add column d datetime, ttl(d + INTERVAL 1 minute);
alter table test_ttl remove ttl;
show create table test_ttl;
alter table test_ttl drop column c;
drop table test_kv_attr;
drop table test_ttl;

View File

@ -0,0 +1,72 @@
#owner: shenyunlong.syl
#owner group: shenzhen
connect (conn_admin, $OBMYSQL_MS0,admin,$OBMYSQL_PWD,test,$OBMYSQL_PORT);
connection default;
alter system minor freeze;
alter system set enable_kv_ttl = true;
--disable_warnings
drop table if exists ttl_tm;
CREATE TABLE ttl_tm(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"TimeToLive": 5, "MaxVersions": 2}}' partition by key(K) partitions 3;
drop table if exists ttl_t;
CREATE TABLE ttl_t(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes = '{"Hbase": {"TimeToLive": 5}}' partition by key(K) partitions 3;
drop table if exists ttl_m;
CREATE TABLE ttl_m(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"MaxVersions": 2}}' partition by key(K) partitions 3;
drop table if exists ttl_m_single;
CREATE TABLE ttl_m_single(
K varbinary(1024) NOT NULL,
Q varbinary(256) NOT NULL,
T bigint NOT NULL,
V varbinary(1024) DEFAULT NULL,
PRIMARY KEY (K, Q, T)
) kv_attributes ='{"Hbase": {"MaxVersions": 2}}';
--enable_warnings
--let $count = 0
while($count < 100)
{
--let $stmt=insert into ttl_tm(K, Q, T, V) values ('row1', 'cq1', $count, 'del');insert into ttl_t(K, Q, T, V) values ('row1', 'cq1', $count, 'del');insert into ttl_m(K, Q, T, V) values ('row1', 'cq1', $count, 'del');insert into ttl_m_single(K, Q, T, V) values ('row1', 'cq1', $count, 'del');
eval $stmt;
inc $count;
}
sleep 10;
alter system trigger ttl;
sleep 60;
select count(*) from ttl_tm;
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_tm' order by tablet_id;
select count(*) from ttl_t;
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_t' order by tablet_id;
select count(*) from ttl_m;
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_m' order by tablet_id;
select count(*) from ttl_m_single;
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_m_single' order by tablet_id;
drop table ttl_tm;
drop table ttl_t;
drop table ttl_m;
drop table ttl_m_single;

View File

@ -0,0 +1,72 @@
#owner: shenyunlong.syl
#owner group: shenzhen
connect (conn_admin, $OBMYSQL_MS0,admin,$OBMYSQL_PWD,test,$OBMYSQL_PORT);
connection default;
alter system minor freeze;
alter system set enable_kv_ttl = true;
alter system set ttl_thread_score = 4;
--disable_warnings
drop table if exists ttl_table_ts;
create table ttl_table_ts(a varchar(1024) primary key, b varchar(1024), c timestamp) TTL(c + INTERVAL 0 SECOND) partition by key(a) partitions 7;
# insert 4*7*500 rows, save one rows per cell
--let $count = 0
while($count < 500)
{
--let $stmt=insert into ttl_table_ts(a, b, c) values (concat('row', cast($count as char)), 'hello world', now());
eval $stmt;
inc $count;
}
while($count < 600)
{
--let $stmt=insert into ttl_table_ts(a, b, c) values (concat('row', cast($count as char)), 'hello world', date_add(now(), interval + 2 MINUTE));
eval $stmt;
inc $count;
}
sleep 3;
alter system trigger ttl;
sleep 60;
select count(*) from ttl_table_ts;
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_table_ts' order by tablet_id;
drop table ttl_table_ts;
--disable_warnings
drop table if exists ttl_table_ts_column_order;
--enable_warnings
create table ttl_table_ts_column_order(a varchar(1024), b int primary key, c timestamp) TTL(c + INTERVAL 0 SECOND) partition by key(b) partitions 7;
# insert 4*7*500 rows, save one rows per cell
drop procedure if exists insert_data;
delimiter |;
create PROCEDURE insert_data(del int, no_del int)
BEGIN
DECLARE i INT DEFAULT 0;
WHILE i < del do
insert into ttl_table_ts_column_order(a, b, c) values (concat('row', cast(i as char)), i, now());
set i = i + 1;
end while;
while i < del + no_del do
insert into ttl_table_ts_column_order(a, b, c) values (concat('row', cast(i as char)), i, date_add(now(), interval + 2 MINUTE));
set i = i + 1;
end while;
END |
delimiter ;|
call insert_data(500, 100);
sleep 3;
alter system trigger ttl;
sleep 70;
select count(*) from ttl_table_ts_column_order;
select TABLE_NAME, TRIGGER_TYPE, STATUS, TTL_DEL_CNT, MAX_VERSION_DEL_CNT, SCAN_CNT, RET_CODE from oceanbase.DBA_OB_KV_TTL_TASK_HISTORY where table_name = 'ttl_table_ts_column_order' order by tablet_id;
drop table ttl_table_ts_column_order;