prestodbを扱っていてクエリメトリクスを見る上で必ず参照することになるelapsed timeが一体何なのかを調べたメモ。 一言でいうとクエリが作成されてからクエリが完了するまでの時間なんだけど、じゃあそれがいつなのかというのをソースを追う。 全体の流れを追うのに、 https://www.slideshare.net/frsyuki/hadoop-source-code-reading-15-in-japan-presto presto_executor_and_coordinator.md · GitHub あたりが非常に参考になるので足がかりにするとよい。 実際に createTime , endTime を作成しているのは QueryStateMachine 内で、 createTime : QueryStateMachine インスタンス作成時 https://github
![prestodbにおけるelapsed timeとは何か - reizist's blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/5f41b7a26fe3b267339f52f2a6cafc88dd2409f0/height=288;version=1;width=512/https%3A%2F%2Fimage.slidesharecdn.com%2Fhsr15-presto-131223202205-phpapp01%2F95%2Fhadoop-source-code-reading-15-in-japan-presto-10-638.jpg%3Fcb%3D1387830178)