ãã¼ã¿ã解æããéã«Perlã¨Ensembl APIãçµã¿åããã¦ä½¿ç¨ãã¦ã¿ããã¨èãã¦ããã¾ããã·ã¹ãã æ§æã¨ãã¾ã㦠Macbook pro (SnowLeopard) Perl 5.13.9ã(perlbrewã§ã¤ã³ã¹ãã¼ã«æ¸ã¿) bioperl 1.6.1ã¤ã³ã¹ãã¼ã«æ¸ã¿ MySQL5.5.8(64bit)ãã¤ã³ã¹ãã¼ã«æ¸ã¿ï¼å¿ è¦ãªãããããã¾ãããï¼ DBI ã¯cpanã§ã¤ã³ã¹ãã¼ã«æ¸ã¿ ã¾ã§ã¯ãã¾ãã¤ã³ã¹ãã¼ã«ãã§ãã¦ããããã§ãMySQLãèµ·åã§ãã¾ãã 次ã«å¿ è¦ã¨ãªã DBD:mysql ãcpanãç¨ãã¾ãã¦ãã¤ã³ã¹ãã¼ã«ãããã¨ã¨æãã®ã§ããã¨ã©ã¼ãã§ã¾ããã ããã§ãDBD-mysql-4.018ãã½ã¼ã¹ã§ãã¦ã³ãã¼ããã¦ãmakeããã¨ãã¯ããcpanã®ã¨ãã¨åæ§ã« Argument "6.57_05" isn't numeric in numeric ge (>=
MySQL 5.1.4ããæ¨æºã§mysqlslapã¨ãããã³ããã¼ã¯ãã¼ã«ã追å ããã¾ããã*1 ä¾ãã°ã20ã¯ã©ã¤ã¢ã³ãããè¨10ä¸åã®INSERTæãå®è¡ãããã³ããã¼ã¯ã¯ã以ä¸ã®ããã«å®è¡ãã¾ãã $ mysqlslap --no-defaults -u root -p --concurrency=20 --iterations=1 --number-int-cols=2 --number-char-cols=3 --auto-generate-sql --engine=innodb --auto-generate-sql-load-type=write --number-of-queries=100000 ä¸è¨ã®ã³ãã³ãã§ã¯ãintã«ã©ã ã2ãvarcharã«ã©ã ã3ãªãã¼ãã«ã§ãã³ããã¼ã¯ãå®è¡ããã¾ãã çµæã¯ã以ä¸ã®ãããªæãã§è¡¨ç¤ºããã¾ãã Benchmark Runnin
ã½ã¼ã·ã£ã«ã²ã¼ã éçºè ãªãç¥ã£ã¦ãããã MySQL INDEX + EXPLAINå ¥é åºãæµ ããæ å½ãã¦ã¾ããota ã§ãã æè¡ããã°ç¬¬ä¸åããæ©éæµç¨ã¹ã©ã¤ãã§ç³ã訳ããã¾ãããã社å åå¼·ä¼è³æã¨ãã¦ä½æãããMySQL INDEX + EXPLAINå ¥éãã§ãã å½ç¤¾ã§ãã½ã¼ã·ã£ã«ã²ã¼ã ã®éçºãè¡ã£ã¦ãã¾ããããã®ãããªå¤§éã®ãã¼ã¿ã使ç¨ããã»ã¯ã¨ãªã®é度ãæ±ããããå ´åã«ã¤ã³ããã¯ã¹ã¯å¤§å¤éè¦ã§ãã ã¤ã³ããã¯ã¹ã®æå¹ãªå©ç¨ã«ã¯DBè¨è¨è ã ãã§ã¯ãªãããã°ã©ãã«ãããç¨åº¦ã®ç¥èãæä½éå¿ è¦ã¨ãªãã¾ãããã¤ã³ããã¯ã¹ã«ã¤ãã¦ã®åå¿è åãè³æããã¾ããªãããã§ãã ãã®ã¹ã©ã¤ãã§ã¯ããã°ã©ãã«ç¥ã£ã¦ããã¦æ¬²ãã以ä¸ã®åºæ¬çãªç¹ãã¾ã¨ãã¾ããã INDEXã使ç¨ããæã«æ°ãã¤ããã㨠WHEREå¥ !=ã<>ã¯ã¤ã³ããã¯ã¹ã使ç¨ã§ããªã WHEREå¥ã®å ¨ã¦ã®ANDã«ããã£ã¦ããªãã¤ã³
ããã«ã¡ã¯ããã«ã¡ã¯ã11ã¤ã³ãMacBook Airã欲ããã¦ãã¾ããªãiwanagaã§ãã ååã®è¨äº ã幸ãã«ãã好è©ãé ããæ§ã§é常ã«ããããã§ããå¬ãããªã£ã¦ãã¤ãããã°ã£ã¦ç¬¬ï¼å¼¾ãæ¸ãã¦ãã¾ãã¾ãããå¼ãç¶ããã½ã¼ã·ã£ã«ã²ã¼ã ã§ãã使ããããã¼ãã«ã¿ã¤ãæ¯ã«ã¡ãã£ã¨ãããã¯ããã¯ãç´¹ä»ãã¦ããã¾ãã ä»åã¯ã¡ãã£ã¨ã©ã¤ããªæãï¼èªã¿ç©ã«ãªã£ã¦ãã¾ã£ã¦ãã¾ãããã¦ã¼ã¶IDåä½ã§1ã¤ã ãæã¤ãã¼ã¿ãã¨ããã©ã¡ã¼ã¿ãªã©ã®ãã¹ã¿ã¼ãã¼ã¿ãã«ã¤ãã¦ã説æãããã¨æãã¾ããã¡ãªã¿ã«æ¬¡åã¯InnoDBã®ãã¼ã¿æ§é ã®ç°¡åãªèª¬æã¨è¤åãã©ã¤ããªã¼ãã¼ã®ãã¼ã¿ã«ã¤ãã¦ããã®æ¬¡ã§ç´¹ä»ãæããã¡ãã£ã¨ããã¢ãã¯ãªãã¯ããã¯ãæ§è½ç®¡çã®ããã®ææ³ãç´¹ä»ãããã¨ãäºå®ãã¦ãã¾ãã ãã®åã«ããã å æ¥è¡ããã JAPAN INNOVATION LEADERS SUMMIT ã§å¼ç¤¾æ¾ä¿¡ããã½ã¼ã·ã£ã«ã²ã¼ã ã®
yumã®èªåã¢ãããã¼ãã§MySQLã5.0ãã5.1ã¸ã¢ãããã¼ããããã®ã ãã©ããªãããã¼ã¿ãã¼ã¹ã¸ã¢ã¯ã»ã¹åºæ¥ãªãä¸å ·åãããã¼ã¿ãã¼ã¹åã確èªãã¦ã¿ãã¨â¦ mysql>show databases; +--------------------+ | Database | +--------------------+ | #mysql50#db_name | +--------------------+ ããï¼ãã¼ã¿ãã¼ã¹åã®é ã«ã#mysql50#ããªãã¦ãã®ãä»ãã¦ããâ¦ã調ã¹ã¦ã¿ãã¨ãã©ããããã¼ã¿ãã¼ã¹åã«ã-ãã¨åè§ãã¤ãã³ãå ¥ã£ã¦ããå ´åã«ãããªãã¿ããã ãã¨ãã°ãMySQL 5.0 ã®ãã¼ã¿ãã¼ã¹ã®ååã a-b-c ã®å ´åããã®ååã«ã¯ â-â æåã®ã¤ã³ã¹ã¿ã³ã¹ãå«ã¾ãã¦ãã¾ãã5.0 ã§ã¯ããã¼ã¿ãã¼ã¹ãã£ã¬ã¯ããªã«ã a-b-c ã¨ããååãä»ãããã¾ãããå¿
http://www-jp.mysql.com/why-mysql/white-papers/mysql-wp-whatsnew-mysql-55.php MySQL5.5 ã®æ°æ©è½ - ããã©ã¼ãã³ã¹ã¨ã¹ã±ã¼ã©ããªãã£ã«ãã㨠Mãã®ãã¯ã¤ããã¼ãã¼ã§ã¯ãå¤§å¹ ã«æ¹åãããããã©ã¼ãã³ã¹ãã¹ã±ã¼ã©ããªãã£ã ããã³ããã«ãããã»ãã·ã³ã°ãã¼ãã¦ã§ã¢/ã½ããã¦ã§ã¢/ããã«ã¦ã§ã¢ã¢ã¼ããã¯ãã£ç°å¢ã«ãããã¦ã¼ã¶ããªãã£ãªã©ã»ã»ã» Sysbenchãã³ããã¼ã¯ã§ã¯ãLinux ããã³ Windows ã«ããã¦ããããã370% ããã³ 540%ã®ããã©ã¼ãã³ã¹åä¸ã証æããã¾ããã ãå¤§å¹ ã«æ¹åãããããã©ã¼ãã³ã¹ãã¨ããã¾ãããã«æ¯é試ãã¦ã¿ããã§ãããã ç¾å¨FreeBSDä¸ã§MySQL5.1ã®ãã¤ããªã¼çãå©ç¨ãã¦ãã®ã§5.5ã«ãã¼ã¸ã§ã³ã¢ãããã¦ã¿ããã¨æãã¾ãã â ç¾å¨ã®ã¤ã³ã¹ãã¼ã«å
2. èªå·±ç´¹ä» ï® MySQL/Linuxå¨ãã®ã¹ãã·ã£ãªã¹ã ï¬ 2006å¹´9æãã2010å¹´8æã¾ã§MySQLæ¬å®¶(MySQL/Sun/Oracle)㧠APAC/USåã®MySQLã³ã³ãµã«ãã£ã³ã°ã«å¾äº ï¬ ä¸»ãªèæ¸ã«ãç¾å ´ã§ä½¿ããMySQLããLinux-DBã·ã¹ãã æ§ç¯/ éç¨å ¥éããJavaãã¼ã¿ã¢ã¯ã»ã¹å®è·µè¬åº§ã ï® DeNAã§ã®ä¸»ãªå½¹å² ï¬ å®å®å/ããã©ã¼ãã³ã¹/éç¨å¨ãã®ä¸é·æçãªæ¹åæ´»å ï¬ L3ãµãã¼ã/éç¨/ãã©ãã«ã·ã¥ã¼ãã£ã³ã° â é£åº¦ã®é«ãMySQLå¨ãã®åé¡ã®æ ¹æ¬åå ã®ç¹å®ã¨è§£æ±º ï¬ å¤ãã®ããã¸ã§ã¯ãæ¯æ´ ï¬ ç¤¾å åå¼·ä¼/ãã¬ã¼ãã³ã° â MySQLããã¼ã¿ãã¼ã¹å¨ãã®ãã¹ããã©ã¯ãã£ã¹ã社å ã§å ±æãã æè¡ã¹ãã«ãåºä¸ããã ï¬ æè¡ãã¼ã±ãã£ã³ã° â å½å å¤ã®ã«ã³ãã¡ã¬ã³ã¹ããæè¡éèªç
MySQLã5.5.3-m3 ã§ã¯ããããã®ãªãã·ã§ã³ãã³ãã³ããªã©ãå»æ¢ã¨ãªãã¾ããããã¨ãã¨éæ¨å¥¨(obsolete)ããã¦ãããã®ã§ããæã«é¦´æãã§ãããã®ãå¤ãããã°ããã¯ä½¿ããªããæ··ä¹±ãããã¨ã§ãããã ã²ã¨ã¤åã®æ¥è¨ã§å®£è¨ããã¨ããã以ä¸ã«å¤æ´ç¹ãæ´çãã¦ããã¾ããæ å ±éã¨ãã¦ã¯åºæ¬çã«ãªãªã¼ã¹ãã¼ãã¨åãã§ãï¼ãªãªã¼ã¹ãã¼ãã®æãæ¸ãã§ãï¼ãããã¡ãã®ã»ããå°ãã¯è¦ããããªã£ã¦ããããªãããè¦ããããªã£ã¦ããããããªãããã¨æãã¾ãã å»æ¢ãããã·ã¹ãã å¤æ° 代ããã«ä½¿ãå¤æ° log_bin_trust_routine_creators log_bin_trust_function_creators myisam_max_extra_sort_file_size - record_buffer read_buffer_size sql_log_update - table_t
ä»å¹´ãæ®ãã¨ãããã¨ãããã¨ãªã£ãã2010å¹´ãITæ¥çã«ã¨ã£ã¦ã¯å¤åã®å¤ãä¸å¹´ã ã£ãããçããã«ã¨ã£ã¦ã¯è¯ãå¹´ã ã£ãã ãããï¼æ¢ã«ä½åº¦ãMySQL 5.5ã®æ°æ©è½ã«ã¤ãã¦ã¯åãä¸ããããã¤ãã«æ£å¼çããªãªã¼ã¹ãããã¨ãããã¨ã§ããã§æ¹ãã¦æ°æ©è½ã解説ããä»å¹´æå¾ã®ã¨ã³ããªãç· ãããããã¨æãã MySQL 5.5ã«ã¯ããã§ããã£ï¼ã¨ãããããæ°æ©è½ã追å ããã¦ãããããããããããã¤ã¹ãªãã®ã°ããã ãä¸è¬çã«ã¯ãã½ããã¦ã§ã¢ã«æ°æ©è½ã追å ãããã¨éããªã£ããå®å®æ§ãä½ä¸ããäºä¾ãå¾ã絶ããªãã®ã ããMySQL 5.5ã«é¢ãã¦ã¯ãã®ãããªãã¨ã¯å ¨ããªãã®ã§å®å¿ãã¦å©ç¨ãã¦é ãããï¼ InnoDBã®å¤§å¹ ãªæ¹å種ã ããæ¹åç¹ã®ä¸ã§ãç¹ã«ç®ãã²ãã®ãInnoDBã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ã¸ã®æ¹è¯ã ãå®ã¯ãInnoDBã¯MySQL 5.1ãæåã«ãªãªã¼ã¹ãããã¨ãããã2åã¢ãããã¼ããè¡ããã¦ãããMy
ååæ¸ããMySQLããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã®ããã®ã¤ã³ããã¯ã¹ã®åºç¤ç¥èã«å¼ãç¶ããMySQLã®ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã«ã¤ãã¦å¦ãã ãã¨ãã¾ã¨ãã MySQLã使ã£ã¦ããã¨ãã¯ã¨ãªãé ãçç±ãã¤ãã¨ããå¿ è¦ãåºã¦ããã ã©ããã£ã¦é ãã¯ã¨ãªãã¤ãã¨ããæ¹åããã°ãããã«ã¤ãã¦å¦ãã ã®ã§ã¾ã¨ããã ä¸è¨ã®ãããªåºç¤ç¥èãããã°ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ããã¾ãããããã¨æãã ã¯ã¨ãªå¦çã®åºç¤ MySQLãã¯ã¨ãªãå¦çããæé ã¾ãã¯MySQLãã¯ã¨ãªãå¦çããæé ãç¥ã£ã¦ããå¿ è¦ãããã å¦çã¯ä»¥ä¸ã®ãããªæµãã§é²ãã ã¯ã¨ãªãã£ãã·ã¥ã®ä¸ããã¯ã¨ãªã®çµæãæ¢ããè¦ã¤ããã°ãããè¿ãã ã¯ã¨ãªã解æãã¦æ§æè¦ç´ ã«å解ããã ã¯ã¨ãªã®æ§æãæ£ãããã¨ãç¢ºèª ã¯ã¨ãªã«ã¤ãã¦åºæ¬æ å ±ãåéããã ã¯ã¨ãªãåºæ¬çãªè¦ç´ ã«å解ããå¾ãä½ãå®è¡ãã¹ãããå¤æããã ã¯ã¨ãªãªããã£ãã¤ã¶ãåãå§
ããã«ã¡ã¯ãhiroshiã§ãããã²ããã¶ãã§ããã stoneãæ¸ããhadoopã®è¨äºãæã¡åããã¨ãã§ãè¦ã¾ããããè©å¤ã§ããããã¨ãè¨ããã¦ã¸ã§ã©ã·ã¼ãã£ã±ãã§ãã åãããã°ãã¾ããç®æããããã³ããï¼ ã¨ãã£ã¦ããåã ã¨æ¸ãããã¨ã«éçãããã®ã§ãä»æ¥ã¯åå®å¸¸ä½æ¥ã®MySQLã®å¢è¨ä½æ¥ã«ã¤ãã¦æ¸ããã¨æãã¾ãã ä¸å³ã®ããã«ãmaster1å°âslave2å°ãLVS+keepalivedã§è² è·åæ£æ§æããã¦ããDBãããã¨ãã¾ãã ãã®æ§æã®çµã¿æ¹ã«ããããã¨æã£ãã®ã§ãããããã¯ã°ã°ã£ãããã£ã±ããã£ãã®ã§ãããã³ããªã¯çããªãã¨æã£ã¦ããã¾ããã ãªã®ã§ãä»åã®ãã¼ãã¯ããã®ãã¼ãã«ã¯writeã¯ä½è£ã ãã©readããã¤ããªã£ã¦ããããslaveãå¢è¨ããªããã°ï¼ãã¨ãªã£ãå ´åã®slaveãå¢è¨ããæé ã«ã¤ãã¦æ¸ãã¦ã¿ã¾ãã ä¸å³ã®slaveCã追å ãããï¼ã®å ´åã§ãã â»
Linux ã« MySQL ãã¤ã³ã¹ãã¼ã«ããå ´åã¯ãRPM ããã±ã¼ã¸ã使ç¨ãããã¨ããå§ããã¾ããMySQL RPM ã¯ãç¾å¨ãSuSE Linux 7.3 ã·ã¹ãã ä¸ã§ãã«ãããã¦ãã¾ãããrpm ããµãã¼ãã glibc ã使ç¨ããã»ã¨ãã©ã®ãã¼ã¸ã§ã³ã® Linux ä¸ã§åä½ãã¾ãã RPM ãã¡ã¤ã«ã«é¢ããåé¡ãçºçããå ´åï¼ãã¨ãã°ã``Sorry, the host 'xxxx' could not be looked up'' ã¨ããã¨ã©ã¼ã表示ãããå ´åï¼ã¯ãé 2.6.2.1. ãLinux ã®æ³¨æäºé ï¼ãã¤ããªãã£ã¹ããªãã¥ã¼ã·ã§ã³ï¼ã ãåç §ãã¦ãã ããã ã»ã¨ãã©ã®å ´åãMySQL-server ããã±ã¼ã¸ã¨ MySQL-client ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã ãã§æ¸ã¿ã¾ããæå°ã¤ã³ã¹ãã¼ã«ã®å ´åã¯ããã®ä»ã®ããã±ã¼ã¸ã¯å¿ è¦ããã¾ããã 追å æ©è½ãåãã My
MySQL ãµã¼ãã¼ã¸ã®æ¥ç¶ã試è¡ããã¨ãã«åé¡ãçºçããå ´åã«åé¡ãä¿®æ£ããããã«å®è¡ã§ããä¸é£ã®ã¢ã¯ã·ã§ã³ã«ã¤ãã¦ã次ã®é ç®ã§èª¬æãã¾ãã ãµã¼ãã¼ãå®è¡ä¸ã§ãããã¨ã確èªãã¾ããããã§ãªãå ´åãã¯ã©ã¤ã¢ã³ãã¯æ¥ç¶ã§ãã¾ããããã¨ãã°ããµã¼ãã¼ã«æ¥ç¶ãããã¨ãã¦æ¬¡ã®ããããã®ãããªã¡ãã»ã¼ã¸ã§å¤±æããå ´åããµã¼ãã¼ãå®è¡ä¸ã§ãªããã¨ã 1 ã¤ã®åå ã§ãããã¨ãããã¾ãã shell> mysql ERROR 2003: Can't connect to MySQL server on 'host_name' (111) shell> mysql ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) ãµã¼ãã¼ã¯å®è¡ãã¦ãããããµã¼ãã¼ãå¾ æ©ãã¦ããã®ã¨ç°ãªã TCP/I
MySQL ã Unix ã«ã¤ã³ã¹ãã¼ã«ããããã°ã©ã³ã ãã¼ãã«ãåæåãããµã¼ããèµ·åãããµã¼ããæå¾ éãã«åä½ãã¦ããã確èªãã¾ãããµã¼ããã·ã¹ãã ã®èµ·åãåæ¢ã¨å ±ã«èªåçã«èµ·åãããã¯åæ¢ããããã¨ãã§ãã¾ããã°ã©ã³ã ãã¼ãã«ã®ã¢ã«ã¦ã³ãã«ãã¹ã¯ã¼ããå²ãå½ã¦ããã¨ãã§ãã¾ãã Unix ã§ã¯ãã°ã©ã³ã ãã¼ãã«ã¯ mysql_install_db ããã°ã©ã ã§è¨å®ãã¾ããã¤ã³ã¹ãã¼ã«ã®ä»æ¹ã«ãã£ã¦ã¯ããã®ããã°ã©ã ãèªåçã«å®è¡ãããã¨ãã§ãã¾ãã MySQL ã Linux ã« RPM ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã使ç¨ãã¦ã¤ã³ã¹ãã¼ã«ããå ´åããµã¼ãã® RPM ã mysql_install_db ãå®è¡ãã¾ãã MySQL ã Mac OS X ã« PKG ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã使ç¨ãã¦ã¤ã³ã¹ãã¼ã«ããå ´åãã¤ã³ã¹ãã¼ã©ã mysql_install_db ãå®è¡ãã¾ãã ã
MySQL ã®ã¤ã³ã¹ãã¼ã«ããã»ã¹ã«ã¯ãMySQL ã¢ã«ã¦ã³ããå®ç¾©ãã mysql ã·ã¹ãã ã¹ãã¼ãã®ä»ä¸ãã¼ãã«ãå«ãããã¼ã¿ãã£ã¬ã¯ããªã®åæåãå«ã¾ãã¾ãã 詳細ã¯ãã»ã¯ã·ã§ã³2.10.1ããã¼ã¿ãã£ã¬ã¯ããªã®åæåããåç §ãã¦ãã ããã ãã®ã»ã¯ã·ã§ã³ã§ã¯ãMySQL ã®ã¤ã³ã¹ãã¼ã«æé ä¸ã«ä½æãããåæ root ã¢ã«ã¦ã³ãã«ãã¹ã¯ã¼ããå²ãå½ã¦ãæ¹æ³ã«ã¤ãã¦èª¬æãã¾ã (ã¾ã è¡ã£ã¦ããªãå ´å)ã Windows ã§ã¯ãMySQL Installer ã使ç¨ããã¤ã³ã¹ãã¼ã«ä¸ã«ãã®ããã»ã¹ãå®è¡ã§ãã¾ã (ã»ã¯ã·ã§ã³2.3.3ãMySQL Installer for Windowsã ãåç §)ã ãã¹ã¦ã®ãã©ãããã©ã¼ã ã§ãMySQL é å¸ã«ã¯ãMySQL ã¤ã³ã¹ãã¼ã«ãã»ãã¥ã¢ã«ããããã»ã¹ã®å¤§é¨åãèªååããã³ãã³ãè¡ã¦ã¼ãã£ãªãã£ã¼ mysql_secure_instal
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}