版本v2.2.1
explain 会丢弃一部分数据是这样设计的吗?或者说不能在studio中执行 explain和profile?
profile 会丢失执行结果。和profile文档说的不一样。在console中文档说的是一样的。。。
(root@nebula) [testindex1]> profile lookup on team;
+-----------+
| VertexID |
+-----------+
| "team205" |
+-----------+
| "team206" |
+-----------+
| "team210" |
+-----------+
| "team213" |
+-----------+
| "team214" |
+-----------+
| "team215" |
+-----------+
| "team219" |
+-----------+
| "team227" |
+-----------+
| "team200" |
+-----------+
| "team203" |
+-----------+
| "team204" |
+-----------+
| "team209" |
+-----------+
| "team218" |
+-----------+
| "team220" |
+-----------+
| "team225" |
+-----------+
| "team226" |
+-----------+
| "team229" |
+-----------+
| "team201" |
+-----------+
| "team202" |
+-----------+
| "team207" |
+-----------+
| "team208" |
+-----------+
| "team211" |
+-----------+
| "team212" |
+-----------+
| "team216" |
+-----------+
| "team217" |
+-----------+
| "team221" |
+-----------+
| "team222" |
+-----------+
| "team223" |
+-----------+
| "team224" |
+-----------+
| "team228" |
+-----------+
Got 30 rows (time spent 1534/2166 us)
Execution Plan (optimize time 42 us)
-----+-----------+--------------+----------------------------------------------------+-------------------------------
| id | name | dependencies | profiling data | operator info |
-----+-----------+--------------+----------------------------------------------------+-------------------------------
| 2 | IndexScan | 0 | ver: 0, rows: 30, execTime: 0us, totalTime: 1226us | outputVar: [ |
| | | | | { |
| | | | | "colNames": [ |
| | | | | "VertexID" |
| | | | | ], |
| | | | | "name": "__IndexScan_1", |
| | | | | "type": "DATASET" |
| | | | | } |
| | | | | ] |
| | | | | inputVar: |
| | | | | space: 61 |
| | | | | dedup: false |
| | | | | limit: 9223372036854775807 |
| | | | | filter: |
| | | | | orderBy: [] |
| | | | | schemaId: 63 |
| | | | | isEdge: false |
| | | | | returnCols: [ |
| | | | | "_vid" |
| | | | | ] |
| | | | | indexCtx: [ |
| | | | | { |
| | | | | "columnHints": [], |
| | | | | "index_id": 1185, |
| | | | | "filter": "" |
| | | | | } |
| | | | | ] |
-----+-----------+--------------+----------------------------------------------------+-------------------------------
| 0 | Start | | ver: 0, rows: 0, execTime: 1us, totalTime: 37us | outputVar: [ |
| | | | | { |
| | | | | "colNames": [], |
| | | | | "name": "__Start_0", |
| | | | | "type": "DATASET" |
| | | | | } |
| | | | | ] |
-----+-----------+--------------+----------------------------------------------------+-------------------------------
Wed, 02 Jun 2021 10:19:54 CST