· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
KLDP.ORGµðºñ¼­¹ö

KLDP.ORG µðºñ¼­¹ö


  • ÇöÀç ÁÖ¿ä ¼³Á¤
key_buffer                          = 128M
max_allowed_packet                  = 4M
table_cache                         = 1024
sort_buffer_size                    = 2M
read_buffer_size                    = 2M
read_rnd_buffer_size                = 2M
join_buffer_size                    = 2M
myisam_sort_buffer_size             = 8M
thread_cache                        = 20
thread_stack                        = 126976
max_connections                     = 100

max_heap_table_size                 = 512M
tmp_table_size                      = 512M
max_tmp_tables                      = 20

query_cache_type                    = 1
query_cache_size                    = 512M
query_cache_limit                   = 128M

innodb_buffer_pool_size             = 1536M
innodb_additional_mem_pool_size     = 64M

innodb_log_file_size                = 128M
innodb_log_buffer_size              = 16M
innodb_log_files_in_group           = 2

  • ¼³Á¤ º¯°æ °èȹ
  • ½ÃµµÇغ» º¯°æ°ª
    • query_cache_size¸¦ ¸¹ÀÌ ´Ã·ÈÀ¸³ª ÀϺθ¸ »ç¿ëÇÏ°í ³²´Â °ø°£ÀÌ ¸¹¾ÒÀ½. ´ëºÎºÐÀÇ Äõ¸®µéÀÌ ´ÜÀÏ row¸¦ °¡Á®¿À´Â °ÍµéÀ̶ó ij½ÌÀÌ Àß ¾ÈµÇ°Å³ª ij½Ã¸Þ¸ð¸®°¡ ´ÜÆíÈ­ µÇ¾úÀ» °¡´É¼ºÀÌ ÀÖÀ½. ¹«°Å¿î(FULL JOINÀ̰ųª ÀÓ½ÃÅ×À̺íÀ» ¸¸µå´Â)Äõ¸®µéÀÌ ÀÓ½ÃÅ×ÀÌºí¿¡¼­ µ¹±â ¶§¹®Àϱî?
    • sort,read,read_rnd,joinµîÀÇ buffer°ªµéÀ» ´Ã·Áµµ ´ÜÀÏ Ã³¸® »óȲ¿¡¼­´Â È¿°ú°¡ ¾øÀ½. ¿ÀÈ÷·Á ÁÙ¿©µµ ó¸® ¼Óµµ ´À·ÁÁöÁö ¾Ê¾ÒÀ½.

  • innodb_log_file_size º¯°æ ¹æ¹ý
 1. shutdown mysql server
 2. make backup of data and log files
 3. remove InnoDB log files
 4. set new value for innodb_log_file_size in my.cnf
 5. start mysqld
 6. check error logs to ensure everything went fine.



sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2007-01-11 17:50:48
Processing time 0.0033 sec