InnoDB INFORMATION_SCHEMA Transaction and Locking Information
MySQL Performance Blogã®ç¿»è¨³ãALTER TABLEã«ãããã¼ãã«å¤æ´ã®é²æç¶æ³ã確èªããã«ã¯ãããã¤ãã®æ¹æ³ããããããããã®æ¹æ³ã¨å©ç¹ãæ¬ ç¹ãç´¹ä»ããã February 26, 2014 By Nilnandan Joshi Percona Supportã®ã¨ã³ã¸ãã¢ã¨ãã¦ç¾å¨é¢ãã£ã¦ããæ¡ä»¶ã®ä¸ã§ãALTER TABLEã®é²æç¶æ³ã確èªããæ¹æ³ã«ã¤ãã¦é¡§å®¢ããå°ãããããå®ã¯ãMySQL 5.5以åã¯ããã¼ãã«ã«å¯¾ããALTERã®å®è¡ç¶æ³ãæ¬çªç°å¢ã§ç¢ºèªããã®ã¯å°ã é£ããã(æ°ç¾ä¸è¡ããããããª)巨大ãªãã¼ãã«ã§ã¯ãªãããã ã£ããããã¯ããªãã«ãã¨ãã¼ãã«ã®ããã¯ãä¼´ããããããã©ã¼ãã³ã¹ä½ä¸ã ãã§ãªãã¦ã¼ã¶å½±é¿ããã£ãããã ãã¨ã¯ãããALTERãå§ãã¦ãã¾ãã°ãããããã¤çµããã®ããç¥ãã®ã¯ã¨ã¦ãéè¦ãªãã¨ã ãã¤ã³ããã¯ã¹ãä½æãã¦ããéãfast_ind
ããã«ã¡ã¯ï¼ onk ã§ãã SAPãããå社ã¨ããã½ã¼ã·ã£ã«ã¢ããªã¯è² è·å¯¾çã大äºãã£ã¦è¨ã£ã¦ãã¾ãããå¼ç¤¾ã§ã mixi ã¢ããª(PC)ï¼mixi ã¢ããªã¢ãã¤ã«ããªãªã¼ã¹ããã¨ãã¯ãç¥ãç¶æ ã ã£ãã®ã§ï¼ãµãããããå ¼ã㦠MySQL ã®ããã«ããã¯ã調ã¹ãæ¹æ³ãæ¸ãã¦ã¿ã¾ããã(幸ãï¼ã¢ãã²ã¼ãªã¼ãã³ã²ã¼ã ã®ãªãªã¼ã¹æã¯ãããã®çµé¨ãå½¹ã«ç«ã£ãã®ã§ä½ã¨ããªãã£ãã§ã) ã¨ãã£ã¦ã 9 å²æ¹ ãããããµã¼ãã®è¨å®ããããã æ´æ°ãå¤ããã¼ãã«ãªã®ã« MyISAM ã¨ã³ã¸ã³ for æã®ä¸ã§ã¯ã¨ãªãçºè¡ INDEX å¼µã£ã¦ãªã ãã¼ã¿éãããããã¨ã«ãªã£ã¦ã 辺ããªãã§ããã©ãã¼ã åºæ¬ã¯ä¸ãã ã¾ãï¼ããã«ããã¯ã調ã¹ãã¨ãã¯ä¸ã®å±¤ããä¸ãã£ã¦ããã®ãåºæ¬ã§ãããã¶ãã ãªã®ã§ ssh ã§ãµã¼ãã«å ¥ã£ã¦ (LoadAverage 300 ãããã¾ã§ãªããªãã¨ãå ¥ãã¾ãã) 以ä¸ã®ã³ãã³
ããã ãè¦ãã°å¤§ä¸å¤«ï¼ã¼MySQLããã©ã¼ãã³ã¹ç£è¦ã®ããï¼ã·ã¹ãã ç·¨ï¼ ããã«ã¡ã¯ nob ã§ãã åç·¨ãããã ãè¦ãã°å¤§ä¸å¤«ï¼ã¼MySQLããã©ã¼ãã³ã¹ç£è¦ã®ããï¼ã¯ã¨ãªç·¨ï¼ãã®è¨äºããï¼å¹´åãçµéãã¦ãã¾ãã¾ãããã¡ãã£ã¨é·ããä¼ã¿ã§ãããããã®éã«èãã MySQL ããã©ã¼ãã³ã¹ç£è¦ã®å®æ¦çµé¨ãï¼ã·ã¹ãã ç·¨ï¼ã¨ãã¦ãå±ããããã¾ãï¼ ä»åã®ï¼ã·ã¹ãã ç·¨ï¼ã§ç´¹ä»ãããã㯠4 ã¤ã§ããï¼ã¯ã¨ãªç·¨ï¼ã®ããã«å ãã¦ããã®4ã¤ã«æ³¨ç®ãã¦é ããã° MySQL ã®ããã©ã¼ãã³ã¹ç£è¦ãããããªã§ãã ï¼ããï¼ï¼Load Average < (1 + (cpuæ°-1)/3) ï¼ããï¼ï¼Checkpoint Age ãæ°´å¹³ç·ã«ãªã£ããè¦æ³¨æ ï¼ããï¼ï¼MyISAM ã¯ç¡ãããç£è¦ ï¼ããï¼ï¼ä¸è½é¸æã¹ãã¼ãã° ãªãåç·¨ã¨åæ§ãã®è¨äºã§ã¯ç£è¦ãã¼ã«ã¨ãã¦Â Cacti 㨠Percona MySQL
ãããããªå¿ è¦ãªãã ããã£ã¦è¨ãããã¨æãã¾ãããæãã¤ãã§ãã£ã¦ã¿ãã®ã§æ¸ãã¾ãã çµç·¯ã¦ãã®ç°å¢ã§ã¯ã²ã¨ã¤ã®DBãµã¼ãã¼ãè¤æ°åã®éçºè ã§ããã£ã¦ããããã¼ã¿ãã¼ã¹ã»ãã¼ãã«å®ç¾©ã®å¤æ´ã¯ç¹ã«ä½ç³»ç«ã¦ã¦è¨é²ãã¦ãã¾ããã ããã®ã«ã©ã 追å ã£ã¦ä¿ºããã£ãã®ã¯è¦ãã¦ããã ãã©ããã¤ãã£ããã ã£ãï¼ãã¿ãããªãã¨ããã¾ã«ããã¾ããã ããã§ã¯ã¾ããï¼ãããããªãï¼ã¨æã£ããã®ã®ãMySQLå´ã§ãããèªåã§è¨é²ããæ¹æ³ãç¨æããã¦ãã¾ãããï¼ç§ã®ç¥ãéãã§ã¯&&æ¨æºã§ã¯ï¼ phpMyAdminãªã©ã®UIã使ãã°ãã®ãã°ã§è¨é²ã§ãã¾ãããããªãããã®UIã使ãã¨ã¯éãã¾ããã ãããªãããããã¦ãããããPHPã®ãã¡ã¤ã«ã®ãã¼ã¸ã§ã³ç®¡çãããããã«Gitãå°å ¥ããï¼ã¨ãããSubversionããä¹ãæããï¼ãã§ãããããããªããªã便å©ãªãã®ã ã£ãã®ã§ãããæµç¨ã§ããªããã¨èãã¦ã¿ããã§ãã çµæ
äºæ¥å 容 å人äºæ¥ä¸»ã¨ãã¦ãã¦ã§ãã·ã¹ãã ã»ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã®éçºã»éç¨ï¼åè¨ï¼ãè¡ã£ã¦ãã¾ãã èªå·±ç´¹ä» åå: å±±ç°ç´è¡(Naoyuki YAMADA) å±å·: é§æ·ã¹ã¿ã¸ãª(Kirishiki Studios) ãã³ãã«ãã¼ã : hanputu Github Twitter Blog Blog(old) Note Facebook LinkedIn SlideShare SpeakerDeck YOUTRUST å¤åå /åå¼å (2024å¹´6ææç¹) æ ªå¼ä¼ç¤¾ãã¤ã«ã¯ã¼ã¯ã¹(æ£ç¤¾å¡) ããã¼ã³éçºé¨ ã·ãã¢ã¨ã³ã¸ãã¢ æ ªå¼ä¼ç¤¾ãµã¤ãã¼ã¨ã¼ã¸ã§ã³ã(æ¥åå§è¨) AILab çµæ¸å¦ç¤¾ä¼å®è£ ãã¼ã ãªãµã¼ãã¨ã³ã¸ãã¢ ä» æ¥åå§è¨ 1社 èå³ã»ã¹ãã« ããã¯ã¨ã³ãå¯ãã®ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ã å°ããªéçºãã¼ã ã§ã®ç«ã¡ä¸ãããé·æã®éç¨ã¾ã§ãã¦ã§ããµã¼ãã¹ã®éçºéç¨å ¨è¬ã«èå³
1. <Insert Picture Here> MySQL æ¥æ¬èªå©ç¨å¾¹åºå ¥é æ¥æ¬ãªã©ã¯ã«æ ªå¼ä¼ç¤¾ MySQL Global Business Unit ãã¯ãã«ã«ã¢ããªã¹ã 奥éå¹¹ä¹ 2012 å¹´ 5 æ 29 æ¥ Copyright© 2012, Oracle. All rights reserved. 2. 2 以ä¸ã®äºé ã¯ãå¼ç¤¾ã®ä¸è¬çãªè£½åã®æ¹åæ§ã«é¢ããæ¦è¦ã説æãããã®ã§ããã¾ ããæ å ±æä¾ãå¯ä¸ã®ç®çã¨ãããã®ã§ããããããªãå¥ç´ã«ãçµã¿è¾¼ããã¨ã¯ã§ã ã¾ããã以ä¸ã®äºé ã¯ããããªã¢ã«ãã³ã¼ããæ©è½ãæä¾ãããã¨ãã³ãããã¡ã³ãï¼ç¢º ç´ï¼ãããã®ã§ã¯ãªãããã購買決å®ãè¡ãéã®å¤æææã«ãªãããªãã§ä¸ããã㪠ã©ã¯ã«è£½åã«é¢ãã¦è¨è¼ããã¦ããæ©è½ã®éçºããªãªã¼ã¹ããã³ææã«ã¤ãã¦ã¯ãå¼ ç¤¾ã®è£éã«ãã決å®ããã¾ãã Oracle 㨠Java ã¯ã Oracle Cor
2002 å¹´ 2 æã«éè¨ãã¾ããã³ã ã®ããããããã¯ã2009 å¹´ 7 æã«æ¥æ¬åã®Androidç«¯æ« HT-03A ã®çºå£²ãæ©ã« And... åä¾ç¨ã®ã¹ãã¼ããã©ã³ã«ã²ã¼ã ã ããå ¥ãã¦ä½¿ããã¦ããã®ã§ãããåºåãã¿ãããã¦ã¢ããªãåæã«å ¥ãã¦ãã¾ã£ããåºåãã¼ã¸ãéãã¦ãã¾ããªã©ã®...
[追è¨ï¼] æå¾ã§èª¬æãã¦ããproxy cacheã®è¨å®ãä¿®æ£ãã¾ããã [追è¨ï¼] nginx proxy cacheã§ãã£ãã·ã¥ããªãå ´åã®å¦çãå¤æ´ãã¾ããã [追è¨ï¼] ã¹ãã¼ããã©ã³ãæºå¸¯ã§é²è¦§ããæã«ãã£ãã·ã¥ããªãè¨å®ã追å ãã¾ããã ã¯ãã㫠大ãããªé¡åã§ãããä»åã¯WordPressåä½ãéãããã®ã§ã¯ãªãããã¼ã¿ãã¼ã¹ãWebãµã¼ããªã©ã®èª¿æ´ãã¾ãnginxã®proxy cacheæ©è½ã使ã£ã¦éããã話ã«ãªãã¾ãã ãµã¤ãã®æ§æã«ãã£ã¦ã¯ãproxy cacheã¯ä½¿ããªãããããã¾ãããã使ããªãã¦ã5åç¨åº¦éããããã¨ã¯ã§ãã¾ããã®ã§ãåèã«ãã¦ããã ããã°ã¨æãã¾ãã ä»åè¡ããã¥ã¼ãã³ã°ä¸è¦§ DBãæé©åãããã©ã°ã¤ã³ãå°å ¥ãã APCãå°å ¥ãã¦PHPãéããã MySQLãéããã éãWordPressãã©ã°ã¤ã³ãå¤ã nginx+FastCGIã«ãã W
XtraBackupã¨ã¯ Percona社 ãéçºãã¦ãããªã¼ãã³ã½ã¼ã¹ã®MySQLã®ããã¯ã¢ãããã¼ã«ã§ããInnoDB, XtraDBã¨MyISAMã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ããããã¯ãããã¨ãªãããã¯ã¢ãããããäºãåºæ¥ã¾ããã©ã¤ã»ã³ã¹ã¯GPLv2ã§ç¡æã§ä½¿ãã¾ãã MySQLã®ããã¯ã¢ããæ¹æ³ã¨ãã¦ãã使ããã¦ããmysqldumpã¨ãããã¼ã«ãæãã¾ããã 大éã®ãã¼ã¿ãä¿åãã¦ãããã¼ã¿ãã¼ã¹ãããã³ããããã¼ã¿ããªã¹ãã¢ï¼å¾©æ§ï¼ããæã«é常ã«æéãæãã£ã¦ãã¾ãã¨ããæ¬ ç¹ãããã¾ãã ããã§ã¯ãmysqldumpã¨XtraBackupã使ã£ã¦ããã¯ã¢ãããåãã両è ã®ããã¯ã¢ããã¨ãªã¹ãã¢ã®ã¹ãã¼ãã®éããæ¯è¼ãã¦ã¿ã¾ãã 使ç¨ãããµã¼ãã¯ä»¥ä¸ã®éãã§ã ãµã¼ã ãããã®ã¯ã©ã¦ãããã©ã³8ãCPUä»®æ³4ã³ã¢ãã¡ã¢ãª24GBãHDD100GB OS CentOS 5.7 64bit M
ãã®ã¨ã³ããªã¼ã¯ãMySQL Casual Advent Calendar 2011 â MySQL Casual ã®ç¬¬ 19 æ¥ç®ã®ã¨ã³ããªã¼ã§ãã çããããã«ã¡ã¯ãn0ts ãã¨ãNaoya Nakazawa ã§ãã ä»æ¥ã¯ãã¿ãªããæ¥é ããã«ã¸ã¥ã¢ã«ã« MySQL ãéç¨ãã¦ãæ¥ã çæ´»ããã¦ãããã¨ã¨æãã¾ããMySQL ã¯ãé常ã«å®å®ãããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã ã¨æãã¾ãããã©ããªãã®ã§ãã¨ãã«ã¯ãããããªã£ãããããã®ã§ãã ãåãããã°æããªããã¨ãããã¨ã§ãåã¯æ¥é ãã Nagios ã¨ãããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ãå©ç¨ãã¦ãMySQL ããããããªã£ã¦ããããæ¥ã ã«ã¸ã¥ã¢ã«ã«ç£è¦ãã¦ãã¾ãã ä»æ¥ã¯ãã«ã¸ã¥ã¢ã«ã« MySQL ã Nagios ã使ã£ã¦ç£è¦ããæ¹æ³ãç´¹ä»ãããã¨æãã¾ãããªããä»å㯠CentOS 5.7 x86_64 ã¨ããã«ã¸ã¥ã¢ã«ãª Linux
ã¬ããªã±ã¼ã·ã§ã³ã¯MySQLã§æããã使ãããæ©è½ã®ã²ã¨ã¤ã ãã¬ããªã±ã¼ã·ã§ã³ã¯åºæ¬çã«éåæã§ãã¼ã¿ã®è¤è£½ãè¡ãä»çµã¿ã«ãªã£ã¦ããã®ã ããéåææ ã«ã©ããã¦ãéããããªãåé¡ãããããã®ã²ã¨ã¤ãä»åã®ãã¼ããé 延ã§ãããã¨ããã¨ãMySQLã®ã¬ããªã±ã¼ã·ã§ã³ã¯ããã«é 延ãçãã¦ãã¾ãããã«æãã¦ãã¾ãããç¥ããªããããã®ãããªãã¨ã¯ãªããã»ã¨ãã©ã®å ´åã¯å³åº§ã«ã¹ã¬ã¼ãã®æ´æ°ãè¡ãããã ãªãé 延ã¯çºçããã®ããã©ã®ããã«é 延ãèµ·ãã¦ãããã¨ã調ã¹ãã®ããã©ã®ããã«åé¿ããã®ãã¨ãããã¨ãæ¬ã¨ã³ããªã§ã¯è§£èª¬ãããããã¾ãé 延ã¨ä»ãåã£ã¦ãMySQLã®ã¬ããªã±ã¼ã·ã§ã³ãããå¿«é©ã«éç¨ãã¦ããããã°ã¨æãã ããããé 延ã¨ã¯ä½ãMySQLã®ã¬ããªã±ã¼ã·ã§ã³ã¯éåæã§è¡ããããããã¯æºåæã§ãåãã§ãããã¹ã¬ã¼ãã«ããã¦æ´æ°ãèµ·ããã®ã¯ãã¹ã¿ã¼ãããä¸ç¬é ãã¦ãã¾ããããã¯éåæã§ãããæ ã«éã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}