Linuxä¸ã§ãé«éã§ãè½ã¡ãªããDBãµã¼ãã¼ãæ§ç¯ããããã®æè¡è§£èª¬ãããæ¸ç±ãåºçãã¾ããã¿ã¤ãã«ã¯ã¹ãã¬ã¼ãã«ãLinux-DBã·ã¹ãã æ§ç¯/éç¨å ¥éãã§ãã 9æ17æ¥çºå£²ã§ãããã¸ã¥ã³ã¯å ãªã©ä¸é¨ã®æ¸åºã§ã¯ãã§ã«å ¥è·ãã¦ãããããªã®ã§ãè¦ãããããã²èªãã§ã¿ã¦ãã ãããç« æ§æã¯ä»¥ä¸ã®éãã§ãã 第1ç« ãè«çããªã¥ã¼ã ããã¼ã¸ã£(LVM)ãæ´»ç¨ãã 第2ç« ãHeartbeatã«ããã¯ã©ã¹ã¿ç°å¢ã®æ§ç¯ 第3ç« ãDRBDã«ãããããã¯ã¼ã¯ãã©ã¼ãªã³ã°(åç·¨) 第4ç« ãDRBDã«ãããããã¯ã¼ã¯ãã©ã¼ãªã³ã°(å¾ç·¨) 第5ç« ãé«å¯ç¨DBãµã¼ãã¼ã®æ§ç¯ 第6ç« ãç¾å ´ã§ä½¿ãããé«å¯ç¨æ§æ 第7ç« ãDBãµã¼ãã¼ã®ããã©ã¼ãã³ã¹æ¦è« 第8ç« ãã¤ã³ããã¯ã¹ã®ãã¥ã¼ãã³ã°(åç·¨) 第9ç« ãã¤ã³ããã¯ã¹ã®ãã¥ã¼ãã³ã°(å¾ç·¨) 第10ç« ãDBãµã¼ãã¼ã®ãã¼ãã¦ã§ã¢é¸å® 第11ç« ãSSDã®å¹æã¨ã¢ããªã±ã¼ã·
Big Data. Big Performance. Hypertable delivers scalable database capacity at maximum performance to speed up your big data application and reduce your hardware footprint. 100% Hadoop Compatible Hypertable seamlessly overlays on top of Hadoop to provide supercharged scalable database infastructure for your big data application. Less Hardware, Lower Cost Hypertable delivers maximum efficiency and su
2009/02/26 memcachedã«ä¼¼ããã¼ã¨å¤ã®å¯¾ãä¿åããã¿ã¤ãã®æ°ãããã¼ã¿ãã¼ã¹ãRedisããGoogle Codeã§2æ25æ¥ã«ãã¼ã¿çã¨ãã¦å ¬éããããéçºããã®ã¯ãã¤ã¿ãªã¢äººã§ããªã¼ã©ã³ã¹ã®éçºè ãSalvatore Sanfilippoæ°ãåæ°ã¯ã¤ã¿ãªã¢ã§ã½ã¼ã·ã£ã«ããã¯ãã¼ã¯ãµã¤ããã½ã¼ã·ã£ã«ãã¥ã¼ã¹ãµã¤ããç«ã¡ä¸ããçµé¨ããããç¾å¨ã¯Webãµã¤ãã®è¨ªåè ããªã¢ã«ã¿ã¤ã ã§è¿½å 表示ããã¹ãã¼ã¿ã¹æ å ±åå¾ãµã¼ãã¹ãéçºä¸ã¨ããã Redisã®ã½ã¼ã¹ã³ã¼ãã¯ãGPL2ã®ã©ã¤ã»ã³ã¹ã§å ¬éããã¦ãããANSI Cã§æ¸ããã¦ãã¦ãLinuxãMac OS Xãå«ãå¤ãã®POSIXã·ã¹ãã ã§åããç¾å¨ãPHPãRubyã®ã¯ã©ã¤ã¢ã³ãã©ã¤ãã©ãªãéçºä¸ã¨ããã Redisã¯memcachedã®ããã«ãã¼ã¨å¤ã®å¯¾ãããã¹ã¦ã¡ã¢ãªä¸ã«ä¿åããããã ããmemcachedã¨ç°ãªããåæ
ã¡ãã£ã¨ãã£ããâãªã¿ã¤ãã«ãã¤ãã¦ãã¾ã£ãããä»æ¥ã¯ç¬æã¨åè¦ã§MySQLãé«éåããæ¹æ³ã10åç´¹ä»ããããMySQLãµã¼ãããã¥ã¼ãã³ã°ããã¨ããåæå°å ¥ããå ´åãªã©ã«åèã«ãã¦ãããããã 1. ãããã¡ãå¢ãããã¾ãã¯æ¸ãã ãã¥ã¼ãã³ã°ã®åºæ¬ä¸ã®åºæ¬ã§ããããé©åãªãããã¡ãµã¤ãºãè¨å®ãããã¨ã¯ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã®è¦ã§ããã主ãªãããã¡ã¯æ¬¡ã®éãã innodb_buffer_pool_sizeã»ã»ã»InnoDBã ããå©ç¨ããå ´åã¯ç©ºãã¡ã¢ãªã®7ã8å²ç¨åº¦ãå²ãå½ã¦ãæãéè¦ãªãããã¡ã§ãããä½è«ã ããå®éã«ã¯ããã§å²ãå½ã¦ãå¤ã®5ã10%ããããå¤ãã«ã¡ã¢ãªã使ãã®ã§æ³¨æãå¿ è¦ã ã key_buffer_sizeã»ã»ã»MyISAMã ããå©ç¨ããå ´åã¯ã空ãã¡ã¢ãªã®3å²ç¨åº¦ãå²ãå½ã¦ãã¨ãããæ®ãã¯ãã¡ã¤ã«ã·ã¹ãã ã®ãã£ãã·ã¥ç¨ã«æ®ãã¦ãããã sort_buffer_
ã¤ãã«çºå£²ãããã¹ã4ã®ã³ã³ã·ã¥ã¼ãæ©çãããããã¦ãããããªããã©çä½ãè²·ã£ã¦ããããªãã®ã§ãé§ åã®ã²ã¼ã å±ã®ãã£ã¹ãã¬ã¼åã§åæ¶ããã°ããã®mikioã§ããä»åã¯é£è¼ã®æçµåã§ãå種ã¹ã¯ãªããè¨èªã使ã£ã¦ãæ軽ã«ãã¼ãã«ãã¼ã¿ãã¼ã¹ãæä½ããæ¹æ³ã«ã¤ãã¦èª¬æãã¾ãã TokyoCabinet::TDB ã¾ãã¯ãTCã®Perlãã¤ã³ãã£ã³ã°ã¨Rubyãã¤ã³ãã£ã³ã°ã®ææ°çãå ¥æãã¦ãã ããããããããã¼ãã«ãã¼ã¿ãã¼ã¹ãæ±ãããã® TokyoCabinet::TDB ã¨ããã¯ã©ã¹ãå ãã£ã¦ãã¾ãã以ä¸ã®ãããªIDLã«ããã¬ã¤ãã©ã¤ã³ã«æºæ ããã¤ã³ã¿ã¼ãã§ã¤ã¹ãæä¾ããã¾ãã®ã§ã使ãæ¹ã¯è¨èªã«ãããããåãããã«ãªãã¯ãã§ãã module TokyoCabinet { interface TDB { boolean open(in string path, in long omode);
ã³ã¢ã©ã¤ãã©ãªãä¸çæ¸å½æ¸ãã¨ã¦ã¼ãã£ãªãã£ããã¤ã³ãã£ã³ã°ãªã©ã®å¨è¾ºæ©è½ãããããã«ãªããéãç¶ãã§ãå·¥æ°å²ãå½ã¦ã®ã¸ã¬ã³ããæ¯ãããmikioã§ããä»åã¯ä½è«ã¨ãã¦ãTokyo Cabinetã®ãã¼ãã«ãã¼ã¿ãã¼ã¹ï¼TCTDBï¼ãä½ãéä¸ã§æãã¤ããæ´æ°æ©è½ã¨æ§è½æ¤è¨¼ã«ã¤ãã¦è¿°ã¹ã¾ãã ã¢ãããã¯ãªæ´æ° åã³ TCTDBã§å¥½è©ã ã£ãã£ã½ãã¢ãããã¯ãªæ´æ°æ©è½ããã®ä»ã®ãã¼ã¿ãã¼ã¹ã§ãå®è£ ãã¦ã¿ã¾ãããä¾ãã°ããã·ã¥ãã¼ã¿ãã¼ã¹ï¼TCHDBï¼ã§ã¯ä»¥ä¸ã®é¢æ°ãæä¾ããã¾ãã typedef void *(*TCPDPROC)(const void *vbuf, int vsiz, int *sp, void *op); bool tchdbputproc(TCHDB *hdb, const void *kbuf, int ksiz, const char *vbuf, int vsiz,
æè¿ãå¿ãããçç±ã«è±ä¼è©±ã¬ãã¹ã³ããµãããã¡ã«ãªã£ã¦ãããããªããªã¨ççããmikioã§ããä»åã¯ãTokyo Cabinetã®ãã¼ãã«ãã¼ã¿ãã¼ã¹ãTokyo Tyrantã使ã£ã¦ãã¼ã¿ãã¼ã¹ãµã¼ãã¨ãã¦å©ç¨ããæ¹æ³ã«ã¤ãã¦è¿°ã¹ã¾ãã ã¨ãããã使ã£ã¦ã¿ã Tokyo Cabinetã¨Tokyo Tyrantã®ææ°çï¼1.4.4ã¨1.1.12ï¼ããªãªã¼ã¹ããã¦ãã¾ãã®ã§ãã¤ã³ã¹ãã¼ã«ãã¦ããã¦ãã ãããã¾ãã社å¡åç°¿ãä½ã£ã¦ã¿ã¾ããããã¾ãã¯ãTTã®ãµã¼ããå®è¡ãã¾ãããã¼ã¿ãã¼ã¹ãã¡ã¤ã«ã®æ¥å°¾è¾ã«ã¯ã.tctããæå®ãã¦ããã¼ãã«ãã¼ã¿ãã¼ã¹ãã¡ã¤ã«ã¨æ¥ç¶ãã¾ãã ttserver casket.tct å¥ã®ç«¯æ«ã§ã¯ã©ã¤ã¢ã³ããæä½ãã¦ã"put" ã³ãã³ãã§ç¤¾å¡ãç»é²ãã¾ããããã-sepãã¯ãã³ã©ã ã®ãã¼ã¨å¤ãåºåãæåãæå®ãããªãã·ã§ã³ã§ãã"|" 以å¤ã§ãä»»æã®åºåãæåã
ã¤ã³ãã«ã¨ã³ã¶ã§ä¼ãã å½±é¿ã§ä»äºã鬼ã®ããã«æºã¾ã£ã¦æ¶åä¸è¯ã®mikioã§ãï¼ãããªè¨äºãæ¸ãã¦ããå ´åãããªãï¼ããã¦ä»åã¯ãTokyo Cabinetã§ãªã¬ã¼ã·ã§ãã«é¢¨ãã¼ã¿ãã¼ã¹ãå®ç¾ãããã¼ãã«ãã¼ã¿ãã¼ã¹ï¼TCTDBï¼ã®å®è£ ã«ã¤ãã¦èª¬æãã¾ãã SQLiteã¨ã®éãã¯ï¼ SQLiteã¯ã¢ããªã±ã¼ã·ã§ã³çµã¿è¾¼ã¿åã®SQL対å¿ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã®ã©ã¤ãã©ãªã§ããTCã®ãã¼ãã«ãã¼ã¿ãã¼ã¹ãããã¯ããã«é«æ©è½ã§ãããã§ãã¦æ§è½ã大å¤åªãã¦ãã¾ãããããããã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³ã«çµã¿è¾¼ããã¼ã¿ãã¼ã¹ããæ¢ãã§ããã°ãTCãªããã§ã¯ãªããæç¶SQLiteãããããã§ãã ä¸æ¹ã§ãTCãªã©ã®DBMã¯ãããåç´ãªãã¼ã¿æä½ãããé«éã«å®è¡ã§ããããã«è¨è¨ããã³å®è£ ããã¦ãã¾ããå ¸åçãªã¦ã¼ã¹ã±ã¼ã¹ã¨ãã¦ã大è¦æ¨¡Webãµã¤ãã®ã¢ã«ã¦ã³ã管çãããã¼ã¿ãã¤ãã³ã°ã«ä¼´ãéè¨æä½ãæãã
å æ¥ãACM SIGMODã®æ¥æ¬æ¯é¨å¤§ä¼ã«æãã¦ããã ãã¦ããRelational-Style XML Query (ACM Portal http://doi.acm.org/10.1145/1376616.1376650)ãã«ã¤ãã¦è¬æ¼ããã¦ãã¾ãããRelational-Style XML Queryã¯ãXMLã¨ããè¤éãªæ§é ããã£ããã¼ã¿ã«å¯¾ãã¦ãSQLã®ãããªãã¼ãã«ãã¼ã¿ã¸ã®æ¤ç´¢ã«ä½¿ãããè¨èªã§åãåããããææ³ã§ãã ãã®ç 究ã®èã¯ãæ¨æ§é ãã¼ã¿ã¨ããããXMLã§ããå®ã¯ãã®ã»ã¨ãã©ããªã¬ã¼ã·ã§ã³(Microsoft Excelã®ãããªãã¼ãã«å½¢å¼ã®ãã¼ã¿ï¼ã®çµã¿åããã¨èãããã¨ãã§ãããã®ãã¼ãã«æ§é ã®æ å ±ï¼ã¹ãã¼ãï¼ã使ãã¨ãæ¤ç´¢ãé常ã«ç°¡åã«æ¸ããã¨ããç¹ã§ãã
Jiemamyä½è ãèãã âãã¼ã¿ãã¼ã¹ã®é²åçè¨è¨â ãã¼ã¿ãã¼ã¹ãã¢ã¸ã£ã¤ã«éçºã«å¯¾å¿ãããï¼ ã¢ã¸ã£ã¤ã«ã®èãæ¹ã«ããã¦ã¯ãå®è£ åã«ã·ã¹ãã è¦ä»¶ã»è¨è¨ã確å®ããããã¨ã¯ããã常ã«å¤åãåãå ¥ãã¦ããä½å¶ãå¿ è¦ã§ããã¢ã¸ã£ã¤ã«éçºã®èãæ¹ã«ã®ã£ã¨ããªããã¢ããªã±ã¼ã·ã§ã³ã ãã§ã¯ãªããã¼ã¿ãã¼ã¹ã«ã¤ãã¦ãè¨è¨ã®åçµã¯ãããã¾ããã½ã¼ã¹ã³ã¼ãã«éãããã¼ã¿ãã¼ã¹ã®æ§æã»è¨è¨ã«ã¤ãã¦ããªãã¡ã¯ã¿ãªã³ã°ãé©ç¨ãããã¹ãã§ããJiemamyã¯ãã®åé¡ã«åãçµãããã¸ã§ã¯ãã¨ãã¦å§ãããã¾ãããæ¬ç¨¿ã§ã¯ãã®Jiemamyã®åãçµã¿ãç´¹ä»ãã¾ãã ã½ã¼ã¹ãã¹ãã¼ãã ã管çãã¦ãæå³ããªã è¿å¹´æ³¨ç®ãéãã¦ãããã¢ã¸ã£ã¤ã«éçºãã¯ããªãã¡ã¯ã¿ãªã³ã°ãéè¦ãªè¦ç´ ã®1ã¤ã§ãããã¨ã¯ãåãã®ã¨ããã§ããã¢ã¸ã£ã¤ã«ã®èãæ¹ã«ããã¦ã¯ãå®è£ åã«ã·ã¹ãã è¦ä»¶ã»è¨è¨ã確å®ããããã¨ã¯ããã常ã«å¤åãåãå ¥ãã¦ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}