mysql״̬ status
http://blog.163.com/mysqldba@126/blog/static/1315356342009931103834396/
×î½ü¿´ÁË¿´mysqlµÄ״̬±äÁ¿£¬¸Ð¾õºÃ¶à¸úÒÔÇ°×Ô¼ºÏëÏóµÄ²»Ò»Ñù¡£ÎªÁËÒÔºóÄܼ°Ê±·¢ÏÖ×Ô¼ºµÄ´íÎó,¾ÍÏȼÇÏÂÀ´;
http://dev.mysql.com/doc/refman/5.1/en/server-status-variables.html
mysql> show status;
Com_xxx
Óï¾ä¼ÆÊý±äÁ¿±íʾÿ¸öxxx Óï¾äÖ´ÐеĴÎÊý¡£Ã¿ÀàÓï¾äÓÐÒ»¸ö״̬±äÁ¿¡£ÀýÈ磬Com_deleteºÍCom_insert·Ö±ðͳ¼ÆDELETE
ºÍINSERTÓï¾äÖ´ÐеĴÎÊý¡£È»¶ø£¬Èç¹ûÒ»¸ö²éѯµÄ½á¹ûÊÇ´Ó²éѯ»º´æÖеõ½µÄ£¬Õâ»áÔö¼ÓQcache_hits£¬¶ø²»ÊÇCom_select
Connections 4192
ÊÔͼÁ¬½Óµ½(²»¹ÜÊÇ·ñ³É¹¦)MySQL·þÎñÆ÷µÄÁ¬½ÓÊý¡£
Created_tmp_disk_tables 0
·þÎñÆ÷Ö´ÐÐÓï¾äʱÔÚÓ²ÅÌÉÏ×Ô¶¯´´½¨µÄÁÙʱ±íµÄÊýÁ¿
Created_tmp_files 5
mysqld´´½¨µÄÁÙʱÎļþ¸öÊý
Created_tmp_tables 1
·þÎñÆ÷Ö´ÐÐÓï¾äʱÔÚÄÚ´æÉÏ×Ô¶¯´´½¨µÄÁÙʱ±íµÄÊýÁ¿£¬Èç¹ûCreated_tmp_disk_tables½Ï´ó£¬Äã¿ÉÄÜÒªÔö¼Ótmp_table_sizeֵʹÁÙʱ ±í»ùÓÚÄÚ´æ¶ø²»»ùÓÚÓ²ÅÌ¡£
Flush_commands 1
flushµÄÖ´ÐиöÊý
Handler_commit 0
Handler_delete 0
´Ó
±íÖÐdeleteÐеĴÎÊý£¬´Ë²ÎÊýÓë
Com_delete²»Ò»Ñù£¬Ö»ÒªÖ´ÐÐdelete£¬Com_delete¾Í»áÔö¼Ó£¬¶øHandler_deleteÖ»Óе±ÔÚ±íÖÐɾ³ýÁËÐеÄʱºò²ÅÔö¼Ó¡£
Èç¹ûdeleteɾ³ýûÓÐÓ°Ïìµ½±íÀïµÄÈκÎÐУ¬Ôò²»»áÔö¼ÓHandler_deleteÖµ
Handler_discover &n
Ïà¹ØÎĵµ£º
ת×Ôhttp://amoeba.meidusa.com/wordpress/?p=24£¬Ò»¸öºÜºÃµÄ¹¤¾ß¡£¡£¡£¡£ÆÚ´ýÑо¿
ÐÞ¸´bugÁбí:
1¡¢ÐÞ¸´ÎÞ·¨½âÎöÅ׳öunknown statement£¨1.0.0ÐÂbug£©¡£½«ÎÞ·¨½âÎöµÃsqlĬÈÏÔÚdefaultPoolÖÐÖ´ÐÐ
2¡¢ÐÞ¸´union¹Ø¼ü×ÖÎÞ·¨½âÎöÎÊÌâ
3¡¢ÐÞ¸´º¯ÊýÇ°Ãæ! ÎÞ·¨½âÎöÎÊÌâ
4¡¢ÐÞ¸´order by ¡¢group by ºóÃæ´ø±í´ïʽµÃsql
ÏÂÔØµØ ......
×÷ÕߣºSky.Jian | ¿ÉÒÔÈÎÒâתÔØ, µ«×ªÔØʱÎñ±ØÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕÂÔʼ³ö´¦ ºÍ ×÷ÕßÐÅÏ¢ ¼° °æȨÉùÃ÷
Á´½Ó£ºhttp://www.jianzhaoyang.com/database/amoeba_for_mysql | del.icio.us | Twitter it
ͬÊ Struct Chen µÄ Amoeba For MySQL ÏîÄ¿ÒѾ ³öÀ´²»¶Ìʱ¼äÁË£¬¿ÉһֱûÓÐʱ¼äºÃºÃÌåÑ飬×î½üÒ»Ö±ÔÚ×öһЩÈí¼þºÍÓ²¼þ ......
²»¹ÜÊÇmaster»¹ÊÇslave£¬¶¼ÒªÉ趨 server-id Ñ¡ÏîÀ´È·¶¨Ê¹ËüÃǶ¼Óи÷×ÔΨһµÄͬ²½ID¡£±ØÐëÑ¡Ôñ 1 µ½ 2^32-1 Ö®¼äµÄÕýÕûÊý¡£ÀýÈ磺 server-id=3¡£
¹ØÓÚmaster·þÎñÆ÷ÉÏ¿ÉÓÃÓÚ¿ØÖƶþ½øÖÆÈÕÖ¾¼Ç¼µÄÑ¡ÏîÏêϸÃèÊöÇë¿´"5.9.4 The Binary Log"¡£
ϱíÃèÊöÁËslaveͬ²½¿ÉÓõÄÑ¡Ï¿ÉÒÔÔÚÃüÁîÐлòÕßÅäÖÃÎļþÖÐÉ趨ËüÃÇ¡£
һЩslav ......
Apache¹Ù·½ÏÂÔصØÖ·£ºapache_2.0.55-win32-x86-no_ssl.msi£¬¸ü¶à°æ±¾ÔÚÕâÀ
php¹Ù·½ÏÂÔصØÖ·£ºphp-5.0.5-Win32.zip£¬¸ü¶à¾µÏñÏÂÔصØÖ·£¬¸ü¶à°æ±¾ÏÂÔØ£»
mysql¹Ù·½ÏÂÔصØÖ·£ºmysql-4.1.14-win32.zip£¬¸ü¶à¾µÏñÏÂÔصØÖ·£¬¸ü¶à°æ±¾ÏÂÔØ¡£
ApacheµÄÅäÖãº
ÎÒÒ»¿ªÊ¼Ôõô¸ã¶¼²»ºÃ£¬ÎÒÉÏÍøÕÒ£¬ÓеÄ˵ÊÇiisµÄÎÊÌ⣬ÓеÄ˵ÊÇ ......