01Àå: MariaDB
1.1 MariaDB¶õ?
1.2 MariaDB vs. MySQL
1.2.1 MariaDB¿Í MySQL ±×¸®°í PerconaServer
1.2.2 °øÅëÁ¡
1.2.3 Â÷ÀÌÁ¡
1.2.3.1 ¶óÀ̼±½º
1.2.3.2 ½ºÅ丮Áö ¿£Áø
1.2.3.3 ±â´É
1.2.3.4 ¿ÉƼ¸¶ÀÌÀú
1.2.4 ¹öÀüº° ȣȯ¼º
1.2.5 ¼º´É ºñ±³
1.2.6 MariaDB°¡ MySQLÀ» ´ëüÇÏ°Ô µÉ±î?
1.2.7 MariaDB¿Í MySQL ¼±ÅÃ
02Àå: ¼³Ä¡
2.1 ´Ù¿î·Îµå
2.2 ¼³Ä¡
2.2.1 À©µµ¿ì ¹öÀü ¼³Ä¡
2.2.1.1 ¼³Ä¡ ÇÁ·Î±×·¥(MSI)À» ÀÌ¿ëÇÑ ¼³Ä¡
2.2.1.2 ¾ÐÃà(ZIP)µÈ MariaDB ¼³Ä¡
2.2.2 ¸®´ª½º ¹öÀü ¼³Ä¡
2.2.2.1 RPMÀ» ÀÌ¿ëÇÑ ¼³Ä¡
2.2.2.2 ¾ÐÃà(tar.gz)µÈ MariaDB ¼³Ä¡
2.3 ¾÷±×·¹À̵å
2.3.1 MySQL¿¡¼ MariaDB·Î ¾÷±×·¹À̵åÇÒ ¶§ ÁÖÀÇ »çÇ×
2.3.2 ¹öÀü¿¡ °ü°è¾øÀÌ °¡Àå ¾ÈÀüÇÑ ¹æ¹ý
2.3.3 MySQL 5.0À̳ª ±× ÀÌÀü ¹öÀü¿¡¼ MariaDB 5.5·Î ¾÷±×·¹À̵å
2.3.4 MySQL 5.1¿¡¼ MariaDB 5.5·Î ¾÷±×·¹À̵å
2.3.5 MySQL 5.5¿¡¼ MariaDB 5.5·Î ¾÷±×·¹À̵å
03Àå: MariaDB ±âµ¿ ¹× Äõ¸® ½ÇÇà
3.1 ¼¹ö ½ÃÀÛ ¹× Á¾·á
3.1.1 ¸®´ª½º¿¡¼ MariaDB ¼¹öÀÇ ½ÃÀÛ°ú Á¾·á
3.1.1.1 ¼ºñ½º·Î µî·ÏµÈ °æ¿ì
3.1.1.2 ¼ºñ½º·Î µî·ÏµÇÁö ¾ÊÀº °æ¿ì
3.1.2 À©µµ¿ì¿¡¼ MariaDB ¼¹öÀÇ ½ÃÀÛ°ú Á¾·á
3.1.2.1 ¼ºñ½º·Î µî·ÏµÈ °æ¿ì
3.1.2.2 ¼ºñ½º·Î µî·ÏµÇÁö ¾ÊÀº °æ¿ì
3.2 ¼¹ö ·Î±×ÀÎ
3.2.1 ¼¹ö ·Î±×ÀÎ ¹× ¹öÀü È®ÀÎ
3.2.2 mysql Ŭ¶óÀ̾ðÆ® ÇÁ·Î±×·¥ ¿É¼Ç
3.2.2.1 ¾ÈÀü ¸ðµå·Î mysql Ŭ¶óÀ̾ðÆ® ½ÇÇà
3.2.2.2 --execute ¿É¼ÇÀ¸·Î mysql Ŭ¶óÀ̾ðÆ® ½ÇÇà
3.2.2.3 --batch ¸ðµå¿Í ÇÔ²² --execute ¿É¼ÇÀ¸·Î mysql Ŭ¶óÀ̾ðÆ® ½ÇÇà
3.2.2.4 --batch ¸ðµå·Î --skip-column-names¿Í ÇÔ²² --execute ¿É¼ÇÀ¸·Î mysql Ŭ¶óÀ̾ðÆ® ½ÇÇà
3.3 µ¥ÀÌÅͺ£À̽º ¹× »ç¿ëÀÚ »ý¼º
3.3.1 MariaDBÀÇ »ç¿ëÀÚ °èÁ¤ Àνİú ±ÇÇÑ
3.3.1.1 »ç¿ëÀÚÀÇ ½Äº°
3.3.1.2 񀀥
3.3.1.3 ±ÇÇÑÀÇ ºÎ¿©
3.3.1.4 ±ÇÇÑ ±×·ì
3.3.2 MariaDBÀÇ ±âº» »ç¿ëÀÚ
3.3.3 MariaDBÀÇ ±âº» µ¥ÀÌÅͺ£À̽º
3.3.4 »õ·Î¿î µ¥ÀÌÅͺ£À̽º »ý¼º
3.3.5 »ç¿ëÀÚ »ý¼º
3.3.5.1 »ç¿ëÀÚ »ý¼º ¹× ±ÇÇÑ ºÎ¿©
3.3.5.2 °ü¸®ÀÚ °èÁ¤ Áغñ
3.4 Å×ÀÌºí »ý¼º ¹× º¯°æ
3.4.1 Å×ÀÌºí »ý¼º
3.4.2 Å×ÀÌºí º¯°æ(¿Â¶óÀÎ ¹× ¿ÀÇÁ¶óÀÎ)
3.4.2.1 ¿ÀÇÁ¶óÀÎ ½ºÅ°¸¶ º¯°æ
3.4.2.2 MariaDBÀÇ ¿Â¶óÀÎ ½ºÅ°¸¶ º¯°æ
3.4.2.3 MySQLÀÇ ¿Â¶óÀÎ ½ºÅ°¸¶ º¯°æ
3.4.2.4 pt-online-schema-change
3.4.2.5 ¿Â¶óÀÎ ½ºÅ°¸¶ º¯°æÀ» »ç¿ëÇصµ µÉ±î?
¢Ã 01Àå: MariaDB
_1.1 MariaDB¶õ?
_1.2 MariaDB vs. MySQL
__1.2.1 MariaDB¿Í MySQL ±×¸®°í PerconaServer
__1.2.2 °øÅëÁ¡
__1.2.3 Â÷ÀÌÁ¡
___1.2.3.1 ¶óÀ̼±½º
___1.2.3.2 ½ºÅ丮Áö ¿£Áø
___1.2.3.3 ±â´É
___1.2.3.4 ¿ÉƼ¸¶ÀÌÀú
__1.2.4 ¹öÀüº° ȣȯ¼º
__1.2.5 ¼º´É ºñ±³
__1.2.6 MariaDB°¡ MySQLÀ» ´ëüÇÏ°Ô µÉ±î?
__1.2.7 MariaDB¿Í MySQL ¼±ÅÃ
¢Ã 02Àå: ¼³Ä¡
_2.1 ´Ù¿î·Îµå
_2.2 ¼³Ä¡
__2.2.1 À©µµ¿ì ¹öÀü ¼³Ä¡
___2.2.1.1 ¼³Ä¡ ÇÁ·Î±×·¥(MSI)À» ÀÌ¿ëÇÑ ¼³Ä¡
3.4.3 Å×ÀÌºí »èÁ¦
3.5 µ¥ÀÌÅÍ Á¶ÀÛ
3.5.1 INSERT
3.5.2 SELECT
3.5.3 UPDATE
3.5.4 REPLACE
3.5.5 DELETE
04Àå: ½ÇÇà °èȹ ºÐ¼® 4.1 °³¿ä
4.1.1 Äõ¸® ½ÇÇà ÀýÂ÷
4.1.2 ¿ÉƼ¸¶ÀÌÀúÀÇ Á¾·ù
4.1.3 Åë°è Á¤º¸
4.1.3.1 MySQL 5.6ÀÇ Åë°è Á¤º¸
4.1.3.2 MariaDB 10.0ÀÇ Åë°è Á¤º¸
4.1.4 È÷½ºÅä±×·¥ Åë°è Á¤º¸
4.1.4.1 È÷½ºÅä±×·¥À̶õ?
4.1.4.2 MariaDB¿¡¼ È÷½ºÅä±×·¥ »ç¿ë
4.1.5 Á¶ÀÎ ¿ÉƼ¸¶ÀÌÀú ¿É¼Ç
4.2 ¿¹Á¦ µ¥ÀÌÅÍ Áغñ
4.2.1 ¿¹Á¦ µ¥ÀÌÅÍ ÀûÀç
4.2.2 Åë°è Á¤º¸ ¼öÁý
4.3 ½ÇÇà °èȹ ºÐ¼®
4.3.1 id Ä®·³
4.3.2 select type Ä®·³
4.3.2.1 SIMPLE
4.3.2.2 PRIMARY
4.3.2.3 UNION
4.3.2.4 DEPENDENT UNION
4.3.2.5 UNION RESULT
4.3.2.6 SUBQUERY
4.3.2.7 DEPENDENT SUBQUERY
4.3.2.8 DERIVED
___2.2.1.2 ¾ÐÃà(ZIP)µÈ MariaDB ¼³Ä¡
__2.2.2 ¸®´ª½º ¹öÀü ¼³Ä¡
___2.2.2.1 RPMÀ» ÀÌ¿ëÇÑ ¼³Ä¡
___2.2.2.2 ¾ÐÃà(tar.gz)µÈ MariaDB ¼³Ä¡
_2.3 ¾÷±×·¹À̵å
__2.3.1 MySQL¿¡¼ MariaDB·Î ¾÷±×·¹À̵åÇÒ ¶§ ÁÖÀÇ »çÇ×
__2.3.2 ¹öÀü¿¡ °ü°è¾øÀÌ °¡Àå ¾ÈÀüÇÑ ¹æ¹ý
__2.3.3 MySQL 5.0À̳ª ±× ÀÌÀü ¹öÀü¿¡¼ MariaDB 5.5·Î ¾÷±×·¹À̵å
__2.3.4 MySQL 5.1¿¡¼ MariaDB 5.5·Î ¾÷±×·¹À̵å
__2.3.5 MySQL 5.5¿¡¼ MariaDB 5.5·Î ¾÷±×·¹À̵å
¢Ã 03Àå: MariaDB ±âµ¿ ¹× Äõ¸® ½ÇÇà
_3.1 ¼¹ö ½ÃÀÛ ¹× Á¾·á
__3.1.1 ¸®´ª½º¿¡¼ MariaDB ¼¹öÀÇ ½ÃÀÛ°ú Á¾·á
___3.1.1.1 ¼ºñ½º·Î µî·ÏµÈ °æ¿ì
___3.1.1.2 ¼ºñ½º·Î µî·ÏµÇÁö ¾ÊÀº °æ¿ì
__3.1.2 À©µµ¿ì¿¡¼ MariaDB ¼¹öÀÇ ½ÃÀÛ°ú Á¾·á
___3.1.2.1 ¼ºñ½º·Î µî·ÏµÈ °æ¿ì
___3.1.2.2 ¼ºñ½º·Î µî·ÏµÇÁö ¾ÊÀº °æ¿ì
_3.2 ¼¹ö ·Î±×ÀÎ
4.3.2.9 UNCACHEABLE SUBQUERY
4.3.2.10 UNCACHEABLE UNION
4.3.2.11 MATERIALIZED
4.3.2.12 INSERT
4.3.3 table Ä®·³
4.3.4 type Ä®·³
4.3.4.1 system
4.3.4.2 const
4.3.4.3 eq ref
4.3.4.4 ref
4.3.4.5 fulltext
4.3.4.6 ref or null
4.3.4.7 unique subquery
4.3.4.8 index subquery
4.3.4.9 range
4.3.4.10 index merge
4.3.4.11 index
4.3.4.12 ALL
4.3.5 possible keys Ä®·³
4.3.6 key Ä®·³
4.3.7 key len Ä®·³
4.3.8 ref Ä®·³
4.3.9 rows Ä®·³
4.3.10 Extra Ä®·³
4.3.10.1 const row not found
4.3.10.2 Distinct
4.3.10.3 Full scan on NULL key
4.3.10.4 Impossible HAVING
4.3.10.6 Impossible WHERE noticed after reading const tables
4.3.10.7 No matching min/max row
4.3.10.8 no matching row in const table
4.3.10.9 No tables used
4.3.10.10 Not exists
__3.2.1 ¼¹ö ·Î±×ÀÎ ¹× ¹öÀü È®ÀÎ
__3.2.2 mysql Ŭ¶óÀ̾ðÆ® ÇÁ·Î±×·¥ ¿É¼Ç
___3.2.2.1 ¾ÈÀü ¸ðµå·Î mysql Ŭ¶óÀ̾ðÆ® ½ÇÇà
___3.2.2.2 --execute ¿É¼ÇÀ¸·Î mysql Ŭ¶óÀ̾ðÆ® ½ÇÇà
___3.2.2.3 --batch ¸ðµå¿Í ÇÔ²² --execute ¿É¼ÇÀ¸·Î mysql Ŭ¶óÀ̾ðÆ® ½ÇÇà
___3.2.2.4 --batch ¸ðµå·Î --skip-column-names¿Í ÇÔ²² --execute ¿É¼ÇÀ¸·Î mysql Ŭ¶óÀ̾ðÆ® ½ÇÇà
_3.3 µ¥ÀÌÅͺ£À̽º ¹× »ç¿ëÀÚ »ý¼º
__3.3.1 MariaDBÀÇ »ç¿ëÀÚ °èÁ¤ Àνİú ±ÇÇÑ
___3.3.1.1 »ç¿ëÀÚÀÇ ½Äº°
___3.3.1.2 񀀥
___3.3.1.3 ±ÇÇÑÀÇ ºÎ¿©
___3.3.1.4 ±ÇÇÑ ±×·ì
__3.3.2 MariaDBÀÇ ±âº» »ç¿ëÀÚ
__3.3.3 MariaDBÀÇ ±âº» µ¥ÀÌÅͺ£À̽º
__3.3.4 »õ·Î¿î µ¥ÀÌÅͺ£À̽º »ý¼º
__3.3.5 »ç¿ëÀÚ »ý¼º
___3.3.5.1 »ç¿ëÀÚ »ý¼º ¹× ±ÇÇÑ ºÎ¿©
___3.3.5.2 °ü¸®ÀÚ °èÁ¤ Áغñ
_3.4 Å×ÀÌºí »ý¼º ¹× º¯°æ
__3.4.1 Å×ÀÌºí »ý¼º
__3.4.2 Å×ÀÌºí º¯°æ(¿Â¶óÀÎ ¹× ¿ÀÇÁ¶óÀÎ)
4.3.10.11 Range checked for each record(index map: N)
4.3.10.12 Scanned N databases
4.3.10.13 Select tables optimized away
4.3.10.14 Skip open table, Open frm only, Open trigger only, Open full table
4.3.10.15 unique row not found
4.3.10.16 Using filesort
4.3.10.17 Using index(Ä¿¹ö¸µ À妽º)
4.3.10.18 Using index for group-by
4.3.10.19 Using join buffer(Block Nested Loop), Using join buffer(Batched Key Access)
4.3.10.20 Using sort union, Using union, Using intersect, Using sort intersection
4.3.10.21 Using temporary
4.3.10.22 Using where
4.3.10.23 Using where with pushed condition
4.3.10.24 Deleting all rows
4.3.10.25 FirstMatch(tbl name)
4.3.10.26 LooseScan(m n)
4.3.10.27 Materialize, Scan
4.3.10.28 Start materialize, End materialize, Scan
4.3.10.29 Start temporary, End temporary
4.3.10.30 Using index condition
4.3.10.31 Rowid-ordered scan, Key-ordered scan
4.3.10.32 No matching rows after partition pruning
4.3.11 EXPLAIN EXTENDED(Filtered Ä®·³)
4.3.12 EXPLAIN EXTENDED(Ãß°¡ ¿ÉƼ¸¶ÀÌÀú Á¤º¸)
4.3.13 EXPLAIN PARTITIONS(Partitions Ä®·³)
4.4 ¿ÉƼ¸¶ÀÌÀú ÈùÆ®
4.4.1 ÈùÆ®ÀÇ »ç¿ë¹ý
4.4.2 STRAIGHT JOIN
4.4.3 USE INDEX / FORCE INDEX / IGNORE INDEX
4.4.4 SQL CACHE / SQL NO CACHE
4.4.5 SQL CALC FOUND ROWS
4.4.6 ±âŸ ÈùÆ®
4.5 ½ÇÇà °èȹ ºÐ¼® ½Ã ÁÖÀÇ»çÇ×
___3.4.2.1 ¿ÀÇÁ¶óÀÎ ½ºÅ°¸¶ º¯°æ
___3.4.2.2 MariaDBÀÇ ¿Â¶óÀÎ ½ºÅ°¸¶ º¯°æ
___3.4.2.3 MySQLÀÇ ¿Â¶óÀÎ ½ºÅ°¸¶ º¯°æ
___3.4.2.4 pt-online-schema-change
___3.4.2.5 ¿Â¶óÀÎ ½ºÅ°¸¶ º¯°æÀ» »ç¿ëÇصµ µÉ±î?
__3.4.3 Å×ÀÌºí »èÁ¦
_3.5 µ¥ÀÌÅÍ Á¶ÀÛ
__3.5.1 INSERT
__3.5.2 SELECT
__3.5.3 UPDATE
__3.5.4 REPLACE
__3.5.5 DELETE
¢Ã 04Àå: ½ÇÇà °èȹ ºÐ¼®
_4.1 °³¿ä
__4.1.1 Äõ¸® ½ÇÇà ÀýÂ÷
__4.1.2 ¿ÉƼ¸¶ÀÌÀúÀÇ Á¾·ù
__4.1.3 Åë°è Á¤º¸
___4.1.3.1 MySQL 5.6ÀÇ Åë°è Á¤º¸
4.5.1 Select type Ä®·³ÀÇ ÁÖÀÇ ´ë»ó
4.5.2 Type Ä®·³ÀÇ ÁÖÀÇ ´ë»ó
4.5.3 Key Ä®·³ÀÇ ÁÖÀÇ ´ë»ó
4.5.4 Rows Ä®·³ÀÇ ÁÖÀÇ ´ë»ó
4.5.5 Extra Ä®·³ÀÇ ÁÖÀÇ ´ë»ó
4.5.5.1 Äõ¸®°¡ ¿ä°ÇÀ» Á¦´ë·Î ¹Ý¿µÇÏ°í ÀÖ´ÂÁö È®ÀÎÇØ¾ß ÇÏ´Â °æ¿ì
4.5.5.2 Äõ¸®ÀÇ ½ÇÇà °èȹÀÌ ÁÁÁö ¾ÊÀº °æ¿ì
4.5.5.3 Äõ¸®ÀÇ ½ÇÇà °èȹÀÌ ÁÁÀº °æ¿ì
05Àå: ÃÖÀûÈ 5.1 Ç® Å×ÀÌºí ½ºÄµ
5.2 ORDER BY ó¸®(Using filesort)
5.2.1 ¼ÒÆ® ¹öÆÛ(Sort buffer)
5.2.2 Á¤·Ä ¾Ë°í¸®Áò
5.2.3 Á¤·ÄÀÇ Ã³¸® ¹æ½Ä
5.2.3.1 À妽º¸¦ »ç¿ëÇÑ Á¤·Ä
5.2.3.2 µå¶óÀ̺ù Å×ÀÌºí¸¸ Á¤·Ä
5.2.3.3 Àӽà Å×À̺íÀ» ÀÌ¿ëÇÑ Á¤·Ä
5.2.3.4 Á¤·Ä ¹æ½ÄÀÇ ¼º´É ºñ±³
5.2.4 ORDER BY....LIMIT n ÃÖÀûÈ
5.2.5 Á¤·Ä °ü·Ã »óÅ º¯¼ö
5.3 GROUP BY ó¸®
5.3.1 À妽º ½ºÄµÀ» ÀÌ¿ëÇÏ´Â GROUP BY(ŸÀÌÆ® À妽º ½ºÄµ)
5.3.2 ·ç½º(loose) À妽º ½ºÄµÀ» ÀÌ¿ëÇÏ´Â GROUP BY
5.3.3 Àӽà Å×À̺íÀ» »ç¿ëÇÏ´Â GROUP BY
5.4 DISTINCT ó¸®
5.4.1 SELECT DISTINCT
5.4.2 ÁýÇÔ ÇÔ¼ö¿Í ÇÔ²² »ç¿ëµÈ DISTINCT
5.5 Àӽà Å×À̺í(Using temporary)
5.5.1 Àӽà Å×À̺íÀÌ ÇÊ¿äÇÑ Äõ¸®
5.5.2 Àӽà Å×À̺íÀÌ µð½ºÅ©¿¡ »ý¼ºµÇ´Â °æ¿ì(Aria ½ºÅ丮Áö ¿£ÁøÀ» »ç¿ë)
5.5.3 Àӽà Å×ÀÌºí °ü·Ã »óÅ º¯¼ö
5.5.4 À妽º¸¦ °¡Áö´Â ³»ºÎ
___4.1.3.2 MariaDB 10.0ÀÇ Åë°è Á¤º¸
__4.1.4 È÷½ºÅä±×·¥ Åë°è Á¤º¸
___4.1.4.1 È÷½ºÅä±×·¥À̶õ?
___4.1.4.2 MariaDB¿¡¼ È÷½ºÅä±×·¥ »ç¿ë
__4.1.5 Á¶ÀÎ ¿ÉƼ¸¶ÀÌÀú ¿É¼Ç
_4.2 ¿¹Á¦ µ¥ÀÌÅÍ Áغñ
__4.2.1 ¿¹Á¦ µ¥ÀÌÅÍ ÀûÀç
__4.2.2 Åë°è Á¤º¸ ¼öÁý
_4.3 ½ÇÇà °èȹ ºÐ¼®
__4.3.1 id Ä®·³
__4.3.2 select_type Ä®·³
___4.3.2.1 SIMPLE
___4.3.2.2 PRIMARY
___4.3.2.3 UNION
___4.3.2.4 DEPENDENT UNION
___4.3.2.5 UNION RESULT
___4.3.2.6 SUBQUERY
___4.3.2.7 DEPENDENT SUBQUERY
___4.3.2.8 DERIVED
___4.3.2.9 UNCACHEABLE SUB Àӽà Å×À̺í
5.5.5 ³»ºÎ Àӽà Å×À̺í(Internal Temporary Table)ÀÇ ÁÖÀÇ»çÇ×
5.6 À妽º ÄÁµð¼Ç Ǫ½Ã´Ù¿î(Index Condition Pushdown, ICP)
5.7 ¸ÖƼ ·¹ÀÎÁö ¸®µå(Multi Range Read)
5.7.1 RowId ±âÁØ Á¤·Ä(Rowid-ordered scan)
5.7.2 Key ±âÁØ Á¤·Ä(Key-ordered scan)
5.7.3 Key¿Í RowId ¸ðµÎ Á¤·Ä(Key-ordered, Rowid-ordered scan)
5.7.4 ¸ÖƼ ·¹ÀÎÁö ¸®µå ÃÖÀûÈ¿Í Á¤·Ä
5.7.5 ¸ÖƼ ·¹ÀÎÁö ¸®µå ÃÖÀûÈ ÁÖÀÇ »çÇ×
5.8 À妽º ¸ÓÁö(Index merge)
5.8.1 Using union
5.8.2 Using sort union
5.8.3 Using intersect
5.8.4 Using sort intersect
5.9 Å×À̺í Á¶ÀÎ
5.9.1 Á¶ÀÎÀÇ Á¾·ù
5.9.1.1 JOIN (INNER JOIN)
5.9.1.2 OUTER JOIN
5.9.1.3 Ä«Å×½Ã¾È Á¶ÀÎ
5.9.1.4 NATURAL JOIN
5.9.2 Á¶ÀÎ ¾Ë°í¸®Áò
5.9.2.1 Á¶ÀΠij½Ã ·¹º§(join cache level)
5.9.2.2 Á¶ÀÎ ¹öÆÛ ¼³Á¤
5.9.2.3 ´Ü¼ø ³×½ºÆ¼µå ·çÇÁ(Simple Nested Loop, NL)
5.9.2.4 ºí·Ï ³×½ºÆ¼µå ·çÇÁ(Block Nested Loop, BNL)
5.9.2.5 ºí·Ï ³×½ºÆ¼µå ·çÇÁ ÇؽÃ(Block Nested Loop Hash, BNLH)
5.9.2.6 ºí·Ï À妽º Á¶ÀÎ(Block Index Join, Batched Key Access, BKA)
5.9.2.7 ºí·Ï À妽º Çؽà Á¶ÀÎ(Block Index Hash Join, Batched Key Access Hash)
5.9.3 Á¶ÀÎÀÇ ÁÖÀÇ»çÇ×
5.9.3.1 Á¶ÀÎ ½ÇÇà °á°úÀÇ Á¤·Ä ¼ø¼
5.9.3.2 INNER JOIN°ú OUTER JOINÀÇ ¼±ÅÃ
5.10 ¼ºê Äõ¸®
5.10.1 ¼¼¹Ì Á¶ÀÎ ¼ºêÄõ¸® ÃÖÀûÈ
5.10.1.1 Table pullout ÃÖÀûÈ
QUERY
___4.3.2.10 UNCACHEABLE UNION
___4.3.2.11 MATERIALIZED
___4.3.2.12 INSERT
__4.3.3 table Ä®·³
__4.3.4 type Ä®·³
___4.3.4.1 system
___4.3.4.2 const
___4.3.4.3 eq_ref
___4.3.4.4 ref
___4.3.4.5 fulltext
___4.3.4.6 ref_or_null
___4.3.4.7 unique_subquery
___4.3.4.8 index_subquery
___4.3.4.9 range
___4.3.4.10 index_merge
___4.3.4.11 index
___4.3.4.12 ALL
__4.3.5 possible_keys Ä®·³
__4.3.6 key Ä®·³
__4.3.7 key_len Ä®·³
__4.3.8 ref Ä®·³
__4.3.9 rows Ä®·³
__4.3.10 Extra Ä®·³
___4.3.10.1 const row not found
___4.3.10.2 Distinct
___4.3.10.3 Full scan on NULL key
___4.3.10.4 Impossible HAVING
___4.3.10.6 Impossible WHERE noticed after reading const tables
___4.3.10.7 No matching min/max row
___4.3.10.8 no matching row in const table
___4.3.10.9 No tables used
___4.3.10.10 Not exists
___4.3.10.11 Range checked for each record(index map: N)
___4.3.10.12 Scanned N databases
___4.3.10.13 Select tables optimized away
___4.3.10.14 Skip_open_table, Open_frm_only, Open_trigger_only, Open_full_table
___4.3.10.15 unique row not found
5.10.1.2 FirstMatch ÃÖÀûÈ
5.10.1.3 Semi-join Materialization ÃÖÀûÈ
5.10.1.4 LooseScan ÃÖÀûÈ
5.10.1.5 Duplicate Weedout ÃÖÀûÈ
5.10.2 ¼¼¹Ì Á¶ÀÎÀÌ ¾Æ´Ñ ¼ºêÄõ¸® ÃÖÀûÈ
5.10.2.1 Materialization
5.10.2.2 IN-to-EXISTS
5.10.3 ¼ºê Äõ¸® ij½Ã
06Àå: ½ºÅ丮Áö ¿£Áø 6.1 Aria ½ºÅ丮Áö ¿£Áø
6.1.1 Æ®·£Àè¼Ç
6.1.2 ÆäÀÌÁö ij½Ã
6.1.3 ½Ã½ºÅÛ ¼³Á¤ º¯¼ö
6.2 XtraDB ½ºÅ丮Áö ¿£Áø
6.2.1 InnoDB¿Í XtraDB ½ºÅ丮Áö ¿£Áø ±³Ã¼
6.3 InnoDB ½ºÅ丮Áö ¿£Áø
6.3.1 MySQL 5.6 InnoDB
6.3.1.1 ¿µ±¸ÀûÀÎ Åë°è Á¤º¸
6.3.1.2 µ¥ÀÌÅÍ Àбâ ÃÖÀûÈ
6.3.1.3 Ä¿³Î ¹ÂÅؽº(Kernel mutex)
6.3.1.4 ¸ÖƼ ½º·¹µå ±â¹ÝÀÇ ¾ðµÎ ÆÛÁö(Multi threaded purge)
6.3.1.5 µ¶¸³µÈ Ç÷¯½Ã ½º·¹µå
6.3.1.6 °¡º¯ ÆäÀÌÁö »çÀÌÁî
6.3.1.7 Å×ÀÌºí ½ºÆäÀ̽º º¹»ç(Transportable tablespace)
6.3.1.8 µ¶¸³µÈ ¾ðµÎ ½ºÆäÀ̽º
6.3.1.9 Àбâ Àü¿ë Æ®·£Àè¼Ç(Read-only transaction) ÃÖÀûÈ
6.3.1.10 ¹öÆÛ Ç® ´ýÇÁ & ·Îµå
6.3.1.11 ¸®µÎ ·Î±× »çÀÌÁî
6.3.1.12 ¸®µÎ ·Î±× Å©±â º¯°æ
6.3.1.13 µ¥µå¶ô ÀÌ·Â
6.3.2 ´õƼ ÆäÀÌÁö Ç÷¯½Ã
6.3.2.1 ÇÃ
___4.3.10.16 Using filesort
___4.3.10.17 Using index(Ä¿¹ö¸µ À妽º)
___4.3.10.18 Using index for group-by
___4.3.10.19 Using join buffer(Block Nested Loop), Using join buffer(Batched Key Access)
___4.3.10.20 Using sort_union, Using union, Using intersect, Using sort_intersection
___4.3.10.21 Using temporary
___4.3.10.22 Using where
___4.3.10.23 Using where with pushed condition
___4.3.10.24 Deleting all rows
___4.3.10.25 FirstMatch(tbl_name)
___4.3.10.26 LooseScan(m n)
___4.3.10.27 Materialize, Scan
___4.3.10.28 Start materialize, End materialize, Scan
___4.3.10.29 Start temporary, End temporary
___4.3.10.30 Using index condition
___4.3.10.31 Rowid-ordered scan, Key-ordered scan
___4.3.10.32 No matching rows after partition pruning
__4.3.11 EXPLAIN EXTENDED(Filtered Ä®·³)
__4.3.12 EXPLAIN EXTENDED(Ãß°¡ ¿ÉƼ¸¶ÀÌÀú Á¤º¸) ·¯½Ã ¸®½ºÆ® Ç÷¯½Ã
6.3.2.2 LRU ¸®½ºÆ® Ç÷¯½Ã
6.3.2.3 InnoDB¿Í XtraDBÀÇ ´õƼ Ç÷¯½Ã
6.3.2.4 MySQL 5.5 InnoDBÀÇ ´õƼ Ç÷¯½Ã
6.3.2.5 MariaDB 5.5 XtraDBÀÇ ´õƼ Ç÷¯½Ã
6.3.2.6 MySQL 5.6 InnoDBÀÇ ´õƼ Ç÷¯½Ã
6.3.2.7 MariaDB 10.0ÀÇ XtraDB
6.3.3 ¹öÆÛ Ç® ¼º´É °³¼±
6.3.3.1 NUMA
6.3.3.2 ¹öÆÛ Ç® ¸Þ¸ð¸® Ãʱâ ÇÒ´ç
6.3.3.3 InnoDB Àá±Ý ¼¼ºÐÈ
6.3.3.4 I/O ±â¹ÝÀÇ ¿öÅ©·Îµå ¼º´É Çâ»ó
6.3.3.5 ¾î´ðƼºê Çؽà ÆÄƼ¼Ç
6.3.4 ¿øÀÚ ´ÜÀ§ÀÇ ¾²±â(FusionIO SSD¸¦ À§ÇÑ Atomic write)
6.3.5 È®ÀåµÈ InnoDB ¿£Áø »óÅ Ãâ·Â
6.3.5.1 ¹é±×¶ó¿îµå ½º·¹µå °ü·Ã »óÅ º¯¼ö
6.3.5.2 ¼¼¸¶Æ÷¾î °ü·Ã »óÅ º¯¼ö
6.3.5.3 ÀμƮ ¹öÆÛ¿Í ¾î´ðƼºê Çؽà À妽º °ü·Ã »óÅ º¯¼ö
6.3.5.4 ·Î±× °ü·Ã »óÅ º¯¼ö
6.3.5.5 ¹öÆÛ Ç® °ü·Ã »óÅ º¯¼ö
6.3.5.6 Æ®·£Àè¼Ç °ü·Ã »óÅ º¯¼ö
6.3.6 XtraDB ¸®µÎ ·Î±× ¾ÆÄ«À̺ù
6.3.7 º¯°æµÈ ÆäÀÌÁö Æ®·¢Å·
6.4 Àü¹® °Ë»ö ¿£Áø
6.4.1 Àü¹® °Ë»ö À妽º Ãß°¡
6.4.2 Àü¹® °Ë»ö À妽º¸¦ À§ÇÑ Å×ÀÌºí ½ºÆäÀ̽º
6.4.3 Àü¹® °Ë»ö À妽º °ü·Ã INFORMATION SCHEMA Á¤º¸
6.4.3.1 InnoDBÀÇ ¸ðµç Àü¹® °Ë»ö À妽º¿¡ Àû¿ëµÇ´Â ³»¿ë
6.4.3.2 Àü¹® °Ë»ö À妽º¸¦ °¡Áø Å×ÀÌºí ´ÜÀ§·Î Àû¿ëµÇ´Â ³»¿ë
6.4.4 Àü¹® °Ë»ö À妽º »ç¿ë
6.4.5 ÁÖÀÇ »çÇ×
6.5 Memcached Ç÷¯±×ÀÎ
6.5.1 ¾ÆÅ°ÅØó
6.5.2 ¼³Ä¡ ¹× Å×½ºÆ®
6.5.3 ij½Ã Á¤Ã¥
6.5.4 »ç¿ëÀÚ Å×ÀÌºí µî·Ï
6.5.5 °ü·Ã ½Ã½ºÅÛ º¯¼ö
6.6 Ä«»êµå¶ó ½ºÅ丮Áö ¿£Áø
6.6.1 Ä«»êµå¶ó
6.6.2 Ä«»êµå¶ó ½ºÅ丮Áö ¿£Áø
6.7 CONNECT ½ºÅ丮Áö ¿£Áø
6.7.1 CONNECT ½ºÅ丮Áö ¿£Áø ¼³Ä¡
6.7.2 ¿À¶óŬ RDBMS Å×ÀÌºí ¿¬°á
6.7.3 my.cnf ¼³Á¤ ÆÄÀÏ ¿¬°á
6.7.4 ¿î¿µÃ¼Á¦ÀÇ µð·ºÅ͸® ¿¬°á
6.8 ½ÃÄö½º ½ºÅ丮Áö ¿£Áø
6.8.1 ½ÃÄö½º ½ºÅ丮Áö ¿£Áø ±âº» »ç¿ë¹ý
6.8.2 ´©¶ôµÈ ¹øÈ£ ã±â
6.8.3 ¼øÂ÷ÀûÀ¸·Î Á¶ÇÕµÈ ¹øÈ£ ½Ö »ý¼º
6.8.4 ¹è¼ö ¶Ç´Â °ø¹è¼ö ã±â
6.8.5 ¼øÂ÷ÀûÀÎ ¾ËÆĺª »ý¼º
6.8.6 ¼øÂ÷ÀûÀÎ ³¯Â¥ »ý¼º
6.8.7 µ¥ÀÌÅÍ º¹Á¦ °¡°ø
6.9 Mroonga Àü¹® °Ë»ö ½ºÅ丮Áö ¿£Áø
6.9.1 À妽º ¾Ë°í¸®Áò
6.9.1.1 ±¸ºÐÀÚ(Stopword) ¹æ½Ä
6.9.1.2 n-Gram ¹æ½Ä
6.9.1.3 ±¸ºÐÀÚ¿Í n-GramÀÇ Â÷ÀÌ
6.9.2 Mroonga Àü¹® °Ë»ö ¿£Áø ¼³Ä¡
6.9.3 Mroonga Àü¹® °Ë»ö ¿£Áø »ç¿ë
07Àå: ±âŸ ±â´É 7.1 ¼º´É Çâ»ó
7.1.1 ½º·¹µå Ç®(Thread Pool)
7.1.1.1 MySQL ¼¹öÀÇ ÀüÅëÀûÀÎ ¿¬°á ¹× ó¸® ¹æ½Ä
7.1.1.2 MariaDBÀÇ ½º·¹µå Ç®
__4.3.13 EXPLAIN PARTITIONS(Partitions Ä®·³)
_4.4 ¿ÉƼ¸¶ÀÌÀú ÈùÆ®
__4.4.1 ÈùÆ®ÀÇ »ç¿ë¹ý
__4.4.2 STRAIGHT_JOIN
__4.4.3 USE INDEX / FORCE INDEX / IGNORE INDEX
__4.4.4 SQL_CACHE / SQL_NO_CACHE
__4.4.5 SQL_CALC_FOUND_ROWS
__4.4.6 ±âŸ ÈùÆ®
_4.5 ½ÇÇà °èȹ ºÐ¼® ½Ã ÁÖÀÇ»çÇ×
__4.5.1 Select_type Ä®·³ÀÇ ÁÖÀÇ ´ë»ó
__4.5.2 Type Ä®·³ÀÇ ÁÖÀÇ ´ë»ó
__4.5.3 Key Ä®·³ÀÇ ÁÖÀÇ ´ë»ó
__4.5.4 Rows Ä®·³ÀÇ ÁÖÀÇ ´ë»ó
__4.5.5 Extra Ä®·³ÀÇ ÁÖÀÇ ´ë»ó
___4.5.5.1 Äõ¸®°¡ ¿ä°ÇÀ» Á¦´ë·Î ¹Ý¿µÇÏ°í ÀÖ´ÂÁö È®ÀÎÇØ¾ß ÇÏ´Â °æ¿ì
___4.5.5.2 Äõ¸®ÀÇ ½ÇÇà °èȹÀÌ ÁÁÁö ¾ÊÀº °æ¿ì
___4.5.5.3 Äõ¸®ÀÇ ½ÇÇà °èȹÀÌ ÁÁÀº °æ¿ì
¢Ã 05Àå: ÃÖÀûÈ
_5.1 Ç® Å×ÀÌºí ½ºÄµ
7.1.1.3 MariaDB ½º·¹µå Ç®ÀÇ »ç¿ë°ú Æ©´×
7.1.1.4 ÁÖÀÇ »çÇ×
7.2 °ü¸® ¹× Áø´Ü
7.2.1 SHOW EXPLAIN FOR
7.2.2 ½½·Î¿ì Äõ¸® ·Î±×¿¡ ½ÇÇà °èȹ Ãâ·Â
7.2.3 ±¸Á¶ÈµÈ ½ÇÇà °èȹ Ãâ·Â
7.2.4 ½º·¹µå ´ÜÀ§ÀÇ ¸Þ¸ð¸® »ç¿ë·®
7.2.5 SHUTDOWN ¸í·É
7.2.6 »ç¿ëÀÚ³ª Äõ¸® ½ÇÇà °Á¦ Á¾·á(KILL)
7.2.7 GET DIAGNOSTICS
7.3 °³¹ß »ý»ê¼º
7.3.1 LIMIT ROWS EXAMINED
7.3.2 DELETE...RETURNING
7.3.3 ¸¶ÀÌÅ©·Î ÃÊ ´ÜÀ§ÀÇ ½Ã°£ ÀúÀå
7.3.4 DATETIME ŸÀÔÀÇ ±âº»°ª ¼³Á¤
7.3.5 Á¤±Ô Ç¥Çö½Ä ±â´É È®Àå
7.3.6 °¡»ó(Virtual) Ä®·³
7.3.7 µ¿Àû(Dynamic) Ä®·³
7.4 ÆÄƼ¼Ç
7.4.1 ¸í½ÃÀû ÆÄƼ¼Ç ÁöÁ¤
7.4.1.1 ¸í½ÃÀû ÆÄƼ¼Ç ÁöÁ¤ »ç¿ë¹ý
7.4.1.2 ¸í½ÃÀû ÆÄƼ¼Ç ÁöÁ¤ ±â´ÉÀÇ ¿ëµµ
7.4.2 ÆÄƼ¼Ç Å×ÀÌºí ½ºÆäÀ̽º ±³Ã¼(Exchange)
7.5 ¹é¾÷
7.5.1 ¹ÙÀ̳ʸ® ·Î±× ¿ø°Ý ¹é¾÷
7.5.2 XtraBackup ¼Ò°³
7.5.2.1 XtraBackup ÆÐÅ°Áö ±¸¼º
7.5.2.2 XtraBackupÀÇ ¿ø¸®
7.5.2.3 XtraBackupÀÇ ±âº» »ç¿ë¹ý
7.5.3 XtraBackupÀÇ ±â´É
7.5.3.1 ½ºÆ®¸®¹Ö ¹é¾÷
7.5.3.2 ¾ÐÃà
7.5.3.3 ¾ÏÈ£È
_5.2 ORDER BY ó¸®(Using filesort)
__5.2.1 ¼ÒÆ® ¹öÆÛ(Sort buffer)
__5.2.2 Á¤·Ä ¾Ë°í¸®Áò
__5.2.3 Á¤·ÄÀÇ Ã³¸® ¹æ½Ä
___5.2.3.1 À妽º¸¦ »ç¿ëÇÑ Á¤·Ä
___5.2.3.2 µå¶óÀ̺ù Å×ÀÌºí¸¸ Á¤·Ä
___5.2.3.3 Àӽà Å×À̺íÀ» ÀÌ¿ëÇÑ Á¤·Ä
___5.2.3.4 Á¤·Ä ¹æ½ÄÀÇ ¼º´É ºñ±³
__5.2.4 ORDER BY....LIMIT n ÃÖÀûÈ
__5.2.5 Á¤·Ä °ü·Ã »óÅ º¯¼ö
_5.3 GROUP BY ó¸®
__5.3.1 À妽º ½ºÄµÀ» ÀÌ¿ëÇÏ´Â GROUP BY(ŸÀÌÆ® À妽º ½ºÄµ)
__5.3.2 ·ç½º(loose) À妽º ½ºÄµÀ» ÀÌ¿ëÇÏ´Â GROUP BY
__5.3.3 Àӽà Å×À̺íÀ» »ç¿ëÇÏ´Â GROUP BY
_5.4 DISTINCT ó¸®
__5.4.1 SELECT DISTINCT
__5.4.2 ÁýÇÔ ÇÔ¼ö¿Í ÇÔ²² »ç¿ëµÈ DISTINCT
_5.5 Àӽà Å×À̺í(Using temporary)
__5.5.1 Àӽà Å×À̺íÀÌ ÇÊ¿äÇÑ Äõ¸®
__5.5.2 Àӽà Å×À̺íÀÌ µð½ºÅ©¿¡ »ý¼ºµÇ´Â °æ¿ì(Aria ½ºÅ丮Áö ¿£ÁøÀ» »ç¿ë)
7.5.3.4 ½½·¹ÀÌºê ¹é¾÷
7.5.3.5 º´·Ä(Parallel) ¹é¾÷
7.5.3.6 ¹é¾÷ ¼Óµµ Á¶Àý
7.5.3.7 °³º° Å×ÀÌºí º¹±¸
7.5.3.8 FLUSH TABLES WITH READ LOCK °³¼±
7.5.4 XtraBackupÀÇ °í±Þ »ç¿ë¹ý
7.5.4.1 PIT(Point In Time) º¹±¸
7.5.4.2 ÁõºÐ(Incremental) ¹é¾÷
7.5.4.3 ºÎºÐ(Partial) ¹é¾÷
7.5.4.4 ÄÄÆÑÆ®(Compact) ¹é¾÷
7.5.4.5 ½ºÆ®¸®¹Ö(Streaming) ¹é¾÷
7.5.4.6 ¾ÏÈ£È(Encrypt) ¹é¾÷
08Àå: ·¹Çø®ÄÉÀ̼Ç
8.1 ±Û·Î¹ú Æ®·£Àè¼Ç ¾ÆÀ̵ð(Global Transaction ID)
8.1.1 ±Û·Î¹ú Æ®·£Àè¼Ç ¾ÆÀ̵ð(GTID)¶õ?
8.1.2 ±Û·Î¹ú Æ®·£Àè¼Ç ¾ÆÀ̵ðÀÇ Çʿ伺
8.1.3 MariaDB 10.0 ±Û·Î¹ú Æ®·£Àè¼Ç ¾ÆÀ̵ð
8.1.3.1 GTID¸¦ ÀÌ¿ëÇÑ º¹Á¦ ±¸Ãà
8.1.3.2 GTID¸¦ »ç¿ëÇÑ º¹Á¦ °ü¸®
8.1.3.3 GTID¸¦ ÀÌ¿ëÇÑ ½½·¹À̺꿡¼ Æ®·£Àè¼Ç °Ç³Ê¶Ù±â
8.1.4 MySQL 5.6 ±Û·Î¹ú Æ®·£Àè¼Ç ¾ÆÀ̵ð
8.1.4.1 GTID¸¦ ÀÌ¿ëÇÑ º¹Á¦ ±¸Ãà
8.1.4.2 GTID °ü·Ã ÇÔ¼ö
8.1.4.3 GTID À̺¥Æ® °Ç³Ê¶Ù±â
8.2 ¸ÖƼ ¼Ò½º º¹Á¦(Multi-source replication)
8.2.1 ¸ÖƼ ¼Ò½º º¹Á¦ °ü·Ã ¸í·É
8.2.2 ¸ÖƼ ¼Ò½º º¹Á¦ ±¸Ãà
8.2.3 ¸ÖƼ ¼Ò½º º¹Á¦¿Í ±Û·Î¹ú Æ®·£Àè¼Ç
8.3 ¸ÖƼ ½º·¹µå º¹Á¦
8.3.1 MySQL 5.6ÀÇ ¸ÖƼ ½º·¹µå º¹Á¦
8.3.2 MariaDB 10.0ÀÇ ¸ÖƼ ½º·¹µå º¹Á¦
8.4 Å©·¡½Ã ¼¼ÀÌÇÁ(Crash safe) ½½·¹À̺ê
__5.5.3 Àӽà Å×ÀÌºí °ü·Ã »óÅ º¯¼ö
__5.5.4 À妽º¸¦ °¡Áö´Â ³»ºÎ Àӽà Å×À̺í
__5.5.5 ³»ºÎ Àӽà Å×À̺í(Internal Temporary Table)ÀÇ ÁÖÀÇ»çÇ×
_5.6 À妽º ÄÁµð¼Ç Ǫ½Ã´Ù¿î(Index Condition Pushdown, ICP)
_5.7 ¸ÖƼ ·¹ÀÎÁö ¸®µå(Multi Range Read)
__5.7.1 RowId ±âÁØ Á¤·Ä(Rowid-ordered scan)
__5.7.2 Key ±âÁØ Á¤·Ä(Key-ordered scan)
__5.7.3 Key¿Í RowId ¸ðµÎ Á¤·Ä(Key-ordered, Rowid-ordered scan)
__5.7.4 ¸ÖƼ ·¹ÀÎÁö ¸®µå ÃÖÀûÈ¿Í Á¤·Ä
__5.7.5 ¸ÖƼ ·¹ÀÎÁö ¸®µå ÃÖÀûÈ ÁÖÀÇ »çÇ×
_5.8 À妽º ¸ÓÁö(Index merge)
__5.8.1 Using union
__5.8.2 Using sort_union
__5.8.3 Using intersect
__5.8.4 Using sort_intersect
_5.9 Å×À̺í Á¶ÀÎ
__5.9.1 Á¶ÀÎÀÇ Á¾·ù
___5.9.1.1 JOIN (INNER JOIN)
___5.9.1.2 OUTER JOIN
___5.9.1.3 Ä«Å×½Ã¾È Á¶ÀÎ
___5.9.1.4 NATURAL JOIN
__5.9.2 Á¶ÀÎ ¾Ë°í¸®Áò
___5.9.2.1 Á¶ÀΠij½Ã ·¹º§(join_cache_level)
___5.9.2.2 Á¶ÀÎ ¹öÆÛ ¼³Á¤
___5.9.2.3 ´Ü¼ø ³×½ºÆ¼µå ·çÇÁ(Simple Nested Loop, NL)
___5.9.2.4 ºí·Ï ³×½ºÆ¼µå ·çÇÁ(Block Nested Loop, BNL)
___5.9.2.5 ºí·Ï ³×½ºÆ¼µå ·çÇÁ ÇؽÃ(Block Nested Loop Hash, BNLH)
___5.9.2.6 ºí·Ï À妽º Á¶ÀÎ(Block Index Join, Batched Key Access, BKA)
___5.9.2.7 ºí·Ï À妽º Çؽà Á¶ÀÎ(Block Index Hash Join, Batched Key Access Hash)
__5.9.3 Á¶ÀÎÀÇ ÁÖÀÇ»çÇ×
___5.9.3.1 Á¶ÀÎ ½ÇÇà °á°úÀÇ Á¤·Ä ¼ø¼
___5.9.3.2 INNER JOIN°ú OUTER JOINÀÇ ¼±ÅÃ
_5.10 ¼ºê Äõ¸®
__5.10.1 ¼¼¹Ì Á¶ÀÎ ¼ºêÄõ¸® ÃÖÀûÈ
___5.10.1.1 Table pullout ÃÖÀûÈ
___5.10.1.2 FirstMatch ÃÖÀûÈ
___5.10.1.3 Semi-join Materialization ÃÖÀûÈ
___5.10.1.4 LooseScan ÃÖÀûÈ
___5.10.1.5 Duplicate Weedout ÃÖÀûÈ
__5.10.2 ¼¼¹Ì Á¶ÀÎÀÌ ¾Æ´Ñ ¼ºêÄõ¸® ÃÖÀûÈ
8.4.1 MariaDB 10.0ÀÇ Å©·¡½Ã ¼¼ÀÌÇÁ º¹Á¦
8.4.2 MySQL 5.6ÀÇ Å©·¡½Ã ¼¼ÀÌÇÁ º¹Á¦
8.5 ROW ±â¹ÝÀÇ º¹Á¦ ±â´É °³¼±
8.5.1 ROW Æ÷¸ËÀÇ ¿ë·® ÃÖÀûÈ
8.5.2 ROW Æ÷¸Ë ¹ÙÀ̳ʸ® ·Î±×¸¦ À§ÇÑ Á¤º¸¼º ·Î±× À̺¥Æ®
8.5.2.1 MariaDB ÁÖ¼® À̺¥Æ®
8.5.2.2 MySQL 5.6ÀÇ Á¤º¸¼º ·Î±× À̺¥Æ®
8.6 Áö¿¬µÈ º¹Á¦
8.7 MariaDB¿Í MySQL ¼¹ö°£ÀÇ º¹Á¦
8.8 ±× ¿ÜÀÇ ±âŸ ±â´É °³¼±
8.8.1 ¹ÙÀ̳ʸ® ·Î±× üũ¼¶
8.8.2 ¹ÙÀ̳ʸ® ·Î±× API
8.8.3 ¹ÙÀ̳ʸ® ·Î±× ±×·ì Ä¿¹Ô
___5.10.2.1 Materialization
___5.10.2.2 IN-to-EXISTS
__5.10.3 ¼ºê Äõ¸® ij½Ã
¢Ã 06Àå: ½ºÅ丮Áö ¿£Áø
_6.1 Aria ½ºÅ丮Áö ¿£Áø
__6.1.1 Æ®·£Àè¼Ç
__6.1.2 ÆäÀÌÁö ij½Ã
__6.1.3 ½Ã½ºÅÛ ¼³Á¤ º¯¼ö
_6.2 XtraDB ½ºÅ丮Áö ¿£Áø
__6.2.1 InnoDB¿Í XtraDB ½ºÅ丮Áö ¿£Áø ±³Ã¼
_6.3 InnoDB ½ºÅ丮Áö ¿£Áø
__6.3.1 MySQL 5.6 InnoDB
___6.3.1.1 ¿µ±¸ÀûÀÎ Åë°è Á¤º¸
___6.3.1.2 µ¥ÀÌÅÍ Àбâ ÃÖÀûÈ
___6.3.1.3 Ä¿³Î ¹ÂÅؽº(Kernel mutex)
___6.3.1.4 ¸ÖƼ ½º·¹µå ±â¹ÝÀÇ ¾ðµÎ ÆÛÁö(Multi threaded purge)
___6.3.1.5 µ¶¸³µÈ Ç÷¯½Ã ½º·¹µå
___6.3.1.6 °¡º¯ ÆäÀÌÁö »çÀÌÁî
___6.3.1.7 Å×ÀÌºí ½ºÆäÀ̽º º¹»ç(Transporta
ble tablespace)
___6.3.1.8 µ¶¸³µÈ ¾ðµÎ ½ºÆäÀ̽º
___6.3.1.9 Àбâ Àü¿ë Æ®·£Àè¼Ç(Read-only transaction) ÃÖÀûÈ
___6.3.1.10 ¹öÆÛ Ç® ´ýÇÁ & ·Îµå
___6.3.1.11 ¸®µÎ ·Î±× »çÀÌÁî
___6.3.1.12 ¸®µÎ ·Î±× Å©±â º¯°æ
___6.3.1.13 µ¥µå¶ô ÀÌ·Â
__6.3.2 ´õƼ ÆäÀÌÁö Ç÷¯½Ã
___6.3.2.1 Ç÷¯½Ã ¸®½ºÆ® Ç÷¯½Ã
___6.3.2.2 LRU ¸®½ºÆ® Ç÷¯½Ã
___6.3.2.3 InnoDB¿Í XtraDBÀÇ ´õƼ Ç÷¯½Ã
___6.3.2.4 MySQL 5.5 InnoDBÀÇ ´õƼ Ç÷¯½Ã
___6.3.2.5 MariaDB 5.5 XtraDBÀÇ ´õƼ Ç÷¯½Ã
___6.3.2.6 MySQL 5.6 InnoDBÀÇ ´õƼ Ç÷¯½Ã
___6.3.2.7 MariaDB 10.0ÀÇ XtraDB
__6.3.3 ¹öÆÛ Ç® ¼º´É °³¼±
___6.3.3.1 NUMA
___6.3.3.2 ¹öÆÛ Ç® ¸Þ¸ð¸® Ãʱâ ÇÒ´ç
___6.3.3.3 InnoDB Àá±Ý ¼¼ºÐÈ
___6.3.3.4 I/O ±â¹ÝÀÇ ¿öÅ©·Îµå ¼º´É Çâ»ó
___6.3.3.5 ¾î´ðƼºê Çؽà ÆÄƼ¼Ç
__6.3.4 ¿øÀÚ ´ÜÀ§ÀÇ ¾²±â(FusionIO SSD¸¦ À§ÇÑ Atomic write)
__6.3.5 È®ÀåµÈ InnoDB ¿£Áø »óÅ Ãâ·Â
___6.3.5.1 ¹é±×¶ó¿îµå ½º·¹µå °ü·Ã »óÅ º¯¼ö
___6.3.5.2 ¼¼¸¶Æ÷¾î °ü·Ã »óÅ º¯¼ö
___6.3.5.3 ÀμƮ ¹öÆÛ¿Í ¾î´ðƼºê Çؽà À妽º °ü·Ã »óÅ º¯¼ö
___6.3.5.4 ·Î±× °ü·Ã »óÅ º¯¼ö
___6.3.5.5 ¹öÆÛ Ç® °ü·Ã »óÅ º¯¼ö
___6.3.5.6 Æ®·£Àè¼Ç °ü·Ã »óÅ º¯¼ö
__6.3.6 XtraDB ¸®µÎ ·Î±× ¾ÆÄ«À̺ù
__6.3.7 º¯°æµÈ ÆäÀÌÁö Æ®·¢Å·
_6.4 Àü¹® °Ë»ö ¿£Áø
__6.4.1 Àü¹® °Ë»ö À妽º Ãß°¡
__6.4.2 Àü¹® °Ë»ö À妽º¸¦ À§ÇÑ Å×ÀÌºí ½ºÆäÀ̽º
__6.4.3 Àü¹® °Ë»ö À妽º °ü·Ã INFORMATION_SCHEMA Á¤º¸
___6.4.3.1 InnoDBÀÇ ¸ðµç Àü¹® °Ë»ö À妽º¿¡ Àû¿ëµÇ´Â ³»¿ë
___6.4.3.2 Àü¹® °Ë»ö À妽º¸¦ °¡Áø Å×ÀÌºí ´ÜÀ§·Î Àû¿ëµÇ´Â ³»¿ë
__6.4.4 Àü¹® °Ë»ö À妽º »ç¿ë
__6.4.5 ÁÖÀÇ »çÇ×
_6.5 Memcached Ç÷¯±×ÀÎ
__6.5.1 ¾ÆÅ°ÅØó
__
6.5.2 ¼³Ä¡ ¹× Å×½ºÆ®
__6.5.3 ij½Ã Á¤Ã¥
__6.5.4 »ç¿ëÀÚ Å×ÀÌºí µî·Ï
__6.5.5 °ü·Ã ½Ã½ºÅÛ º¯¼ö
_6.6 Ä«»êµå¶ó ½ºÅ丮Áö ¿£Áø
__6.6.1 Ä«»êµå¶ó
__6.6.2 Ä«»êµå¶ó ½ºÅ丮Áö ¿£Áø
_6.7 CONNECT ½ºÅ丮Áö ¿£Áø
__6.7.1 CONNECT ½ºÅ丮Áö ¿£Áø ¼³Ä¡
__6.7.2 ¿À¶óŬ RDBMS Å×ÀÌºí ¿¬°á
__6.7.3 my.cnf ¼³Á¤ ÆÄÀÏ ¿¬°á
__6.7.4 ¿î¿µÃ¼Á¦ÀÇ µð·ºÅ͸® ¿¬°á
_6.8 ½ÃÄö½º ½ºÅ丮Áö ¿£Áø
__6.8.1 ½ÃÄö½º ½ºÅ丮Áö ¿£Áø ±âº» »ç¿ë¹ý
__6.8.2 ´©¶ôµÈ ¹øÈ£ ã±â
__6.8.3 ¼øÂ÷ÀûÀ¸·Î Á¶ÇÕµÈ ¹øÈ£ ½Ö »ý¼º
__6.8.4 ¹è¼ö ¶Ç´Â °ø¹è¼ö ã±â
__6.8.5 ¼øÂ÷ÀûÀÎ ¾ËÆĺª »ý¼º
__6.8.6 ¼øÂ÷ÀûÀÎ ³¯Â¥ »ý¼º
__6.8.7 µ¥ÀÌÅÍ º¹Á¦ °¡°ø
_6.9 Mroonga Àü¹® °Ë»ö ½ºÅ丮Áö ¿£Áø
__6.9.1 À妽º ¾Ë°í¸®Áò
___6.9.1.1 ±¸ºÐÀÚ(Stopword) ¹æ½Ä
___6.9.1.2 n-Gram ¹æ½Ä
___6.9.1.3 ±¸ºÐÀÚ¿Í n-GramÀÇ Â÷ÀÌ
__6.9.2 Mroonga Àü¹® °Ë»ö ¿£Áø ¼³Ä¡
__6.9.3 Mroonga Àü¹® °Ë»ö ¿£Áø »ç¿ë
¢Ã 07Àå: ±âŸ ±â´É
_7.1 ¼º´É Çâ»ó
__7.1.1 ½º·¹µå Ç®(Thread Pool)
___7.1.1.1 MySQL ¼¹öÀÇ ÀüÅëÀûÀÎ ¿¬°á ¹× ó¸® ¹æ½Ä
___7.1.1.2 MariaDBÀÇ ½º·¹µå Ç®
___7.1.1.3 MariaDB ½º·¹µå Ç®ÀÇ »ç¿ë°ú Æ©´×
___7.1.1.4 ÁÖÀÇ »çÇ×
_7.2 °ü¸® ¹× Áø´Ü
__7.2.1 SHOW EXPLAIN FOR
__7.2.2 ½½·Î¿ì Äõ¸® ·Î±×¿¡ ½ÇÇà °èȹ Ãâ·Â
__7.2.3 ±¸Á¶ÈµÈ ½ÇÇà °èȹ Ãâ·Â
__7.2.4 ½º·¹µå ´ÜÀ§ÀÇ ¸Þ¸ð¸® »ç¿ë·®
__7.2.5 SHUTDOWN ¸í·É
__7.2.6 »ç¿ëÀÚ³ª Äõ¸® ½ÇÇà °Á¦ Á¾·á(KILL)
__7.2.7 GET DIAGNOSTICS
_7.3 °³¹ß »ý»ê¼º
__7.3.1 LIMIT ROWS EXAMINED
__7.3.2 DELETE...RETURNING
__7.3.3 ¸¶ÀÌÅ©·Î ÃÊ ´ÜÀ§ÀÇ ½Ã°£ ÀúÀå
__7.3.4 DATETIME ŸÀÔÀÇ ±âº»°ª ¼³Á¤
__7.3.5 Á¤±Ô Ç¥Çö½Ä ±â´É È®Àå
__7.3.6 °¡»ó(Virtual) Ä®·³
__7.3.7 µ¿Àû(Dynamic) Ä®·³
_7.4 ÆÄƼ¼Ç
__7.4.1 ¸í½ÃÀû ÆÄƼ¼Ç ÁöÁ¤
___7.4.1.1 ¸í½ÃÀû ÆÄƼ¼Ç ÁöÁ¤ »ç¿ë¹ý
___7.4.1.2 ¸í½ÃÀû ÆÄƼ¼Ç ÁöÁ¤ ±â´ÉÀÇ ¿ëµµ
__7.4.2 ÆÄƼ¼Ç Å×ÀÌºí ½ºÆäÀ̽º ±³Ã¼(Exchange)
_7.5 ¹é¾÷
__7.5.1 ¹ÙÀ̳ʸ® ·Î±× ¿ø°Ý ¹é¾÷
__7.5.2 XtraBackup ¼Ò°³
___7.5.2.1 XtraBackup ÆÐÅ°Áö ±¸¼º
___7.5.2.2 XtraBackupÀÇ ¿ø¸®
___7.5.2.3 XtraBackupÀÇ ±âº» »ç¿ë¹ý
__7.5.3 XtraBackupÀÇ ±â´É
___7.5.3.1 ½ºÆ®¸®¹Ö ¹é¾÷
___7.5.3.2 ¾ÐÃà
___7.5.3.3 ¾ÏÈ£È
___7.5.3.4 ½½·¹ÀÌºê ¹é¾÷
___7.5.3.5 º´·Ä(Parallel) ¹é¾÷
___7.5.3.6 ¹é¾÷ ¼Óµµ Á¶Àý
___7.5.3.7 °³º° Å×ÀÌºí º¹±¸
___7.5.3.8 FLUSH TABLES WITH READ LOCK °³¼±
__7.5.4 XtraBackupÀÇ °í±Þ »ç¿ë¹ý
___7.5.4.1 PIT(Point In Time) º¹±¸
___7.5.4.2 ÁõºÐ(Incremental) ¹é¾÷
___7.5.4.3 ºÎºÐ(Partial) ¹é¾÷
___7.5.4.4 ÄÄÆÑÆ®(Compact) ¹é¾÷
___7.5.4.5 ½ºÆ®¸®¹Ö(Streaming) ¹é¾÷
___7.5.4.6 ¾ÏÈ£È(Encrypt) ¹é¾÷
¢Ã 08Àå: ·¹Çø®ÄÉÀ̼Ç
_8.1 ±Û·Î¹ú Æ®·£Àè¼Ç ¾ÆÀ̵ð(Global Transaction ID)
__8.1.1 ±Û·Î¹ú Æ®·£Àè¼Ç ¾ÆÀ̵ð(GTID)¶õ?
__8.1.2 ±Û·Î¹ú Æ®·£Àè¼Ç ¾ÆÀ̵ðÀÇ Çʿ伺
__8.1.3 MariaDB 10.0 ±Û·Î¹ú Æ®·£Àè¼Ç ¾ÆÀ̵ð
___8.1.3.1 GTID¸¦ ÀÌ¿ëÇÑ º¹Á¦ ±¸Ãà
___8.1.3.2 GTID¸¦ »ç¿ëÇÑ º¹Á¦ °ü¸®
___8.1.3.3 GTID¸¦ ÀÌ¿ëÇÑ ½½·¹À̺꿡¼ Æ®·£Àè¼Ç °Ç³Ê¶Ù±â
__8.1.4 MySQL 5.6 ±Û·Î¹ú Æ®·£Àè¼Ç ¾ÆÀ̵ð
___8.1.4.1 GTID¸¦ ÀÌ¿ëÇÑ º¹Á¦ ±¸Ãà
___8.1.4.2 GTID °ü·Ã ÇÔ¼ö
___8.1.4.3 GTID À̺¥Æ® °Ç³Ê¶Ù±â
_8.2 ¸ÖƼ ¼Ò½º º¹Á¦(Multi-source replication)
__8.2.1 ¸ÖƼ ¼Ò½º º¹Á¦ °ü·Ã ¸í·É
__8.2.2 ¸ÖƼ ¼Ò½º º¹Á¦ ±¸Ãà
__8.2.3 ¸ÖƼ ¼Ò½º º¹Á¦¿Í ±Û·Î¹ú Æ®·£Àè¼Ç
_8.3 ¸ÖƼ ½º·¹µå º¹Á¦
__8.3.1 MySQL 5.6ÀÇ ¸ÖƼ ½º·¹µå º¹Á¦
__8.3.2 MariaDB 10.0ÀÇ ¸ÖƼ ½º·¹µå º¹Á¦
_8.4 Å©·¡½Ã ¼¼ÀÌÇÁ(Crash safe) ½½·¹À̺ê
__8.4.1 MariaDB 10.0ÀÇ Å©·¡½Ã ¼¼ÀÌÇÁ º¹Á¦
__8.4.2 MySQL 5.6ÀÇ Å©·¡½Ã ¼¼ÀÌÇÁ º¹Á¦
_8.5 ROW ±â¹ÝÀÇ º¹Á¦ ±â´É °³¼±
__8.5.1 ROW Æ÷¸ËÀÇ ¿ë·® ÃÖÀûÈ
__8.5.2 ROW Æ÷¸Ë ¹ÙÀ̳ʸ® ·Î±×¸¦ À§ÇÑ Á¤º¸¼º ·Î±× À̺¥Æ®
___8.5.2.1 MariaDB ÁÖ¼® À̺¥Æ®
___8.5.2.2 MySQL 5.6ÀÇ Á¤º¸¼º ·Î±× À̺¥Æ®
_8.6 Áö¿¬µÈ º¹Á¦
_8.7 MariaDB¿Í MySQL ¼¹ö°£ÀÇ º¹Á¦
_8.8 ±× ¿ÜÀÇ ±âŸ ±â´É °³¼±
__8.8.1 ¹ÙÀ̳ʸ® ·Î±× üũ¼¶
__8.8.2 ¹ÙÀ̳ʸ® ·Î±× API
__8.8.3 ¹ÙÀ̳ʸ® ·Î±× ±×·ì Ä¿¹Ô