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 f328d1e0d51c6e4c111498ee5f7e0349118cebf0..5a3f2b8b898e01d3ebf3c74e05f3f2b6f633db8c 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 ed904b0769c50f11e1c1e725b2179a0268ea40d3..d70712b3d5f64ef275c5c4783f126101a87c8fcb 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 aaa0550e294ed7ef939535a222162081aa41571b..efa34210417d98a8e0648329b841de35dff51cda 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 17708963883ce7e91f75bddd29bbdb572ca54aea..e50c67b7f884ba44f0e8341ec1a353268a550d8c 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) ```