Skip to content

Commit

Permalink
sst migration (#76)
Browse files Browse the repository at this point in the history
* sst migration

* fix min

* fix dan
  • Loading branch information
Amber1990Zhang committed Sep 11, 2020
1 parent d87663a commit 7001e7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/manual-CN/1.overview/2.quick-start/2.FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,7 @@ E0415 22:32:38.949796 15463 MetaDaemon.cpp:215] Init kv failed!
### 使用 `FETCH` 返回数据时,有时可以返回数据,有时返回为空
请检查是否在同一个节点启动了两个 storage,并且这两个 storage 配置的端口号相同。假如存在以上情况,请修改其中一个 storage 端口号,然后重新导入数据。
### sst 文件是否支持搬迁
storaged 所使用的 sst 文件和 集群图空间是绑定的,不支持直接拷贝给一个新的图空间或者集群使用。
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ nebula> DROP TAG INDEX player_index_0;
## 重构索引

```ngql
REBUILD {TAG | EDGE} INDEX <index_name> [OFFLINE]
REBUILD {TAG | EDGE} INDEX <index_name> OFFLINE
```

[创建索引](#%e5%88%9b%e5%bb%ba%e7%b4%a2%e5%bc%95)部分介绍了如何创建索引以提高查询性能。如果索引在插入数据之前创建,此时无需执行索引重构操作;如果创建索引时,数据库里已经存有数据,则不会自动对旧的数据进行索引,此时需要对整个图中与索引相关的数据执行索引重构操作以保证索引包含了之前的数据。若当前数据库没有对外提供服务,则可在索引重构时使用 `OFFLINE` 关键字加快重构速度。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
`FETCH PROP ON` 可返回点的一系列属性,目前已支持一条语句返回多个点属性。`FETCH` 获取点属性支持与[管道](../../3.language-structure/pipe-syntax.md)[用户自定义变量](../../3.language-structure/user-defined-variables.md)一起使用。

```ngql
FETCH PROP ON {<tag_name_list> | *} <vertex_id_list> [YIELD [DISTINCT] <return_list>]
FETCH PROP ON {<tag_name> | <tag_name_list> | *} <vertex_id_list> [YIELD [DISTINCT] <return_list>]
```

`FETCH <tag_name_list>` 操作仅适用于 1.0.1 版本或更高版本。如果您使用的 **Nebula Graph** 版本早于 1.0.1,则在一次 FETCH 查询中只能获取一种类型点的属性。

`*` 返回指定 `VID` 点的所有属性。

`<tag_name_list>::=[tag_name [, tag_name]]` 为标签名称,与 return_list 中的标签相同。
Expand Down

0 comments on commit 7001e7c

Please sign in to comment.