From 21fd7bf9ead36a0d5066855b28b6b315b24c5684 Mon Sep 17 00:00:00 2001 From: Rui Liang Date: Fri, 24 Apr 2026 17:43:29 +0800 Subject: [PATCH] commit-message: remove activetime --- db-administration/db-object-mgmt/ts-db/table-mgmt-ts.md | 3 --- en/db-administration/db-object-mgmt/ts-db/table-mgmt-ts.md | 7 ++----- en/sql-reference/ddl/ts-db/ts-table.md | 7 ++----- sql-reference/ddl/ts-db/ts-table.md | 3 --- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/db-administration/db-object-mgmt/ts-db/table-mgmt-ts.md b/db-administration/db-object-mgmt/ts-db/table-mgmt-ts.md index f328d1e..5a3f2b8 100644 --- a/db-administration/db-object-mgmt/ts-db/table-mgmt-ts.md +++ b/db-administration/db-object-mgmt/ts-db/table-mgmt-ts.md @@ -79,7 +79,6 @@ PRIMARY [TAGS|ATTRIBUTES] () | sensor_id INT4 NOT NULL, | sensor_type VARCHAR(30) NOT NULL ) PRIMARY TAGS(sensor_id) | retentions 864000s - | activetime 1d (1 row) ``` @@ -249,7 +248,6 @@ SHOW CREATE [TABLE] [.] ; | ) TAGS ( | ptag INT4 NOT NULL ) PRIMARY TAGS(ptag) | retentions 0s - | activetime 1d (1 row) ``` @@ -272,7 +270,6 @@ SHOW CREATE [TABLE] [.] ; | ) TAGS ( | site INT4 NOT NULL ) PRIMARY TAGS(site) | retentions 0s - | activetime 1d (1 row) ``` diff --git a/en/db-administration/db-object-mgmt/ts-db/table-mgmt-ts.md b/en/db-administration/db-object-mgmt/ts-db/table-mgmt-ts.md index ed904b0..d70712b 100644 --- a/en/db-administration/db-object-mgmt/ts-db/table-mgmt-ts.md +++ b/en/db-administration/db-object-mgmt/ts-db/table-mgmt-ts.md @@ -80,7 +80,6 @@ PRIMARY [TAGS|ATTRIBUTES] () | sensor_id INT4 NOT NULL, | sensor_type VARCHAR(30) NOT NULL ) PRIMARY TAGS(sensor_id) | retentions 864000s - | activetime 1d (1 row) ``` @@ -228,9 +227,9 @@ SHOW CREATE [TABLE] [.] ; - Show the `CREATE TABLE` statement for a table in the current database. ```sql - -- 1. Create a table named t3 and set a value for the activetime parameter. + -- 1. Create a table named t3. - CREATE TABLE t3(ts timestamp NOT NULL, a int) TAGS(ptag int NOT NULL) PRIMARY TAGS(ptag) ACTIVETIME 10s; + CREATE TABLE t3(ts timestamp NOT NULL, a int) TAGS(ptag int NOT NULL) PRIMARY TAGS(ptag); -- 2. Checkt the created t3 table. @@ -243,7 +242,6 @@ SHOW CREATE [TABLE] [.] ; | ) TAGS ( | ptag INT4 NOT NULL ) PRIMARY TAGS(ptag) | retentions 0s - | activetime 1d (1 row) ``` @@ -264,7 +262,6 @@ SHOW CREATE [TABLE] [.] ; | ) TAGS ( | site INT4 NOT NULL ) PRIMARY TAGS(site) | retentions 0s - | activetime 0s (1 row) ``` diff --git a/en/sql-reference/ddl/ts-db/ts-table.md b/en/sql-reference/ddl/ts-db/ts-table.md index aaa0550..efa3421 100644 --- a/en/sql-reference/ddl/ts-db/ts-table.md +++ b/en/sql-reference/ddl/ts-db/ts-table.md @@ -72,7 +72,6 @@ The user must be a member of the `admin` role or have been granted the `CREATE` | sensor_id INT4 NOT NULL, | sensor_type VARCHAR(30) NOT NULL ) PRIMARY TAGS(sensor_id) | retentions 864000s - | activetime 1d (1 row) ``` @@ -217,9 +216,9 @@ The user must have any privilege on the specified table(s). - Show the `CREATE TABLE` statement for a table in the current database. ```sql - -- 1. Create a table named t3 and set a value for the activetime parameter. + -- 1. Create a table named t3. - CREATE TABLE t3(ts timestamp NOT NULL, a int) TAGS(ptag int NOT NULL) PRIMARY TAGS(ptag) ACTIVETIME 10s; + CREATE TABLE t3(ts timestamp NOT NULL, a int) TAGS(ptag int NOT NULL) PRIMARY TAGS(ptag); -- 2. Checkt the created t3 table. @@ -232,7 +231,6 @@ The user must have any privilege on the specified table(s). | ) TAGS ( | ptag INT4 NOT NULL ) PRIMARY TAGS(ptag) | retentions 0s - | activetime 1d (1 row) ``` @@ -253,7 +251,6 @@ The user must have any privilege on the specified table(s). | ) TAGS ( | site INT4 NOT NULL ) PRIMARY TAGS(site) | retentions 0s - | activetime 0s (1 row) ``` diff --git a/sql-reference/ddl/ts-db/ts-table.md b/sql-reference/ddl/ts-db/ts-table.md index 1770896..e50c67b 100644 --- a/sql-reference/ddl/ts-db/ts-table.md +++ b/sql-reference/ddl/ts-db/ts-table.md @@ -72,7 +72,6 @@ id: ts-table | sensor_id INT4 NOT NULL, | sensor_type VARCHAR(30) NOT NULL ) PRIMARY TAGS(sensor_id) | retentions 864000s - | activetime 1d (1 row) ``` @@ -242,7 +241,6 @@ id: ts-table | ) TAGS ( | ptag INT4 NOT NULL ) PRIMARY TAGS(ptag) | retentions 0s - | activetime 1d (1 row) ``` @@ -265,7 +263,6 @@ id: ts-table | ) TAGS ( | site INT4 NOT NULL ) PRIMARY TAGS(site) | retentions 0s - | activetime 1d (1 row) ``` -- Gitee