SQLã¯æãé«ç´è¨èª
ãSQLã¯ç¾å¨ãæ®åãã¦ããè¨èªã®ä¸ã§æãé«ç´ãªè¨èªã§ãã
ãé«ç´ãä½ç´ãã¨ããã®ã¯ãã©ãã ãCPUï¼ã®å½ä»¤ï¼ã¨è¿ããã§ããCPUã«è¿ããã°è¿ãã»ã©ä½ç´ã§CPUããé ããã¤ã¾ãã人éã«è¿ãã»ã©é«ç´è¨èªã¨ãããã¨ã«ãªããä¸è¬çã«ä½ç´ã»ã©æ±ãã®ã¯é£ãããªãã¾ãã
ãä¾ãã°ãJavaã§ã¯Java VMãCPUã®éãã ãã§ãªããOSã®éãã¾ã§ãå¸åãã¦ããã¾ããããããããä½ç´ãªCè¨èªã¨å ¨ãåãå¦çãæ¸ããã®ã¨æ¯ã¹ãã°ãJavaã§ã³ã³ãã¤ã«ãããã³ã¼ãã¯åé·ã«ãªãããå®è¡é度ãé ããªãã¾ãããé«ç´ãªè¨èªã»ã©ã·ã³ãã«ãªã½ã¼ã¹ã§æ¸ããããçç£æ§ã¯é«ããªãã¾ãã
çç£æ§ã¨ããã©ã¼ãã³ã¹ã«ã¤ãã¦
ãçè«å¤ã¨ãã¦ã¯ãåãå¦çãä½ç´è¨èªã¨é«ç´è¨èªã§æ¸ãã°ãçç£æ§ã¯é«ç´è¨èªã»ã©é«ããªãã¾ãã
ãã§ã¯ãã¢ã»ã³ããªè¨èªãã§ãã人ãåãå¦çãJavaã§æ¸ããã¨ãã¦çç£æ§ãä¸ãããã¨ããã¨ãJavaãã§ãããªãçç£æ§ã¯ä¸ããã¾ãããã§ããªããã°ã¢ã»ã³ããªè¨èªã®æ¹ãçç£æ§ãé«ãã§ããããçç£æ§ã«ã¤ãã¦ã¯ãå人ã®ã¹ãã«ãã¨ããå¦ä½æ§ã«ãè¨å®å¯è½ãªãã¡ã¯ã¿ã®å½±é¿åº¦ã大ããããããã§ããããã§ããªããã®æè¦ãåºãã¦ãã人ãå ¥ã£ã¦ã¯è°è«ã«ã¯ãªãå¾ã¾ãããçãã¯ãï½ï½ï½ã®ã¹ãã«ãä½ããããã«ãªãã®ã§ããèªããªããããã
ãSQLã®è°è«ã«ããã¦é¦¬é¹¿ãã¦ããã®ã¯ãCè¨èªï¼C++ï¼ã¨Javaã®ä¸¡æ¹ã使ã£ã¦ããããã¸ã§ã¯ãã®ä¾ãèããã°åããã¾ãã
ãã»ã¨ãã©ã¯Javaã§ä½ã£ã¦ããã®ã§ãããã©ããã¦ãããã©ã¼ãã³ã¹ãå¿ è¦ãªé¨åãC++ã§æ¸ãæãããã¨ã¯ããããã§ãããããã®ã¨ããJavaã¨C++ã®ããããã®ã¹ãã«ãåç¨åº¦ã§ããã°ãã»ã¼ãçè«éãã«ä½ç´ãªã»ã©çç£æ§ãæªããªãããã©ã¼ãã³ã¹ãè¯ããªãã¾ãã
ãSQLã¨Javaã®ä¸¡æ¹ã使ã£ã¦ããããã¸ã§ã¯ãã§ãSQLã§ã§ãããã¨ãJavaã§è¡ãã°çè«çã«ã¯çç£æ§ãæªããªãããã©ã¼ãã³ã¹ãæªããªãã¾ãã
ããªããã¨ããã¨ãç¸å¤ãããã³ã¢ã®é¨åã§SQLã使ã£ã¦ãããããJavaã¨C++ã§ããã°C++ã§ç½®ãæããªãããã³ã¢ã®é¨åã§C++ããJavaã®ã¢ã¸ã¥ã¼ã«ãå¼ã³åºããããªé¦¬é¹¿ããæ§é ã«ãªãã®ã§ãæ£ç¢ºã«ã¯Javaã¨C++ã¨åãé¢ä¿ã«ãªã£ã¦ããªããJavaã¨C++ã¨åæ§ã®å¯¾æ¯ããããªãã°RDBMSãNoSQLã«ç½®ãæããªãã¨è¡ããªããããããã°ãJOINãã使ããªããªãããã©é«ç´è¨èªã¨ä½ç´è¨èªã®çè«çãªé¢ä¿ã¨ãªããçç£æ§ã¨ããã©ã¼ãã³ã¹ããã¬ã¼ããªãã®é¢ä¿ã«ãªãã¾ãã
ãçµå±ãã©ãã¾ã§SQLã§ãããã®é¸æã¯ãçè«ä¸ã¯ãSQLã§ã§ãããã¨ã¯ãã¹ã¦SQLã§å¦çãã¹ããéã«ãSQLã§ã§ãããã¨ãä»ã®è¨èªã§è¡ã£ã¦çç£æ§ãä¸ããã¨æãã人ã¯ãSQLã®ã¹ãã«ã足ããªãã ãã®è©±ã§è°è«ã®ä½å°ã¯ãªãã®ã§ãããããã¯ãã§ããªã人ã«åãããå¿ è¦ãããã¨ãããã§ããªã人ããã©ããããã§ããªãã®ããã©ããããã®å²åã§ããã®ãã人ããããéããã¡ã¯ã¿ã¼ãå ¥ã£ã¦ãã¾ãåå¥ã®è°è«ï¼æ°´æãè«ï¼ãä»æãã¦ããã ããªã®ã§ãã
ããã¡ãããå®éã®ããã¸ã§ã¯ãã¨ãã¦ã¯æè²ã³ã¹ãã¨ã®ãã¬ã¼ããªãã§ãSQLãé¸æããªããã¨ããæ¿æ²»æ±ºçã¯ããå¾ã¾ãããã©ãæè²ã³ã¹ãã¯1度ããæããã¾ããããããã¤ã¾ã§ããã§ããªããã¨ããèªç§°æè¡è ãèªããã¹ãã§ã¯ãªããèªãããªããå®å ¨ã«ççµåã«ãã¦æ å½ãåããã¹ããªã®ã§ãã
ãä½è«ã§ãããSQLã¯é常ã«é ãã§ããSQLãæµè¡ãã¾ã§é常ã«æéãæãã£ãã®ã¯ãSQLã®ææ³ã«ãã·ã³ã¹ããã¯ã追ãã¤ãã®ã«æéãæãã£ãããã§ãNoSQLã§ã§ãããã¨ãªãã絶対ã«NoSQLã®æ¹ãéãã§ããããããä½åº¦ãç¹°ãè¿ãã¦ããã¨ããRDBMSã使ããªãSQLã使ããããªãã¨é ããªãã¾ãã
SQLã使ããªãæ¹ãçç£æ§ãä¸ããä¾å¤
ãSQLã使ããªãæ¹ãçç£æ§ãä¸ããä¾å¤ã¨ãã¦ã¯ãåç´ãªã·ã¹ãã ã§RDBMSã®ä¾å度ã極ãã¦ä½ãå ´åã§ããæ´ã«ãåå©ç¨æ§ã®é«ããªãã¸ã§ã¯ãæåè¨èªã®ç¹æ§ãã´ã£ããåãã·ã¹ãã ã§ãããã©ã¼ãã³ã¹ã«åé¡ããªããã°çç£æ§ãä¸ãããã¨ãããããç¥ããªãã
ãããããRDBMSã®ä¾å度ãä½ããã°ãããã ããã¡ã¯ã¿ã¼ã¨ãã¦å°ãããªãããå½ããåã®è©±ã§ãã