统计所在 SPACE 下各 TAG/EDGETYPE 点/边数量以及此 SPACE 下总点/边数量 错误

版本信息:v2.0-alpah
统计demo空间下点和边,结果数据为空,命令如下:

(root@nebula) [demo]> LOOKUP ON player | YIELD COUNT(*) AS Player_Number;
+---------------+
| Player_Number |
+---------------+
| 51            |
+---------------+
Got 1 rows (time spent 4173/1543 us)

Tue, 08 Dec 2020 16:49:17 CST

(root@nebula) [demo]> LOOKUP ON team | YIELD COUNT(*) AS Team_Number;
+-------------+
| Team_Number |
+-------------+
| 30          |
+-------------+
Got 1 rows (time spent 2904/1138 us)

Tue, 08 Dec 2020 16:50:52 CST

(root@nebula) [demo]>  SUBMIT JOB STATS
+------------+
| New Job Id |
+------------+
| 51         |
+------------+
Got 1 rows (time spent 3970/1549 us)

Tue, 08 Dec 2020 16:51:01 CST

(root@nebula) [demo]>  SHOW JOB 51
+----------------+---------------+------------+------------+------------+
| Job Id(TaskId) | Command(Dest) | Status     | Start Time | Stop Time  |
+----------------+---------------+------------+------------+------------+
| 51             | "STATS"       | "FINISHED" | 1607417461 | 1607417461 |
+----------------+---------------+------------+------------+------------+
| 0              | "127.0.0.1"   | "FINISHED" | 1607417461 | 1607417479 |
+----------------+---------------+------------+------------+------------+
Got 2 rows (time spent 2885/1189 us)

Tue, 08 Dec 2020 16:51:07 CST

(root@nebula) [demo]>  SHOW STATS;
+---------+------------+-------+
| Type    | Name       | Count |
+---------+------------+-------+
| "Space" | "vertices" | 0     |
+---------+------------+-------+
| "Space" | "edges"    | 0     |
+---------+------------+-------+
Got 2 rows (time spent 3197/1329 us)

Tue, 08 Dec 2020 16:51:12 CST

(root@nebula) [demo]>

wsl下单机编译master安装部署

多谢反馈。mark, 内部试下。

破案了 会修

2赞

加油

请问这个问题解决了吗

解决了,可以使用了

1赞

统计一个1亿节点1.5亿边规模的图谱需要多长时间,提交了一夜状态还是running,另外,有时候SUBMIT JOB STATS会立刻finish,但是show stats全部为0

你show job jobid 看看啥情况

我的意思是你 show job 38 看看是啥?

还有你用的那个版本?是最新版本吗?

不用看了,直接升级到最新版本,应该都fix了

升级版本之后,还是出现SUBMIT JOB STATS会立刻finish,但是show stats全部为0的问题

你是从什么版本升级到什么版本,假如是从2.0.0-rc之前的版本升级到2.0.0-ga,那么需要用升级工具重写数据,不然升级之后 storage应该会crash,你可以看下storage的状态是不是已经退出了。

升级操作文档:

https://docs.nebula-graph.io/2.0/4.deployment-and-installation/3.upgrade-nebula-graph/

删除数据后又搭建的新版本,数据也是重新导入的

那你把操作过程截图下,还有贴下graphd和storaged的日志。

浙ICP备20010487号