èµ·ãã£ãïŒ ã·ã£ã³ãã³ãéããŠããŒãã£ãŒãéãããšãã§ããŸããååã®ãªãªãŒã¹ãã7幎以äžãçµéãã XEãæèŒããææ°ã®Oracle Database 18ãã€ãã«ããŠã³ããŒãå¯èœã«ãªããŸããã ãããŸã§ã®ãšãããLinux x64ã®ã¿ã«å¯Ÿå¿ããŠããŸãããä»ã®ãã©ãããã©ãŒã ã®ããŒãžã§ã³ãDockerããã³Vagrantã®ã€ã¡ãŒãžãéããªãç»å Žããäºå®ã§ãã
ææ°ã§ã¯ãªã人ã®ããã«ã Oracle Database XEãŸãã¯Express Editionã¯ãæã匷åãªãªã¬ãŒã·ã§ãã«DBMSã®ç¡æçã§ãã åŸæ¥ããã®ã¿ã€ãã®ãšãã£ã·ã§ã³ã«ã¯ã䜿çšå¯èœãªæå°æ©èœã䜿çšãããªãœãŒã¹ã«é¢ããç¹å®ã®å¶éãããã³å°ããªé åžãµã€ãºããããŸãã ããã§ãããã®ããŒãžã§ã³ã®DBMSã§ããããã®DBMSã®æ©èœãç¿åŸããŠããã ãã®äººã ãçŸåšãã¹ãŠã®å¶éã«æºè¶³ããŠããŠãããªããç§ã®ãããªæ®éã®æ奜家ã®éã§æè¡ãè©äŸ¡ãããå°ããªäŒæ¥ã®éã§åžžã«éåžžã«äººæ°ããããŸãã
XEã®æ°ãã18çªç®ã®ããŒãžã§ã³ã¯ããã®DBMSã䜿çšããåäŸã®ãªãç¯å²ãéããŸããããã¯ãä»åOracleããã®æŠè¡ãå€æŽããæå°éã®æ©èœãæäŸãã代ããã«ããã®ãšãã£ã·ã§ã³ã«æãé«äŸ¡ã§æ©èœçãªEnterprise Editionã®ã»ãšãã©ãã¹ãŠã®æã人æ°ã®ãããªãã·ã§ã³ãå«ãŸããŠããããã§ã ãã ãã䜿çšãããªãœãŒã¹ã«ã¯å¶éããããŸãã
ãªã18代ã§ããïŒ
æ¯æ¥Oracleã®DBMSã䜿çšããŠããªãèªè ã«ã¯ãå³18ã®ç±æ¥ã説æããŸãã å®éãããŒãžã§ã³12 cãªãªãŒã¹2ã®åŸã補é æ¥è ã¯ããŒãžã§ã³ç®¡çã¹ããŒã ãå€æŽããDBMSã®æ°ããããŒãžã§ã³ããªãªãŒã¹ããããã«1幎ãµã€ã¯ã«ã«åãæ¿ããããšã決å®ããŸããã ãããã£ãŠããªãªãŒã¹12.2.0.2ã¯ããŒãžã§ã³18ãšã¿ãªãããå°æ¥çã«ã¯Oracle Databaseã®19ã20以äžã®ããŒãžã§ã³ããªãªãŒã¹ãããäºå®ã§ãã åæã«ãExpress Editionã®æ°ãããããã¯ããããŒãžã£ãŒã¯ãä»ã®ãšãã£ã·ã§ã³ã®ãªãªãŒã¹ãšã»ãŒåæã«ãæ°ããããŒãžã§ã³ã®XEãåŒãç¶ã楜ããããšãçŽæããŸããã ãŸã幎ã«äžåºŠã å¯äžã®éãã¯ãSEããã³EEãšã¯ç°ãªããXEã«å¯ŸããŠãããããã³ã»ãã¥ãªãã£ããããçºè¡ãããªãããšã§ãã ãã ããXEã®åŸç¶ã®åã¡ãžã£ãŒãªãªãŒã¹ã«ã¯ãåå¹Žå šäœã®SEããã³EEã®ãšãã£ã·ã§ã³ã§è¡ããããã¹ãŠã®ä¿®æ£ããã³å€æŽãå«ãŸããŸãããã¡ãããåã¶ããšã¯ã§ããŸããã ç¹ã«7幎éãXEã®11çªç®ã®ããŒãžã§ã³ãããããä¿®æ£ãåãåããªãã£ããšèãããšãã³ãã¥ããã£ãã倧ããªéèŠããããŸããã
æ°æ©èœ
ããã§ã¯ãXEãåãã Oracle Database 18ã®æ°ããããŒãžã§ã³ã§æ³šç®ãã¹ãç¹ã¯äœã§ããïŒ å®éãå€ãã®ããšã ãããããã®ãšãã£ã·ã§ã³ã®ä»¥åã®ããŒãžã§ã³ãšã®æãéèŠãªéãã¯ãä»åã¯Standard Editionããã³Enterprise Editionã®ã»ãšãã©ãã¹ãŠã®æãäžè¬çãªãªãã·ã§ã³ãå«ãŸããŠããããšã§ãã ãããã®æã泚ç®ãã¹ããã®ããã詳现ã«æ€èšããŠãã ããã
ãã«ãããã³ã
12c以éã Oracle Databaseã¯ãããããã©ã¬ãã«ã»ããŒã¿ããŒã¹ããµããŒãããŠããŸãããã€ã³ãã¯ããããæ°åã®SQL * Plusã³ãã³ãã§ããŒã¿ããŒã¹ãã€ã³ã¹ã¿ã³ã¹ã«ãæ¥ç¶ãããã³ãåæãã§ããããšã§ãã ããã«ããããã¹ãéãDBMSããŒãžã§ã³éã§ãåé¡ãªãããŒã¿ããŒã¹ã転éã§ããŸãã ããã«ãOracle Databaseã®æ°ããããŒãžã§ã³ãšã®äºææ§ãçŽæããŸãã ã¢ããã°ã¬ãŒãããã»ã¹ã¯ãunplug-uninstall-install-plugã»ã©è€éã§ã¯ãããŸããã ãã«ãããã³ãã¢ãŒããã¯ãã£ã§ã¯ãããšãã°ãåããã¹ãäžã®ç°ãªãããŒã¿ããŒã¹ã§APEXã®ç°ãªãããŒãžã§ã³ããµããŒãããããšãã§ããŸãã
ã€ã³ã¡ã¢ãªåã¹ãã¢ãšéèš
æã匷åã§é«äŸ¡ãªOracle Databaseãªãã·ã§ã³ã®1ã€ã¯ãã€ã³ã¡ã¢ãªåã¹ãã¢ã§ããããã«ãããããŒã¿ã®ã³ããŒãåæå圢åŒã§ã¡ã¢ãªãŒã«æ ŒçŽããééã¢ãŒãã§è¿ éã«ã¢ã¯ã»ã¹ã§ããŸãã
ããŒãã£ã·ã§ãã³ã°
ããŒãã£ã·ã§ãã³ã°ã¯æ°ãããŠãšããµã€ãã£ã³ã°ãªãã®ã§ã¯ãããŸããããOracle Databaseã§ã¯åžžã«Enterprise Editionã®ãŠãŒã¶ãŒã®ã¿ã䜿çšã§ããŸãããã競åããDBMSã§ã¯ãã»ãšãã©ã®å Žåããã®ãªãã·ã§ã³ã¯ããã«äœ¿çšã§ããŸãã ããšãã°ã æè¿ãªãªãŒã¹ãããPostgres 11ããã·ã¥ããŒãã£ã·ã§ãã³ã°ã§ãè¿œå ãããŸããã çŸåšããã®æ©èœã¯ç¡æçã®Oracleã§ã䜿çšã§ããŸãã
é«åºŠãªåæãšã»ãã¥ãªãã£
ããã¯ãããŒã¿ãã€ãã³ã°çšã®ããŒã«ã»ããå šäœã§ãã ã€ã³ã¿ãŒãã§ã€ã¹ããŒã¿ãã€ãã³ã°SQLãRããã°ã©ãã³ã°ãOracle Data Miner UIã ã»ãã¥ãªãã£ã«é¢ããŠã¯ãããã¯ãã¹ãŠééçãªããŒã¿æå·åã«é¢ãããã®ã§ãã
ãªã³ã©ã€ã³ã€ã³ããã¯ã¹ãªãã€ã
ãããžã§ã¯ãã®1ã€ã§ãã®æ©äŒãéããæ¹æ³ã ããã§ãã€ã³ããã¯ã¹ã®éãããã¯åæ§ç¯ããã®å Žã§å®è¡ã§ããŸãã
ãªã³ã©ã€ã³è¡šåå®çŸ©
ããã±ãŒãžDBMS_REDEFINITION
䜿çšããŠã以åã¯EEãŠãŒã¶ãŒã®ã¿ãå©çšã§ãããããŒãã«æ§é ã®éãããã¯åå²ãåœãŠã®åæ§ã®å¯èœæ§ã
ã¯ãšãªçµæãã£ãã·ã¥ãšPL / SQLé¢æ°çµæãã£ãã·ã¥
ããã©ãŒãã³ã¹ã«é¢ããŠèšãã°ãããŒã¿ããã£ãã·ã¥ããã«å®è¡ã§ããªãããšã¯ç§å¯ã§ã¯ãããŸããã SQLã¯ãšãªçµæãšPL / SQLé¢æ°ã®ã€ã³ã¹ã¿ã³ã¹ã¬ãã«ã®ãã£ãã·ã¥ãå©çšå¯èœã«ãªããã¢ããªã±ãŒã·ã§ã³ã®ããã©ãŒãã³ã¹ãåäžãããããã«äœ¿çšã§ããããã«ãªããŸããã
ããããããã€ã³ããã¯ã¹
ç¹å¥ãªçš®é¡ã®ã€ã³ããã¯ã¹ããã®äœ¿çšã¯éåžžãåæã·ã¹ãã ã«é¢é£ä»ããããŠããŸãã ããã¯ããã®ã¿ã€ãã®ã€ã³ããã¯ã¹ã¯ãã»ãšãã©æŽæ°ãããªãããŒãã«ã§ã®ã¿äœ¿çšããããšããå§ãããŠããããã§ãã ãã ãããããã®å©ç¹ã¯ããããã®ã€ã³ããã¯ã¹ãçµã¿åãããŠããŒã¿ãžã®ã¢ã¯ã»ã¹ãããã«é«éåããè€æ°ã®ãœãŒã¹ïŒããããããããããçµåã€ã³ããã¯ã¹ïŒã®äœ¿çšã«ã䜿çšã§ããããšã§ãã
Oracle Advanced Compression
XEã§ã®ãªãœãŒã¹å¶éã®éæãé ããããªãã·ã§ã³ã ããŒã¿ããŒã¹ãšã€ã³ã¹ã¿ã³ã¹èªäœã®ã¡ã¢ãªæ§é ã®äž¡æ¹ã§ééçãªããŒã¿å§çž®ãçæããŸãã
ãããªã¢ã©ã€ãºããã¥ãŒã¯ãšãªã®æžãæã
ãªããã£ãã€ã¶ãSQLã¯ãšãªãèªåçã«ãæžãæããããããªã¢ã©ã€ãºããã¥ãŒã䜿çšããŠããã©ãŒãã³ã¹ãæ¹åã§ãããªãã·ã§ã³ã
Oracle Spatial and Graph
ã¹ãã¬ãŒãžã«é¢ãããã¹ãŠãšãžãªããŒã¿ã®æäœã
æ®å¿µãªããã Parallel Query ã Block Media Recovery ã Diagnostics Pack ã Tuning Packãªã©ã®ãªãã·ã§ã³ã¯æäŸãããŠããŸããã ãã ããããŒãããããããžã§ã¯ãã§ã¯ã XEã®å°æ¥ã®ããŒãžã§ã³ã«åŸè 2ã€ãå«ããå¿ èŠããããŸãã
ã¢ã»ã³ããªã«å«ãŸãããªãã·ã§ã³ã®å®å šãªãªã¹ãã¯ããã®ãšãã£ã·ã§ã³ã®ã©ã€ã»ã³ã¹ã«é¢ããå ¬åŒãã³ãã¬ããã«èšèŒãããŠããŸãã
ãããŠãã¡ãããDBMSãããŒãžã§ã³11 g以éã«çµéšããå éšã¡ã«ããºã ã®ãã°ä¿®æ£ãšæ¹åã®æ°ãå¿ããªãã§ãã ããã Oracle Databaseã®æãéèŠã§æãå°æ¬ãããŠããã³ã³ããŒãã³ãã§ãããªããã£ãã€ã¶ã®äœæ¥ã§ãã©ã®ãããªãã¬ãŒã¯ã¹ã«ãŒãè¡ãããããèããŠãã ããã
å¶éäºé
è»èã®ããšã¯ã©ãã«ãããŸããïŒ ãã®ããŒãžã§ã³ã®DBMSã§äœ¿çšããããªãœãŒã¹ã®å¶éã ããã§è«ççãªå¢å ãèªããããŸãããïŒ
- æ倧ããŒã¿ããŒã¹ãµã€ãºã¯12 GBã§ã ïŒ11 g XEã§ã¯11 GBïŒã
- æ倧2 GBã®RAMïŒ11 g XEã§ã¯1 GBã«å¯ŸããŠïŒã
- æ倧2ã€ã® CPUã¹ã¬ããïŒ11 g XEã®1ã€ã«å¯ŸããŠïŒã
- æ倧3ã€ã®ãã©ã¬ãã«ããŒã¿ããŒã¹ïŒãã©ã¬ãã«ããŒã¿ããŒã¹ãŸãã¯PDBã11 g XEã«ã¯ãã®ãããªæ©èœããããŸããã§ããïŒã
ãã¡ãããç£æ¥çšã®å Žåããã®ãããªãã©ã¡ãŒã¿ãŒã¯ã°ãããŠããããã«èŠããŸãããã¢ã«ãããã¯ãªäœ¿çšãæ°èäŒæ¥ãããã³å°èŠæš¡äŒæ¥ã®å Žåããã¹ãŠãå¿ èŠãªãã¬ãŒã ã¯ãŒã¯ã«é©åããŸãã æ·±å»ãªç£æ¥ã®å·šäººã§ããæè¡ãè©äŸ¡ããã ãã§ãªããããã§ååãããå ŽåããããŸãã
ãã¹ãå°æ¬
Oracle Database 11 g XEãšã¯ç°ãªããExpress Editionã®æ°ããããŒãžã§ã³ã«ã¯Oracle APEXïŒApplication Express-ããŒã¿é§ååWebã¢ããªã±ãŒã·ã§ã³ã®è¿ éãªéçºã®ããã®ãã¬ãŒã ã¯ãŒã¯ïŒãããªã€ã³ã¹ããŒã«ãããŠããªããããå°ãªããšãDBMSã®ã³ã³ããã¢ãŒããã¯ãã£ãåå ã§ããããšã«æ³šæããŠãã ããã
ãã ãã R EST Data Servicesã A PEXããã³D atabaseã§æ§æããããããããOracle RAD -stackïŒ R apid A pplication D evelopmentïŒã®ã€ã³ã¹ããŒã«ã¯é£ãããããŸããã ãããã®ã³ã³ããŒãã³ãã®ææ°ããŒãžã§ã³ã¯ãåžžã«å ¬åŒWebãµã€ãã§èŠã€ããããšãã§ããŸãã
- Oracle Application Express ïŒAPEXïŒã®ã€ã³ã¹ããŒã«ããã³ãããã€æé
- Oracle REST Data Services ïŒORDSïŒã®ã€ã³ã¹ããŒã«ããã³ãããã€æé
ãã®ãã¥ãŒã¹ã¯ãOracleããŒã¿ããŒã¹ã«äœããã®åœ¢ã§é¢ä¿ããŠãããã¹ãŠã®éçºè ã«ãšã£ãŠçŽ æŽããããã®ã ãšæããŸããXEã®æ°ããªäººçã¯ããã®åéã®è¥ãå°é家ã®æµå ¥ãæå³ããå¯èœæ§ããããããã¯åžžã«ã³ãã¥ããã£ã«ç©æ¥µçã«åæ ãããŠããŸãïŒ ã»ãã仲éïŒ
æŽæ°ãã
ã¡ã€ã³èšäºã§ã¯ããã«ã€ããŠæžããŠããŸããããããã«é¢ããã³ã¡ã³ãã§çåãçãå§ããã®ã§ã18 c XEã«ã¯ãã¹ãŠã®æ©èœé©æ°ãå®éã«ã¯DBMSã®18çªç®ã®ããŒãžã§ã³ãå«ãŸããŠãããšããäºå®ã«æ³šç®ããŸãã ãããã®ã©ãã客芳çã«æãå°è±¡çã§ãããã«ã€ããŠã¯è©±ããŸããããç§ã«ãšã£ãŠã¯ééããªãããã§ãïŒ
- äžååãªæ§é ã®JSONããŒã¿ãæ±ãããã®ãã€ãã£ããµããŒãã
- ããŒãã«ãé¢æ°ãããã±ãŒãžãªã©ã®ããŒã¿ããŒã¹ãªããžã§ã¯ãã®é·ãã¢ã€ãã ã®ãµããŒã äž»é¡ã®äººã ã¯ãç§ã®æèŠã§ã¯ã12cãªãªãŒã¹1ã®åã«30æåã®å¶éãããããšãç¥ã£ãŠããŸããã
- é«åºŠãªã€ã³ããã¯ã¹å§çž®ã
- æ°ããããã±ãŒãž
UTL_CALL_STACK
; - SQL WITHã¹ããŒãã¡ã³ãã§å®çŸ©ãããPL / SQLé¢æ°ã
- PL / SQLåºæã®ããŒã¿åã¯ãPL / SQL-to-SQLã€ã³ã¿ãŒãã§ã€ã¹ãä»ãã䜿çšãæ¿èªãããŸããã
- PTFãŸãã¯ããªã¢ãŒãã£ãã¯ããŒãã«é¢æ°ãå®è¡æã«åºå圢åŒã調æŽã§ããŸãã
- 修食ãããåŒããŸãã¯å¥ã®æ¹æ³ã§ãPL / SQLã®ãã¹ãŠã®ã¿ã€ãã®ã³ã¬ã¯ã·ã§ã³ã®ã³ã³ã¹ãã©ã¯ã¿ãŒã
- çŸåšã®ã»ãã·ã§ã³ã«ã®ã¿ååšãããã©ã€ããŒãäžæããŒãã«ã
ãããŠãããã¯ãã¹ãŠãšã¯çšé ãã§ãããå人çã«ç§ãåã°ããç§ãééããªãå©çšãããã®ã ãã§ãã å€æŽã®å®å šãªãªã¹ãã¯ãå ¬åŒããã¥ã¡ã³ãã«èšèŒãããŠããŸãã