Code Archive Skip to content Google About Google Privacy Terms
ã¤ãã«çºå£²ãããã¹ã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ã®ãã¼ãã«ãã¼ã¿ãã¼ã¹ãTokyo Tyrantã使ã£ã¦ãã¼ã¿ãã¼ã¹ãµã¼ãã¨ãã¦å©ç¨ããæ¹æ³ã«ã¤ãã¦è¿°ã¹ã¾ãã ã¨ãããã使ã£ã¦ã¿ã Tokyo Cabinetã¨Tokyo Tyrantã®ææ°çï¼1.4.4ã¨1.1.12ï¼ããªãªã¼ã¹ããã¦ãã¾ãã®ã§ãã¤ã³ã¹ãã¼ã«ãã¦ããã¦ãã ãããã¾ãã社å¡åç°¿ãä½ã£ã¦ã¿ã¾ããããã¾ãã¯ãTTã®ãµã¼ããå®è¡ãã¾ãããã¼ã¿ãã¼ã¹ãã¡ã¤ã«ã®æ¥å°¾è¾ã«ã¯ã.tctããæå®ãã¦ããã¼ãã«ãã¼ã¿ãã¼ã¹ãã¡ã¤ã«ã¨æ¥ç¶ãã¾ãã ttserver casket.tct å¥ã®ç«¯æ«ã§ã¯ã©ã¤ã¢ã³ããæä½ãã¦ã"put" ã³ãã³ãã§ç¤¾å¡ãç»é²ãã¾ããããã-sepãã¯ãã³ã©ã ã®ãã¼ã¨å¤ãåºåãæåãæå®ãããªãã·ã§ã³ã§ãã"|" 以å¤ã§ãä»»æã®åºåãæåã
æ£ææ©ã ã¤ã³ãã«ã¨ã³ã¶ã«ããã£ã¦å¯è¾¼ãã mikioã§ããé»è»ã«ä¹ãæãç¹è¯è¡ãªã©ã«åºãæã¯ãã¹ã¯çç¨ãå¿ é ã§ããããã¦ä»åã¯ãTokyo Cabinetã§å®è£ ãããã¼ãã«æ¹å¼ã®ãã¼ã¿ãã¼ã¹ã«ã¤ãã¦ç´¹ä»ãã¾ããæå¤ã«ã©ããã¦å¼·åãªæ©è½ãªã®ã§ããã®ãã¿ã¯é£è¼ãããã¨ãäºåãã¾ãã ãã¼ãã«ãã¼ã¿ãã¼ã¹ã¨ã¯ ç°¡åã«è¨ãã°ããªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã®ãã¼ãã«ã®ããã«ãè¤æ°ã®åãããªãã¬ã³ã¼ããæ ¼ç´ã§ãããã¼ã¿ãã¼ã¹ã§ããSQLã表çµåãªã©ã®è¤éãªæ©è½ã¯ãµãã¼ããã¾ãããããã®ã¶ãé«éã«åä½ãã¾ããã¤ã¾ããDBMã®é度ã§åããªã¬ã¼ã·ã§ãã«é¢¨ãã¼ã¿ãã¼ã¹ã§ãï¼å³å¯ã«ã¯ãªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã§ã¯ããã¾ããï¼ã TCã®åºæ¬ã¨ãªãããã·ã¥ãã¼ã¿ãã¼ã¹ã¯ãåç´ãªkey/valueåã®ãã¼ã¿ãã¼ã¹ã§ãããã¤ã¾ããã¼ã«ãå¤ã«ãã¹ã«ã©ï¼æ°å¤ãæååãªã©ã®ç¹ã«æ§é ãæããªãåä¸ã®å¤ï¼ããæ ¼ç´ãããã¨ã¯ã§ãã¾ãã
Lux IO is a yet another fast database manager. It supports B+-tree and Array index in either cluster or non-cluster index. It's originally designed for storing large expanding data as a value in Lux Search Engine, but it's also pretty fast for small and a large number of data. Fast key lookup (B+-tree, Array) Support both clustered and non-clustered index mmap(2) the whole index structure in clust
2008-02-13 è¿æ³ ä½èª¿ä¸å ¨ã§ä¸åä¼ã¿. é±æ«ã®ãã ããã¦åããããã¦ãã¾ã£ã. é ã£ã±ãããããªã... ç¦ç ã®ãã¼ã«å±ããã£ã¦ãããã¨æããã ãã©ãªã. ãã®ãã¼ã«å±ã§çµã¿è¾¼ã¿å±ããã®åéã¨å®´ä¼ããã¦ããã¨ãã«, sqlite ããããã¨ãã話ã«ãªã£ã. web ã§ã® sqlite 㯠rails ã php ã¨ä¸ç·ã«äººæ°ãåºãæ°ããã. çµã¿è¾¼ã¿ç¨éã§ã人æ°. ãã¨ãã°ã²ã¼ã å±ããã§ã¯ zlib 㨠lua ã®æ¬¡ãããã«ä½¿ããã¦ãã¨ãã風説ããã. (çå½ä¸è©³.) ã©ã¤ã»ã³ã¹ãç·©ãã®ããã. ç§ããªãã¨ãªããã¡ã³ã§, ãã¾ã«ã¦ã§ããµã¤ãã®ææ¸ãçºããã 触ã£ã¦ã¿ãããã¦ãã. ä»æ¥ã wiki ãçºãã¦ããã, ãã¤ã®ã¾ã«ã FTS ã®ãã¼ã¸ã§ã³ã¯ 3 ã«ãªã, ä»®æ³ãã¼ãã«ã«ç¶ã㦠仮æ³ãã¡ã¤ã«ã·ã¹ãã ãªãã¦ã®ã å®è£ ããã¦ãã. ã³ã¼ã以å¤ã®è©±é¡ã§ã¯ Mozilla ã¨
äºå®ãç«ã¦ãé端ã«ãããããªããªãçå群ã«å ªãã¦é£è¼ãç¶ããmikioã§ãï¼ãããªç§ã§ãã¨ã¢ã¼ãã³ãããã¯åãã¾ãï¼ãååã¯DBMã®åºæ¬ã«ã¤ãã¦èª¬æãã¾ãããããããå¿ å®ã«å®è£ ãã¦ãå®éã«ã¯ä½¿ããã®ã«ã¯ãªããªããã¨ã«ã触ãã¾ãããä»åã¯ãå®ç¨çãªDBMã«é²åãã¹ããTokyo Cabinetï¼ããã³ãã®å身ã®QDBMï¼ã§èãã工夫ã«ã¤ãã¦ã話ãã¾ãã ããã·ã¥é¢æ°ã«ã¤ãã¦ããå°ã ååã®è¨äºã«é¢ãã¦ããããã·ã¥é¢æ°ã¯ãããã·ãã使ã£ã¦å®è£ ããæ¹ãæ©ãããã¨ããæ¨ã®ã便ããããã ãã¾ããï¼ãããã¨ããããã¾ãï¼ãã¾ãã«ãã®éãã§ãä¹ç®å½ä»¤ï¼ããã§ã¯imullï¼ããå·¦ã·ããå½ä»¤ï¼ããã§ã¯sallï¼ã®æ¹ãéãã¿ããã§ãï¼Intelã®è³æã«ããã¨ãmulã15ãã18ã§ãsalã4ã¨ã®ãã¨ï¼ãããããDBMã®å ´åã¯ãã¡ã¤ã«I/Oã«ãããæéãæ¯é çã«ãªãã¨ããã®ãéè¦ãªç¹ã§ãããããã£ã¦ãããã·ã¥
ç´åå¹´éã®æ²é»ãç ´ã£ã¦OSSã®ä¸çã«æ»ã£ã¦ãã¤ã¤ããmikioã§ããå æ¥ãTokyo Cabinetï¼ä»¥ä¸ãTCãã¨å¼ã³ã¾ãï¼ã¨ãããã¼ã¿ãã¼ã¹ã©ã¤ãã©ãªããªãªã¼ã¹ãã¾ãããä»åããæ°åã«åãã¦ãTCã®è¨è¨ã¨è¦å´è©±ã«ã¤ãã¦é£è¼ãã¦ã¿ã¾ãã DBMã¨ã¯ TCã¯ãããããDBMã®ç³»èã®ãã¼ã¿ãã¼ã¹ã©ã¤ãã©ãªã§ãåç´ãªããã·ã¥ãã¼ãã«ããã¡ã¤ã«ä¸ã§æ°¸ç¶åããã ãã®æ©è½ãæä¾ãã¾ããDBMã¯AT&Tã®å¤ä»£UNIXã®æ代ããåãç¶ãããä¼çµ±è¸è½ãªã®ã§ãããç§ã¯ããããæ¯ããæè¡ã大好ããªã®ã§ãã ããã°ã©ãã®çããã¯ãPerlãRubyã§ã¯ããã·ã¥ï¼é£æ³é åï¼ã¨å¼ã°ããJavaãC++ã§ã¯mapã¨å¼ã°ãããããªãä½ããã®ãã¼ã«é¢é£ã¥ãã¦ãªãããã®å¤ãè¨é²ãããã¼ã¿æ§é ã£ã¦å®ã«ãã使ãã¾ããããä¾ãã°mixiã§ã¯ãã¦ã¼ã¶ã¢ã«ã¦ã³ãã«é¢é£ããæ å ±ï¼ååã¨ãããã¯ãã¼ã ã¨ãï¼ã¯ãã¦ã¼ã¶IDããã¼ã«ãããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}