druid icon indicating copy to clipboard operation
druid copied to clipboard

query/cpu/time is much higher than query/time in historical

Open QiuMM opened this issue 8 years ago • 4 comments

lark20181014-160152 Is this normal?

QiuMM avatar Oct 14 '18 08:10 QiuMM

Have you got units configured correctly? Cpu/time is nanoseconds while query/time is millisecond

On Sun, 14 Oct 2018, 9:03 am QiuMM, [email protected] wrote:

[image: lark20181014-160152] https://user-images.githubusercontent.com/15156517/46914044-98480400-cfca-11e8-8c48-e891c608ee00.png Is this normal?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apache/incubator-druid/issues/6465, or mute the thread https://github.com/notifications/unsubscribe-auth/AC9pB3WdcS5fwupAXRwsprzd6H8eTNssks5uku_bgaJpZM4XbA0k .

dylwylie avatar Oct 14 '18 10:10 dylwylie

Yes, of course. And in fact, query/time is millisecond while query/cpu/time is microsecond.

QiuMM avatar Oct 14 '18 12:10 QiuMM

Possibly because query/cpu/time is cumulative of multiple cores and multiple segments for same query do get processed in parallel on multiple cores.

himanshug avatar Oct 23 '18 18:10 himanshug

@himanshug after look into the code, I think you are right, thanks.

QiuMM avatar Oct 24 '18 09:10 QiuMM