[
https://issues.apache.org/jira/browse/HAWQ-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056895#comment-17056895
]
ASF GitHub Bot commented on HAWQ-1760:
--------------------------------------
huor commented on pull request #1491: HAWQ-1760. datalocality information
should be showed by default
URL: https://github.com/apache/hawq/pull/1491
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> datalocality information should be showed by default
> ----------------------------------------------------
>
> Key: HAWQ-1760
> URL: https://issues.apache.org/jira/browse/HAWQ-1760
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.4.0.0
> Reporter: Ruilong Huo
> Assignee: Ruilong Huo
> Priority: Major
>
> The datalocality information should be showed so as to help analysis query
> performance.
> {code:c}
> $ cat src/backend/cdb/cdbdatalocality.c
> /* print data locality result*/
> elog(
> DEBUG1, "data locality ratio: %.3f; virtual segment number: %d; "
> "different host number: %d; virtual segment number per
> host(avg/min/max): (%d/%d/%d); "
> "segment size(avg/min/max): (%.3f B/"INT64_FORMAT"
> B/"INT64_FORMAT" B); "
> "segment size with penalty(avg/min/max): (%.3f B/"INT64_FORMAT"
> B/"INT64_FORMAT" B); continuity(avg/min/max): (%.3f/%.3f/%.3f)."
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)