[MDEV-773] LP:611878 - user_statistics.busy_time is unreliable Created: 2010-07-30 Updated: 2020-05-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.2.14 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Damien Tournoud (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | Launchpad, user_statistics | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
I was testing MariaDB 5.2.1-beta (on Debian 5.0), and bumped into the following weird behavior of user_statistics.busy_time: the value of this column seems completely unreliable and randomly increases at some points in time:
later...
later...
and now:
I don't have any additional information information at this point, just wanted to report the behavior in case it rings a bell for someone. |
| Comments |
| Comment by Kristian Nielsen [ 2010-07-31 ] |
|
Re: user_statistics.busy_time is unreliable |
| Comment by Damien Tournoud (Inactive) [ 2010-07-31 ] |
|
Re: user_statistics.busy_time is unreliable |
| Comment by Damien Tournoud (Inactive) [ 2010-08-05 ] |
|
Re: user_statistics.busy_time is unreliable |
| Comment by Anton Khalikov (Inactive) [ 2012-05-15 ] |
|
Re: user_statistics.busy_time is unreliable MariaDB [(none)]> select USER, TOTAL_CONNECTIONS, CPU_TIME, BYTES_RECEIVED, BYTES_SENT, ROWS_READ, ROWS_SENT, ROWS_DELETED, ROWS_INSERTED, ROWS_UPDATED, SELECT_COMMANDS, UPDATE_COMMANDS, OTHER_COMMANDS from INFORMATION_SCHEMA.USER_STATISTICS order by CPU_TIME desc limit 0,1\G
and right after FLUSH again: MariaDB [(none)]> select USER, TOTAL_CONNECTIONS, CPU_TIME, BYTES_RECEIVED, BYTES_SENT, ROWS_READ, ROWS_SENT, ROWS_DELETED, ROWS_INSERTED, ROWS_UPDATED, SELECT_COMMANDS, UPDATE_COMMANDS, OTHER_COMMANDS from INFORMATION_SCHEMA.USER_STATISTICS order by CPU_TIME desc limit 0,1\G
So we see here CPU_TIME has been reset but increased to over 800 units within a couple of seconds. And it reached about 170000 units within 5 minutes. Either units are milliseconds or there is something really wrong. Could anyone confirm ? I use Debian 6 on amd64, MariaDB 5.2.12 |
| Comment by Rasmus Johansson (Inactive) [ 2012-05-15 ] |
|
Launchpad bug id: 611878 |
| Comment by Elena Stepanova [ 2012-11-04 ] |
|
See also MDEV-673, MDEV-775 and comments to it with LP bugs in Percona project. There have been and still are several bugs related to user_statistics, some of them fixed, some still open. |