This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ef6646  add Delete Storage Group statement to User Guide DDL (#1644)
6ef6646 is described below

commit 6ef66462a118966fd2cd59b0822a3fe342a13b1c
Author: Haimei Guo <[email protected]>
AuthorDate: Sat Aug 22 16:48:44 2020 +0800

    add Delete Storage Group statement to User Guide DDL (#1644)
    
    * add Delete Storage Group statement to User Guide DDL in Chinese and 
English version
    * changed eg storage group name
---
 docs/UserGuide/Operation Manual/DDL Data Definition Language.md  | 9 +++++++++
 .../UserGuide/Operation Manual/DDL Data Definition Language.md   | 9 +++++++++
 2 files changed, 18 insertions(+)

diff --git a/docs/UserGuide/Operation Manual/DDL Data Definition Language.md 
b/docs/UserGuide/Operation Manual/DDL Data Definition Language.md
index f63e107..4c57412 100644
--- a/docs/UserGuide/Operation Manual/DDL Data Definition Language.md   
+++ b/docs/UserGuide/Operation Manual/DDL Data Definition Language.md   
@@ -50,6 +50,15 @@ IoTDB> show storage group
 The result is as follows:
 <center><img style="width:100%; max-width:800px; max-height:600px; 
margin-left:auto; margin-right:auto; display:block;" 
src="https://user-images.githubusercontent.com/13203019/51577338-84c70600-1ef4-11e9-9dab-605b32c02836.jpg";></center>
 
+## Delete Storage Group
+
+User can delete a specified storage group by using [DELETE STORAGE 
GROUP](../Operation%20Manual/SQL%20Reference.md). Please note the data in the 
storage group will also be deleted. 
+
+```
+IoTDB > DELETE STORAGE GROUP root.ln
+IoTDB > DELETE STORAGE GROUP root.sgcc
+```
+
 ## Create Timeseries
 
 According to the storage model selected before, we can create corresponding 
timeseries in the two storage groups respectively. The SQL statements for 
creating timeseries are as follows:
diff --git a/docs/zh/UserGuide/Operation Manual/DDL Data Definition Language.md 
b/docs/zh/UserGuide/Operation Manual/DDL Data Definition Language.md
index a5f73d6..671b32b 100644
--- a/docs/zh/UserGuide/Operation Manual/DDL Data Definition Language.md        
+++ b/docs/zh/UserGuide/Operation Manual/DDL Data Definition Language.md        
@@ -50,6 +50,15 @@ IoTDB> show storage group
 执行结果为:
 <center><img style="width:100%; max-width:800px; max-height:600px; 
margin-left:auto; margin-right:auto; display:block;" 
src="https://user-images.githubusercontent.com/13203019/51577338-84c70600-1ef4-11e9-9dab-605b32c02836.jpg";></center>
 
+## 删除存储组
+
+用户使用[DELETE STORAGE 
GROUP](../Operation%20Manual/SQL%20Reference.md)语句可以删除指定的存储组。在删除的过程中,需要注意的是存储组的数据也会被删除。
+
+```
+IoTDB > DELETE STORAGE GROUP root.ln
+IoTDB > DELETE STORAGE GROUP root.sgcc
+```
+
 ## 创建时间序列
 
 根据建立的数据模型,我们可以分别在两个存储组中创建相应的时间序列。创建时间序列的SQL语句如下所示:

Reply via email to