You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by "Kyle Roberts (JIRA)" <ji...@apache.org> on 2017/12/02 00:58:00 UTC
[jira] [Created] (HAWQ-1560) Default LOG level for "data locality
ratio:" events contribute to Hawq Master log bloat
Kyle Roberts created HAWQ-1560:
----------------------------------
Summary: Default LOG level for "data locality ratio:" events contribute to Hawq Master log bloat
Key: HAWQ-1560
URL: https://issues.apache.org/jira/browse/HAWQ-1560
Project: Apache HAWQ
Issue Type: Improvement
Components: Resource Manager
Reporter: Kyle Roberts
Assignee: Yi Jin
Issue:
Default LOG level for "data locality ratio:" events contribute to Hawq Master log bloat. Should only be needed when investigating/tuning performance.
Case Scenario:
"data locality ratio:" events can report multiple times and, depending upon the query, many times.
Sample event:
2017-11-30 20:33:39.857251 GMT,"gpadmin","testdb",p280349,th-909919968,"[local]",,2017-11-30 20:06:35 GMT,1630750,con25419,cmd28,seg-1,,,,sx2,"LOG","00000","data locality ratio: 1.000; virtual segment number: 1; different host number: 1; virtual segment number per host(avg/min/max): (1/1/1); segment size(avg/min/max): (1016.000 B/1016 B/1016 B); segment size with penalty(avg/min/max): (1016.000 B/1016 B/1016 B); continuity(avg/min/max): (1.000/1.000/1.000).",,,,,"SQL statement ""select count(*)::float4 from public.test_tbl as Ta where Ta.id is null""","analyze test_tbl;",0,,"cdbdatalocality.c",3372,
For example, Hawq master logs are seen with close to 20% of the file size is from only the "data locality ratio:" events.
Product Enhancement suggestion:
Because these are only needed for performance tuning (or for investigation):
In:
https://github.com/apache/incubator-hawq/blob/master/src/backend/cdb/cdbdatalocality.c#L3372
We can change default LOG level to something like DEBUG1, etc.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)