运行信息

本报告提供了MySQL服务器的详细状态信息,包括运行时长、查询统计、流量情况等,并深入分析了查询类型分布、缓存使用状况及表锁等待次数等关键指标。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


运行信息

此 MySQL 服务器已经运行了 0 天 2 小时,52 分 43 秒,启动时间为 2008 年 03 月 31 日 20:38。

服务器流量:这些表显示了此 MySQL 服务器自启动以来的网络流量统计。

流量 Tipø 每小时
已收到167 KB58 KB
送出2,193 KB762 KB
统计2,360 KB820 KB
连接ø 每小时%
max. concurrent connections2 --- ---
尝试失败16 5.56 13.68%
中止2 0.00 k1.71%
统计117 40.64 100.00%

查询统计:自从启动后,服务器共收到了 2,624 次查询。

统计ø 每小时ø 每分钟ø 每秒
2,624 911.55 15.19 0.00 k
查询方式ø 每小时%
admin commands0 0.00 0.00%
alter db0 0.00 0.00%
alter table0 0.00 0.00%
analyze2 0.00 k0.08%
backup table0 0.00 0.00%
begin0 0.00 0.00%
call procedure0 0.00 0.00%
change db60 20.84 2.39%
change master0 0.00 0.00%
check0 0.00 0.00%
checksum0 0.00 0.00%
commit0 0.00 0.00%
create db0 0.00 0.00%
create function0 0.00 0.00%
create index0 0.00 0.00%
create table0 0.00 0.00%
create user0 0.00 0.00%
delete0 0.00 0.00%
delete multi0 0.00 0.00%
do0 0.00 0.00%
drop db0 0.00 0.00%
drop function0 0.00 0.00%
drop index0 0.00 0.00%
drop table0 0.00 0.00%
drop user0 0.00 0.00%
flush1 0.00 k0.04%
grant0 0.00 0.00%
ha close0 0.00 0.00%
ha open0 0.00 0.00%
ha read0 0.00 0.00%
help0 0.00 0.00%
insert0 0.00 0.00%
insert select0 0.00 0.00%
kill0 0.00 0.00%
load0 0.00 0.00%
load master data0 0.00 0.00%
load master table0 0.00 0.00%
lock tables0 0.00 0.00%
optimize0 0.00 0.00%
preload keys0 0.00 0.00%
purge0 0.00 0.00%
purge before date0 0.00 0.00%
rename table0 0.00 0.00%
repair0 0.00 0.00%
replace0 0.00 0.00%
replace select0 0.00 0.00%
reset0 0.00 0.00%
restore table0 0.00 0.00%
revoke0 0.00 0.00%
revoke all0 0.00 0.00%
查询方式ø 每小时%
rollback0 0.00 0.00%
savepoint0 0.00 0.00%
select610 211.91 24.33%
set option233 80.94 9.29%
show binlog events0 0.00 0.00%
show binlogs32 11.12 1.28%
show charsets98 34.04 3.91%
show collations98 34.04 3.91%
show column types0 0.00 0.00%
show create db0 0.00 0.00%
show create table42 14.59 1.68%
show databases102 35.43 4.07%
show errors0 0.00 0.00%
show fields381 132.36 15.20%
show grants25 8.68 1.00%
show innodb status0 0.00 0.00%
show keys41 14.24 1.64%
show logs0 0.00 0.00%
show master status0 0.00 0.00%
show ndb status0 0.00 0.00%
show new master0 0.00 0.00%
show open tables0 0.00 0.00%
show privileges0 0.00 0.00%
show processlist1 0.00 k0.04%
show slave hosts0 0.00 0.00%
show slave status0 0.00 0.00%
show status2 0.00 k0.08%
show storage engines1 0.00 k0.04%
show tables113 39.26 4.51%
show triggers0 0.00 0.00%
show variables219 76.08 8.74%
show warnings0 0.00 0.00%
slave start0 0.00 0.00%
slave stop0 0.00 0.00%
stmt close0 0.00 0.00%
stmt execute0 0.00 0.00%
stmt fetch0 0.00 0.00%
stmt prepare0 0.00 0.00%
stmt reset0 0.00 0.00%
stmt send long data0 0.00 0.00%
truncate0 0.00 0.00%
unlock tables0 0.00 0.00%
update0 0.00 0.00%
update multi0 0.00 0.00%
xa commit0 0.00 0.00%
xa end0 0.00 0.00%
xa prepare0 0.00 0.00%
xa recover0 0.00 0.00%
xa rollback0 0.00 0.00%
xa start0 0.00 0.00%
开始 SQL 查询
变量描述
Flush_commands1 The number of executed FLUSH statements.
Last_query_cost0 The total cost of the last compiled query as computed by the query optimizer. Useful for comparing the cost of different query plans for the same query. The default value of 0 means that no query has been compiled yet.
Slow_queries0 The number of queries that have taken more than long_query_time seconds.文档
开始 InnoDB
变量描述
变量 InnoDB 状态 文档
Innodb_buffer_pool_pages_data19 The number of pages containing data (dirty or clean).
Innodb_buffer_pool_pages_dirty0 The number of pages currently dirty.
Innodb_buffer_pool_pages_flushed0 The number of buffer pool pages that have been requested to be flushed.
Innodb_buffer_pool_pages_free493 The number of free pages.
Innodb_buffer_pool_pages_latched0 The number of latched pages in InnoDB buffer pool. These are pages currently being read or written or that can't be flushed or removed for some other reason.
Innodb_buffer_pool_pages_misc0 The number of pages busy because they have been allocated for administrative overhead such as row locks or the adaptive hash index. This value can also be calculated as Innodb_buffer_pool_pages_total - Innodb_buffer_pool_pages_free - Innodb_buffer_pool_pages_data.
Innodb_buffer_pool_pages_total512 Total size of buffer pool, in pages.
Innodb_buffer_pool_read_ahead_rnd1 The number of "random" read-aheads InnoDB initiated. This happens when a query is to scan a large portion of a table but in random order.
Innodb_buffer_pool_read_ahead_seq0 The number of sequential read-aheads InnoDB initiated. This happens when InnoDB does a sequential full table scan.
Innodb_buffer_pool_read_requests77 The number of logical read requests InnoDB has done.
Innodb_buffer_pool_reads12 The number of logical reads that InnoDB could not satisfy from buffer pool and had to do a single-page read.
Innodb_buffer_pool_wait_free0 Normally, writes to the InnoDB buffer pool happen in the background. However, if it's necessary to read or create a page and no clean pages are available, it's necessary to wait for pages to be flushed first. This counter counts instances of these waits. If the buffer pool size was set properly, this value should be small.
Innodb_buffer_pool_write_requests0 The number writes done to the InnoDB buffer pool.
Innodb_data_fsyncs3 The number of fsync() operations so far.
Innodb_data_pending_fsyncs0 The current number of pending fsync() operations.
Innodb_data_pending_reads0 The current number of pending reads.
Innodb_data_pending_writes0 The current number of pending writes.
Innodb_data_read2,494 kThe amount of data read so far, in bytes.
Innodb_data_reads29 The total number of data reads.
Innodb_data_writes3 The total number of data writes.
Innodb_data_written1,536 The amount of data written so far, in bytes.
Innodb_dblwr_pages_written0 The number of doublewrite writes that have been performed and the number of pages that have been written for this purpose.
Innodb_dblwr_writes0 The number of doublewrite writes that have been performed and the number of pages that have been written for this purpose.
Innodb_log_waits0 The number of waits we had because log buffer was too small and we had to wait for it to be flushed before continuing.
Innodb_log_write_requests0 The number of log write requests.
Innodb_log_writes1 The number of physical writes to the log file.
Innodb_os_log_fsyncs3 The number of fsyncs writes done to the log file.
Innodb_os_log_pending_fsyncs0 The number of pending log file fsyncs.
Innodb_os_log_pending_writes0 Pending log file writes.
Innodb_os_log_written512 The number of bytes written to the log file.
Innodb_page_size16 kThe compiled-in InnoDB page size (default 16KB). Many values are counted in pages; the page size allows them to be easily converted to bytes.
Innodb_pages_created0 The number of pages created.
Innodb_pages_read19 The number of pages read.
Innodb_pages_written0 The number of pages written.
Innodb_row_lock_current_waits0 The number of row locks currently being waited for.
Innodb_row_lock_time0 The total time spent in acquiring row locks, in milliseconds.
Innodb_row_lock_time_avg0 The average time to acquire a row lock, in milliseconds.
Innodb_row_lock_time_max0 The maximum time to acquire a row lock, in milliseconds.
Innodb_row_lock_waits0 The number of times a row lock had to be waited for.
Innodb_rows_deleted0 The number of rows deleted from InnoDB tables.
Innodb_rows_inserted0 The number of rows inserted in InnoDB tables.
Innodb_rows_read0 The number of rows read from InnoDB tables.
Innodb_rows_updated0 The number of rows updated in InnoDB tables.
开始 SSL
变量描述
Ssl_accept_renegotiates0  
Ssl_accepts0  
Ssl_callback_cache_hits0  
Ssl_cipher  
Ssl_cipher_list  
Ssl_client_connects0  
Ssl_connect_renegotiates0  
Ssl_ctx_verify_depth0  
Ssl_ctx_verify_mode0  
Ssl_default_timeout0  
Ssl_finished_accepts0  
Ssl_finished_connects0  
Ssl_session_cache_hits0  
Ssl_session_cache_misses0  
Ssl_session_cache_modeNONE 
Ssl_session_cache_overflows0  
Ssl_session_cache_size0  
Ssl_session_cache_timeouts0  
Ssl_sessions_reused0  
Ssl_used_session_cache_entries0  
Ssl_verify_depth0  
Ssl_verify_mode0  
Ssl_version  
开始 Handler
变量描述
Handler_commit0 The number of internal COMMIT statements.
Handler_delete0 The number of times a row was deleted from a table.
Handler_discover0 The MySQL server can ask the NDB Cluster storage engine if it knows about a table with a given name. This is called discovery. Handler_discover indicates the number of time tables have been discovered.
Handler_prepare0  
Handler_read_first95 The number of times the first entry was read from an index. If this is high, it suggests that the server is doing a lot of full index scans; for example, SELECT col1 FROM foo, assuming that col1 is indexed.
Handler_read_key1 The number of requests to read a row based on a key. If this is high, it is a good indication that your queries and tables are properly indexed.
Handler_read_next0 The number of requests to read the next row in key order. This is incremented if you are querying an index column with a range constraint or if you are doing an index scan.
Handler_read_prev0 The number of requests to read the previous row in key order. This read method is mainly used to optimize ORDER BY ... DESC.
Handler_read_rnd2 The number of requests to read a row based on a fixed position. This is high if you are doing a lot of queries that require sorting of the result. You probably have a lot of queries that require MySQL to scan whole tables or you have joins that don't use keys properly.
Handler_read_rnd_next33 kThe number of requests to read the next row in the data file. This is high if you are doing a lot of table scans. Generally this suggests that your tables are not properly indexed or that your queries are not written to take advantage of the indexes you have.
Handler_rollback0 The number of internal ROLLBACK statements.
Handler_savepoint0  
Handler_savepoint_rollback0  
Handler_update1 The number of requests to update a row in a table.
Handler_write32 kThe number of requests to insert a row in a table.
开始 Query cache
变量描述
Flush query cache 文档
Qcache_free_blocks0 The number of free memory blocks in query cache.
Qcache_free_memory0 The amount of free memory for query cache.
Qcache_hits0 The number of cache hits.
Qcache_inserts0 The number of queries added to the cache.
Qcache_lowmem_prunes0 The number of queries that have been removed from the cache to free up memory for caching new queries. This information can help you tune the query cache size. The query cache uses a least recently used (LRU) strategy to decide which queries to remove from the cache.
Qcache_not_cached0 The number of non-cached queries (not cachable, or not cached due to the query_cache_type setting).
Qcache_queries_in_cache0 The number of queries registered in the cache.
Qcache_total_blocks0 The total number of blocks in the query cache.
开始 Threads
变量描述
显示进程 文档
Slow_launch_threads0 The number of threads that have taken more than slow_launch_time seconds to create.
Threads_cached1 The number of threads in the thread cache. The cache hit rate can be calculated as Threads_created/Connections. If this value is red you should raise your thread_cache_size.
Threads_connected1 The number of currently open connections.
Threads_created2 The number of threads created to handle connections. If Threads_created is big, you may want to increase the thread_cache_size value. (Normally this doesn't give a notable performance improvement if you have a good thread implementation.)
Threads_running1 The number of threads that are not sleeping.
Threads_cache_hitrate_%98.29 % 
开始 二进制日志
变量描述
文档
Binlog_cache_disk_use0 The number of transactions that used the temporary binary log cache but that exceeded the value of binlog_cache_size and used a temporary file to store statements from the transaction.
Binlog_cache_use0 The number of transactions that used the temporary binary log cache.
开始 Temporary data
变量描述
Created_tmp_disk_tables825 The number of temporary tables on disk created automatically by the server while executing statements. If Created_tmp_disk_tables is big, you may want to increase the tmp_table_size value to cause temporary tables to be memory-based instead of disk-based.
Created_tmp_files5 How many temporary files mysqld has created.
Created_tmp_tables3,299 The number of in-memory temporary tables created automatically by the server while executing statements.
开始 Delayed inserts
变量描述
Delayed_errors0 The number of rows written with INSERT DELAYED for which some error occurred (probably duplicate key).
Delayed_insert_threads0 The number of INSERT DELAYED handler threads in use. Every different table on which one uses INSERT DELAYED gets its own thread.
Delayed_writes0 The number of INSERT DELAYED rows written.
Not_flushed_delayed_rows0 The number of rows waiting to be written in INSERT DELAYED queues.
开始 Key cache
变量描述
文档
Key_blocks_not_flushed0 The number of key blocks in the key cache that have changed but haven't yet been flushed to disk. It used to be known as Not_flushed_key_blocks.
Key_blocks_unused7,173 The number of unused blocks in the key cache. You can use this value to determine how much of the key cache is in use.
Key_blocks_used16 The number of used blocks in the key cache. This value is a high-water mark that indicates the maximum number of blocks that have ever been in use at one time.
Key_read_requests49 The number of requests to read a key block from the cache.
Key_reads49 The number of physical reads of a key block from disk. If Key_reads is big, then your key_buffer_size value is probably too small. The cache miss rate can be calculated as Key_reads/Key_read_requests.
Key_write_requests0 The number of requests to write a key block to the cache.
Key_writes0 The number of physical writes of a key block to disk.
Key_buffer_fraction_%12.44 % 
Key_read_ratio_%100.00 % 
开始 Joins
变量描述
Select_full_join0 The number of joins that do not use indexes. If this value is not 0, you should carefully check the indexes of your tables.
Select_full_range_join0 The number of joins that used a range search on a reference table.
Select_range0 The number of joins that used ranges on the first table. (It's normally not critical even if this is big.)
Select_range_check0 The number of joins without keys that check for key usage after each row. (If this is not 0, you should carefully check the indexes of your tables.)
Select_scan1,701 The number of joins that did a full scan of the first table.
开始 Replication
变量描述
Show slave hosts Show slave status 文档
Rpl_statusNULLThe status of failsafe replication (not yet implemented).
Slave_open_temp_tables0 The number of temporary tables currently open by the slave SQL thread.
Slave_retried_transactions0 Total (since startup) number of times the replication slave SQL thread has retried transactions.
Slave_runningOFFThis is ON if this server is a slave that is connected to a master.
开始 Sorting
变量描述
Sort_merge_passes0 The number of merge passes the sort algorithm has had to do. If this value is large, you should consider increasing the value of the sort_buffer_size system variable.
Sort_range0 The number of sorts that were done with ranges.
Sort_rows2 The number of sorted rows.
Sort_scan1 The number of sorts that were done by scanning the table.
开始 个表
变量描述
Flush (close) all tables Show open tables
Open_tables17 The number of tables that are open.
Opened_tables98 The number of tables that have been opened. If opened tables is big, your table cache value is probably too small.
Table_locks_immediate407 The number of times that a table lock was acquired immediately.
Table_locks_waited0 The number of times that a table lock could not be acquired immediately and a wait was needed. If this is high, and you have performance problems, you should first optimize your queries, and then either split your table or tables or use replication.
开始 Transaction coordinator
变量描述
Tc_log_max_pages_used0  
Tc_log_page_size0  
Tc_log_page_waits0  
开始
变量描述
CompressionOFF 
Open_files34 The number of files that are open.
Open_streams0 The number of streams that are open (used mainly for logging).
Prepared_stmt_count0  
Uptime_since_flush_status10 k 
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值