pt-mysql-summary
[root@mxqmongodb2 bin]# ./pt-mysql-summary --host=172.16.16.35 --port= --user=root --password=
mysql: [Warning] Using a password on the command line interface can be insecure.
# Percona Toolkit MySQL Summary Report #######################
System time | -- :: UTC (local TZ: CST +)
# Instances ##################################################
Port Data Directory Nice OOM Socket
===== ========================== ==== === ======
# MySQL Executable ###########################################
# Report On Port ########################################
User | root@%
Time | -- :: (CST)
Hostname | mxqmongodb2
Version | 5.7.-log MySQL Community Server (GPL)
Built On | linux-glibc2. x86_64
Started | -- : (up +::)
Databases |
Datadir | /home/mysql/db3306/data/
Processes | connected, running
Replication | Is not a slave, has slaves connected
Pidfile | /home/mysql/db3306/tmp/mysqld.pid (exists)
# Processlist ################################################ Command COUNT(*) Working SUM(Time) MAX(Time)
------------------------------ -------- ------- --------- ---------
Binlog Dump GTID
Query
Sleep User COUNT(*) Working SUM(Time) MAX(Time)
------------------------------ -------- ------- --------- ---------
root Host COUNT(*) Working SUM(Time) MAX(Time)
------------------------------ -------- ------- --------- ---------
172.16.16.34
172.16.16.35 db COUNT(*) Working SUM(Time) MAX(Time)
------------------------------ -------- ------- --------- ---------
NULL
test
tpcc State COUNT(*) Working SUM(Time) MAX(Time)
------------------------------ -------- ------- --------- --------- Master has sent all binlog to
starting # Status Counters (Wait Seconds) ##########################
Variable Per day Per second secs
Aborted_clients
Aborted_connects
Binlog_cache_disk_use
Binlog_cache_use
Binlog_stmt_cache_use
Bytes_received
Bytes_sent
Com_admin_commands
Com_alter_table
Com_change_db
Com_commit
Com_create_index
Com_create_table
Com_create_trigger
Com_delete
Com_drop_table
Com_drop_trigger
Com_insert
Com_insert_select
Com_kill
Com_rollback
Com_select
Com_set_option
Com_show_create_table
Com_show_databases
Com_show_engine_status
Com_show_fields
Com_show_grants
Com_show_master_status
Com_show_processlist
Com_show_slave_status
Com_show_status
Com_show_storage_engines
Com_show_table_status
Com_show_tables
Com_show_triggers
Com_show_variables
Com_show_warnings
Com_stmt_execute
Com_stmt_close
Com_stmt_prepare
Com_update
Connections
Created_tmp_disk_tables
Created_tmp_files
Created_tmp_tables
Handler_commit
Handler_delete
Handler_external_lock
Handler_prepare
Handler_read_first
Handler_read_key
Handler_read_next
Handler_read_rnd
Handler_read_rnd_next
Handler_rollback
Handler_update
Handler_write
Innodb_buffer_pool_bytes_data
Innodb_buffer_pool_bytes_dirty
Innodb_buffer_pool_pages_flushed
Innodb_buffer_pool_read_ahead
Innodb_buffer_pool_read_ahead_evicted
Innodb_buffer_pool_read_requests
Innodb_buffer_pool_reads
Innodb_buffer_pool_wait_free
Innodb_buffer_pool_write_requests
Innodb_data_fsyncs
Innodb_data_read
Innodb_data_reads
Innodb_data_writes
Innodb_data_written
Innodb_dblwr_pages_written
Innodb_dblwr_writes
Innodb_log_write_requests
Innodb_log_writes
Innodb_os_log_fsyncs
Innodb_os_log_written
Innodb_pages_created
Innodb_pages_read
Innodb_pages_written
Innodb_row_lock_time
Innodb_row_lock_waits
Innodb_rows_deleted
Innodb_rows_inserted
Innodb_rows_read
Innodb_rows_updated
Innodb_num_open_files
Innodb_available_undo_logs
Key_read_requests
Key_reads
Key_write_requests
Open_table_definitions
Opened_files
Opened_table_definitions
Opened_tables
Qcache_not_cached
Queries
Questions
Rpl_semi_sync_master_no_tx
Select_range
Select_scan
Slow_queries
Sort_range
Sort_rows
Table_locks_immediate
Table_open_cache_hits
Table_open_cache_misses
Table_open_cache_overflows
Threads_created
Uptime
# Table cache ################################################
Size |
Usage | %
# Key Percona Server features ################################
Table & Index Stats | Not Supported
Multiple I/O Threads | Enabled
Corruption Resilient | Not Supported
Durable Replication | Not Supported
Import InnoDB Tables | Not Supported
Fast Server Restarts | Not Supported
Enhanced Logging | Not Supported
Replica Perf Logging | Disabled
Response Time Hist. | Not Supported
Smooth Flushing | Not Supported
HandlerSocket NoSQL | Not Supported
Fast Hash UDFs | Unknown
# Percona XtraDB Cluster #####################################
# Plugins ####################################################
InnoDB compression | ACTIVE
# Query cache ################################################
query_cache_type | OFF
Size | 1.0M
Usage | %
HitToInsertRatio | %
# Semisynchronous Replication ################################
Master | Disabled
Slave | Disabled
# Schema #####################################################
Specify --databases or --all-databases to dump and summarize schemas
# Noteworthy Technologies ####################################
SSL | No
Explicit LOCK TABLES | No
Delayed Insert | No
XA Transactions | No
NDB Cluster | No
Prepared Statements | Yes
Prepared statement count |
# InnoDB #####################################################
Version | 5.7.
Buffer Pool Size | 128.0M
Buffer Pool Fill | %
Buffer Pool Dirty | %
File Per Table | ON
Page Size | 16k
Log File Size | * 48.0M = 96.0M
Log Buffer Size | 16M
Flush Method |
Flush Log At Commit |
XA Support | ON
Checksums | ON
Doublewrite | ON
R/W I/O Threads |
I/O Capacity |
Thread Concurrency |
Concurrency Tickets |
Commit Concurrency |
Txn Isolation Level | REPEATABLE-READ
Adaptive Flushing | ON
Adaptive Checkpoint |
Checkpoint Age | 698k
InnoDB Queue | queries inside InnoDB, queries in queue
Oldest Transaction | Seconds
History List Len |
Read Views |
Undo Log Entries | transactions, total undo, max undo
Pending I/O Reads | buf pool reads, normal AIO, ibuf AIO, preads
Pending I/O Writes | buf pool ( LRU, flush list, page); AIO, sync, log IO ( log, chkp); pwrites
Pending I/O Flushes | buf pool, log
Transaction States | 4xnot started
# MyISAM #####################################################
Key Cache | 8.0M
Pct Used | %
Unflushed | %
# Security ###################################################
Users |
Old Passwords |
# Binary Logging #############################################
Binlogs |
Zero-Sized |
Total Size | .8G
binlog_format | ROW
expire_logs_days |
sync_binlog |
server_id |
binlog_do_db |
binlog_ignore_db |
# Noteworthy Variables #######################################
Auto-Inc Incr/Offset | /
default_storage_engine | InnoDB
flush_time |
init_connect |
init_file |
sql_mode | NO_ENGINE_SUBSTITUTION
join_buffer_size | 256k
sort_buffer_size | 256k
read_buffer_size | 128k
read_rnd_buffer_size | 256k
bulk_insert_buffer | 0.00
max_heap_table_size | 16M
tmp_table_size | 16M
max_allowed_packet | 4M
thread_stack | 256k
log |
log_error | /home/mysql/db3306/log/mysql-error.log
log_warnings |
log_slow_queries |
log_queries_not_using_indexes | ON
log_slave_updates | ON
# Configuration File #########################################
Config File | /etc/my.cnf [client]
port =
socket = /home/mysql/db3306/tmp/mysql.sock
# The End ####################################################
pt-mysql-summary的更多相关文章
- C#操作mysql数据库
转 http://www.jb51.net/article/43486.htm using System;using System.Configuration;using MySql.Data.My ...
- 创建ASP.NET Core MVC应用程序(3)-基于Entity Framework Core(Code First)创建MySQL数据库表
创建ASP.NET Core MVC应用程序(3)-基于Entity Framework Core(Code First)创建MySQL数据库表 创建数据模型类(POCO类) 在Models文件夹下添 ...
- C#连接操作mysql实例
第三方组件:Mysql.Data.dll说明:去官方网站下载Mysql.Data.dll,然后在项目中添加该组件的引用,在代码页里输入using Mysql.Data.MysqlClient,我们就可 ...
- C#连接mysql实例
using System; using System.Configuration; using MySql.Data.MySqlClient; /// <summary> /// Test ...
- C# MySQL 数据库操作类
using System; using System.Configuration; using System.Collections; using System.Data; using MySql.D ...
- MySQL DBA 刚入职时如何快速拥抱新的环境
方法何其多.这里介绍的是懒人做法.也就是.借助工具 但是.生产环境是不能随便安装程序的.肿么办? 没关系.我们伟大的percona 已经为我们考虑周详鸟 这里.我们要借助三个工具: ...
- 在.NET连接MySQL以及封装好的MySQLHelper.cs
1.首先上MySQL网站下驱动:http://www.mysql.com/products/connector/ 2.安装下载的安装包 3.我们在Visual Studio里创建一个Web Appli ...
- [MySQL] MySQL的自己主动化安装部署
有过MySQL运维的人应该都清楚,线上的MySQL一般都採用源代码编译,由于这样才干够依据企业的各自须要选择要编译的功能,尽管MySQL的源代码编译挺简单的,可是试想一下,假设你有几百台server同 ...
- [C#][转]与MySql连接访问
using System;using System.Configuration;using MySql.Data.MySqlClient;/// <summary>/// TestDate ...
- C#Winform使用mysql作为本地数据库
MYSQL是老牌关系型数据库,在受够了sqlite,mslocaldb,sqlce等本地数据库之后,发现了mysql5.6的一些版本也可以绿色安装,编程实现从资源文件里面解压到目标机器上,并配置好成为 ...
随机推荐
- 【温故知新】C#基于事件的异步模式(EAP)
在开发winform和调用asp.net的web service引用的时候,会出现许多命名为 MethodNameAsync 的方法. 例如: winform的按钮点击 this.button1.Cl ...
- (转)linux内存源码分析 - 内存回收(整体流程)
http://www.cnblogs.com/tolimit/p/5435068.html------------linux内存源码分析 - 内存回收(整体流程) 概述 当linux系统内存压力就大时 ...
- ajax中的异步机制导致的问题
设置async:false;即可将请求设置为同步的,所以,我们就可以实现:在ajax请求之后再执行下面的语句.
- Js正则Replace方法
JS正则的创建有两种方式: new RegExp() 和 直接字面量. //使用RegExp对象创建 var regObj = new RegExp("(^\s+)|(\s+$)" ...
- JDBC(5)-处理大数据
大数据对象处理主要有CLOB(character large object) 和BLOB(binary large object) 两种类型的字段. 在CLOB中可以存储大字符对象,比如长篇小说:在B ...
- 【LESS系列】简介和使用
LESS —— 一个CSS预编译框架,它在CSS的语法基础之上,引入了变量.Mixin(混入).运算以及函数等功能,大大简化了CSS的编写,并且降低了CSS的维护成本,就像它的名称所说的那样,LESS ...
- Git命令学习笔记
一.本地代码增,删,改,查,提交,找回git checkout . //抛弃工作区所有修改git checkout -- <file> //抛弃工作区& ...
- Java入门系列-25-NIO(实现非阻塞网络通信)
还记得之前介绍NIO时对比传统IO的一大特点吗?就是NIO是非阻塞式的,这篇文章带大家来看一下非阻塞的网络操作. 补充:以数组的形式使用缓冲区 package testnio; import java ...
- [Mysql高可用]——双主互备+keepalived
实验架构图 实验环境 主机名 操作系统 Mysql版本 keepalived版本 主机IP VIP lyj1(Master/Slave) Red Hat release 6.5 Mysql5.6 ...
- tomcat开启远程调试和热部署(jrebel)启动tomcat
@echo off set REBEL_HOME=D:\jrebel\jrebel--nosetup set JAVA_OPTS=-agentpath:%REBEL_HOME%\lib\jrebel6 ...