MySQL½ºÅ丮Áö¿£Áø
MySQL Storage Engine ¶¼ÛÀº¿µ(f405@sds.co.kr)-ÀÛ¼º,¹æâÇö(winchild@sds.co.kr)-Á¤¸®¹×µî·Ï / (ÁÖ)»ïÁ¤µ¥ÀÌÅͼºñ½º ¿¬±¸¼Ò
ÃÖÁ¾°»½ÅÀÏ: 2006³â2¿ù4ÀÏ 11½Ã00ºÐ
MyISAM ¶DB´Â µð·ºÅ丮º°·Î »ý¼º/°ü¸®µÈ´Ù.
Å×À̺íÀº µð·ºÅ丮 ³» ÆÄÀÏ·Î »ý¼º/°ü¸®µÇ°í, ÇϳªÀÇ Å×À̺í´ç 3°³ÀÇ µ¥ÀÌÅÍÆÄÀÏ·Î ±¸¼ºµÈ´Ù.
dbakorea.frm : Å×ÀÌºí±¸Á¶Á¤º¸(½ºÅ°¸¶Á¤º¸) dbakorea.myd : ¼ø¼ö µ¥ÀÌÅÍ dbakorea.myi : À妽º Á¤º¸ Å×À̺íÀ» ±¸¼ºÇÏ´Â row´Â ´ÙÀ½°ú °°ÀÌ 3°¡Áö Çü½ÄÀ¸·Î ºÐ·ùÇÒ ¼ö ÀÖ´Ù.
´ÙÀ½Àº »ç¿ëµÇ´Â 3°¡Áö ¶ô
ÁÖÀÇ> ij½Ì¿¡ ´ëÇØ
InnoDB°¡ À妽º/µ¥ÀÌÅÍ Ä³½Ì ¸ðµÎ¸¦ °ü¸®ÇÏ´Â °Í¿¡ ºñÇØ(MySQL¼¹ö°¡ °ü¸®ÇÑ´Ù´Â ÀǹÌ)
MyISAMÀº, À妽º¸¸ MySQL¼¹ö°¡ °ü¸®ÇÏ°í, µ¥ÀÌÅÍ´Â °ü¸®ÇÏÁö ¾Ê´Â´Ù. (µ¥ÀÌÅÍ´Â OS ij½Ì¿¡ ÀÇÁ¸ÇÑ´Ù´Â ÀǹÌ)
InnoDB´Â innodb_buffer_pool_size, MyISAMÀº key_buffer_sizeº¯¼ö¸¦ »ç¿ëÇÑ´Ù.
º¯¼ö°ªº¸±â: show variables
º¯¼ö°ª¼³Á¤: my.ini(À©µµ¿ì)
Unix°è¿Àº (/etc/my.cnf)¿¡ set-variable=key_buffer=16M ÀÌ·± ½ÄÀ¸·Î ¼³Á¤
3°¡Áö À妽º »ç¿ë°¡´É: btree, rtree(Áö¸®ÇÐ µ¥ÀÌÅÍ), fulltext (Æ®·£Àè¼Ç Áö¿ø ¾È µÊ)
mysqldump(SQL¹®À¸·Î »ý¼º), mysqlhotcopy(ÀÌÁøÇü½ÄÀ¸·Î »ý¼º)·Î ¹é¾÷°¡´É
ÀÚÁÖ »ç¿ëµÇ´Â Å×À̺íµéÀÇ .myiÆÄÀÏÅ©±â¸¦ ÇÕÇÏ¸é ´ë·«ÀûÀº À妽º ij½ÌÅ©±â¸¦ ±¸ÇÒ ¼ö ÀÖ´Ù.
mysql> show variables like 'have%'; +-------------------------+---------+ | Variable_name | Value | +-------------------------+--------+ | have_bdb | NO | | have_crypt | NO | | have_compress | YES | | have_innodb | YES | | have_isam | NO | | have_raid | NO | | have_symlink | YES | | have_openssl | NO | | have_query_cache | YES | +-------------------------+--------+ 9 rows in set (0.00 sec) SQL> show parameter timed NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ timed_os_statistics integer 0 timed_statistics boolean TRUE SQL> »ç¿ëÇϱ⠶
|
The person you rejected yesterday could make you happy, if you say yes. |