Commenti(0)
MySQL Report un tool di shell per tenere tutto sotto controllo
Un utilissimo tool di shell che effettua un dettagliato e comodo report su MySQL
Il Seguente contenuto è tratto da http://Hackmysql.com
mysqlreport offre un semplice e comodo report dello stato di MySQL. Infatti trasforma il valore di SHOW STATUS in un formato di semplice lettura.
Non a caso mysqlreport è un ottima e pratica alternativa all'interpretazione manuale dello SHOW STATUS.
Il link alla pagina ufficiale è : http://hackmysql.com/mysqlreport
Ecco un output esempio:
1MySQL 4.1.25-Debian_mt1 uptime 56 8:30:27 Tue Jan 25 13:48:16 2011 2 3__ Key _________________________________________________________________ 4Buffer used 700.00k of 32.00M %Used: 2.14 5 Current 4.37M %Usage: 13.65 6Write hit 37.77% 7Read hit 99.90% 8 9__ Questions ___________________________________________________________ 10Total 979.00k 0.2/s 11 QC Hits 652.26k 0.1/s %Total: 66.63 12 Com_ 136.82k 0.0/s 13.98 13 DMS 103.76k 0.0/s 10.60 14 COM_QUIT 86.29k 0.0/s 8.81 15 -Unknown 127 0.0/s 0.01 16Slow 40 0.0/s 0.00 %DMS: 0.04 17DMS 103.76k 0.0/s 10.60 18 SELECT 95.05k 0.0/s 9.71 91.60 19 UPDATE 4.13k 0.0/s 0.42 3.98 20 DELETE 2.53k 0.0/s 0.26 2.44 21 INSERT 2.05k 0.0/s 0.21 1.98 22 REPLACE 0 0/s 0.00 0.00 23Com_ 136.82k 0.0/s 13.98 24 change_db 76.34k 0.0/s 7.80 25 set_option 40.04k 0.0/s 4.09 26 show_proces 8.12k 0.0/s 0.83 27 28__ SELECT and Sort _____________________________________________________ 29Scan 3.77k 0.0/s %SELECT: 3.96 30Range 1.53k 0.0/s 1.61 31Full join 0 0/s 0.00 32Range check 0 0/s 0.00 33Full rng join 0 0/s 0.00 34Sort scan 1.12k 0.0/s 35Sort range 34.34k 0.0/s 36Sort mrg pass 0 0/s 37 38__ Query Cache _________________________________________________________ 39Memory usage 4.54M of 16.00M %Used: 28.36 40Block Fragmnt 7.31% 41Hits 652.26k 0.1/s 42Inserts 22.42k 0.0/s 43Insrt:Prune 22.42k:1 0.0/s 44Hit:Insert 29.09:1 45 46__ Table Locks _________________________________________________________ 47Waited 14 0.0/s %Total: 0.01 48Immediate 138.13k 0.0/s 49 50__ Tables ______________________________________________________________ 51Open 106 of 1024 %Cache: 10.35 52Opened 121 0.0/s 53 54__ Connections _________________________________________________________ 55Max used 16 of 100 %Max: 16.00 56Total 86.33k 0.0/s 57 58__ Created Temp ________________________________________________________ 59Disk table 832 0.0/s 60Table 1.10k 0.0/s 61File 4 0.0/s 62 63__ Threads _____________________________________________________________ 64Running 1 of 1 65Cached 3 of 4 %Hit: 99.73 66Created 230 0.0/s 67Slow 0 0/s 68 69__ Aborted _____________________________________________________________ 70Clients 74 0.0/s 71Connects 69 0.0/s 72 73__ Bytes _______________________________________________________________ 74Sent 3.72G 764.0/s 75Received 141.35M 29.0/s
Condividi su:
Esprimi un voto:
Argomenti chiave:

MySQL Report un tool di shell per tenere tutto sotto controllo