Home | Data Center | Contact US | Login

Á¦¸ñ mysql ¿¡¼­ ÇöÀç status È®ÀÎ Çϱâ
ÀÛ¼ºÀÏ 2006-10-31 17:16:11
mysqlÀÇ ÇöÀç »óŸ¦ È®ÀÎ ÇÏ´Â ¸í·É°ú °¢ Ç׸ñÀÇ ¼³¸íÀÔ´Ï´Ù.

»ç¿ë¸í·É:
# /usr/local/mysql/bin/mysqladmin status -p
¶Ç´Â
mysql ¿¡ Á¢¼ÓÈÄ  mysql> show status; ·Îµµ º¼¼ö ÀÖ½À´Ï´Ù.

¼³¸í:
Aborted_clients : Ŭ¶óÀ̾ðÆ®°¡ ¿¬°áÀ» ÀûÀýÈ÷ ´ÝÁö¾Ê¾Æ¼­ Á×¾ú±â¶§¹®¿¡ ²÷¾îÁø ¿¬°á¼ö.
Aborted_connects : ¿¬°á½ÇÆÐµÈ mysql¼­¹ö¿¡ ¿¬°á½Ãµµ ¼ö.
Bytes_received : ¸ðµç Ŭ¶óÀ̾ðÆ®·Î ºÎÅÍ ¹ÞÀº ¹ÙÀÌÆ® ¼ö
Bytes_sent : ¸ðµç Ŭ¶óÀ̾ðÆ®¿¡°Ô º¸³½ ¹ÙÀÌÆ®¼ö
Connections : mysql¼­¹ö¿¡ ¿¬°á½ÃµµÇÑ ¼ö
Created_tmp_disk_tables : sql¹®À» ½ÇÇàÇÏ´Â µ¿¾È »ý¼ºµÈ µð½ºÅ©¿¡ Á¸ÀçÇÏ´Â ÀÓ½ÃÅ×ÀÌºí ¼ö
Created_tmp_tables : sql¹®À» ½ÇÇàÇÏ´Â µ¿¾È »ý¼ºµÈ ¸Þ¸ð¸®¿¡ Á¸ÀçÇÏ´Â ÀÓ½ÃÅ×ÀÌºí ¼ö
Created_tmp_files : ¾ó¸¶³ª ¸¹Àº ÀÓ½ÃÆÄÀÏÀ» mysqld°¡ »ý¼ºÇߴ°¡
Delayed_insert_threads : »ç¿ëÁßÀÎ insert handler threads°¡ Áö¿¬µÇ°í ÀÖ´Â ¼ö
Delayed_writes : INSERT DELAYED·Î ¾²¿©Áø rows¼ö
Delayed_errors : ¾î¶² ¿¡·¯(duplicate key·ÎÀÎÇÑ ¶§¹®¿¡ INSERT DELAYED·Î ¾²¿©Áø rows¼ö
Flush_commands : ÃÊ°ú flush¸í·É¼ö
Handler_delete : Å×À̺í·Î ºÎÅÍ Áö¿öÁø rows¼ö
Handler_read_first : À妽º·Î ºÎÅÍ ÀÐÇôÁø óÀ½ entry¼ö. ÀÌ°ÍÀÌ ³ôÀ¸¸é ¼­¹ö´Â ¸¹Àº full
                         index scans¸¦ ÇÏ°í ÀÖ´Ù´Â °ÍÀ» ÀǹÌ. ¿¹¸¦ µé¾î SELECT col1 FROM
                         foo´Â col1Àº À妽ºµÇ¾ú´Ù´Â °ÍÀ» ÃßÁ¤.
Handler_read_key : Å°°¡ Á¸ÀçÇÏ´Â row¸¦ Àд ¿äû¼ö. ÀÌ°ÍÀÌ ³ôÀ¸¸é ´ç½ÅÀÇ Äõ¸®¿Í Å×À̺í
                        ÀÌ ÀûÀýÈ÷ À妽ºÈ­µÇ¾ú´Ù´Â ÁÁÀº ÁöÀûÀÌ µÈ´Ù.
Handler_read_next : Å°¼ø¼­´ë·Î ´ÙÀ½ row¸¦ Àд ¿äû¼ö. ÀÌ°ÍÀº ¸¸¾à range constraint¿Í  
                         ÇÔ²² À妽ºÄ÷³À» Äõ¸®ÇÒ °æ¿ì ³ô¾ÆÁú °ÍÀÌ´Ù. ÀÌ°ÍÀº ¶ÇÇÑ À妽º ½ºÄµ
                        ÇÏ¸é ³ô¾ÆÁú °ÍÀÌ´Ù.
Handler_read_rnd : °íÁ¤µÈ À§Ä¡¿¡ Á¸ÀçÇÏ´Â row¸¦ Àд ¿äû¼ö. ÀÌ°ÍÀº °á°ú¸¦ Á¤·ÄÇϱ⸦
                           ¿äÇÏ´Â ¸¹Àº Äõ¸®¸¦ ÇÑ´Ù¸é ³ô¾ÆÁú °ÍÀÌ´Ù.
Handler_read_rnd_next : µ¥ÀÌŸÆÄÀÏ¿¡¼­ ´ÙÀ½ row¸¦ Àб⸦ ¿äû¼ö. ÀÌ°ÍÀº ¸¹Àº Å×ÀÌºí ½º
                            ÄµÀ» ÇÏ¸é ³ô¾ÆÁú °ÍÀÌ´Ù.
Handler_update : Number of requests to update a row in a table.
                       ÇÑÅ×ÀÌºí¿¡ ÇÑ row¸¦ ¾÷µ¥ÀÌÆ®¸¦ ¿äûÇÏ´Â ¼ö
Handler_write :  ÇÑÅ×ÀÌºí¿¡ ÇÑ row¸¦ insert¿äûÇÏ´Â ¼ö
Key_blocks_used :  key ij½Ã¿¡¼­ ºí·°À» »ç¿ëÇÏ´Â ¼ö
Key_read_requests : ij½Ã¿¡¼­ Å°ºí·°À» Àб⸦ ¿äûÇÏ´Â ¼ö
Key_reads : µð½ºÅ©·ÎºÎÅÍ Å°ºí·°À» ¹°¸®ÀûÀ¸·Î Àд ¼ö
Key_write_requests : ij½Ã¿¡¼­ Å°ºí·°À» ¾²±âÀ§ÇØ ¿äûÇÏ´Â ¼ö
Key_writes :  µð½ºÅ©¿¡ Å°ºí·°À» ¹°¸®ÀûÀ¸·Î ¾²´Â ¼ö
Max_used_connections : µ¿½Ã»ç¿ë ¿¬°á ÃÖ´ë¼ö
Not_flushed_key_blocks : Űij½Ã¿¡¼­ Å°ºí·°ÀÌ ¹Ù²îÁö¸¸ µð½ºÅ©¿¡´Â ¾ÆÁ÷ flushµÇÁö ¾Ê´Â´Ù.
Not_flushed_delayed_rows :  INSERT DELAY queue¿¡¼­ ¾²¿©Áö±â¸¦ ±â´Ù¸®´Â row¼ö
Open_tables : ÇöÀç ¿ÀÇÂµÈ Å×À̺í¼ö
Open_files : ÇöÀç ¿ÀÇÂµÈ ÆÄÀϼö
Open_streams : ÁÖ·Î logging¿¡ »ç¿ëµÇ´Â ÇöÀç ¿ÀÇÂµÈ stream¼ö
Opened_tables : Áö±Ý±îÁö ¿ÀÇÂµÈ Å×ÀÌºí ¼ö
Select_full_join : Å°¾øÀÌ Á¶ÀÎµÈ ¼ö(0ÀÌ µÇ¾î¾ß¸¸ ÇÑ´Ù)
Select_full_range_join : reference table¿¡¼­ range search¸¦ »ç¿ëÇÑ Á¶Àμö
Select_range : ù¹ø° Å×ÀÌºí¿¡ range¸¦ »ç¿ëÇß´ø Á¶Àμö. º¸Åë ÀÌ°ÍÀÌ Å©´õ¶óµµ À§ÇèÇÏÁø ¾Ê´Ù.
Select_scan : ù¹ø° Å×À̺íÀ» ½ºÄµÇß´ø Á¶Àμö
Select_range_check : °¢ rowÈÄ¿¡ key usage¸¦ üũÇÑ Å°¾øÀÌ Á¶ÀÎÇÑ ¼ö(0À̾î¾ß¸¸ ÇÑ´Ù)
Questions : ¼­¹ö¿¡¼­ º¸³½ Äõ¸®¼ö
Slave_open_temp_tables : ÇöÀç slave thread¿¡ ÀÇÇØ ¿ÀÇÂµÈ Àӽà Å×ÀÌºí ¼ö
Slow_launch_threads : ¿¬°áµÈ slow_launch_timeº¸´Ù ´õ ¸¹Àº ¼ö¸¦ °®´Â ¾²·¹µå¼ö
Slow_queries : long_query_timeº¸´Ù ´õ ¸¹Àº ½Ã°£ÀÌ °É¸®´Â Äõ¸® ¼ö. Slow Query LogÂü°í
Sort_merge_passes : Á¤·ÄÇؾ߸¸ ÇÏ´Â merge¼ö.
                           ÀÌ °ªÀÌ Å©¸é sort_buffer¸¦ Áõ°¡Çϴ°Ϳ¡ ´ëÇØ °í·ÁÇØ¾ß ÇÑ´Ù.
Sort_range : Number of sorts that where done with ranges.
Sort_rows : Á¤·ÄµÈ row¼ö
Sort_scan : Å×ÀÌºí ½ºÄµ¿¡ ÀÇÇØ ÇàÇØÁø Á¤·Ä¼ö
Table_locks_immediate : Áï½Ã ȹµæµÈ Å×À̺í lock ½Ã°£ (3.23.33ºÎÅÍ Ãß°¡µÈ Ç׸ñ)
Table_locks_waited : Áï½Ã ȹµæµÇÁö ¾Ê°í ±â´Ù¸²ÀÌ ÇÊ¿äÇÑ Å×À̺í lock ½Ã°£. ÀÌ°ÍÀÌ ³ô¾ÆÁö¸é ¼º´É¿¡ ¹®Á¦°¡ ÀÖÀ¸¹Ç·Î, ¸ÕÀú Äõ¸®¸¦ ÃÖÀûÈ­ ½ÃÅ°°í, Å×À̺íÀ» ºÐ»ê½ÃÅ°°Å³ª º¹Á¦¸¦ »ç¿ëÇØ¾ß ÇÑ´Ù. (3.23.33ºÎÅÍ Ãß°¡µÈ Ç׸ñ)
Threads_cached : ½º·¹µå ij½Ã¿¡¼­ ¾²·¹µå ¼ö
Threads_connected : ÇöÀç ¿ÀÇÂµÈ ¿¬°á¼ö
Threads_created : ¿¬°áÀ» ´Ù·ç±âÀ§ÇØ »ý¼ºµÈ ¾²·¹µå ¼ö
Threads_running : sleepingÇÏÁö ¾Ê´Â ¾²·¹µå ¼ö
Uptime : ¼­¹ö°¡ ½ºÅ¸Æ®µÈ ÈÄ·Î Áö±Ý±îÁöÀÇ ½Ã°£
  sendmail.cf ¼³Á¤Çϱâ
  /etc/fstab ¿¡¼­ noatime ÁÖ±â





ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ
ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ ȸ»ç¼Ò°³ °³ÀÎÁ¤º¸Ãë±Þ¹æħ ÀÌ¿ë¾à°ü À̸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý°ÅºÎ CONTACT US IDC ¾àµµ