As title, in NebulaGraph Database, use match(v)return(v)limit 5
, the time spent here has two values.
Asked
Active
Viewed 27 times
0

foesa Yang
- 26
- 5
1 Answers
0
I think you are referring to (time spent 2687/12519 us)
in any queries from GraphClient like this in NebulaGraph:
(root@nebula) [basketballplayer]> match (n) where id(n) == "player100" return n
+----------------------------------------------------+
| n |
+----------------------------------------------------+
| ("player100" :player{age: 42, name: "Tim Duncan"}) |
+----------------------------------------------------+
Got 1 rows (time spent 2687/12519 us)
I am quoting the info from the docs:
- The first number 2687 shows the time spent by the database itself, that is, the time it takes for the query engine to receive a query from the client, fetch the data from the storage server, and perform a series of calculations.
- The second number 12519 shows the time spent from the client's perspective, that is, the time it takes for the client from sending a request, receiving a response, and displaying the result on the screen.

Wey Gu
- 575
- 1
- 6
- 11