PGCONF.RUSSIA 2015ã«ã³ãã¡ã¬ã³ã¹ã§ã®ç§ã®ãã¬ãŒã³ããŒã·ã§ã³ãèŠè¶ããŠãMySQLãšPostgreSQLã®éèŠãªéãã«é¢ããããã€ãã®æèŠãå ±æããŸãã ãã®è³æã¯ãMySQLã®æ©èœã«ãã¯ãæºè¶³ããŠããªããã¹ãŠã®äººã ãããã³Postgresã§æåã®äžæ©ãèžã¿åºããŠãã人ã ã«åœ¹ç«ã¡ãŸãã ãã¡ããããã®æçš¿ãå®å šãªéãã®ãªã¹ããšèŠãªãã¹ãã§ã¯ãããŸããããç¹å®ã®DBMSã«æå©ãªæ±ºå®ãäžãã®ã«ååã§ãã
è€è£œ
ç§ã®è¬æŒã®ãããã¯ã¯ãç¡ä¿®æ£ã®éåæè€è£œããŸãã¯PostgreSQLãäžçãåŸæããçç±ãã§ãããè€è£œã¯MySQLã䜿çšããå¿ãããããžã§ã¯ãã«ãšã£ãŠæãèŠçãªãããã¯ã®1ã€ã§ãã å€ãã®åé¡ããããŸã-æ£ããæäœãå®å®æ§ãããã©ãŒãã³ã¹-ãããŠäžèŠããããã¯ç¡é¢ä¿ã«èŠããŸãã æŽå²çãªæèãèŠããšãèå³æ·±ãçµè«ãåŸãããŸããMySQLã¬ããªã±ãŒã·ã§ã³ã¯èãæãããŠããªãã£ãããéåžžã«å€ãã®åé¡ãæ±ããŠãããããžã£ãŒãã«ã«ã€ããŠã¯ã©ãã§ããïŒããšãã質åã«çããã«ã¹ãã¬ãŒãžãšã³ãžã³ïŒãã©ã°ã€ã³ãšã³ãžã³ïŒããµããŒãããŠããŸããããŸããŸãªã¹ãã¬ãŒãžãšã³ãžã³ãã¬ããªã±ãŒã·ã§ã³ã«åå ããæ¹æ³ãã 2004幎ãPostgreSQLã¡ãŒãªã³ã°ãªã¹ãã§ããŠãŒã¶ãŒã¯PostgreSQLãœãŒã¹ã³ãŒãã§ã¹ãã¬ãŒãžãšã³ãžã³ããèŠã€ãããããšããŸããããããã«ãªãããšã«éåžžã«é©ããŸããã è°è«ã®äžã§ã誰ãããã®æ©èœãPostgreSQLã«è¿œå ããããšãææ¡ããéçºè ã®1人ã¯ããã¿ããªããããè¡ããšãã¬ããªã±ãŒã·ã§ã³ãšãšã³ãžã³éã®ãã©ã³ã¶ã¯ã·ã§ã³ã«åé¡ãçºçããŸãããšçããŸããã
åé¡ã¯ãå€ãã®ã¹ãã¬ãŒãžç®¡çã·ã¹ãã ã...ãã°ãã°ç¬èªã®WALãšPITRãè¡ãããšã§ãã ç¬èªã®ãããã¡ç®¡çãããã¯ãã¬ããªã±ãŒã·ã§ã³/è² è·ç®¡çãè¡ã人ãããŸãã ã ãããããªããèšãããã«ãã€ã³ã¿ãŒãã§ã€ã¹ã¯ã©ãã«ããã¹ãããšããé£ããçºèšpostgresqlã¡ãŒãªã³ã°ãªã¹ãã®ãã®æçŽãžã®ãªã³ã¯
æœè±¡åã
10幎以äžãçµéããŸããããäœãèŠããŸããïŒ MySQLã«ã¯ç°ãªãã¹ãã¬ãŒãžãšã³ãžã³ã®ããŒãã«éã®ãã©ã³ã¶ã¯ã·ã§ã³ã®åé¡ããããMySQLã«ã¯ã¬ããªã±ãŒã·ã§ã³ã®åé¡ããããŸãã éå»10幎éãPostgreSQLã«ã¯ãã©ã°ã€ã³ã®ããŒã¿åãšã€ã³ããã¯ã¹ããããã¬ããªã±ãŒã·ã§ã³ããããŸããã€ãŸããMySQLã®ã¢ãŒããã¯ãã£äžã®åé¡ãæ®ã£ãŠãããç掻ã劚害ããŠããéãMySQLã®å©ç¹ã¯å¹³æºåãããŸããã MySQL 5.7ã§ã¯ãã¬ããªã±ãŒã·ã§ã³ããã©ãŒãã³ã¹ã®åé¡ã䞊ååããããšã§è§£æ±ºããããšããŸããã äœæ¥äžã®ãããžã§ã¯ãã¯ããã®ãµã€ãºã®ããã«ã¬ããªã±ãŒã·ã§ã³ã®ããã©ãŒãã³ã¹ã«éåžžã«ææãªã®ã§ãæ¹åããããã©ããããã¹ãããŠã¿ãŸããã 5.7ã®åæã¬ããªã±ãŒã·ã§ã³ã¯ã5.5ã®ã·ã³ã°ã«ã¹ã¬ãããããåäœãé ããå Žåã«ãã£ãŠã¯ã»ãŒåãã§ããããšãããããŸããã çŸåšMySQL 5.5ã䜿çšããŠãããããæ°ããããŒãžã§ã³ã«ã¢ããã°ã¬ãŒãããå Žåãã¬ããªã±ãŒã·ã§ã³ã¯åã«å®è¡ãåæ¢ãããããé«è² è·ã®ãããžã§ã¯ãã§ã¯ç§»è¡ãã§ããªãããšã«æ³šæããŠãã ããã
é«è² è·ã«é¢ããã¬ããŒãã®åŸãOracleã¯ç§ãéçºãããã¹ãã«æ³šç®ããåé¡ã®ä¿®æ£ãè©Šã¿ãããšãå ±åããŸããã æè¿ã圌ãã¯ãã¹ãã§äžŠåæ§ã確èªã§ãããšæžããŠãèšå®ãéä¿¡ããŸããã 誀解ããªãéãã16ã¹ã¬ããã§ã¯ãã·ã³ã°ã«ã¹ã¬ããããŒãžã§ã³ãšæ¯èŒããŠè¥å¹²ã®å éããããŸããã æ®å¿µãªãããç¹ã«ãã®ãããªçµæãçããå Žåã§ãåé¡ã¯äŸç¶ãšããŠé¢é£ãããããæäŸãããèšå®ã§ãã¹ããç¹°ãè¿ããŠããŸããã
ãã®ããã©ãŒãã³ã¹ã®ååž°ã®æ£ç¢ºãªçç±ã¯äžæã§ãã ããã€ãã®ä»®å®ããããŸãã-ããšãã°ãMariaDBã®éçºè ã®1人ã§ããChristian Nelsenã¯ãã¹ã¬ããåæã«é¢ããããã©ãŒãã³ã¹ã¹ããŒã ã«åé¡ããããããããªããšããã°ã«æžããŠããŸãã ãã®ããã40ïŒ ã®ååž°ã芳å¯ãããããã¯åŸæ¥ã®ãã¹ãã§ç¢ºèªã§ããŸãã Oracleéçºè ã¯ããã«ç°è°ãå±ãããããååšããªãããšã確信ããããŸãããã©ããããä»ã®åé¡ããããŸãïŒãããŠããã®ãã¡ã®ã©ãã ãã§ããïŒïŒã
MySQLã¬ããªã±ãŒã·ã§ã³ã§ã¯ãã¹ãã¬ãŒãžãšã³ãžã³ã®åé¡ã¯ãéžæãããã¬ãã«ã®ã¬ããªã±ãŒã·ã§ã³ã«ãã£ãŠæªåããŸã-ãããã¯è«ççã§ãããPostgreSQLã§ã¯-ç©ççã§ãã ååãšããŠãè«çè€è£œã«ã¯ç¬èªã®å©ç¹ããããèå³æ·±ãããšãããå€ãã®ããšãã§ããããã«ãªããŸããããã«ã€ããŠãã¬ããŒãã§èª¬æããŸãã ããããPostgreSQLã¯ãç©ççãªè€è£œã®äžéšã§ãã£ãŠãããããã®å©ç¹ããã¹ãŠç¡å¹ã«ããŸãã èšãæããã°ãMySQLã«ããã»ãšãã©ãã¹ãŠã®ããšã¯ãPostgreSQLã§ãã§ã«å®è¡ã§ããŸãïŒãŸãã¯è¿ãå°æ¥å¯èœã«ãªããŸãïŒã
MySQLã§ã®äœã¬ãã«ã®ç©çã¬ããªã±ãŒã·ã§ã³ã®å®è£ ãæåŸ ããããšã¯ã§ããŸããã åé¡ã¯ã1ã€ã®ãã°ïŒPostgreSQLã®å ŽåïŒã®ä»£ããã«ãæ°ããæ¹æ³ã«å¿ããŠ2ã€ãŸãã¯4ã€ã®ãã°ãããããšã§ãã PostgreSQLã¯åçŽã«ã¯ãšãªãã³ããããããã°ã«èšé²ããŸãããã®ãã°ã¯ã¬ããªã±ãŒã·ã§ã³ã§äœ¿çšãããŸãã PostgreSQLã¬ããªã±ãŒã·ã§ã³ã¯ãã¯ã©ãã·ã¥ãªã«ããªæäœäžãšåããã°ããã¯ã䜿çšãããããéåžžã«å®å®ããŠããŸãã ãã®ã¡ã«ããºã ã¯é·ãéæžãããååã«ãã¹ããããæé©åãããŠããŸãã
MySQLã§ã¯ãç¶æ³ã¯ç°ãªããŸãã ç¬ç«ããInnoDBãžã£ãŒãã«ãšã¬ããªã±ãŒã·ã§ã³ãžã£ãŒãã«ããããããã«ã³ãããããå¿ èŠããããŸãã ããã¯ãã°éã®2ãã§ãŒãºã³ãããã§ãããå®çŸ©äžäœéã§ãã ã€ãŸããåã«ãããååŸããŠãInnoDBãã°ãããã©ã³ã¶ã¯ã·ã§ã³ãç¹°ãè¿ããŠãããšèšãããšã¯ã§ããŸãããã©ã®ãããªãªã¯ãšã¹ãã§ããããææ¡ããå床å®è¡ããå¿ èŠããããŸãã ãããè«çã¬ããªã±ãŒã·ã§ã³ã§ããå Žåã§ããè¡ã¬ãã«ã§ããããã®è¡ãã€ã³ããã¯ã¹ã§æ€çŽ¢ããå¿ èŠããããŸãã ãŸãããªã¯ãšã¹ããæºããããã«å€ãã®äœæ¥ãè¡ãå¿ èŠãããã ãã§ãªããã¬ããªã«äžã®InnoDBãã°ã«åã³æžã蟌ãŸããŸãããããã¯æããã«ããã©ãŒãã³ã¹ã«è¯ããããŸããã
PostgreSQLã§ã¯ããã®æå³ã§ãã¢ãŒããã¯ãã£ã¯ã¯ããã«èãæãããããé©åã«å®è£ ãããŠããŸãã æè¿ãLogical DecodingãšåŒã°ããæ©äŒãçºè¡šããŸãããããã«ãããç©çãžã£ãŒãã«ã®ãã¬ãŒã ã¯ãŒã¯ã§ã¯éåžžã«å°é£ãªããããçš®é¡ã®èå³æ·±ãããšãã§ããŸãã PostgreSQLã§ã¯ãããã¯äžèšã®ã¢ããªã³ã§ãããè«çãã³ãŒãã«ãããç©çãã°ãè«ççãªãã®ãšããŠæ±ãããšãã§ããŸãã ãããããã°ã®ãµã€ãºïŒã¹ããŒãã¡ã³ãããŒã¹ã®MySQLã¬ããªã±ãŒã·ã§ã³ãåã€ïŒãé€ããŠãMySQLã¬ããªã±ãŒã·ã§ã³ã®ãã¹ãŠã®å©ç¹ãããã«åãå»ãã®ã¯ãã®æ©èœã§ããå ±åæžã§ãããã ãã§ãïŒ
PostgreSQLã«ã¯ããªã¬ãŒã¬ããªã±ãŒã·ã§ã³ããããŸããããã¯ã¿ã³ã°ã¹ãã³ã§ãåãããšãã§ããŸãã ããªã¬ãŒã¬ããªã±ãŒã·ã§ã³ã¯æ¬¡ã®ããã«æ©èœããŸããããªã¬ãŒãèšå®ãããããŒãã«ã«ããŒã¿ãå ¥åãããããã¡ã€ã«ãæžã蟌ãŸããçµæãã¬ããªã«ã«éä¿¡ãããŠã¬ããªã«ã«é©çšãããŸãã ç§ã®ç¥ãéããã¿ã³ã°ã¹ãã³ãä»ããŠMySQLããPostgreSQLã«ããŸãã¯ãã®éã«ç§»è¡ããŸãã MySQLã§ã¯ãè«çã¬ããªã±ãŒã·ã§ã³ã¯ãšã³ãžã³ã¬ãã«ã§æ£ããæ©èœããŸãããä»ã¯ãã1ã€ã§ããŸããã
ããã¥ã¡ã³ã
PostgreSQLã«ã¯ãã¯ããã«åªããããã¥ã¡ã³ãããããŸãã MySQLã§ã¯ãæ£åŒã«ååšããŠããããã«ãèŠããŸãããåã ã®ãªãã·ã§ã³ã®æå³ãç解ããããšã¯å°é£ã§ãã 圌ãããã£ãŠããããšãæžããŠããããã§ãããæ£ããèšå®ããæ¹æ³ãç解ããã«ã¯ãéå ¬åŒã®ããã¥ã¡ã³ãã䜿çšããŠããããã®ãããã¯ã«é¢ããèšäºãæ¢ãå¿ èŠããããŸãã å€ãã®å ŽåãMySQLã®ã¢ãŒããã¯ãã£ãç解ããå¿ èŠããããŸãããããç解ããªããšãèšå®ã¯äœããã®éæ³ã®ããã«èŠããŸãã
ããšãã°ãPercona瀟ã¯ãã®ããã«ã解éãããŸãããMySQLããã©ãŒãã³ã¹ããã°ãéå¶ãããã®ããã°ã«ã¯MySQLæäœã®ç¹å®ã®åŽé¢ãæ±ã£ãå€ãã®èšäºããããŸããã ããã¯å€§äººæ°ããããããã¯ã©ã€ã¢ã³ããã³ã³ãµã«ãã£ã³ã°ã«å°ãããªãœãŒã¹ãéããŠPercona-Serverã®ç¬èªã®ãã©ãŒã¯ã®éçºãéå§ããããšãã§ããŸããã MySQL Performance Blogã®ååšãšé¢é£æ§ã¯ãå ¬åŒææžã ãã§ã¯äžååã§ããããšã蚌æããŠããŸãã
PostgreSQLã®ããã¥ã¡ã³ãã«ã¯ãã»ãŒãã¹ãŠã®çãããããŸãã äžæ¹ãPostgreSQLã®ããã¥ã¡ã³ããã倧人ãã®Oracleãšæ¯èŒãããšããå€ãã®æ¹å€ãè³ã«ããŸããã ããããããã¯å®éãéåžžã«éèŠãªææšã§ãã MySQLã倧人ã®Oracleãšæ¯èŒããããšãã人ã¯èª°ãããŸãã-ããã¯ãšãã§ããªãããšãã§ããªãããšã§ã-PostgreSQLã¯ãã§ã«ããªãçå£ã«æ¯èŒãå§ããŠããŸããPostgreSQLã³ãã¥ããã£ã¯ãã®æ¹å€ãèãã補åã®æ¹åã«åãçµãã§ããŸãã ããã¯ããã®èœåãšããã©ãŒãã³ã¹ã«ãããŠãMySQLãWebãµã€ãã®ãããã®ãŸãŸã§ããäžæ¹ã§ãã¢ãã€ã«ãªãã¬ãŒã¿ãŒãšéè¡ãéå¶ããOracleãªã©ã®åŒ·åãªã·ã¹ãã ãšç«¶åãå§ããããšã瀺åããŠããŸãã ãããŠã倧éã®ããŒã¿ãšãŠãŒã¶ãŒã«æé·ãã巚倧ãªãããžã§ã¯ãã¯ã倧ããªã¹ããŒã³ã§MySQLã«æ²ãã¿ãå¹ã蟌ã¿ããã®å¶éãšãåççãªæéãšåŽåãè²»ãããªããã°ä¿®æ£ã§ããªãã¢ãŒããã¯ãã£äžã®åé¡ã«åžžã«äŒã¿ãŸãã
PostgreSQLã§ã®ãã®ãããªå€§èŠæš¡ãªãããžã§ã¯ãã®äŸã¯1Cã§ããPostgreSQLã¯Microsoft SQLã®ä»£ããã«ãªãã·ã§ã³ãšããŠæäŸãããMicrosoft SQLã¯æ¬åœã«çŽ æŽãããDBMSã§ãããæã匷åãªãã®ã®1ã€ã§ãã PostgreSQLã¯MS SQLã眮ãæããããšãã§ãããããMySQLã§çœ®ãæããããšããŸã... Mark Twainãæžããããã«ããã®ã·ãŒã³ã§ã®åãã¿ã®ããŒã«ãäžããŸãããã
åºæº
PostgreSQLã¯ãSQL-92ãSQL-98ãSQL-2003æšæºã«æºæ ããŠããïŒãã¹ãŠã®åŠ¥åœãªéšåãå®è£ ãããŠããŸãïŒãSQL-2011ã§æ¢ã«åäœããŠããŸãã ããã¯ãšãŠãã¯ãŒã«ã§ãã æ¯èŒãããšãMySQLã¯SQL-92ããµããŒãããŠããŸããã MySQLã§ã¯ããã®ç®æšã¯éçºè ã«ãã£ãŠèšå®ããããã®ã§ã¯ãªããšèª°ããèšãã§ãããã ããããæšæºã®ããŒãžã§ã³éã®éãã¯å°ããªå€æŽã§ã¯ãªãããšãç解ããå¿ èŠããããŸã-ãããã¯æ°ããæ©èœã§ãã ã€ãŸããMySQLããæšæºã«æºæ ããŸããããšèšã£ãæç¹ã§ãè¥å¹²ã®éããçããMySQLã®ä¿å®ãå°é£ã«ãªã£ãã ãã§ãªããå€ãã®å¿ èŠãã€éèŠãªæ©èœã®å®è£ æ¹æ³ãéããããŸããã éåžžã®ãªããã£ãã€ã¶ãŒã¯ãŸã ãããŸããã PostgreSQLã§æé©åãšåŒã°ãããã®ã¯ããããŒãµãŒããã©ã¹æ£èŠåãšåŒã°ããŸãã MySQLã§ã¯ãããã¯åé¢ã®ãªãåãªãã¯ãšãªå®è¡èšç»ã§ãã ãŸããMySQLã¯ãäžäœäºææ§ã®è² è·ã«å§è¿«ãããŠãããããæšæºãããã«ãµããŒãããããã«ãªããŸãã ã¯ãã圌ãã¯æãã§ããŸãããçŽ5幎åŸã«ã¯äœããæãã€ãã§ãããã PostgreSQLã«ãã¹ãŠãæã£ãŠããŸãã
ããã©ãŒãã³ã¹ãšç®¡çã®è€éã
管çã®å®¹æãã®èŠ³ç¹ãããæ¯èŒã¯PostgreSQLãæ¯æããŠããŸããã MySQLã¯ç®¡çãã¯ããã«ç°¡åã§ãã ãããŠããã®æå³ã§èããã»ããè¯ããšããããã§ã¯ãããŸããããåã«ã§ããããšãã¯ããã«å°ãªãããã§ãã ãããã£ãŠãããç°¡åã«æ§æã§ããŸãã
MySQLã«ã¯è€éãªã¯ãšãªã«é¢ããåé¡ããããŸãã ããšãã°ãMySQLã¯ã°ã«ãŒãåããã¹ãŠã®çµåã®åå¥ã®éšåã«äžããæ¹æ³ãç¥ããŸããã 2ã€ã®ã¯ãšãªã®éã-ãã®äŸã§ã¯ãäžèšã®åå¥ã®ããŒãã«ãšãŠããªã³ã«ããã°ã«ãŒãåã¯ããŠããªã³ãªãŒã«ããã15åéãåäœãããã®åŸã°ã«ãŒãåããŸãããããªããã£ãã€ã¶ã¯äž¡æ¹ã®ã¯ãšãªãåãå¹ççãªã¯ãšãªå®è¡ãã©ã³ã«å ¥ããå¿ èŠããããŸãã ãã®ãããªã¯ãšãªã®çæã¯ãæäœæ¥ã§è¡ãå¿ èŠããããŸããã€ãŸããéçºè ãããŒã¹ã§ãã¹ãããšã«æéãè²»ããå¿ èŠããããŸãã
äžèšã®ããã«ãMySQLã®ãã·ã³ãã«ããã¯ãéåžžã«è²§åŒ±ãªæ©èœã«èµ·å ããŸããMySQLã®åäœã¯ããã«æªããéçºäžã«ããå€ãã®æéãšåŽåãå¿ èŠã§ãã å¯Ÿç §çã«ãPostrgreSQLã«ã¯ãã¹ãã°ã©ã ãšéåžžã®ãªããã£ãã€ã¶ãŒãããããã®ãããªã¯ãšãªãå¹ççã«å®è¡ããŸãã ãããããã¹ãã°ã©ã ãããå Žåããããã®èšå®ããããŸã-å°ãªããšããã±ãããµã€ãºã èšå®ã«ã€ããŠç¥ãå¿ èŠããããå Žåã«ãã£ãŠã¯å€æŽããå¿ èŠããããŸãããããã£ãŠãèšå®ã®çš®é¡ã責任ãç解ã§ããããã«ããæé©ãªãã©ã¡ãŒã¿ãŒã®éžææ¹æ³ã確èªããå¿ èŠããããŸãã
ææãPostrgreSQLã®ã¹ãã«ãå©ãã«ãªãã®ã§ã¯ãªãã劚ãã«ãªãããšããããŸãã 95ïŒ ã®ã±ãŒã¹ã§ã¯ããã¹ãŠãããŸãæ©èœãïŒMySQLãããåªããŠããŸãïŒãäžéšã®ãã«ãªã¯ãšãªãã¯ããã«é ããªããŸãã ãŸãã¯ããã¹ãŠãããŸãæ©èœãããã®åŸçªç¶ïŒãŠãŒã¶ãŒã®èŠ³ç¹ããïŒããããžã§ã¯ããæé·ããã«ã€ããŠãäžéšã®ãªã¯ãšã¹ããããŸãæ©èœããªããªããŸããïŒããå€ãã®ããŒã¿ãããããªã¯ãšã¹ããå®è¡ããããã®å¥ã®èšç»ãéžæããå§ããŸããïŒã ã»ãšãã©ã®å Žåãä¿®æ£ããã«ã¯ãåæãå®è¡ããããèšå®ãå°ãå€æŽããŸãã ããããããªãã¯äœããã¹ããããããã©ã®ããã«è¡ãã¹ãããç¥ãå¿ èŠããããŸãã å°ãªããšãããã®ãããã¯ã«é¢ããPostgreSQLã®ããã¥ã¡ã³ããèªãå¿ èŠããããŸããäœããã®çç±ã§ãããã¥ã¡ã³ããèªãã®ã奜ãã§ã¯ãããŸããã ãããããMySQLããããã»ãšãã©å©ããŠããªãããã§ããããïŒ :)
ãã®æå³ã§ã®PostgreSQLã¯æªåããããšã¯ãªããåé¡ã延æããããšãã§ããã ãã§ãããMySQLã¯ããã«åé¡ããè±èœããåé¡ã解決ããããã«æéãšãéãè²»ããå¿ èŠãããããšã匷調ããŸãã ãã®æå³ã§ãMySQLã¯åžžã«å®å®ããŠããŸãåäœãããéçºæ®µéã§ãã£ãŠãã人ã ã¯ãããã®æ©èœãèæ ®ã«å ¥ããŸããå¯èœãªéãç°¡åãªæ¹æ³ã§ãã¹ãŠãå®è¡ããŸãã ããã¯ãçç£æ§ãããæ£ç¢ºã«ã¯ããã®éææ¹æ³ãšãã®äºæž¬å¯èœæ§ã«ã®ã¿é©çšãããŸãã æ£ç¢ºããšå©äŸ¿æ§ã®èŠ³ç¹ãããPostgreSQLã¯MySQLãããåªããŠããŸãã
ããã§ãäœãéžã¶ã¹ãã§ããïŒ
ç¹å®ã®ãããžã§ã¯ãã§MySQLãšPostgreSQLã決å®ããã«ã¯ãæåã«ä»ã®è³ªåã«çããå¿ èŠããããŸãã
ãŸããããŒã ã«ã¯ã©ã®ãããªçµéšããããŸããïŒ ããŒã å šäœã§MySQLã®äœ¿çšçµéšã10幎ãããã§ããã ãæ©ãéå§ããå¿ èŠãããå Žåã¯ã䜿ãæ £ããããŒã«ã䜿ãæ £ããŠããªãããŒã«ã«å€æŽãã䟡å€ããããšããäºå®ã§ã¯ãããŸããã ãã ããã¿ã€ãã³ã°ãéèŠã§ãªãå Žåã¯ãPostgreSQLãè©ŠããŠãã ããã
第äºã«ãæäœã®åé¡ãå¿ããŠã¯ãªããŸããã è² è·ã®é«ããããžã§ã¯ãããªãå Žåãããã©ãŒãã³ã¹ã®èŠ³ç¹ããã2ã€ã®DBMSã«éãã¯ãããŸããã ããããPostgreSQLã«ã¯ãã1ã€ã®éèŠãªå©ç¹ããããŸããããã¯ãããå³å¯ã§ãããå€ãã®ãã§ãã¯ãè¡ãããã¹ãç¯ãæ©äŒãå°ãªããªãããšã§ããããã¯å°æ¥ã®å€§ããªå©ç¹ã§ãã ããšãã°ãMySQLã§ã¯ãç¬èªã®ããŒã«ãäœæããŠãããŒã¿ããŒã¹ã®éåžžã®åç §æŽåæ§ãæ€èšŒããå¿ èŠããããŸãã ãããŠããããåé¡ã«ãªãå¯èœæ§ããããŸãã ãã®æå³ã§ãPostgreSQLããŒã«ã¯ãã匷åã§æè»æ§ãé«ããéçºãããå¿«é©ã§ãã ããããããã¯éçºè ã®çµéšã«å€§ããäŸåããŸãã
èŠçŽãããšãã·ã³ãã«ãªãªã³ã©ã€ã³ã¹ãã¢ãææããŠããå Žåã管çè ã«ãéããªãã倧ããªãããžã§ã¯ãã«æé·ãããšããæ·±å»ãªéå¿ã¯ãªããMySQLã䜿çšããçµéšããããMySQLã䜿çšããŸãã ãããžã§ã¯ãã人æ°ããããšä»®å®ããå Žåããããžã§ã¯ãã倧èŠæš¡ãªå Žåãè€éãªããžãã¯ãšããŒãã«éã®é¢ä¿ãããå Žåãæžãæããããšã¯å°é£ã§ããPostgreSQLã䜿çšããŠãã ããã ç®±ããåºããŠããããã¯ããªãã®ããã«åããéçºãå©ããæéãç¯çŽããããªããæé·ãããããªããŸãã