Quantcast
Viewing all articles
Browse latest Browse all 1957

How do I convert the hex value from InnoDB status (no replies)

Hi,
On my server some queries took more time than usual. I just took the innodb status and killed the queries and solved my issue temporarily.

While analyzing it seems like one query hold the lock and other is waiting. Now, I am trying to find what was the exact row caused this issue. Do anyone know how to convert the hex value and make it to readable?

InnoDB status output:

*** (1) WAITING FOR THIS LOCK TO BE GRANTED:
RECORD LOCKS space id 38969 page no 4801059 n bits 192 index `PRIMARY` of table `status`.`status_app` trx id 0 1954410352 lock_mode X locks rec but not gap waiting
Record lock, heap no 21 PHYSICAL RECORD: n_fields 47; compact format; info bits 0
0: len 2; hex 01a2; asc ;; 1: len 1; hex 02; asc ;; 2: len 2; hex 09e2; asc ;; 3: len 1; hex 01; asc ;; 4: len 6; hex 0000711c68ff; asc q h ;; 5: len 7; hex 00001840141348; asc @ H;; 6: len 4; hex 52471b78; asc RG x;; 7: len 2; hex 003c; asc <;; 8: len 4; hex 80000000; asc ;; 9: len 4; hex 80000000; asc ;; 10: len 4; hex 80000000; asc ;; 11: len 4; hex 80000000; asc ;; 12: len 4; hex 80000000; asc ;; 13: len 4; hex 80000000; asc ;; 14: len 4; hex 80000000; asc ;; 15: len 4; hex 80000000; asc ;; 16: len 4; hex 80000000; asc ;; 17: len 4; hex 80000001; asc ;; 18: len 4; hex 80000000; asc ;; 19: len 4; hex 80000000; asc ;; 20: len 4; hex 80000000; asc ;; 21: len 4; hex 80000000; asc ;; 22: len 4; hex 80000000; asc ;; 23: len 4; hex 80000000; asc ;; 24: len 4; hex 800601bb; asc ;; 25: len 4; hex 8000004a; asc J;; 26: len 4; hex 80000000; asc ;; 27: len 4; hex 80000000; asc ;; 28: len 4; hex 80000000; asc ;; 29: len 4; hex 80000000; asc ;; 30: len 4; hex 80000000; asc ;; 31: len 4; hex 80000000; asc ;; 32: SQL NULL; 33: SQL NULL; 34: SQL NULL; 35: SQL NULL; 36: SQL NULL; 37: SQL NULL; 38: SQL NULL; 39: SQL NULL; 40: SQL NULL; 41: SQL NULL; 42: SQL NULL; 43: SQL NULL; 44: SQL NULL; 45: SQL NULL; 46: SQL NULL;

*** (2) HOLDS THE LOCK(S):
RECORD LOCKS space id 38969 page no 4801059 n bits 192 index `PRIMARY` of table `status`.`status_app` trx id 0 1954390624 lock mode S
Record lock, heap no 1 PHYSICAL RECORD: n_fields 1; compact format; info bits 0
0: len 8; hex 73757072656d756d; asc supremum;;

Record lock, heap no 2 PHYSICAL RECORD: n_fields 47; compact format; info bits 0
0: len 2; hex 01a2; asc ;; 1: len 1; hex 02; asc ;; 2: len 2; hex 09e1; asc ;; 3: len 1; hex 0e; asc ;; 4: len 6; hex 0000747de1e6; asc t} ;; 5: len 7; hex 00001600343234; asc 424;; 6: len 4; hex 525ae1bc; asc RZ ;; 7: len 2; hex 003c; asc <;; 8: len 4; hex 80000000; asc ;; 9: len 4; hex 80000000; asc ;; 10: len 4; hex 80000000; asc ;; 11: len 4; hex 80000000; asc ;; 12: len 4; hex 80000000; asc ;; 13: len 4; hex 80000000; asc ;; 14: len 4; hex 80000000; asc ;; 15: len 4; hex 80000000; asc ;; 16: len 4; hex 80000000; asc ;; 17: len 4; hex 80000000; asc ;; 18: len 4; hex 80000000; asc ;; 19: len 4; hex 80000000; asc ;; 20: len 4; hex 80000000; asc ;; 21: len 4; hex 80000000; asc ;; 22: len 4; hex 80000000; asc ;; 23: len 4; hex 80000000; asc ;; 24: len 4; hex 80060000; asc ;; 25: len 4; hex 80000000; asc ;; 26: len 4; hex 80000000; asc ;; 27: len 4; hex 80000000; asc ;; 28: len 4; hex 80000000; asc ;; 29: len 4; hex 80000000; asc ;; 30: len 4; hex 80000000; asc ;; 31: len 4; hex 80000000; asc ;; 32: SQL NULL; 33: SQL NULL; 34: SQL NULL; 35: SQL NULL; 36: SQL NULL; 37: SQL NULL; 38: SQL NULL; 39: SQL NULL; 40: SQL NULL; 41: SQL NULL; 42: SQL NULL; 43: SQL NULL; 44: SQL NULL; 45: SQL NULL; 46: SQL NULL;

Record lock, heap no 3 PHYSICAL RECORD: n_fields 47; compact format; info bits 0
0: len 2; hex 01a2; asc ;; 1: len 1; hex 02; asc ;; 2: len 2; hex 09e1; asc ;; 3: len 1; hex 0f; asc ;; 4: len 6; hex 0000747de1e6; asc t} ;; 5: len 7; hex 00001600343271; asc 42q;; 6: len 4; hex 525ae1bc; asc RZ ;; 7: len 2; hex 003c; asc <;; 8: len 4; hex 80000000; asc ;; 9: len 4; hex 80000000; asc ;; 10: len 4; hex 80000000; asc ;; 11: len 4; hex 80000000; asc ;; 12: len 4; hex 80000000; asc ;; 13: len 4; hex 80000000; asc ;; 14: len 4; hex 80000000; asc ;; 15: len 4; hex 80000000; asc ;; 16: len 4; hex 80000000; asc ;; 17: len 4; hex 80000000; asc ;; 18: len 4; hex 80000000; asc ;; 19: len 4; hex 80000000; asc ;; 20: len 4; hex 80000000; asc ;; 21: len 4; hex 80000000; asc ;; 22: len 4; hex 80000000; asc ;; 23: len 4; hex 80000000; asc ;; 24: len 4; hex 80060000; asc ;; 25: len 4; hex 80000000; asc ;; 26: len 4; hex 80000000; asc ;; 27: len 4; hex 80000000; asc ;; 28: len 4; hex 80000000; asc ;; 29: len 4; hex 80000000; asc ;; 30: len 4; hex 80000000; asc ;; 31: len 4; hex 80000000; asc ;; 32: SQL NULL; 33: SQL NULL; 34: SQL NULL; 35: SQL NULL; 36: SQL NULL; 37: SQL NULL; 38: SQL NULL; 39: SQL NULL; 40: SQL NULL; 41: SQL NULL; 42: SQL NULL; 43: SQL NULL; 44: SQL NULL; 45: SQL NULL; 46: SQL NULL;
........
.........
Record lock, heap no 21 PHYSICAL RECORD: n_fields 47; compact format; info bits 0
0: len 2; hex 01a2; asc ;; 1: len 1; hex 02; asc ;; 2: len 2; hex 09e2; asc ;; 3: len 1; hex 01; asc ;; 4: len 6; hex 0000711c68ff; asc q h ;; 5: len 7; hex 00001840141348; asc @ H;; 6: len 4; hex 52471b78; asc RG x;; 7: len 2; hex 003c; asc <;; 8: len 4; hex 80000000; asc ;; 9: len 4; hex 80000000; asc ;; 10: len 4; hex 80000000; asc ;; 11: len 4; hex 80000000; asc ;; 12: len 4; hex 80000000; asc ;; 13: len 4; hex 80000000; asc ;; 14: len 4; hex 80000000; asc ;; 15: len 4; hex 80000000; asc ;; 16: len 4; hex 80000000; asc ;; 17: len 4; hex 80000001; asc ;; 18: len 4; hex 80000000; asc ;; 19: len 4; hex 80000000; asc ;; 20: len 4; hex 80000000; asc ;; 21: len 4; hex 80000000; asc ;; 22: len 4; hex 80000000; asc ;; 23: len 4; hex 80000000; asc ;; 24: len 4; hex 800601bb; asc ;; 25: len 4; hex 8000004a; asc J;; 26: len 4; hex 80000000; asc ;; 27: len 4; hex 80000000; asc ;; 28: len 4; hex 80000000; asc ;; 29: len 4; hex 80000000; asc ;; 30: len 4; hex 80000000; asc ;; 31: len 4; hex 80000000; asc ;; 32: SQL NULL; 33: SQL NULL; 34: SQL NULL; 35: SQL NULL; 36: SQL NULL; 37: SQL NULL; 38: SQL NULL; 39: SQL NULL; 40: SQL NULL; 41: SQL NULL; 42: SQL NULL; 43: SQL NULL; 44: SQL NULL; 45: SQL NULL; 46: SQL NULL;
.........
.........

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>