mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 18:30:16 +00:00
PT-1908 Increased query id column size in report (#472)
This commit is contained in:
@@ -7391,7 +7391,7 @@ sub profile {
|
||||
$report->title('Profile');
|
||||
my @cols = (
|
||||
{ name => 'Rank', right_justify => 1, },
|
||||
{ name => 'Query ID', },
|
||||
{ name => 'Query ID', width => 35 },
|
||||
{ name => 'Response time', right_justify => 1, },
|
||||
{ name => 'Calls', right_justify => 1, },
|
||||
{ name => 'R/Call', right_justify => 1, },
|
||||
|
@@ -680,26 +680,26 @@ ORDER BY cy.country, c.city\G
|
||||
INSERT INTO `address` VALUES (1,'47 MySakila Drive',NULL,'Alberta',300,'','','2006-02-15 11:45:30') /*... omitted ...*/\G
|
||||
|
||||
# Profile
|
||||
# Rank Query ID Response time Calls R/Call V/M I
|
||||
# ==== ================================ ============= ===== ====== ===== =
|
||||
# 1 0x8D589AFA4DFAEEED85FFF5AA78E... 19.0000 33.3% 22 0.8636 3.67 BEGIN
|
||||
# 2 0xD1D19A39A5189A3A693F5F4CA1A... 7.0000 12.3% 2 3.5000 7.00 INSERT rental
|
||||
# 3 0x6692BFEDE6AB56814677E4CEDF8... 5.0000 8.8% 2 2.5000 5.00 INSERT payment
|
||||
# 4 0x266D117CFD8ED7C1AAECC8184D1... 3.0000 5.3% 1 3.0000 0.00 INSERT film
|
||||
# 5 0x5D2F650658D1B9C51A3BF395BD4... 2.0000 3.5% 1 2.0000 0.00 CREATE TABLE store `store`
|
||||
# 6 0xCBD4B02B76FCD5BCD8657A03D07... 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE payment `payment`
|
||||
# 7 0x1B49B966156BD5391405E69931A... 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE language `language`
|
||||
# 8 0x0DE767BB5A2112B83B0263BE336... 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE actor `actor`
|
||||
# 9 0xC7D5A4E49E422A5209482CA2620... 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE city `city`
|
||||
# 10 0x06B95BC192D493BF80F6ECA81D5... 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE category `category`
|
||||
# 11 0x2191F33283A3743FAE6D99E149C... 1.0000 1.8% 1 1.0000 0.00 INSERT inventory
|
||||
# 12 0xFFDE0605772D1BD0E771A1D1EAD... 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE inventory `inventory`
|
||||
# 13 0x1161695D97D5E56D8A380065832... 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE film_text `film_text`
|
||||
# 14 0xE9F9A7EE464D666B0FD12A9C9BF... 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE film_category `film_category`
|
||||
# 15 0x28F5E254B8810D1293E5C17055D... 1.0000 1.8% 1 1.0000 0.00 INSERT film_actor
|
||||
# 16 0xB25BC072BED6DE4E7677746C22C... 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE film_actor `film_actor`
|
||||
# 17 0x45781B86D83AE665EE462EEBC76... 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE percona_test.checksums
|
||||
# 18 0x2F981A9FC6992839C5F99E5B57D... 1.0000 1.8% 1 1.0000 0.00
|
||||
# 19 0xC16F5DCD62BA36A15C6D8C73D42... 1.0000 1.8% 1 1.0000 0.00 CREATE payment rental inventory store address city country staff
|
||||
# 20 0x6846663BC60B4FF9D62F1A6D5A6... 1.0000 1.8% 1 1.0000 0.00 INSERT address
|
||||
# Rank Query ID Response time Calls R/Call V/M
|
||||
# ==== =================================== ============= ===== ====== ====
|
||||
# 1 0x8D589AFA4DFAEEED85FFF5AA78E5FF6A 19.0000 33.3% 22 0.8636 3.67 BEGIN
|
||||
# 2 0xD1D19A39A5189A3A693F5F4CA1A936BA 7.0000 12.3% 2 3.5000 7.00 INSERT rental
|
||||
# 3 0x6692BFEDE6AB56814677E4CEDF8EA4E2 5.0000 8.8% 2 2.5000 5.00 INSERT payment
|
||||
# 4 0x266D117CFD8ED7C1AAECC8184D17D799 3.0000 5.3% 1 3.0000 0.00 INSERT film
|
||||
# 5 0x5D2F650658D1B9C51A3BF395BD4C2AC5 2.0000 3.5% 1 2.0000 0.00 CREATE TABLE store `store`
|
||||
# 6 0xCBD4B02B76FCD5BCD8657A03D0724524 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE payment `payment`
|
||||
# 7 0x1B49B966156BD5391405E69931A1FC8D 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE language `language`
|
||||
# 8 0x0DE767BB5A2112B83B0263BE3363F7DF 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE actor `actor`
|
||||
# 9 0xC7D5A4E49E422A5209482CA2620152A7 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE city `city`
|
||||
# 10 0x06B95BC192D493BF80F6ECA81D5F0D25 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE category `category`
|
||||
# 11 0x2191F33283A3743FAE6D99E149CE09C6 1.0000 1.8% 1 1.0000 0.00 INSERT inventory
|
||||
# 12 0xFFDE0605772D1BD0E771A1D1EAD499BA 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE inventory `inventory`
|
||||
# 13 0x1161695D97D5E56D8A38006583244505 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE film_text `film_text`
|
||||
# 14 0xE9F9A7EE464D666B0FD12A9C9BF3E41F 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE film_category `film_category`
|
||||
# 15 0x28F5E254B8810D1293E5C17055D970BE 1.0000 1.8% 1 1.0000 0.00 INSERT film_actor
|
||||
# 16 0xB25BC072BED6DE4E7677746C22CD9F16 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE film_actor `film_actor`
|
||||
# 17 0x45781B86D83AE665EE462EEBC76A46F2 1.0000 1.8% 1 1.0000 0.00 CREATE TABLE percona_test.checksums
|
||||
# 18 0x2F981A9FC6992839C5F99E5B57D2D6DB 1.0000 1.8% 1 1.0000 0.00
|
||||
# 19 0xC16F5DCD62BA36A15C6D8C73D42AE624 1.0000 1.8% 1 1.0000 0.00 CREATE payment rental inventory store address city country staff
|
||||
# 20 0x6846663BC60B4FF9D62F1A6D5A67AFA8 1.0000 1.8% 1 1.0000 0.00 INSERT address
|
||||
# MISC 0xMISC 6.0000 10.5% 95 0.0632 0.0 <72 ITEMS>
|
||||
|
@@ -1 +1 @@
|
||||
# Exec time 100 9s 2s 4s 3s 4s 786ms 3s
|
||||
# Exec time 100 10s 1s 3s 2s 3s 896ms 2s
|
@@ -42,6 +42,6 @@ select n.column1 = a.column1, n.word3 = a.word3 from db2.tuningdetail_21_265507
|
||||
|
||||
# Profile
|
||||
# Rank Query ID Response time Calls R/Call V/M
|
||||
# ==== ================================= ============= ===== ====== =====
|
||||
# 1 0x45FE45AEC222350466825DDC008F... 0.7261 95.3% 1 0.7261 0.00 UPDATE db?.tuningdetail_?_? db?.gonzo
|
||||
# ==== =================================== ============= ===== ====== ====
|
||||
# 1 0x45FE45AEC222350466825DDC008FFA89 0.7261 95.3% 1 0.7261 0.00 UPDATE db?.tuningdetail_?_? db?.gonzo
|
||||
# MISC 0xMISC 0.0360 4.7% 7 0.0051 0.0 <6 ITEMS>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
|
||||
# Profile
|
||||
# Rank Query ID Response time Calls R/Call V/M
|
||||
# ==== ================================= ============= ===== ====== =====
|
||||
# 1 0xF9734574CDDDC5D231DA25F95494... 0.1494 99.9% 1 0.1494 0.00 SHOW STATUS
|
||||
# 2 0x80AEBDBE9DD8458C3AEAAD0E15D7... 0.0001 0.1% 2 0.0000 0.00 SET
|
||||
# 3 0xFFFCA4D67EA0A788813031B8BBC3... 0.0000 0.0% 1 0.0000 0.00 COMMIT
|
||||
# ==== =================================== ============= ===== ====== ====
|
||||
# 1 0xF9734574CDDDC5D231DA25F95494CA95 0.1494 99.9% 1 0.1494 0.00 SHOW STATUS
|
||||
# 2 0x80AEBDBE9DD8458C3AEAAD0E15D725B5 0.0001 0.1% 2 0.0000 0.00 SET
|
||||
# 3 0xFFFCA4D67EA0A788813031B8BBC3B329 0.0000 0.0% 1 0.0000 0.00 COMMIT
|
||||
# MISC 0xMISC 0.0000 0.0% 1 0.0000 0.0 <1 ITEMS>
|
||||
|
@@ -162,7 +162,7 @@ SELECT COUNT(*) FROM blah WHERE col > 2\G
|
||||
|
||||
# Profile
|
||||
# Rank Query ID Response time Calls R/Call
|
||||
# ==== ================================== =============== ===== =========
|
||||
# ==== =================================== =============== ===== =========
|
||||
# 1 0xA5C90AEFB6734628ABE9508269335CD1 1349.0001 98.9% 1 1349.0001 0.00 DELETE forest
|
||||
# 2 0x7023AEC64FE3598DAC1BF726F2AB10C5 2.9042 0.2% 4 0.7261 0.03 SELECT foo
|
||||
# 3 0x937677F741B37EAFB79802214165F670 0.7261 0.1% 2 0.3631 0.73 INSERT tbl
|
||||
|
@@ -162,7 +162,7 @@ SELECT COUNT(*) FROM blah WHERE col > 2\G
|
||||
|
||||
# Profile
|
||||
# Rank Query ID Response time Calls R/Call
|
||||
# ==== ================================== =============== ===== =========
|
||||
# ==== =================================== =============== ===== =========
|
||||
# 1 0xA5C90AEFB6734628ABE9508269335CD1 1349.0001 98.9% 1 1349.0001 0.00 DELETE forest
|
||||
# 2 0x7023AEC64FE3598DAC1BF726F2AB10C5 2.9042 0.2% 4 0.7261 0.03 SELECT foo
|
||||
# 3 0x937677F741B37EAFB79802214165F670 0.7261 0.1% 2 0.3631 0.73 INSERT tbl
|
||||
|
@@ -27,6 +27,6 @@
|
||||
LOCK foo bar
|
||||
|
||||
# Profile
|
||||
# Rank Query ID Response time Calls R/Call V/M Item
|
||||
# ==== ======== ============= ===== ====== ===== ============
|
||||
# Rank Query ID Response time Calls R/Call V/M
|
||||
# ==== =================================== ============= ===== ====== ====
|
||||
# 1 0x 0.0010 100.0% 1 0.0010 0.00 LOCK foo bar
|
||||
|
@@ -10,11 +10,11 @@
|
||||
# Query size 308 30 34 30.80 31.70 1.64 28.75
|
||||
|
||||
# Profile
|
||||
# Rank Query ID Response time Calls R/Call V/M
|
||||
# Rank Query ID Response time Calls R/Call
|
||||
# ==== =================================== =============== ===== ========
|
||||
# 1 0x95FD3A847023D37C95AADD230F... 1000.0000 53.8% 2 500.0000 0.00 SELECT two
|
||||
# 2 0xBB15BFCE4C9727175081E1858C... 500.0000 26.9% 1 500.0000 0.00 SELECT three
|
||||
# 4 0x66112E536C54CE7170E215C4BF... 50.0000 2.7% 5 10.0000 0.00 SELECT one
|
||||
# 1 0x95FD3A847023D37C95AADD230F4EB56A 1000.0000 53.8% 2 500.0000 0.00 SELECT two
|
||||
# 2 0xBB15BFCE4C9727175081E1858C60FD05 500.0000 26.9% 1 500.0000 0.00 SELECT three
|
||||
# 4 0x66112E536C54CE7170E215C4BFED0080 50.0000 2.7% 5 10.0000 0.00 SELECT one
|
||||
# MISC 0xMISC 310.0000 16.7% 2 155.0000 0.0 <2 ITEMS>
|
||||
|
||||
# Query 1: 2 QPS, 1.00kx concurrency, ID 0x95FD3A847023D37C95AADD230F4EB56A at byte 886
|
||||
|
@@ -28,6 +28,6 @@
|
||||
UPDATE mybbl_MBMessage SET groupId = (select groupId from Group_ where name = 'Guest')\G
|
||||
|
||||
# Profile
|
||||
# Rank Query ID Response time Calls R/Call V/M
|
||||
# Rank Query ID Response time Calls R/Call V/
|
||||
# ==== =================================== ============== ===== ======= ==
|
||||
# 1 0x854B57896A3E0670305E73C51188758F 10.0000 100.0% 1 10.0000 0.00 UPDATE SELECT mybbl_MBMessage Group_
|
||||
|
Reference in New Issue
Block a user