Query Execution Time

I want to find out actual query execution time.
Ratel has the following json result. Is this the time taken by ratel to parse and process the result or is it the time taken to simply get the results from database?

"extensions": {
    "server_latency": {
      "parsing_ns": 97918,
      "processing_ns": 375190771,
      "encoding_ns": 21947241,
      "total_ns": 397360367
    },

Hi @Nidhi, Ratel’s job is to send the request to alpha server. All of the work to process query is done by database server. You can read meaning of each time here https://dgraph.io/docs/query-language/#debug

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.