You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by lt...@apache.org on 2020/04/28 07:07:07 UTC

[incubator-iotdb] branch rel/0.9-remove-useless-doc created (now 06ad3c7)

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

lta pushed a change to branch rel/0.9-remove-useless-doc
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


      at 06ad3c7  remove docs of Load External Tsfile

This branch includes the following new commits:

     new 06ad3c7  remove docs of Load External Tsfile

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-iotdb] 01/01: remove docs of Load External Tsfile

Posted by lt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lta pushed a commit to branch rel/0.9-remove-useless-doc
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 06ad3c7aa3fd61af91f0d0a559d0e0460cc0d35e
Author: lta <li...@163.com>
AuthorDate: Tue Apr 28 15:05:53 2020 +0800

    remove docs of Load External Tsfile
---
 .../6-System Tools/8-Load External Tsfile.md       | 71 --------------------
 .../6-System Tools/8-Load External Tsfile.md       | 77 ----------------------
 2 files changed, 148 deletions(-)

diff --git a/docs/UserGuide/6-System Tools/8-Load External Tsfile.md b/docs/UserGuide/6-System Tools/8-Load External Tsfile.md
deleted file mode 100644
index 303af36..0000000
--- a/docs/UserGuide/6-System Tools/8-Load External Tsfile.md	
+++ /dev/null
@@ -1,71 +0,0 @@
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-
-# Load External Tsfile Tool
-
-# Introduction
-The load external tsfile tool allows users to load tsfiles, delete a tsfile, or move a tsfile to target directory from the running Apache IoTDB instance.
-
-# Usage
-The user sends specified commands to the Apache IoTDB system through the Cli tool or JDBC to use the tool.
-
-## load tsfiles
-The command to load tsfiles is `load <path/dir> [true/false] [storage group level]`.
-
-This command has two usages:
-1. Load a single tsfile by specifying a file path (absolute path). 
-The second parameter indicates the path of the tsfile to be loaded and the name of the tsfile needs to conform to the tsfile naming convention, that is, `{systemTime}-{versionNum}-{mergeNum} .tsfile`. The third and fourth parameters are optional. When the metadata corresponding to the timeseries in the tsfile to be loaded does not exist, you can choose whether to create the schema automatically. If the third parameter is true, the schema will be created automatically. If the thrid parame [...]
-If the `.resource` file corresponding to the file exists, it will be loaded into the data directory and engine of the Apache IoTDB. Otherwise, the corresponding `.resource` file will be regenerated from the tsfile file.
-Examples:
-    * `load /Users/Desktop/data/1575028885956-101-0.tsfile`
-    * `load /Users/Desktop/data/1575028885956-101-0.tsfile false`
-    * `load /Users/Desktop/data/1575028885956-101-0.tsfile true`
-    * `load /Users/Desktop/data/1575028885956-101-0.tsfile true 2`
-
-2. Load a batch of files by specifying a folder path (absolute path). 
-The second parameter indicates the path of the tsfile to be loaded and the name of the tsfiles need to conform to the tsfile naming convention, that is, `{systemTime}-{versionNum}-{mergeNum} .tsfile`. The third and fourth parameters are optional. When the metadata corresponding to the time series in the tsfile to be loaded does not exist, you can choose whether to create the schema automatically. If the third parameter is true, the schema will be created automatically. If the third param [...]
-If the `.resource` file corresponding to the file  exists, they will be loaded into the data directory and engine of the Apache IoTDB. Otherwise, the corresponding` .resource` files will be regenerated from the tsfile sfile.
-Examples:
-    * `load /Users/Desktop/data`
-    * `load /Users/Desktop/data false`
-    * `load /Users/Desktop/data true`
-    * `load /Users/Desktop/data true 2`
-
-## remove a tsfile
-The command to delete a tsfile is: `remove <path>`.
-
-This command deletes a tsfile by specifying the file path. The specific implementation is to delete the tsfile and its corresponding `.resource` and` .modification` files.
-
-Note that the path must include at least two levels of path, you cannot directly specify the file name, examples:
-
-* `remove root.vehicle / 1575028885956-101-0.tsfile` is correct.
-* `remove 1575028885956-101-0.tsfile` is wrong.
-
-## move a tsfile to a target directory
-The command to move a tsfile to ta arget directory is: `move <path> <dir>`.
-
-This command moves a tsfile to a target directory by specifying tsfile path and the target directory(absolute path). The specific implementation is to remove the tsfile from the engine and move the tsfile file and its corresponding `.resource` file to the target directory.
-
-Note that the path must include at least two levels of path, you cannot directly specify the file name, examples:
-
-* `move root.vehicle/1575029224130-101-0.tsfile /data/data/tmp` is correct.
-
-* `move 1575029224130-101-0.tsfile /data/data/tmp` is wrong.
\ No newline at end of file
diff --git a/docs/zh/UserGuide/6-System Tools/8-Load External Tsfile.md b/docs/zh/UserGuide/6-System Tools/8-Load External Tsfile.md
deleted file mode 100644
index bb197f4..0000000
--- a/docs/zh/UserGuide/6-System Tools/8-Load External Tsfile.md	
+++ /dev/null
@@ -1,77 +0,0 @@
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-
-# 加载外部tsfile文件
-
-<!-- TOC -->
-
-- [加载外部tsfile文件](#加载外部tsfile文件)
-- [介绍](#介绍)
-- [使用方式](#使用方式)
-    - [加载tsfile文件](#加载tsfile文件)
-    - [删除tsfile文件](#删除tsfile文件)
-    - [移出tsfile文件至指定目录](#移出tsfile文件至指定目录)
-
-<!-- /TOC -->
-# 介绍
-加载外部tsfile文件工具允许用户向正在运行中的Apache IoTDB中加载、删除或移出tsfile文件。
-
-# 使用方式
-用户通过Cli工具或JDBC向Apache IoTDB系统发送指定命令实现文件加载的功能。
-## 加载tsfile文件
-加载tsfile文件的指令为:`load <path/dir> [true/false] [storage group level]`
-
-该指令有两种用法:
-1. 通过指定文件路径(绝对路径)加载单tsfile文件。
-第二个参数表示待加载的tsfile文件的路径,其中文件名称需要符合tsfile的命名规范,即`{systemTime}-{versionNum}-{mergeNum}.tsfile`。第三、四个参数为可选项。当待加载的tsfile文件中时间序列对应的元数据不存在时,用户可以选择是否自动创建schema,参数为true表示自动创建schema,相反false表示不创建,缺省时默认创建schema。当tsfile对应的存储组不存在时,用户可以通过第四个参数来制定存储组的级别,默认为`iotdb-engine.properties`中设置的级别。若待加载的tsfile文件对应的`.resource`文件存在,会被一并加载至Apache IoTDB数据文件的目录和引擎中,否则将通过tsfile文件重新生成对应的`.resource`文件,即加载的tsfile文件所对应的`.resource`文件不是必要的。
-示例:
-    * `load /Users/Desktop/data/1575028885956-101-0.tsfile`
-    * `load /Users/Desktop/data/1575028885956-101-0.tsfile false`
-    * `load /Users/Desktop/data/1575028885956-101-0.tsfile true`
-    * `load /Users/Desktop/data/1575028885956-101-0.tsfile true 2`
-
-
-2. 通过指定文件夹路径(绝对路径)批量加载文件。
-第二个参数表示待加载的tsfile文件的路径,其中文件名称需要符合tsfile的命名规范,即`{systemTime}-{versionNum}-{mergeNum}.tsfile`。第三、四个参数为可选项。当待加载的tsfile文件中时间序列对应的元数据不存在时,用户可以选择是否自动创建schema,参数为true表示自动创建schema,相反false表示不创建,缺省时默认创建schema。当tsfile对应的存储组不存在时,用户可以通过第四个参数来制定存储组的级别,默认为`iotdb-engine.properties`中设置的级别。若待加载文件对应的`.resource`文件存在,则会一并加载至Apache IoTDB数据文件目录和引擎中,否则将通过tsfile文件重新生成对应的`.resource`文件,即加载的tsfile文件所对应的`.resource`文件不是必要的。
-示例:
-    * `load /Users/Desktop/data`
-    * `load /Users/Desktop/data false`
-    * `load /Users/Desktop/data true`
-    * `load /Users/Desktop/data true 2`
-
-## 删除tsfile文件
-删除tsfile文件的指令为:`remove <path>`
-
-该指令通过指定文件路径删除tsfile文件,具体做法是将该tsfile和其对应的`.resource`和`.modification`文件全部删除。
-
-注意path至少要包含倒数两层路径,不可以直接指定文件名称(即最后一层路径),示例:
-
-* `remove root.vehicle/1575028885956-101-0.tsfile` 是正确的
-* `remove 1575028885956-101-0.tsfile` 是错误的
-
-## 移出tsfile文件至指定目录
-移出tsfile文件的指令为:`remove <path> <dir>`
-
-该指令将指定路径的tsfile文件移动至目标文件夹(绝对路径)中,具体做法是在引擎中移除该tsfile,并将该tsfile文件和其对应的`.resource`文件移动到目标文件夹下
-
-注意path至少要包含倒数两层路径,不可以直接指定文件名称(即最后一层路径),示例:
-* `move root.vehicle/1575029224130-101-0.tsfile /data/data/tmp` 是正确的
-* `move 1575029224130-101-0.tsfile /data/data/tmp` 是错误的