实验5数据库性能监视与优化实验1
实验目的理解数据库性能概念,练习数据库性能监视命令方法,能够对数据库性能进行优化
实验内容【实验5-1】使用SHOW语句查询设备吞吐量Questions>Com_SelectComJnsertCom_update>Com_delete儿个指标值
【实验5-2]访问Performance_schema中的events_statements_summary_by_digest表,获取有关的延迟、错误和查询量信息的性能指标
【实验5-3】使用SHOW语句查询连接检查指标Threads_connected>Threads_running>Connection_errors_internal、Aborted_connects和Connection_errors_max_connectionsG【实验5-4]使用SHOW语句查询Innodb缓冲区指标lnnodb_buffer_pool_pages_total、Innodbbufferpoolreadrequests>InnodbbufferpoolreadSo【实验5-5]使用SHOW语句获取与查询缓冲相关的指标:Qcache_free_blocks、Qcache_free_memory、Qcache_hits、Qcachejnserts、Qcache_lowmem_prunes、Qcache_not_cached>Qcache_queries_in_cache、Qcache_total_blocks
、【实验5-6]使用SHOW语句获取关于临时表的指标Created_tmp_disk_tables、Created_tmp_files、Created_tmp_tables
【实验5-7]使用SHOW语句获取访问表的数量指标Open_tables和Opened_tables
【实验5-8】使用SHO