Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
ã¬ããªã±ã¼ã·ã§ã³ãã¦ãMySQLã§ããã¹ã¿ãã¹ã¬ã¼ããé害åæ¢ããå ´åã®ãªã«ããªãã©ã³ ã§ãæ²ããã´ã¼ã«ã§ãããããã¹ã¿ãè½ã¡ã¦ããã¼ããå¯ã¦ããããããã«ãããããã»ã¼ã§ããã®ã§ãã»ã¨ãã©ãµã¼ãã¹ãåæ¢ãããã¨ãªãããã§ã¤ã«ãªã¼ãããæ§ãã¹ã¯ãªã¼ã³ãã£ã¹ãã«åãã¾ããã åãè¾¼ã¿ãã¬ã¤ã¤ã¼ã ã¨ãå°ããã¦ããããªãã¨æãã®ã§ããªã³ã¯ç´æ¥ã§ã¿ã¦ãã ããã http://www.irori.org/pub/mysql-mm.mov ç»å ´ãããã¹ã ç»å ´ãããã¹ãã¯2å°ãdb901ã¨db902ã§ãã æåã¯ãdb901ãæ´æ°ç³»ã¯ã¨ãªãåãããã©ã¤ããªã§db900ã®æµ®åIPã¢ãã¬ã¹ãæã£ã¦ãã¾ãã ç»é¢åå² ç»é¢ã¯5åå²ãã¦ãã¾ãã å·¦ä¸ = ãselect sysdate(),@@server_idããdb900ã«å¯¾ãã¦(sleep 1ããªãã)延ã ã¨å®è¡ãã¾ãããã å³ä¸ = ping -n
Twitterã§è©±é¡ã«ãªã£ã¦ãã®ã§ç°¡åã«ã¾ã¨ãã¾ããã âMyISAMã«ããç¡ãæ©è½ã使ãããå ´åã¯MyISAMã使ããããªã ã»å ¨ææ¤ç´¢ (TritonnãSphinx) ã»GIS âInnoDBã®å©ç¹(MyISAMã®æ¬ ç¹) â²é害対å¿ç³» ã»ã¯ã©ãã·ã¥ãã¦ãåèµ·åããã ãã§ãªã«ããªãã§ãã ã»ã¯ã©ãã·ã¥ãªã«ããªã«ãããæéã¯ãã¼ãã«ãµã¤ãºã«æ¯ä¾ãããããªãã¨ã¯ãªããã³ãããæ¸ã¿ã®ãã¼ã¿ã¯ä¿®å¾©ã§ãã (巨大ãªMyISAMãã¼ãã«ã®REPAIRã«ã¯æ°æ¥åä½ã§æéãããããã¨ããã) ã»ãªã³ã©ã¤ã³ããã¯ã¢ãããã§ãã ã»INSERTãLOAD DATAãªã©ãå®è¡ãã¦ããéä¸ã§Ctrl+Cã§ãã®æ´æ°ç³»SQLæãæ¢ãã¦ãããã¼ãã«ã¯å£ããªãããä¸éå端ãªç¶æ ã§æ´æ°ããããã¨ãç¡ãããã¹ã¬ã¼ããæ¢ã¾ããã¨ãç¡ã â²æ§è½ç³» ã»è¡ã¬ãã«ããã¯ãªã®ã§ä¸¦åæ§ãé«ã(MyISAMã¯ãã¼ãã«ããã¯)ãã¾ãSEL
MySQLã§ãã¬ããªã±ã¼ã·ã§ã³ãã¼ã¹ã®HAãªæ§æã«ã¤ãã¦èããã¡ã¢ã§ãã 3å°(ã¨ããã2å°ï¼1å°)ãããããªãã¨æã£ã¦ãã¦ãååã¯ãã®çç±ããå¾åã§ã¯{ãã¹ã¿,ã¹ã¬ã¼ã}ã{åèµ·ä¸è½ã«ãªã£ã,ã¡ãã£ã¨ãã¦ã³ãã¦ãã復帰ãã}å ´åã®ãªã«ããªãã©ã³ã«ã¤ãã¦æ¸ãã¾ãã ä»ã®ã¨ããã¯ããããã¹ãããªã¨æã£ã¦ããã®ã§ããããããããã»ããããã¨æãï¼ãããããããããï¼ããªã©ãªã©ã®ãæè¦ã¯ã³ã¡ã³ããTBãªã©ã§ããã ããã¨ããããã§ãã ã´ã¼ã« ãã¹ã¿ãè½ã¡ã¦ããã¼ããå¯ã¦ããããããã«ããã ãªã«ããªã®ä½æ¥ã¯ã§ããã ãåç´ã«ããã¤ãçæéã§å®äºããããã«ããã ããã©ãããã®ã¯ãã åºæ¬æ§æãæ¹é 2å°ï¼1å° ãµã¼ãã¹ã§ä½¿ãã®ã¯2å° (db1, db2) ãã1å°ã¯ç®¡çç¨ (db3) ã¹ã¬ã¼ããå¤æ°ä¸¦ã¹ãæ§æã«ã¯ããªã å°æ°å¢ããã¨ç®¡çã³ã¹ããä¸ãã ãã¹ã¿ãã¦ã³æã®ãã§ã¤ã«ãªã¼ãã¨ãã®ãã§ã¤ã«ã
ãã¼ãPCã®å·å´ãã¡ã³ãããããã®ã対å¦ãããã¨ãã¦Webã§èª¿ã¹ããããã®ãã¡ã³ã®è¨è¨è ããéé³æ§ã¸ã®ãã ããããèªã£ããã¼ã¸ã«ãã©ãçãã¦è¤éãªå¿å¢ã®mikioã§ããä»åã¯ãTokyo Cabinetï¼TCï¼ã®ææ°ãã¼ã¸ã§ã³ã§å®è£ ãããåçããã©ã°æ©è½ã«ã¤ãã¦é·ã ã¨èª¬æãã¾ãã æçåã¨ããã©ã° ä»»æã®ãµã¤ãºã®ãã¼ã¿ã管çããè¨æ¶è£ ç½®ã«ããã¦ã¯ãå©ç¨å¯è½é åã®æçåï¼fragmentationï¼ã®åé¡ã常ã«ã¤ãã¾ã¨ãã¾ãããã¡ã¤ã«ã·ã¹ãã ä¸ã§ä»»æã®ãµã¤ãºã®ãã¡ã¤ã«ã管çããéã«ãããã¼ã¿ãã¼ã¹ãã¡ã¤ã«å ã§ä»»æã®ãµã¤ãºã®ã¬ã³ã¼ãã管çããéã«ããCè¨èªã®malloc/freeé¢æ°ç¾¤ã§ã¡ã¢ãªã®ç®¡çãããéã«ããæ§ã ãªã¬ã¤ã¤ã§æçåãèµ·ãããã®ã§ãããªããªãããã¼ã¿ãåé¤ãããã¯ç§»åããéã®ç©ºãé åãåå©ç¨ããã«ããã£ã¦ããã®é åã¨åããµã¤ãºã®ãã¼ã¿ã常ã«å ¥ã£ã¦ããã¨ã¯éããªãããã§ããç¹ã«ã
Androidã§SQLiteã®DBæä½ãããããã®åºç¤ç¥èï¼Androidã§åãæºå¸¯Javaã¢ããªä½æå ¥éï¼6ï¼ï¼1/3 ãã¼ã¸ï¼ æ¬é£è¼ã§ãSDKã¨Eclipseã使ã£ã¦Androidã®æºå¸¯ç«¯æ«ã§åãJavaã¢ããªãä½æããAndroid Marketé å¸ãç®æãã¾ããã Androidã®ãã¼ã¿ãã¼ã¹ãããã¾æµè¡ä¸ã®ãSQLiteã Javaããã°ã©ãã¯ã大ããåããã¨2種é¡ã«åé¡ããã¾ããã¨ã³ã¿ã¼ãã©ã¤ãºã»ãµã¼ããµã¤ãç³»Javaããã°ã©ãã¨ãçµã¿è¾¼ã¿ç³»Javaããã°ã©ãã§ãã çè ã¯çµã¿è¾¼ã¿ç³»ã§ãããJavaãå§ãããã£ããã¯ãµã¼ããµã¤ãç³»ï¼æ£ç¢ºã«ã¯ãJavaã¢ãã¬ããï¼ã§ãããµã¼ããµã¤ãç³»ã§ã¯ãã¼ã¿ãã¼ã¹ã¯å¿ é ãã¨ãããããããæéè¦ã®ã·ã¹ãã ã§ãããçµã¿è¾¼ã¿ç³»ã§ã¯ãã¼ã¿ãã¼ã¹ã使ç¨ãããã¨ã¯ã»ã¨ãã©ããã¾ããã§ããããã ãããããã¾ã§ã¯ãã§ãã ä»åã¯Androidã«æ¨æºã§çµã¿è¾¼ã¾
ã©ãã¾ã§åºæ¥ãã?!ãããã¨ããã¾ã§ãã£ã¦ããã!!ã¨ãå¨å¢ãè¯ãã®ã¯è¥ãéã ãã®è©±ããªããã®ãªãã³ã¯ãæ»ããã¨ãã¯ã¨ãã¨ãæ»ãããèªãã®éçãããã¾ãã¦è³¢ãæ¯ãèãã®ãã¹ãã¼ãã£ã¦ãã®ã§ãããã¨ããããã§ãä»æ¥ã¯MySQLã®ãããããªéçã«ã¤ãã¦ã¾ã¨ãã¦ã¿ããçãããæ¯éMySQLã®éçãç¥ããMySQLããã£ã¨ã¹ãã¼ãã«ä½¿ã£ã¦é ãããã SQLæã®æå¤§é· MySQLãµã¼ãã¼ãå®è¡åºæ¥ãSQLæã®æ大é·ã¯ãmax_allowed_packetã·ã¹ãã å¤æ°ã§è¡¨ããããmax_allowed_packetã®æ大å¤ã¯1GBã§ãããmax_allowed_packetã®å¤ã¯ã»ãã·ã§ã³ãã¨ã«ãè¨å®å¯è½ãªã®ã§ãããã©ã«ãã§ã¯ããããã®å¤ï¼16MBãªã©ï¼ã«è¨å®ãã¦ããã¦ãå¿ è¦ã«å¿ãã¦å¤§ããªå¯¾ã使ãã¨è¯ãã ããã ãã¼ã¿ãã¼ã¹ã®åæ° ãã¼ã¿ãã¼ã¹ãªãã¸ã§ã¯ãã®åæ°ã«å¶éã¯ãªãããã¼ã¿ãã¼ã¹ãªãã¸ã§ã¯ãã¯
ããã®ã¨ãããjavaccã¨awsã«é äºããã¦ããç±³æã§ãã ãã使ãDB(Oracle/MySQL/PostgreSQL/SQLServer)ã«ãããè¨è¨æã®ãµã¤ãºè¦ç©ããã§ä½¿ããµã¤ãã®åå¿é²ã ãã¨ã¯ãOracleããã®Pythonæ å ±ã Oracle Oracle ç©çè¨è¨ http://www.oracle.com/technology/global/jp/columns/skillup/oracle9i/index.html é åãµã¤ãºè¦ç©ãã http://otn.oracle.co.jp/document/estimate/index.html OTNã«ãã°ã¤ã³ããå¿ è¦ããã¾ãããªã³ã©ã¤ã³ã§è¦ç©ãããåºæ¥ã¾ãã ã¢ã«ã¦ã³ãæã£ã¦ããªã人ã¯ããã®è¦ç©ãããã¼ã«ã使ãç®çã§ã¢ã«ã¦ã³ããä½ã£ã¦ã¿ã¦ã¯ãããã§ããããã OLTPç³»ã¨DWHç³»ã«ããã¦ãããã¯ãµã¤ãºãèæ ®ããDWHç³»ã¯ã
æ£ææ©ã ã¤ã³ãã«ã¨ã³ã¶ã«ããã£ã¦å¯è¾¼ãã mikioã§ããé»è»ã«ä¹ãæãç¹è¯è¡ãªã©ã«åºãæã¯ãã¹ã¯çç¨ãå¿ é ã§ããããã¦ä»åã¯ãTokyo Cabinetã§å®è£ ãããã¼ãã«æ¹å¼ã®ãã¼ã¿ãã¼ã¹ã«ã¤ãã¦ç´¹ä»ãã¾ããæå¤ã«ã©ããã¦å¼·åãªæ©è½ãªã®ã§ããã®ãã¿ã¯é£è¼ãããã¨ãäºåãã¾ãã ãã¼ãã«ãã¼ã¿ãã¼ã¹ã¨ã¯ ç°¡åã«è¨ãã°ããªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã®ãã¼ãã«ã®ããã«ãè¤æ°ã®åãããªãã¬ã³ã¼ããæ ¼ç´ã§ãããã¼ã¿ãã¼ã¹ã§ããSQLã表çµåãªã©ã®è¤éãªæ©è½ã¯ãµãã¼ããã¾ãããããã®ã¶ãé«éã«åä½ãã¾ããã¤ã¾ããDBMã®é度ã§åããªã¬ã¼ã·ã§ãã«é¢¨ãã¼ã¿ãã¼ã¹ã§ãï¼å³å¯ã«ã¯ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã§ã¯ããã¾ããï¼ã TCã®åºæ¬ã¨ãªãããã·ã¥ãã¼ã¿ãã¼ã¹ã¯ãåç´ãªkey/valueåã®ãã¼ã¿ãã¼ã¹ã§ãããã¤ã¾ããã¼ã«ãå¤ã«ãã¹ã«ã©ï¼æ°å¤ãæååãªã©ã®ç¹ã«æ§é ãæããªãåä¸ã®å¤ï¼ããæ ¼ç´ãããã¨ã¯ã§ãã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}