I_S.profiling has NULL for getrusage statistics
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Invalid
|
Undecided
|
Unassigned | |||
5.5 |
Triaged
|
Medium
|
Unassigned | |||
5.6 |
New
|
Medium
|
Unassigned | |||
5.7 |
New
|
Medium
|
Unassigned |
Bug Description
While working on an issue, it took me sometime to figure out why I_S.profiling has NULL for getrusage statistics.
Finally, checking the code, I was able to find out.
bool PROFILING:
{
return ((thd->
}
(I didn't look/search for log_slow_verbosity earlier because profiling is not related to slow logging (point#2 below))
Now:
1. Introduce a different variable for profiling -- I see boolean variables -- profiling_server and profiling_
2. Add separate documentation for profiling and getrusage. Currently it is mentioned under slow query logging which is independent from query profiling.
tags: | added: regression |
summary: |
- [Documentation] Relation between show profile/I_S.profiling and - log_slow_verbosity is undocumented + I_S.profiling has NULL for getrusage statistics |
It's another regression introduced in 5.5 -- profiling_ use_getrusage should work as advertised in 5.1. The regression was introduced by http:// bazaar. launchpad. net/~percona- core/percona- server/ 5.5/revision/ 33.1.5