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的一些版本也可以绿色安装,编程实现从资源文件里面解压到目标机器上,并配置好成为 ...
随机推荐
- Paxos算法的通俗理解(转)
维基的简介:Paxos算法是莱斯利·兰伯特(Leslie Lamport,就是 LaTeX 中的"La",此人现在在微软研究院)于1990年提出的一种基于消息传递且具有高度容错特性 ...
- oracle12c之一 控制-PDB的磁盘I/O(IOPS,MBPS)资源管理
在以前的版本中,没有简单的方法来控制单个PDB使用的磁盘I / O量. 因此,某个PDB可能耗尽大量磁盘I / O,并影响同一实例中的其他PDB的性能. Oracle 12c R2可以控制PDB使用的 ...
- DP Intro - poj 2342 Anniversary party
今天开始做老师给的专辑,打开DP专辑 A题 Rebuilding Roads 直接不会了,发现是树形DP,百度了下了该题,看了老半天看不懂,想死的冲动都有了~~~~ 最后百度了下,树形DP入门,找到了 ...
- JAVA学习5:用Maven创建第一个web项目(2)servlet演示
上一章用Maven新建了web项目成功后,本文演示在此基础上应用servlet. 1.首先修改pom.xml文件,添加servlet依赖 <project xmlns="http: ...
- Oracle 锁机制
本文参考自:ORACLE锁机制 1.oracle是一个多用户使用的共享资源,当多个用户并发的操作同一数据行时,那么在oracle数据库中就会存在多个事务操作统一数据行的操作,如果不对并发操作进行控制, ...
- Spark standalone模式的安装(spark-1.6.1-bin-hadoop2.6.tgz)(master、slave1和slave2)
前期博客 Spark运行模式概述 Spark standalone简介与运行wordcount(master.slave1和slave2) 开篇要明白 (1)spark-env.sh 是环境变量配 ...
- 使用solr模拟京东搜素功能
1 项目需求 1.可以根据关键字搜索商品 2.可以根据商品的分类和价格过滤搜索结果 3.可以根据价格排序 4.可以实现基本的分页功能 2 界面效果 3 项目环境搭建 1.创建一个动态的web工程 2. ...
- .netCore2.0 配置文件
之前的asp.net 的配置文件都是xml格式,而.netCore的配置文件则采用Json键值对的格式来存储,具体获取如下 var config = new ConfigurationBuilder( ...
- linux下查看memcache版本
用telnet 127.0.0.1 11211命令连接上memcache, 然后直接输入stats就可以得到memcache服务器的版本
- C#基本语法 - .Net 4.0 之 Dynamic 动态类型
一..net4.0主要新特性 .Net4.0在.Net3.5基础上新增的主要特性有:可选参数.命名参数和Dynamic.具体请阅生鱼片的这篇博文.这里我们着重讲解C#4.0的Dynamic特性,对 ...