CPU time in user_statistics can be wrong

Bug #317386 reported by Peter Zaitsev
2
Affects Status Importance Assigned to Milestone
Percona patches
Fix Released
Medium
Unassigned

Bug Description

mysql> select version();
+---------------------------------+
| version() |
+---------------------------------+
| 5.0.67-percona-highperf-b10-log |
+---------------------------------+
1 row in set (0.00 sec)

Note CPU time is much more than busy time or connected time.

  *************************** 2. row ***************************
                  USER: root
     TOTAL_CONNECTIONS: 555184
CONCURRENT_CONNECTIONS: 0
        CONNECTED_TIME: 1763404
             BUSY_TIME: 1112911
              CPU_TIME: 12705452455
        BYTES_RECEIVED: 122864416214
            BYTES_SENT: 653195360443
  BINLOG_BYTES_WRITTEN: 9152373708
          ROWS_FETCHED: 5286277276
          ROWS_UPDATED: 17340086
       TABLE_ROWS_READ: 282889962200
       SELECT_COMMANDS: 84861299
       UPDATE_COMMANDS: 22276439
        OTHER_COMMANDS: 27684991
   COMMIT_TRANSACTIONS: 5008253
 ROLLBACK_TRANSACTIONS: 3396
    DENIED_CONNECTIONS: 3
      LOST_CONNECTIONS: 112
         ACCESS_DENIED: 3
         EMPTY_QUERIES: 15072807

Changed in percona-patches:
assignee: nobody → yasufumi-kinoshita
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

If some "singularity" exist at each CPU_TIME measurement, we should remove them. I will add the singularity treatment code.

But if the problems remain, it may not be MySQL's problem but OS/HW problem.

Changed in percona-patches:
status: Confirmed → Fix Committed
Changed in percona-patches:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.