You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by hu...@apache.org on 2015/12/03 03:50:17 UTC
incubator-hawq git commit: HAWQ-209. Hide detailed log of metadata
cache by default.
Repository: incubator-hawq
Updated Branches:
refs/heads/master 13e713c18 -> a3988a1c4
HAWQ-209. Hide detailed log of metadata cache by default.
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/a3988a1c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/a3988a1c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/a3988a1c
Branch: refs/heads/master
Commit: a3988a1c4a335d48d1168c1066b12f06255b37d1
Parents: 13e713c
Author: hubertzhang <hz...@pivotal.io>
Authored: Thu Dec 3 10:49:07 2015 +0800
Committer: hubertzhang <hz...@pivotal.io>
Committed: Thu Dec 3 10:49:07 2015 +0800
----------------------------------------------------------------------
src/backend/cdb/cdbdatalocality.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/a3988a1c/src/backend/cdb/cdbdatalocality.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdatalocality.c b/src/backend/cdb/cdbdatalocality.c
index d74896d..eaf704d 100644
--- a/src/backend/cdb/cdbdatalocality.c
+++ b/src/backend/cdb/cdbdatalocality.c
@@ -889,8 +889,10 @@ int64 get_block_locations_and_claculte_table_size(split_to_segment_mapping_conte
allRelationFetchLeavetime = gettime_microsec();
int eclaspeTime = allRelationFetchLeavetime - allRelationFetchBegintime;
double hitrate = (allblocks == 0) ? 0 : (double) hitblocks / allblocks;
- elog(LOG, "fetch blocks of %d files overall execution time:"
- " %d us with hit rate %f \n", totalFileCount,eclaspeTime,hitrate);
+ if (debug_print_split_alloc_result) {
+ elog(LOG, "fetch blocks of %d files overall execution time: %d us with hit rate %f",
+ totalFileCount, eclaspeTime, hitrate);
+ }
context->total_file_count = totalFileCount;
context->total_size = total_size;