|
| 1 | +--- |
| 2 | +title: "KingHistorian" |
| 3 | +sidebar_label: "KingHistorian" |
| 4 | +--- |
| 5 | + |
| 6 | +This section describes how to create data migration/data synchronization tasks through the Explorer interface to migrate/synchronize data from KingHistorian to the current TDengine TSDB cluster. |
| 7 | + |
| 8 | +## Function Overview |
| 9 | + |
| 10 | +TDengine TSDB can efficiently read data from KingHistorian and write it into TDengine TSDB to achieve historical data migration or real-time data synchronization. |
| 11 | + |
| 12 | +## Create Task |
| 13 | + |
| 14 | +### 1. Add Data Source |
| 15 | + |
| 16 | +In the data writing page, click the **+Add Data Source** button to enter the Add Data Source page. |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | +### 2. Configure Basic Information |
| 21 | + |
| 22 | +Enter the task name in **Name**, e.g., "test_kinghistorian"; |
| 23 | + |
| 24 | +Select **KingHistorian** from the **Type** dropdown list. |
| 25 | + |
| 26 | +**Proxy** is optional. If needed, you can select a specific proxy from the dropdown box or click the **+Create New Proxy** button on the right. |
| 27 | + |
| 28 | +Select a target database from the **Target Database** dropdown list, or click the **+Create Database** button on the right. |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +### 3. Configure Connection Information |
| 33 | + |
| 34 | +Fill in the **Server Address** and **Server Port** in the **Connection Configuration** area. |
| 35 | + |
| 36 | +Fill in the **Username** and **Password** in the **Authentication** area. |
| 37 | + |
| 38 | +Click the **Connectivity Check** button to check if the data source is available. |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +### 4. Configure Tags |
| 43 | + |
| 44 | +In the **Upload CSV Configuration File**, click **Download Data Points**, select the required **Point Group**, **Points**, and **Tags**, which will generate a CSV configuration file and download it locally. Modify the generated CSV configuration file as needed and re-upload it. |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | +### 5. Configure Collection Information |
| 49 | + |
| 50 | +Fill in the relevant configuration parameters for the collection task in the **Collection Configuration** area. |
| 51 | + |
| 52 | +#### 5.1. Historical Data Migration |
| 53 | + |
| 54 | +If you want to perform historical data migration, configure the following parameters: |
| 55 | + |
| 56 | +Fill in the start time of the data migration task in **Task Start Time**. |
| 57 | + |
| 58 | +Fill in the end time of the data migration task in **Task End Time**. |
| 59 | + |
| 60 | +Fill in a time interval in **Query Window**, and the data migration task will divide the time window according to this interval. |
| 61 | + |
| 62 | +Fill in a time interval in **Out-of-Order**, and each query window will backtrack this interval. |
| 63 | + |
| 64 | +Fill in a time interval in **Query Interval**, and there will be a waiting interval between each query window. |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | +#### 5.2. Real-Time Data Synchronization |
| 69 | + |
| 70 | +If you want to perform real-time data synchronization, configure the following parameters: |
| 71 | + |
| 72 | +Fill in a time interval in **Minimum Interval Time**, which is the minimum subscription interval time. |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | +### 6. Configure Advanced Options |
| 77 | + |
| 78 | +Fill in the relevant configuration parameters for advanced options in the **Advanced Options** area. |
| 79 | + |
| 80 | +### 7. Completion |
| 81 | + |
| 82 | +Click the **Submit** button to complete the task creation. After submitting the task, return to the **Data Writing** page to view the task status. |
0 commit comments