prestodb / prestorials

Tutorials and examples of how to deploy Presto and connect it to different data sources
https://prestodb.io/
Apache License 2.0
19 stars 11 forks source link

Documentation on query statistics #2

Open AbhijitKulkarni1 opened 1 year ago

AbhijitKulkarni1 commented 1 year ago

Would like to have detailed explanation documentation on presto query statistics like totalCPutime, totalExecutionTime, totalBlockedTime etc.

Akanksha-kedia commented 7 months ago

Can i work on this?

tdcmeehan commented 7 months ago

Go for it @Akanksha-kedia

Akanksha-kedia commented 7 months ago

@AbhijitKulkarni1 @tdcmeehan can you give me details regarding this, wat is the expectation, wat details, and any reference?

tdcmeehan commented 7 months ago

@Akanksha-kedia Please refer to the QueryStats class and infer from the code the meaning of the statistics.

AbhijitKulkarni1 commented 7 months ago

@Akanksha-kedia If you can highlight the documentation on how these metrics are calculated and explain the metrics would be of great help to understand the Presto query execution for any optimization better.

tdcmeehan commented 7 months ago

@Akanksha-kedia it's currently not documented in the code, so the only way is to infer the meaning from the code. In general, it's not difficult to read the intent of this code directly.