You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Ruilong Huo (Jira)" <ji...@apache.org> on 2020/03/11 11:28:00 UTC

[jira] [Resolved] (HAWQ-1760) datalocality information should be showed by default

     [ https://issues.apache.org/jira/browse/HAWQ-1760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruilong Huo resolved HAWQ-1760.
-------------------------------
    Fix Version/s: 2.5.0.0
       Resolution: Fixed

> 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
>             Fix For: 2.5.0.0
>
>
> 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)