åæ: ã²ã¼ã ã«éããã©ã³ãã³ã°æ©è½ãå¿ è¦ã«ãªãã±ã¼ã¹ã¯å¤ã ã¤ã¾ãéè¦ã¯ãã ã ããMySQLã§é«éãªã©ã³ãã³ã°è¡¨ç¤ºã¯é£ãã å ·ä½çã«è¨ãã¨ã以ä¸ã®è¦ä»¶ãæºããã®ãä¸å¯è½ ï¼è¡ã®æ´æ°ã³ã¹ããè¦ç´ æ°Nã«å¯¾ã㦠O(log N) ä»¥ä¸ ä»»æã®ã©ã³ãã³ã°ä½ç½®å¨è¾ºã®SELECTã³ã¹ãã O(log N) ä»¥ä¸ ãªãã°ãå°ç¨ã®ã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ãä½ãã°ããã®ã§ã¯ãªãã ãã¤ãããï¼ãä»ã§ããï¼ã以ä¸çç± MySQL 5.5以é?ã ã¨ã¹ãã¬ã¼ã¸ã¨ã³ã¸ã³ãã¾ãããã©ã³ã¶ã¯ã·ã§ã³ãã¾ã¨ãã«ãªã£ã¦ãã¯ã*1 ã©ã³ãã³ã°å°ç¨ã§ããããããã¼ãã«æ§é ã¨ãåºå®ã§ããï¼ã¤ã¾ãå®è£ ãç°¡åï¼ï¼ ã©ã³ãã³ã°å°ç¨ã ããããã¼ãã«ã»ããã¯ã§ååï¼ã¤ã¾ãå®è£ ãç°¡åï¼ï¼ æ´æ°ããã¨é ä½ããããï¼ã¤ã¾ããã¼ãã«ã®å¤§é¨åã«å½±é¿ãããï¼ã®ã§è¡ããã¯å®è£ ããã¡ãªãããå°ãã*2 ã©ã³ãã³ã°å°ç¨ã§ãããããå ¨ãã¼ã¿ãã¡ã¢ãªã«ãã£ã¦ãåé¡
{{#tags}}- {{label}}
{{/tags}}