Advertisement
Guest User

Untitled

a guest
Sep 18th, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 11.83 KB | None | 0 0
  1.  
  2.  
  3. root@precise32:~/percona-toolkit-2.2.7/bin# ./pt-mysql-summary
  4. # Percona Toolkit MySQL Summary Report #######################
  5.               System time | 2014-09-18 15:58:29 UTC (local TZ: UTC +0000)
  6. # Instances ##################################################
  7.   Port  Data Directory             Nice OOM Socket
  8.   ===== ========================== ==== === ======
  9. # MySQL Executable ###########################################
  10.        Path to executable | /usr/sbin/mysqld
  11.               Has symbols | No
  12. # Report On Port 3306 ########################################
  13.                      User | root@localhost
  14.                      Time | 2014-09-18 15:58:29 (UTC)
  15.                  Hostname | precise32
  16.                   Version | 5.5.35-0ubuntu0.12.04.2-log (Ubuntu)
  17.                  Built On | debian-linux-gnu i686
  18.                   Started | 2014-09-15 13:54 (up 3+02:04:15)
  19.                 Databases | 24
  20.                   Datadir | /var/lib/mysql/
  21.                 Processes | 2 connected, 1 running
  22.               Replication | Is not a slave, has 0 slaves connected
  23.                   Pidfile | /var/run/mysqld/mysqld.pid (exists)
  24. # Processlist ################################################
  25.  
  26.   Command                        COUNT(*) Working SUM(Time) MAX(Time)
  27.   ------------------------------ -------- ------- --------- ---------
  28.   Query                                 1       1         0         0
  29.   Sleep                                 1       0         0         0
  30.  
  31.   User                           COUNT(*) Working SUM(Time) MAX(Time)
  32.   ------------------------------ -------- ------- --------- ---------
  33.   cacti                                 1       0         0         0
  34.   root                                  1       1         0         0
  35.  
  36.   Host                           COUNT(*) Working SUM(Time) MAX(Time)
  37.   ------------------------------ -------- ------- --------- ---------
  38.   localhost                             2       1         0         0
  39.  
  40.   db                             COUNT(*) Working SUM(Time) MAX(Time)
  41.   ------------------------------ -------- ------- --------- ---------
  42.   cacti                                 1       0         0         0
  43.   NULL                                  1       1         0         0
  44.  
  45.   State                          COUNT(*) Working SUM(Time) MAX(Time)
  46.   ------------------------------ -------- ------- --------- ---------
  47.                                         1       0         0         0
  48.   NULL                                  1       1         0         0
  49.  
  50. # Status Counters (Wait 10 Seconds) ##########################
  51. Variable                                Per day  Per second     11 secs
  52. Binlog_cache_use                              2
  53. Binlog_stmt_cache_use                      1500
  54. Bytes_received                      30000000000      350000      350000
  55. Bytes_sent                          35000000000      400000      400000
  56. Com_admin_commands                            1
  57. Com_change_db                               350
  58. Com_insert                                    2
  59. Com_replace                                1500
  60. Com_select                                10000                       1
  61. Com_set_option                              400
  62. Com_show_create_table                        45
  63. Com_show_fields                               2
  64. Com_show_tables                               7
  65. Com_show_variables                            1
  66. Com_truncate                                300
  67. Connections                                 300                       1
  68. Created_tmp_disk_tables                      20                       1
  69. Created_tmp_files                             4
  70. Created_tmp_tables                           80                       4
  71. Handler_commit                             1500
  72. Handler_prepare                               5
  73. Handler_read_first                          600
  74. Handler_read_key                           9000
  75. Handler_read_next                             3
  76. Handler_read_rnd                           1500
  77. Handler_read_rnd_next                      2000                      80
  78. Handler_update                             1500
  79. Handler_write                              2500                      35
  80. Innodb_buffer_pool_bytes_data          10000000         125
  81. Innodb_buffer_pool_pages_flushed             30
  82. Innodb_buffer_pool_read_requests          17500
  83. Innodb_buffer_pool_reads                    700
  84. Innodb_buffer_pool_write_requests            90
  85. Innodb_data_fsyncs                           20
  86. Innodb_data_read                       12500000         150
  87. Innodb_data_reads                           700
  88. Innodb_data_writes                           40
  89. Innodb_data_written                      900000          10
  90. Innodb_dblwr_pages_written                   30
  91. Innodb_dblwr_writes                           3
  92. Innodb_log_write_requests                     7
  93. Innodb_log_writes                             9
  94. Innodb_os_log_fsyncs                         15
  95. Innodb_os_log_written                      9000
  96. Innodb_pages_read                           700
  97. Innodb_pages_written                         30
  98. Innodb_rows_inserted                          5
  99. Innodb_rows_read                             15
  100. Key_read_requests                         10000
  101. Key_reads                                    15
  102. Open_table_definitions                       50
  103. Opened_files                               2250                       5
  104. Opened_table_definitions                    600
  105. Opened_tables                               800
  106. Qcache_hits                           125000000        1500        1500
  107. Qcache_inserts                            10000
  108. Qcache_not_cached                            60                       1
  109. Queries                               125000000        1500        1500
  110. Questions                             125000000        1500        1500
  111. Select_scan                                  15
  112. Table_locks_immediate                     10000
  113. Uptime                                    90000           1           1
  114. # Table cache ################################################
  115.                      Size | 400
  116.                     Usage | 40%
  117. # Key Percona Server features ################################
  118.       Table & Index Stats | Not Supported
  119.      Multiple I/O Threads | Enabled
  120.      Corruption Resilient | Not Supported
  121.       Durable Replication | Not Supported
  122.      Import InnoDB Tables | Not Supported
  123.      Fast Server Restarts | Not Supported
  124.          Enhanced Logging | Not Supported
  125.      Replica Perf Logging | Not Supported
  126.       Response Time Hist. | Not Supported
  127.           Smooth Flushing | Not Supported
  128.       HandlerSocket NoSQL | Not Supported
  129.            Fast Hash UDFs | Unknown
  130. # Percona XtraDB Cluster #####################################
  131. # Plugins ####################################################
  132.        InnoDB compression | ACTIVE
  133. # Query cache ################################################
  134.          query_cache_type | ON
  135.                      Size | 16.0M
  136.                     Usage | 0%
  137.          HitToInsertRatio | 1250000%
  138. # Schema #####################################################
  139. Specify --databases or --all-databases to dump and summarize schemas
  140. # Noteworthy Technologies ####################################
  141.                       SSL | No
  142.      Explicit LOCK TABLES | No
  143.            Delayed Insert | No
  144.           XA Transactions | No
  145.               NDB Cluster | No
  146.       Prepared Statements | No
  147.  Prepared statement count | 0
  148. # InnoDB #####################################################
  149.                   Version | 5.5.35
  150.          Buffer Pool Size | 128.0M
  151.          Buffer Pool Fill | 25%
  152.         Buffer Pool Dirty | 0%
  153.            File Per Table | OFF
  154.                 Page Size | 16k
  155.             Log File Size | 2 * 5.0M = 10.0M
  156.           Log Buffer Size | 8M
  157.              Flush Method |
  158.       Flush Log At Commit | 1
  159.                XA Support | ON
  160.                 Checksums | ON
  161.               Doublewrite | ON
  162.           R/W I/O Threads | 4 4
  163.              I/O Capacity | 200
  164.        Thread Concurrency | 0
  165.       Concurrency Tickets | 500
  166.        Commit Concurrency | 0
  167.       Txn Isolation Level | REPEATABLE-READ
  168.         Adaptive Flushing | ON
  169.       Adaptive Checkpoint |
  170.            Checkpoint Age | 0
  171.              InnoDB Queue | 0 queries inside InnoDB, 0 queries in queue
  172.        Oldest Transaction | 0 Seconds
  173.          History List Len | 422
  174.                Read Views | 1
  175.          Undo Log Entries | 0 transactions, 0 total undo, 0 max undo
  176.         Pending I/O Reads | 0 buf pool reads, 0 normal AIO, 0 ibuf AIO, 0 preads
  177.        Pending I/O Writes | 0 buf pool (0 LRU, 0 flush list, 0 page); 0 AIO, 0 sync, 0 log IO (0 log, 0 chkp); 0 pwrites
  178.       Pending I/O Flushes | 0 buf pool, 0 log
  179.        Transaction States | 1xnot started
  180. # MyISAM #####################################################
  181.                 Key Cache | 16.0M
  182.                  Pct Used | 10%
  183.                 Unflushed | 0%
  184. # Security ###################################################
  185.                     Users | 460 users, 2 anon, 6 w/o pw, 6 old pw
  186.             Old Passwords | OFF
  187. # Binary Logging #############################################
  188.                   Binlogs | 12
  189.                Zero-Sized | 0
  190.                Total Size | 4.4M
  191.             binlog_format | ROW
  192.          expire_logs_days | 10
  193.               sync_binlog | 0
  194.                 server_id | 1
  195.              binlog_do_db |
  196.          binlog_ignore_db |
  197. # Noteworthy Variables #######################################
  198.      Auto-Inc Incr/Offset | 1/1
  199.    default_storage_engine | InnoDB
  200.                flush_time | 0
  201.              init_connect |
  202.                 init_file |
  203.                  sql_mode |
  204.          join_buffer_size | 128k
  205.          sort_buffer_size | 2M
  206.          read_buffer_size | 128k
  207.      read_rnd_buffer_size | 256k
  208.        bulk_insert_buffer | 0.00
  209.       max_heap_table_size | 16M
  210.            tmp_table_size | 16M
  211.        max_allowed_packet | 16M
  212.              thread_stack | 192k
  213.                       log | OFF
  214.                 log_error | /var/log/mysql/error.log
  215.              log_warnings | 1
  216.          log_slow_queries | OFF
  217. log_queries_not_using_indexes | OFF
  218.         log_slave_updates | OFF
  219. # Configuration File #########################################
  220.               Config File | /etc/mysql/my.cnf
  221.  
  222. [client]
  223. port                                = 3306
  224. socket                              = /var/run/mysqld/mysqld.sock
  225.  
  226. [mysqld_safe]
  227. socket                              = /var/run/mysqld/mysqld.sock
  228. nice                                = 0
  229.  
  230. [mysqld]
  231. user                                = mysql
  232. pid-file                            = /var/run/mysqld/mysqld.pid
  233. socket                              = /var/run/mysqld/mysqld.sock
  234. port                                = 3306
  235. basedir                             = /usr
  236. datadir                             = /var/lib/mysql
  237. tmpdir                              = /tmp
  238. lc-messages-dir                     = /usr/share/mysql
  239. skip-external-locking
  240. bind-address                        = 0.0.0.0
  241. key_buffer                          = 16M
  242. max_allowed_packet                  = 16M
  243. thread_stack                        = 192K
  244. thread_cache_size                   = 8
  245. myisam-recover                      = BACKUP
  246. query_cache_limit                   = 1M
  247. query_cache_size                    = 16M
  248. log_error                           = /var/log/mysql/error.log
  249. slow_query_log                      = 0;
  250. server-id                           = 1
  251. log_bin                             = /var/log/mysql/mysql-bin.log
  252. expire_logs_days                    = 10
  253. max_binlog_size                     = 100M
  254. binlog_format                       = row
  255.  
  256. [mysqldump]
  257. quick
  258. quote-names
  259. max_allowed_packet                  = 16M
  260.  
  261. [mysql]
  262.  
  263. [isamchk]
  264. key_buffer                          = 16M
  265. # The End ####################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement