Chinaunix

标题: MYSQL 的问题 [打印本页]

作者: saiunix    时间: 2006-07-27 08:50
标题: MYSQL 的问题
Open_tables 14   The number of tables that are open.  

Opened_tables 871  The number of tables that have been opened. If opened tables is big, your table cache value is probably too small.  


请问  871  这个值是不是很大了啊?




此 MySQL 服务器已经运行了 0 天 15 小时,30 分 4 秒,启动时间为 2006 年 07 月 26 日 17:14。

Handler Query cache Threads 二进制日志 Temporary data Delayed inserts Key cache Joins Replication Sorting 个表
服务器流量:这些表显示了此 MySQL 服务器自启动以来的网络流量统计。
流量  ø 每小时
已收到 149 MB 10 MB
送出 371 MB 24 MB
统计 519 MB 34 MB
连接 ø 每小时 %
max. concurrent connections 66  ---  ---  
尝试失败 0  0.00  0.00%
中止 4  0.26  0.01%
统计 73 k 4,735.60  100.00%

--------------------------------------------------------------------------------

查询统计:自从启动后,服务器共收到了 633,779 次查询。
统计 ø 每小时 ø 每分钟 ø 每秒
634 k 40.89 k 681.43  11.36
作者: yejr    时间: 2006-07-27 09:13
看起来确实挺夸张的,你的数据表设计可能有些不合理,或者你的程序有些不合理,过于频繁的打开数据表了
作者: saiunix    时间: 2006-07-27 12:54
的确如您所说我主要为了测试性能 小于15小时发帖子1W多, 同时用工具模拟,进行频繁的连接!!!
作者: saiunix    时间: 2006-07-27 15:56
现在 Opened_tables 的值为1K了 而且进行全文查询也不增长了 请问各位 table_cache 需要增加吗???




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2