You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/UserGuide/Master/Table/Background-knowledge/Cluster-Concept_apache.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,12 @@
25
25
26
26
### 1.1 sql_dialect
27
27
28
-
IoTDB supports two time-series data models (SQL dialects), both managing devices and measurement points:
28
+
IoTDB supports two time-series data mode (SQL dialects), both managing devices and measurement points:
29
29
30
-
-**Tree****Model**: Organizes data in a hierarchical path structure, where each path represents a measurement point of a device.
31
-
-**Table****Model**: Organizes data in a relational table format, where each table corresponds to a type of device.
30
+
-**Tree****Mode**: Organizes data in a hierarchical path structure, where each path represents a measurement point of a device.
31
+
-**Table****Mode**: Organizes data in a relational table format, where each table corresponds to a type of device.
32
32
33
-
Each dialect comes with its own SQL syntax and query patterns tailored to its data model.
33
+
Each dialect comes with its own SQL syntax and query patterns tailored to its data mode.
34
34
35
35
### 1.2 Schema
36
36
@@ -73,7 +73,7 @@ An IoTDB cluster consists of three types of nodes, each with distinct responsibi
73
73
74
74
-**ConfigNode (Management Node)** Manages cluster metadata, configuration, user permissions, schema, and partitioning. It also handles distributed scheduling and load balancing. All ConfigNodes are replicated for high availability.
75
75
-**DataNode (Storage and Computation Node)** Handles client requests, stores data, and executes computations.
76
-
-**AINode (Analytics Node)** Provides machine learning capabilities, allowing users to register pre-trained models and perform inference via SQL. It includes built-in time-series models and common ML algorithms for tasks like prediction and anomaly detection.
76
+
-**AINode (Analytics Node)** Provides machine learning capabilities, allowing users to register pre-trained models and perform inference via SQL. It includes built-in time-series mode and common ML algorithms for tasks like prediction and anomaly detection.
Copy file name to clipboardExpand all lines: src/UserGuide/Master/Table/Background-knowledge/Cluster-Concept_timecho.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,12 @@
25
25
26
26
### 1.1 sql_dialect
27
27
28
-
IoTDB supports two time-series data models (SQL dialects), both managing devices and measurement points:
28
+
IoTDB supports two time-series data mode (SQL dialects), both managing devices and measurement points:
29
29
30
-
-**Tree****Model**: Organizes data in a hierarchical path structure, where each path represents a measurement point of a device.
31
-
-**Table****Model**: Organizes data in a relational table format, where each table corresponds to a type of device.
30
+
-**Tree****Mode**: Organizes data in a hierarchical path structure, where each path represents a measurement point of a device.
31
+
-**Table****Mode**: Organizes data in a relational table format, where each table corresponds to a type of device.
32
32
33
-
Each dialect comes with its own SQL syntax and query patterns tailored to its data model.
33
+
Each dialect comes with its own SQL syntax and query patterns tailored to its data mode.
34
34
35
35
### 1.2 Schema
36
36
@@ -74,7 +74,7 @@ An IoTDB cluster consists of three types of nodes, each with distinct responsibi
74
74
75
75
-**ConfigNode (Management Node)** Manages cluster metadata, configuration, user permissions, schema, and partitioning. It also handles distributed scheduling and load balancing. All ConfigNodes are replicated for high availability.
76
76
-**DataNode (Storage and Computation Node)** Handles client requests, stores data, and executes computations.
77
-
-**AINode (Analytics Node)** Provides machine learning capabilities, allowing users to register pre-trained models and perform inference via SQL. It includes built-in time-series models and common ML algorithms for tasks like prediction and anomaly detection.
77
+
-**AINode (Analytics Node)** Provides machine learning capabilities, allowing users to register pre-trained models and perform inference via SQL. It includes built-in time-series modes and common ML algorithms for tasks like prediction and anomaly detection.
Copy file name to clipboardExpand all lines: src/UserGuide/Master/Table/Background-knowledge/Data-Model-and-Terminology_apache.md
+28-28Lines changed: 28 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,31 +21,31 @@
21
21
22
22
# Modeling Scheme Design
23
23
24
-
This section introduces how to transform time series data application scenarios into IoTDB time series modeling.
24
+
This section introduces how to transform time series data application scenarios into IoTDB time series mode.
25
25
26
-
## 1. Time Series Data Model
26
+
## 1. Time Series Data Mode
27
27
28
-
Before designing an IoTDB data model, it's essential to understand time series data and its underlying structure. For more details, refer to: [Time Series Data Model](../Background-knowledge/Navigating_Time_Series_Data.md)
28
+
Before designing an IoTDB data mode, it's essential to understand time series data and its underlying structure. For more details, refer to: [Time Series Data Mode](../Background-knowledge/Navigating_Time_Series_Data.md)
29
29
30
-
## 2. Two Time Series Model in IoTDB
30
+
## 2. Two Time Series Mode in IoTDB
31
31
32
-
IoTDB offers two data modeling syntaxes—tree model and table model, each with its distinct characteristics as follows:
32
+
IoTDB offers two data mode syntaxes—tree mode and table mode, each with its distinct characteristics as follows:
33
33
34
-
**Tree Model**: It manages data points as objects, with each data point corresponding to a time series. The data point names, segmented by dots, form a tree-like directory structure that corresponds one-to-one with the physical world, making the read and write operations on data points straightforward and intuitive.
34
+
**Tree Mode**: It manages data points as objects, with each data point corresponding to a time series. The data point names, segmented by dots, form a tree-like directory structure that corresponds one-to-one with the physical world, making the read and write operations on data points straightforward and intuitive.
35
35
36
-
**Table Model**: It is recommended to create a table for each type of device. The collection of physical quantities from devices of the same type shares certain commonalities (such as the collection of temperature and humidity physical quantities), allowing for flexible and rich data analysis.
36
+
**Table Mode**: It is recommended to create a table for each type of device. The collection of physical quantities from devices of the same type shares certain commonalities (such as the collection of temperature and humidity physical quantities), allowing for flexible and rich data analysis.
37
37
38
-
### 2.1 Model Characteristics
38
+
### 2.1 Mode Characteristics
39
39
40
-
Both model syntaxes have their own applicable scenarios.
40
+
Both mode syntaxes have their own applicable scenarios.
41
41
42
-
The following table compares the tree model and the table model from various dimensions, including applicable scenarios and typical operations. Users can choose the appropriate model based on their specific usage requirements to achieve efficient data storage and management.
42
+
The following table compares the tree mode and the table mode from various dimensions, including applicable scenarios and typical operations. Users can choose the appropriate mode based on their specific usage requirements to achieve efficient data storage and management.
43
43
44
44
<tablestyle="text-align: center;">
45
45
<tr>
46
46
<td>Dimension</td>
47
-
<td>Tree Model</td>
48
-
<td>Table Model</td>
47
+
<td>Tree Mode</td>
48
+
<td>Table Mode</td>
49
49
</tr>
50
50
<tr>
51
51
<td>Applicable Scenarios</td>
@@ -75,20 +75,20 @@ The following table compares the tree model and the table model from various dim
75
75
76
76
**Notes:**
77
77
78
-
- Both model spaces can coexist within the same cluster instance. Each model follows distinct syntax and database naming conventions, and they remain isolated by default.
78
+
- Both mode spaces can coexist within the same cluster instance. Each mode follows distinct syntax and database naming conventions, and they remain isolated by default.
79
79
80
-
- When establishing a database connection via client tools (Cli) or SDKs, specify the model syntax using the `sql_dialect` parameter (Tree syntax is used by default).
80
+
- When establishing a database connection via client tools (Cli) or SDKs, specify the mode syntax using the `sql_dialect` parameter (Tree syntax is used by default).
81
81
82
82
83
83
## 3. Application Scenarios
84
84
85
85
The application scenarios mainly include two categories:
86
86
87
-
- Scenario 1: Using the tree model for data reading and writing.
87
+
- Scenario 1: Using the tree mode for data reading and writing.
88
88
89
-
- Scenario 2: Using the table model for data reading and writing.
89
+
- Scenario 2: Using the table mode for data reading and writing.
90
90
91
-
### 3.1 Scenario 1: Tree Model
91
+
### 3.1 Scenario 1: Tree Mode
92
92
93
93
#### 3.1.1 Characteristics
94
94
@@ -106,38 +106,38 @@ The application scenarios mainly include two categories:
106
106
|**Time Series (Data Point)**|**Definition**:<br>A path prefixed with the database path, segmented by `.`, and can contain any number of levels, such as `root.db.turbine.device1.metric1`.<br>Each time series can have different data types.<br>**Naming Recommendation**:<br>Only include unique identifiers (similar to a composite primary key) in the path, generally not exceeding 10 levels.<br>Typically, place tags with low cardinality (fewer distinct values) at the front to facilitate system compression of common prefixes.<br>**Quantity Recommendation**:<br>The total number of time series manageable by the cluster is related to total memory; refer to the resource recommendation section.<br>There is no limit to the number of child nodes at any level.<br>**Creation Method**: Can be created manually or automatically during data writing. |
107
107
|**Device**|**Definition**: The second-to-last level is the device, such as `device1` in `root.db.turbine.device1.metric1`.<br>**Creation Method**: Cannot create a device alone; it exists as time series are created. |
108
108
109
-
#### 3.1.3 Modeling Examples
109
+
#### 3.1.3 Mode Examples
110
110
111
-
##### 3.1.3.1 How to model when managing multiple types of devices?
111
+
##### 3.1.3.1 How to mode when managing multiple types of devices?
112
112
113
113
- If different types of devices in the scenario have different hierarchical paths and data point sets, create branches under the database node by device type. Each device type can have a different data point structure.
##### 3.1.3.3 How to model when a device has both sub-devices and data points?
127
+
##### 3.1.3.3 How to mode when a device has both sub-devices and data points?
128
128
129
-
- For example, in an energy storage scenario, each layer of the structure monitors its voltage and current. The following modeling approach can be used.
129
+
- For example, in an energy storage scenario, each layer of the structure monitors its voltage and current. The following mode approach can be used.
0 commit comments