ï¼ï¼£ï¼®ï¼®ï¼Â ç±³ã°ã¼ã°ã«ãï¼ï¼ï¼ï¼å¹´ã«è²·åããããããã¡ã¼ã«ã¼ã®ãã¹ãã³ã»ãã¤ããã¯ã¹ããã®ã»ã©ãããããç¬ãã¹ããããã®åç»ãæ«é²ãããç¬ã®ããã«èµ°ã£ããé段ãä¸ã£ãããããã¨ãã§ãã人éã«è¶³è¹´ã«ããã¦ãï¼æ¬ã®è¶³ã§ãã©ã³ã¹ãä¿ã£ã¦å§¿å¢ãç«ã¦ç´ããããããã®åç»ããã£ããã«ããããããè¹´ããã¨ã®å«çåé¡ã«ã¤ãã¦ã®è«è°ãçãã«ãªã£ã¦ããã ããããã®åä½ãå¤è¦³ãçãç©ã«ä¼¼ãã°ä¼¼ãã»ã©ããããçãç©ã§ã¯ãªãã¨æããã¨ã¯é£ãããªããçææ稿ãµã¤ãã®ãã¤ãã¿ã¼ã«ã¯ãããªæ稿ãç¸æ¬¡ãã ã ãããããã¯ç´ æ´ãããï¼ãã§ããããè¹´ãããã®ã¯å¯åæ³ã«æãããæ¬å½ã«ç¬ã¿ããã ã£ããããæ°ã®æ¯ãªã¹ãããï¼ã ããã®å¯åæ³ãªãããããã¡ãè¹´ãã®ãããã¦ãããããã¤ããä½ãããã£ã¦ãããã ã ãç¬ãè¹´ãã®ã¯ããã¨ãããããç¬ã ã£ãã¨ãã¦ããééã£ããã¨ã«æããã ä¸æ¹ã§ããã°ã¼ã°ã«ãå®å®æ§ã試ãããã«ããããç¬ãè¹´
ãããã§ããªãããã ã¨æã£ã¦èª¿ã¹ã¦ãããªãã£ãã ORDER BY FIELD(ã«ã©ã å, INã®ãªã¹ã...)ã§ãããã®ãã便å©ã ã¼ã http://lists.mysql.com/mysql/209784 SELECT id, start_date FROM iddt WHERE id IN ('109k7','s3x6','sxmns','wt57') ORDER BY FIELD(id,'109k7','s3x6','sxmns','wt57')
ãã¼ã¿ãã¼ã¹ã®éç¨ã§é¿ããããªãã®ããããã¯ç«¶åã«ãã£ã¦èµ·ããã·ã¹ãã ãã©ãã«ã¸ã®å¯¾å¿ã§ããã2æã¾ã§ã«çµããã¯ãã®ãããå¦çãæã«ãªã£ã¦ãçµãã£ã¦ããªããã¨ããè² è·ãé«ãããã§ããªãã®ã«ã·ã¹ãã ãç¡å¿çã«ãªã£ã¦ãããã¨ãã£ããã©ãã«ãçºçããã¨ããDBã¨ã³ã¸ãã¢ã¯ãããããã¯ç«¶åã«ãããã®ãªã®ãã©ãããåãåãã¦ãé©åã«å¯¾å¦ããªããã°ãªãã¾ããã ããã¾ã§InnoDBã¯ããã¯ç«¶åã«å¯¾ãã¦ã»ã¨ãã©æã¤æããªãã£ãã®ã§ãããæè¿ãããã対å¦æ¹æ³ãã§ã¦ãã¾ãããä»æ¥ã¯ãã®æé ã確èªãã¦ããããã¨æãã¾ãã åæ ä»åãç´¹ä»ããæé ã¯ãMySQLã®ä»¥ä¸ã®ãã¼ã¸ã§ã³ã対象ã«ãã¦ãã¾ãã MySQL 5.1ï¼InnoDB Plugin 1.0 MySQL 5.4 ãããªããã¼ãã«ãä¸ãã¦ãã¾ã£ã¦ç³ã訳ããã¾ãããããã¼ã¸ã§ã³5.0以ä¸ãç´ ã®5.1ã§ã¯ä½¿ãã¾ããã®ã§ã注æãã ããã以éã®å®è¡ä¾ã¯ãã¹ã¦
InnoDBã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ã«ã¯Â InnoDB Monitor ã¨ããæ©è½ããã£ã¦ã ã ããã`SHOW ENGINE INNODB STATUSã®çµæãã¨ã©ã¼ãã°ãã¡ã¤ã«ã«å®æçã«åãåºãã¦ããã'ã¨ããã¤ã¡ã¼ã¸ãããã mysql> CREATE TABLE innodb_monitor ( hoge int ); $ tail -f error.log ===================================== 130306 10:09:30 INNODB MONITOR OUTPUT ===================================== Per second averages calculated from the last 20 seconds ----------------- BACKGROUND THREAD ------------
2/9ã«å ¥ç¤¾ã決ãã¦ãããããæ¥é±ããè¡ãã¾ããããã¯ãããããããã§ãã¿ãããªæãã§ä»æ¥ããåºç¤¾ãã¦ã¾ãã æ¥é±ã«ã¯ç¤¾å¡æ è¡ãããããããããããã§ãããå¿é ã§ãã Cookpadã§ã¯ã¤ã³ãã©ã¹ãã©ã¯ãã£é¨ã«æå±ãã¾ãã ä¸å¸ã¯mirakuiããã§ããä»æ¥ã¯ã©ã¼ã¡ã³ä½ã£ã¦ãããã¾ããã ç´°ãããã¨ã¯æ±ºã¾ã£ã¦ãªãã§ãããAWSã¡ã¤ã³ã®ã¤ã³ãã©ã¨ããè¦ã¦ããã¨ã«ãªãã¾ãã èªåã¯ä»ã¾ã§ã¯ãªã³ãã¬ãã¡ã¤ã³ã®äººã§ããã¡ã·ãªãã£ãNWãè³ç£ç®¡çã¨ããã©ããã³ã°ãã±ã¼ããªã³ã°ã¨ãããå¾æã ããã£ãã好ãã§ããã ãã®ã¸ãã¯å人ããããããªãã®ã§åå ¥éå£ãé«ãã¦éè¦ããããã ãã©ã ã©ããã¦ã大è¦æ¨¡åãã¹ãã«ã«ãªã£ã¦ãã¦ãèªåã¯ããã¾å¤§è¦æ¨¡å¿åã¨ãã¹ãã·ã£ãªã¹ãå¿åãç¡ãã®ã§ãä»å¾èããã¨ã©ãã ãããªããã¨æã£ã¦ã¾ããã ããã§å¼·å¶çã«ãããç¡ãç°å¢ã«ãã¦ããã®ã¶ãéçºåºç¤ã®ä»çµã¿ä½ããããã¸ã¡ã³ãã¿
Zabbixããé害éç¥ãã¡ã¼ã«éä»ããã¦ãããã ç£è¦ç«¯æ«ã¯å¿ è¦ã«ãªã£ãæã«å¿ãããã¼ã¸ã§ã³ãå©ç¨ãã¦ããã ãããªä¸ãã¡ã¼ã«ã®æ¬æã«Zabbixã®ãã¯ããå©ç¨ããå¿ è¦ãåºã¦ããã®ã ãããã¯ãããã®ã¾ã¾è¡¨ç¤ºãããçç¶ã«ã¶ã¡å½ãã£ãã®ã§ããã¼ã¸ã§ã³å¥ã®ãã®ãã¾ã¨ãã¦ããã â» åã¢ããçã§ãã 1ã¤1ã¤ã«ãããçµ±ä¸æããªãããã£ã¨è¦ã«ããã£ãã®ã§ããã®ã¾ã¾ã«ãã¾ããã è¿½è¨ 2014/9/19 9/11ã«Zabbix2.4ããªãªã¼ã¹ããã¾ãããã ä»ã§ãæ¬è¨äºãã¹ããã¯é ãæ¹ãããã£ãããããã§ãã®ã§ãv2.4ã«å¯¾å¿ããã¾ããã http://qiita.com/AH_korikori/items/9350f94676cfcb7e734a.md ä¸é¨ããã«è¦é£ããªãç®æããããã¾ãããä¸è¨URLã«ã¦Markdownå½¢å¼ã§é²è¦§ãã¦é ããªã©ã ã対å¿ããã ãã¾ããã幸ãã§ãã 追è¨2 2015
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}