diff --git a/src/.vuepress/public/img/datagrip-1.png b/src/.vuepress/public/img/datagrip-1.png new file mode 100644 index 000000000..4530367ba Binary files /dev/null and b/src/.vuepress/public/img/datagrip-1.png differ diff --git a/src/.vuepress/public/img/datagrip-10.png b/src/.vuepress/public/img/datagrip-10.png new file mode 100644 index 000000000..2acc98819 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-10.png differ diff --git a/src/.vuepress/public/img/datagrip-11.png b/src/.vuepress/public/img/datagrip-11.png new file mode 100644 index 000000000..96ddfc259 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-11.png differ diff --git a/src/.vuepress/public/img/datagrip-12.png b/src/.vuepress/public/img/datagrip-12.png new file mode 100644 index 000000000..7aa4a48a8 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-12.png differ diff --git a/src/.vuepress/public/img/datagrip-13.png b/src/.vuepress/public/img/datagrip-13.png new file mode 100644 index 000000000..feff43e40 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-13.png differ diff --git a/src/.vuepress/public/img/datagrip-2.png b/src/.vuepress/public/img/datagrip-2.png new file mode 100644 index 000000000..fcd740e93 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-2.png differ diff --git a/src/.vuepress/public/img/datagrip-3.png b/src/.vuepress/public/img/datagrip-3.png new file mode 100644 index 000000000..09edc0547 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-3.png differ diff --git a/src/.vuepress/public/img/datagrip-4.png b/src/.vuepress/public/img/datagrip-4.png new file mode 100644 index 000000000..a80be62ca Binary files /dev/null and b/src/.vuepress/public/img/datagrip-4.png differ diff --git a/src/.vuepress/public/img/datagrip-5.png b/src/.vuepress/public/img/datagrip-5.png new file mode 100644 index 000000000..0395593b4 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-5.png differ diff --git a/src/.vuepress/public/img/datagrip-6.png b/src/.vuepress/public/img/datagrip-6.png new file mode 100644 index 000000000..f0140cc11 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-6.png differ diff --git a/src/.vuepress/public/img/datagrip-7.png b/src/.vuepress/public/img/datagrip-7.png new file mode 100644 index 000000000..18752ed5c Binary files /dev/null and b/src/.vuepress/public/img/datagrip-7.png differ diff --git a/src/.vuepress/public/img/datagrip-8.png b/src/.vuepress/public/img/datagrip-8.png new file mode 100644 index 000000000..8b9608658 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-8.png differ diff --git a/src/.vuepress/public/img/datagrip-9.png b/src/.vuepress/public/img/datagrip-9.png new file mode 100644 index 000000000..5aa5334ba Binary files /dev/null and b/src/.vuepress/public/img/datagrip-9.png differ diff --git a/src/.vuepress/public/img/datagrip-en-1.png b/src/.vuepress/public/img/datagrip-en-1.png new file mode 100644 index 000000000..fbbd0b6c5 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-1.png differ diff --git a/src/.vuepress/public/img/datagrip-en-10.png b/src/.vuepress/public/img/datagrip-en-10.png new file mode 100644 index 000000000..c6d326134 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-10.png differ diff --git a/src/.vuepress/public/img/datagrip-en-11.png b/src/.vuepress/public/img/datagrip-en-11.png new file mode 100644 index 000000000..ccfa449ef Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-11.png differ diff --git a/src/.vuepress/public/img/datagrip-en-12.png b/src/.vuepress/public/img/datagrip-en-12.png new file mode 100644 index 000000000..eb801ec0d Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-12.png differ diff --git a/src/.vuepress/public/img/datagrip-en-13.png b/src/.vuepress/public/img/datagrip-en-13.png new file mode 100644 index 000000000..b733dd408 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-13.png differ diff --git a/src/.vuepress/public/img/datagrip-en-3.png b/src/.vuepress/public/img/datagrip-en-3.png new file mode 100644 index 000000000..c72882f9d Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-3.png differ diff --git a/src/.vuepress/public/img/datagrip-en-4.png b/src/.vuepress/public/img/datagrip-en-4.png new file mode 100644 index 000000000..c4e34e4e0 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-4.png differ diff --git a/src/.vuepress/public/img/datagrip-en-5.png b/src/.vuepress/public/img/datagrip-en-5.png new file mode 100644 index 000000000..9404f1fdd Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-5.png differ diff --git a/src/.vuepress/public/img/datagrip-en-6.png b/src/.vuepress/public/img/datagrip-en-6.png new file mode 100644 index 000000000..9f21ec97b Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-6.png differ diff --git a/src/.vuepress/public/img/datagrip-en-7.png b/src/.vuepress/public/img/datagrip-en-7.png new file mode 100644 index 000000000..2567d0679 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-7.png differ diff --git a/src/.vuepress/public/img/datagrip-en-8.png b/src/.vuepress/public/img/datagrip-en-8.png new file mode 100644 index 000000000..b896b79d1 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-8.png differ diff --git a/src/.vuepress/public/img/datagrip-en-9.png b/src/.vuepress/public/img/datagrip-en-9.png new file mode 100644 index 000000000..54cbbc559 Binary files /dev/null and b/src/.vuepress/public/img/datagrip-en-9.png differ diff --git a/src/.vuepress/sidebar/V2.0.x/en-Table.ts b/src/.vuepress/sidebar/V2.0.x/en-Table.ts index fb6d4455a..196c65294 100644 --- a/src/.vuepress/sidebar/V2.0.x/en-Table.ts +++ b/src/.vuepress/sidebar/V2.0.x/en-Table.ts @@ -166,6 +166,7 @@ export const enSidebar = { collapsible: true, children: [ { text: 'DBeaver', link: 'DBeaver' }, + { text: 'DataGrip', link: 'DataGrip' }, ], }, ], diff --git a/src/.vuepress/sidebar/V2.0.x/zh-Table.ts b/src/.vuepress/sidebar/V2.0.x/zh-Table.ts index e7651b35c..0fa9fbc7a 100644 --- a/src/.vuepress/sidebar/V2.0.x/zh-Table.ts +++ b/src/.vuepress/sidebar/V2.0.x/zh-Table.ts @@ -156,6 +156,7 @@ export const zhSidebar = { collapsible: true, children: [ { text: 'DBeaver', link: 'DBeaver' }, + { text: 'DataGrip', link: 'DataGrip' }, ], }, ], diff --git a/src/.vuepress/sidebar_timecho/V2.0.x/en-Table.ts b/src/.vuepress/sidebar_timecho/V2.0.x/en-Table.ts index 2620c9f23..d7595f136 100644 --- a/src/.vuepress/sidebar_timecho/V2.0.x/en-Table.ts +++ b/src/.vuepress/sidebar_timecho/V2.0.x/en-Table.ts @@ -171,6 +171,7 @@ export const enSidebar = { collapsible: true, children: [ { text: 'DBeaver', link: 'DBeaver' }, + { text: 'DataGrip', link: 'DataGrip' }, ], }, ], diff --git a/src/.vuepress/sidebar_timecho/V2.0.x/zh-Table.ts b/src/.vuepress/sidebar_timecho/V2.0.x/zh-Table.ts index 0d99118f8..584ad19e5 100644 --- a/src/.vuepress/sidebar_timecho/V2.0.x/zh-Table.ts +++ b/src/.vuepress/sidebar_timecho/V2.0.x/zh-Table.ts @@ -160,6 +160,7 @@ export const zhSidebar = { collapsible: true, children: [ { text: 'DBeaver', link: 'DBeaver' }, + { text: 'DataGrip', link: 'DataGrip' }, ], }, ], diff --git a/src/UserGuide/Master/Table/Ecosystem-Integration/DataGrip.md b/src/UserGuide/Master/Table/Ecosystem-Integration/DataGrip.md new file mode 100644 index 000000000..5e8b37104 --- /dev/null +++ b/src/UserGuide/Master/Table/Ecosystem-Integration/DataGrip.md @@ -0,0 +1,127 @@ + + +# DataGrip + +## 1. Feature Overview + +DataGrip is an open-source universal database management tool that supports core functionalities including data query and visualization, metadata management, data import/export, and driver extensions. It provides a cross-platform graphical interface for various databases (e.g., MySQL, PostgreSQL, Oracle). + +IoTDB integrates with DataGrip via JDBC, enabling users to navigate time-series data in a tree-like structure similar to managing folders. It also supports cross-database analysis by connecting to other databases (e.g., MySQL, Oracle), significantly enhancing time-series data management capabilities in IoT scenarios. + +![](/img/datagrip-en-1.png) + +## 2. Prerequisites + +Ensure DataGrip and IoTDB are installed: + +- DataGrip download: https://www.jetbrains.com/datagrip/download/ + +- IoTDB download: https://iotdb.apache.org/Download/ + +## 3. Configuration Guide + +### 3.1 Download Driver + +Select the appropriate version of the JAR package (choose the `jar-with-dependencies.jar` variant): + +- Option 1: https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-jdbc/2.0.3.3/iotdb-jdbc-2.0.3.3-jar-with-dependencies.jar + +- Option 2: https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-jdbc/2.0.3.3/ + +![](/img/datagrip-2.png) + +### 3.2 Configure Driver + +#### Step 1: Open Driver Manager and Create New Driver + +1. Open ​​Database Tool Window​​ from the left sidebar → Click the `+` button to create a new configuration. + +2. Select the ​`​Driver​`​ button to start configuring a new driver. + +![](/img/datagrip-en-3.png) + +#### Step 2: Configure Driver Details + +1. In the ​​Drivers​​ section, click the `+` button in the `Create New Driver` window. + +![](/img/datagrip-en-4.png) + +2. Click the `+` button under ​​Driver Files​​ → Select ​​Custom JARs​​. + +3. Choose the downloaded IoTDB JDBC driver file (e.g., `iotdb-jdbc-2.0.5-jar-with-dependencies.jar`). + +4. Under the ​​General​​ tab, select the JDBC driver class: `org.apache.iotdb.jdbc.IoTDBDriver`. + +5. Set the driver name: ​​IoTDB​​. + +![](/img/datagrip-en-5.png) + +6. Under the ​​Options​​ tab, add `show version` to the ​​Keep-alive query​​ field in the ​​Connection​​ section. + +![](/img/datagrip-en-6.png) + +7. Click ​​OK​​. + +#### Step 3: Create and Test Connection + +1. Click the `+` button in the left sidebar → Select ​​Data Source​​ → Choose the newly created driver. + +![](/img/datagrip-en-7.png) + +2. Enter the driver name and comments (optional). + +3. Configure the ​​JDBC URL​​ and enter the IoTDB database password. + +4. Click ​`​Test Connection`​​. If successful, it will display `​​Succeeded​` along with server and driver versions. + +![](/img/datagrip-en-8.png) + +5. Navigate to ​​Schemas​​ → Select ​​All databases / All schemas​​. + +![](/img/datagrip-en-9.png) + +6. Click ​​Apply​​ → ​​OK​​. + +## 4. Usage Guide + +1. Database and Table Structure Overview​​ + +In the ​`​Database Explorer​​ `(left panel), you can view: Database names, Table names and comments, Primary key info (time + tag columns). + +![](/img/datagrip-en-10.png) + +2. Modify Table Structure​​ + +Right-click a table → Use the right panel to edit table properties (e.g., columns, constraints). + +![](/img/datagrip-en-11.png) + +![](/img/datagrip-en-12.png) + +3. Data Operations​​ + +​​View Data​​: Double-click a table to see all records. + +​​Run Queries​​: Right-click a table → ​​New Query Console​​ → Write SQL → Click ​​Execute​​. + +![](/img/datagrip-en-13.png) + diff --git a/src/UserGuide/latest-Table/Ecosystem-Integration/DataGrip.md b/src/UserGuide/latest-Table/Ecosystem-Integration/DataGrip.md new file mode 100644 index 000000000..5e8b37104 --- /dev/null +++ b/src/UserGuide/latest-Table/Ecosystem-Integration/DataGrip.md @@ -0,0 +1,127 @@ + + +# DataGrip + +## 1. Feature Overview + +DataGrip is an open-source universal database management tool that supports core functionalities including data query and visualization, metadata management, data import/export, and driver extensions. It provides a cross-platform graphical interface for various databases (e.g., MySQL, PostgreSQL, Oracle). + +IoTDB integrates with DataGrip via JDBC, enabling users to navigate time-series data in a tree-like structure similar to managing folders. It also supports cross-database analysis by connecting to other databases (e.g., MySQL, Oracle), significantly enhancing time-series data management capabilities in IoT scenarios. + +![](/img/datagrip-en-1.png) + +## 2. Prerequisites + +Ensure DataGrip and IoTDB are installed: + +- DataGrip download: https://www.jetbrains.com/datagrip/download/ + +- IoTDB download: https://iotdb.apache.org/Download/ + +## 3. Configuration Guide + +### 3.1 Download Driver + +Select the appropriate version of the JAR package (choose the `jar-with-dependencies.jar` variant): + +- Option 1: https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-jdbc/2.0.3.3/iotdb-jdbc-2.0.3.3-jar-with-dependencies.jar + +- Option 2: https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-jdbc/2.0.3.3/ + +![](/img/datagrip-2.png) + +### 3.2 Configure Driver + +#### Step 1: Open Driver Manager and Create New Driver + +1. Open ​​Database Tool Window​​ from the left sidebar → Click the `+` button to create a new configuration. + +2. Select the ​`​Driver​`​ button to start configuring a new driver. + +![](/img/datagrip-en-3.png) + +#### Step 2: Configure Driver Details + +1. In the ​​Drivers​​ section, click the `+` button in the `Create New Driver` window. + +![](/img/datagrip-en-4.png) + +2. Click the `+` button under ​​Driver Files​​ → Select ​​Custom JARs​​. + +3. Choose the downloaded IoTDB JDBC driver file (e.g., `iotdb-jdbc-2.0.5-jar-with-dependencies.jar`). + +4. Under the ​​General​​ tab, select the JDBC driver class: `org.apache.iotdb.jdbc.IoTDBDriver`. + +5. Set the driver name: ​​IoTDB​​. + +![](/img/datagrip-en-5.png) + +6. Under the ​​Options​​ tab, add `show version` to the ​​Keep-alive query​​ field in the ​​Connection​​ section. + +![](/img/datagrip-en-6.png) + +7. Click ​​OK​​. + +#### Step 3: Create and Test Connection + +1. Click the `+` button in the left sidebar → Select ​​Data Source​​ → Choose the newly created driver. + +![](/img/datagrip-en-7.png) + +2. Enter the driver name and comments (optional). + +3. Configure the ​​JDBC URL​​ and enter the IoTDB database password. + +4. Click ​`​Test Connection`​​. If successful, it will display `​​Succeeded​` along with server and driver versions. + +![](/img/datagrip-en-8.png) + +5. Navigate to ​​Schemas​​ → Select ​​All databases / All schemas​​. + +![](/img/datagrip-en-9.png) + +6. Click ​​Apply​​ → ​​OK​​. + +## 4. Usage Guide + +1. Database and Table Structure Overview​​ + +In the ​`​Database Explorer​​ `(left panel), you can view: Database names, Table names and comments, Primary key info (time + tag columns). + +![](/img/datagrip-en-10.png) + +2. Modify Table Structure​​ + +Right-click a table → Use the right panel to edit table properties (e.g., columns, constraints). + +![](/img/datagrip-en-11.png) + +![](/img/datagrip-en-12.png) + +3. Data Operations​​ + +​​View Data​​: Double-click a table to see all records. + +​​Run Queries​​: Right-click a table → ​​New Query Console​​ → Write SQL → Click ​​Execute​​. + +![](/img/datagrip-en-13.png) + diff --git a/src/zh/UserGuide/Master/Table/Ecosystem-Integration/DataGrip.md b/src/zh/UserGuide/Master/Table/Ecosystem-Integration/DataGrip.md new file mode 100644 index 000000000..7909ceb2f --- /dev/null +++ b/src/zh/UserGuide/Master/Table/Ecosystem-Integration/DataGrip.md @@ -0,0 +1,127 @@ + + +# DataGrip + +## 1. 功能简介 + +DataGrip 是一款通用数据库管理工具,支持数据查询与可视化​、元数据管理​、数据导入导出、驱动扩展等核心特性,为多种数据库(如 MySQL、Redis、Oracle等)提供跨平台的图形化操作界面。 + +IoTDB 通过 JDBC 接口与 DataGrip 集成,支持像管理文件夹一样通过树形结构导航时序数据,同时支持连接其他数据库(如 MySQL、Oracle)进行跨库关联分析,有效提升了物联网场景下的时序数据管理能力。 + +![](/img/datagrip-1.png) + +## 2. 前置条件 + +安装好 DataGrip、IoTDB: + +- DataGrip 下载地址:https://www.jetbrains.com/datagrip/download/ + +- IoTDB 下载地址:https://iotdb.apache.org/Download/ + +## 3. 配置方式 + +### 3.1 下载驱动 + +选择对应版本的 jar 包,下载后缀 `jar-with-dependencies.jar` 的包: + +- 链接 1:https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-jdbc/2.0.3.3/iotdb-jdbc-2.0.3.3-jar-with-dependencies.jar + +- 链接 2:https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-jdbc/2.0.3.3/ + +![](/img/datagrip-2.png) + +### 3.2 配置驱动 + +#### 步骤一:打开驱动管理器并新建驱动 + +1. 打开数据库工具打开左侧边栏 -> 点击`+`新建 。 + +2. 选择`驱动程序`按钮,开始创建新的驱动配置。 + +![](/img/datagrip-3.png) + +#### 步骤二:配置驱动信息 + +1. 配置【驱动】信息,在创建新驱动程序窗口中,点击`+`新建按钮。 + +![](/img/datagrip-4.png) + +2. 点击 驱动程序文件栏`+`新建按钮 -> 选择自定义JAR。 + +3. 选择下载好的 IoTDB JDBC 驱动文件(如 `iotdb-jdbc-2.0.5-jar-with-dependencies.jar`)。 + +4. 在常规栏下的类字段里选择目标JDBC驱动类`org.apache.iotdb.jdbc.IoTDBDriver`。 + +5. 填写驱动名称:IoTDB。 + +![](/img/datagrip-5.png) + +6. 在选项栏下的连接选项下的保持活动查询字段里添加`show version`。 + +![](/img/datagrip-6.png) + +7. 点击确定。 + +#### 步骤三:创建并测试连接 + +1. 左侧边栏点击`+`新建图标 -> 选择数据源 -> 选择上面新建的用户驱动程序。 + +![](/img/datagrip-7.png) + +2. 填写驱动名称、注释。 + +3. 完善 JDBC URL,并填写 IoTDB 数据库的密码。 + +4. 点击`测试连接`按钮,如果连接成功,会提示`已成功`,并显示服务器版本和驱动版本。 + +![](/img/datagrip-8.png) + +5. 点击架构->选择所有数据库/所有架构。 + +![](/img/datagrip-9.png) + +6. 点击应用,确定。 + +## 4. 使用方式 + +1. 数据库和表结构概览 + +在界面左侧的`数据库导航`中,可以查看数据库相关信息,包括数据库名称、表名称、表comment、唯一键(time+tag 列)信息。 + +![](/img/datagrip-10.png) + +2. 修改表信息/表结构 + +在数据库列表中右键某张表,可在界面右侧展示栏中修改对应的表信息。 + +![](/img/datagrip-11.png) + +![](/img/datagrip-12.png) + +3. 数据 + +在左侧栏选择目标表,双击表可以看到表的所有数据。 + +在左侧栏选择目标表,右键选择新建查询控制台,在查询控制台中写sql,点击执行按钮则可以进行sql操作。 + +![](/img/datagrip-13.png) + diff --git a/src/zh/UserGuide/latest-Table/Ecosystem-Integration/DataGrip.md b/src/zh/UserGuide/latest-Table/Ecosystem-Integration/DataGrip.md new file mode 100644 index 000000000..7909ceb2f --- /dev/null +++ b/src/zh/UserGuide/latest-Table/Ecosystem-Integration/DataGrip.md @@ -0,0 +1,127 @@ + + +# DataGrip + +## 1. 功能简介 + +DataGrip 是一款通用数据库管理工具,支持数据查询与可视化​、元数据管理​、数据导入导出、驱动扩展等核心特性,为多种数据库(如 MySQL、Redis、Oracle等)提供跨平台的图形化操作界面。 + +IoTDB 通过 JDBC 接口与 DataGrip 集成,支持像管理文件夹一样通过树形结构导航时序数据,同时支持连接其他数据库(如 MySQL、Oracle)进行跨库关联分析,有效提升了物联网场景下的时序数据管理能力。 + +![](/img/datagrip-1.png) + +## 2. 前置条件 + +安装好 DataGrip、IoTDB: + +- DataGrip 下载地址:https://www.jetbrains.com/datagrip/download/ + +- IoTDB 下载地址:https://iotdb.apache.org/Download/ + +## 3. 配置方式 + +### 3.1 下载驱动 + +选择对应版本的 jar 包,下载后缀 `jar-with-dependencies.jar` 的包: + +- 链接 1:https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-jdbc/2.0.3.3/iotdb-jdbc-2.0.3.3-jar-with-dependencies.jar + +- 链接 2:https://repo1.maven.org/maven2/com/timecho/iotdb/iotdb-jdbc/2.0.3.3/ + +![](/img/datagrip-2.png) + +### 3.2 配置驱动 + +#### 步骤一:打开驱动管理器并新建驱动 + +1. 打开数据库工具打开左侧边栏 -> 点击`+`新建 。 + +2. 选择`驱动程序`按钮,开始创建新的驱动配置。 + +![](/img/datagrip-3.png) + +#### 步骤二:配置驱动信息 + +1. 配置【驱动】信息,在创建新驱动程序窗口中,点击`+`新建按钮。 + +![](/img/datagrip-4.png) + +2. 点击 驱动程序文件栏`+`新建按钮 -> 选择自定义JAR。 + +3. 选择下载好的 IoTDB JDBC 驱动文件(如 `iotdb-jdbc-2.0.5-jar-with-dependencies.jar`)。 + +4. 在常规栏下的类字段里选择目标JDBC驱动类`org.apache.iotdb.jdbc.IoTDBDriver`。 + +5. 填写驱动名称:IoTDB。 + +![](/img/datagrip-5.png) + +6. 在选项栏下的连接选项下的保持活动查询字段里添加`show version`。 + +![](/img/datagrip-6.png) + +7. 点击确定。 + +#### 步骤三:创建并测试连接 + +1. 左侧边栏点击`+`新建图标 -> 选择数据源 -> 选择上面新建的用户驱动程序。 + +![](/img/datagrip-7.png) + +2. 填写驱动名称、注释。 + +3. 完善 JDBC URL,并填写 IoTDB 数据库的密码。 + +4. 点击`测试连接`按钮,如果连接成功,会提示`已成功`,并显示服务器版本和驱动版本。 + +![](/img/datagrip-8.png) + +5. 点击架构->选择所有数据库/所有架构。 + +![](/img/datagrip-9.png) + +6. 点击应用,确定。 + +## 4. 使用方式 + +1. 数据库和表结构概览 + +在界面左侧的`数据库导航`中,可以查看数据库相关信息,包括数据库名称、表名称、表comment、唯一键(time+tag 列)信息。 + +![](/img/datagrip-10.png) + +2. 修改表信息/表结构 + +在数据库列表中右键某张表,可在界面右侧展示栏中修改对应的表信息。 + +![](/img/datagrip-11.png) + +![](/img/datagrip-12.png) + +3. 数据 + +在左侧栏选择目标表,双击表可以看到表的所有数据。 + +在左侧栏选择目标表,右键选择新建查询控制台,在查询控制台中写sql,点击执行按钮则可以进行sql操作。 + +![](/img/datagrip-13.png) +