ETLãšã¯ãExtractïŒæœåºïŒãTransformïŒå€æïŒãLoadïŒããŒãïŒã®é æåãåã£ãŠäœãããèšèã§ãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ã«ãããŠããŒã¿ç§»è¡ãããŒã¿çµ±åã®ããã»ã¹ãæããŸãã
å ·äœçã«ã¯ãExtractïŒæœåºïŒãã§ãŒãºã§ã¯ç°ãªãããŒã¿ãœãŒã¹ããããŒã¿ãæœåºããTransformïŒå€æïŒãã§ãŒãºã§ã¯æœåºããããŒã¿ãäžè²«æ§ã®ãã圢åŒã«å€æããLoadïŒããŒãïŒãã§ãŒãºã§ã¯ãããã®ããŒã¿ãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ã«åã蟌ã¿ãŸãã
1.2 ETLã®ç®ç
ETLã®äž»ãªç®çã¯ãç°ãªãããŒã¿ãœãŒã¹ããååŸããããŒã¿ãäžå çã«çµ±åã»ç®¡çããããžãã¹ãåæã®ããã«å©çšå¯èœãªç¶æ ã«ããããšã§ãããã®ãããETLããã»ã¹ãé©åã«è¡ãããšã§ã以äžã®ãããªå©ç¹ãåŸãããŸãã
1. ããŒã¿ã®äžè²«æ§: ç°ãªãããŒã¿ãœãŒã¹ããæœåºããããŒã¿ãçµ±äžããã圢åŒã«å€æããããšã§ãããŒã¿ã®äžè²«æ§ãæ ä¿ãããŸããããã«ãããããŒã¿ã®åæãã¬ããŒãäœæãã¹ã ãŒãºã«è¡ããããã«ãªããŸãã
2. ããŒã¿ã®å質åäž: ETLããã»ã¹ã§ã¯ãããŒã¿ã®ç²ŸåºŠãåäžãããããã«æ¬ æããŒã¿ã®è£å®ãäžæ£ç¢ºãªããŒã¿ã®ä¿®æ£ãéè€ããŒã¿ã®åé€ãªã©ãè¡ãããŸãããã®çµæãããŒã¿ã®å質ãåäžããåæã®ç²ŸåºŠãåäžããŸãã
3. ããŒã¿ã¢ã¯ã»ã¹ã®æé©å: ETLããã»ã¹ã«ããããŒã¿ãæŽçãããçµ±åãããããšã§ãããŒã¿ã¢ã¯ã»ã¹ã容æã«ãªããŸãããŸããããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ãžã®ããŒããå¹ççã«è¡ãããããšã§ãããŒã¿ã®ååŸãæŽæ°ãã¹ã ãŒãºã«è¡ããããã«ãªããŸãã
4. ã»ãã¥ãªãã£ã®åäž: ETLããã»ã¹ã§ã¯ãããŒã¿ã®æ©å¯æ§ããã©ã€ãã·ãŒãä¿è·ããããã®åŠçãè¡ãããŸããäŸãã°ãå人æ å ±ãå¿ååããããšã§ãããŒã¿æŒæŽ©ãäžæ£ã¢ã¯ã»ã¹ã®ãªã¹ã¯ã軜æžããããšãã§ããŸãã
2. ETLããã»ã¹ã®æé
ETLããã»ã¹ã¯ã以äžã®3ã€ã®äž»èŠãªæé ããæ§æãããŠããŸãã
2.1 ExtractïŒæœåºïŒ
Extractãã§ãŒãºã§ã¯ãç°ãªãããŒã¿ãœãŒã¹ããããŒã¿ãæœåºãããŸããããŒã¿ãœãŒã¹ã«ã¯ãé¢ä¿ããŒã¿ããŒã¹ãNoSQLããŒã¿ããŒã¹ãCSVãã¡ã€ã«ãAPIãªã©ãå«ãŸããŸããæœåºã¯ãæå®ãããæ¡ä»¶ã«åºã¥ããŠè¡ããããããããŒã¿ã®ç¯å²ãç¹å®ã®å±æ§ãæã€ããŒã¿ã ããæœåºããããšãå¯èœã§ãã
2.2 TransformïŒå€æïŒ
Transformãã§ãŒãºã§ã¯ãæœåºããããŒã¿ãäžè²«æ§ã®ãã圢åŒã«å€æããŸããå ·äœçã«ã¯ã以äžã®ãããªåŠçãè¡ãããŸãã
- ããŒã¿ã®ã¯ã¬ã³ãžã³ã°: æ¬ æå€ãäžæ£ç¢ºãªããŒã¿ã®ä¿®æ£ãéè€ããŒã¿ã®åé€ãªã©ãè¡ãããŸãã
- ããŒã¿ã®ãããã³ã°: ããŒã¿ã®ååãã¿ã€ãã圢åŒãªã©ãçµ±äžããããã«ãããŒã¿ã®ãããã³ã°ãè¡ãããŸãã
- ããŒã¿ã®éçŽãåå²: ããŒã¿ã®éçŽãåå²ãè¡ãããããšã§ãããŒã¿ãããå¹æçã«å©çšãããããã«ãªããŸãã
- ããŒã¿ã®å¿ååããã¹ãã³ã°: ããŒã¿ã®æ©å¯æ§ããã©ã€ãã·ãŒãä¿è·ããããããã®æ®µéã§åŠçãè¡ãããŸãã
2.3 LoadïŒããŒãïŒ
Loadãã§ãŒãºã§ã¯ãå€æãããããŒã¿ãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ã«ããŒããããŸããããŒãæ¹æ³ã«ã¯ãäžæ¬ããŒããå¢åããŒããªã©ããããããããã®æ¹æ³ã«ã¯å©ç¹ãšæ¬ ç¹ããããããããŒã¿éãæŽæ°é »åºŠãæ§èœèŠä»¶ãªã©ã«å¿ããŠé©åãªæ¹æ³ãéžæãããŸãã
3. ETLããŒã«ã®å©çš
ETLããã»ã¹ã¯ãæåã§è¡ãããšãå¯èœã§ãããå¹çæ§ãå質ãåäžãããããã«ãæ§ã ãªETLããŒã«ãå©çšãããŠããŸãããããã®ããŒã«ã«ã¯ããªãŒãã³ãœãŒã¹ã®ãã®ãåçšã®ãã®ãããããããããç°ãªãæ©èœãæ§èœãæäŸããŠããŸããETLããŒã«ã¯ãããŒã¿æœåºã»å€æã»ããŒãã®åããã»ã¹ãçæéã§å¹ççã«è¡ãããšã§ãããžãã¹ãåæã«å¿ èŠãªããŒã¿ãè¿ éã«æäŸããããšãå¯èœã«ãªããŸãã
2. ETLã®åºæ¬çãªæé
ETLïŒExtract, Transform, LoadïŒã¯ãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿è§£æãããžã§ã¯ãã§äœ¿çšãããäžè¬çãªææ³ã§ãç°ãªãããŒã¿ãœãŒã¹ããããŒã¿ãæœåºããå€æããŠã¿ãŒã²ããããŒã¿ããŒã¹ã«èªã¿èŸŒããšããããã»ã¹ãæå³ããŸãããã®ã»ã¯ã·ã§ã³ã§ã¯ãããããã®æé ã«ã€ããŠè©³ãã説æããŠãããŸãã
2.1 æœåº(Extraction)
æœåºã¯ãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿è§£æãããžã§ã¯ãã®åãã«è¡ãããæé ã§ãããŒã¿ãœãŒã¹ïŒããŒã¿ããŒã¹ããã¡ã€ã«ã¹ãã¬ãŒãžãªã©ïŒããå¿ èŠãªããŒã¿ãåãåºããŸããããŒã¿ã¯ããŸããŸãªãã©ãŒãããïŒCSVãJSONãXMLãªã©ïŒãæ§é ã§ååšãããããæœåºã®éã«ã¯ããŒã¿ã®äžè²«æ§ãå質ãä¿ã€ããã«ãé©åãªããŒã¿ãã£ã«ã¿ãªã³ã°ãã¯ãšãªæ©èœã䜿çšããŠéžæçã«ããŒã¿ãæœåºããããšãéèŠã§ãã
ããŒã¿æœåºã®äž»ãªæ¹æ³ã¯ã以äžã®éãã§ãã
– ãã«æœåºïŒããŒã¿ãœãŒã¹ã®ãã¹ãŠã®ããŒã¿ãæœåºããŸãã
– å¢åæœåºïŒååã®æœåºããã®å€æŽããŒã¿ã®ã¿ãæœåºããŸãã
– å·®åæœåºïŒäžå®æéã«å€æŽãããããŒã¿ã®ã¿ãæœåºããŸãã
2.2 å€æ(Transformation)
å€æã¯ãæœåºãããããŒã¿ãã¿ãŒã²ããããŒã¿ããŒã¹ã«èªã¿èŸŒãããã©ãŒããããæ§é ã«å€æããéçšã§ãããã®æé ã§ã¯ã以äžã®ãããªäžè¬çãªå€æåŠçãè¡ãããŸãã
– ããŒã¿ã¯ã¬ã³ãžã³ã°ïŒããŒã¿ã®äžæŽåãéè€ãæ¬ æå€ãæ€åºã»ä¿®æ£ããŸãã
– ããŒã¿åã®å€æïŒããŒã¿ã®åïŒæ°å€ãæååãæ¥ä»ãªã©ïŒãå€æããŸãã
– ããŒã¿çµåïŒè€æ°ã®ããŒã¿ãœãŒã¹ããã®ããŒã¿ãçµåããŸãã
– ããŒã¿éèšïŒããŒã¿ã®å€ãéèšã»èŠçŽããŸãã
– ããŒã¿æ£èŠåïŒããŒã¿ã®ç¯å²ãçµ±äžããããã«ã¹ã±ãŒã«å€æãè¡ããŸãã
å€æåŠçã¯ãETLããŒã«ã䜿çšããããšã§å¹ççã«è¡ãããšãã§ããŸããããã«ãããããŒã¿ã®äžè²«æ§ãå質ãåäžããããŒã¿è§£æã®ç²ŸåºŠãåäžããŸãã
2.3 èªã¿èŸŒã¿(Loading)
èªã¿èŸŒã¿ã¯ãå€æãããããŒã¿ãã¿ãŒã²ããããŒã¿ããŒã¹ã«æžã蟌ãéçšã§ããèªã¿èŸŒã¿ã®éã«ã¯ãããŒã¿ããŒã¹ã®ããã©ãŒãã³ã¹ãããŒã¿ã®æŽåæ§ãä¿ã€ããã«ãé©åãªã€ã³ãã¯ã·ã³ã°ãã³ã³ããªã¯ã解決æŠç¥ãé©çšããŸãã
èªã¿èŸŒã¿ã®äž»ãªæ¹æ³ã¯ã以äžã®éãã§ãã
– äžæ¬èªã¿èŸŒã¿ïŒå€æãããããŒã¿ãäžåºŠã«ã¿ãŒã²ããããŒã¿ããŒã¹ã«æžã蟌ã¿ãŸãã
– 䞊åèªã¿èŸŒã¿ïŒè€æ°ã®ã¯ãŒã«ãŒã䞊è¡ããŠããŒã¿ãã¿ãŒã²ããããŒã¿ããŒã¹ã«æžã蟌ã¿ãŸãã
ETLããã»ã¹ã¯ãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿è§£æãããžã§ã¯ãã«ãããéèŠãªæ§æèŠçŽ ã§ãããããŒã¿ã®äžè²«æ§ãå質ãä¿ã€ããã«äžå¯æ¬ ã§ããé©åãªææ³ãããŒã«ã䜿çšããå¹ççã«ETLãå®æœããããšã§ãããŒã¿ã掻çšããããžãã¹ã€ã³ãµã€ãã®ç²åŸã«ã€ãªãããŸãã
3. ETLã®çš®é¡
ETLïŒExtract, Transform, LoadïŒã¯ãããŒã¿ãŠã§ã¢ããŠã¹ãããã¯ããŒã¿ãã©ãããã©ãŒã ã«ãããŠéèŠãªåœ¹å²ãæãããŠããããã»ã¹ã§ããããã«ã¯ããã€ãã®ç°ãªãçš®é¡ããããããããç°ãªãç®çããŠãŒã¹ã±ãŒã¹ã«åãããŠäœ¿ãåããããŸããæ¬é ã§ã¯ãäž»èŠãªETLã®çš®é¡ã§ãããããåETLãã¹ããªãŒãã³ã°åETLããã€ããªããåETLã«ã€ããŠèª¬æããŸãã
3.1 ãããåETL
ãããåETLã¯ãäžå®ã®éã®ããŒã¿ãéãŸã£ããšãã«ãŸãšããŠåŠçïŒæœåºãå€æãããŒãïŒãè¡ãæ¹æ³ã§ãããã®ã¿ã€ãã®ETLã¯ã倧éã®ããŒã¿ãäžåºŠã«åŠçããããšãã§ããã·ã¹ãã å šäœã®ããã©ãŒãã³ã¹ãåäžããå¯èœæ§ããããŸããããããäžå®éã®ããŒã¿ãéãŸããŸã§åŸ ã€å¿ èŠãããããªã¢ã«ã¿ã€ã æ§ã«ã¯æ¬ ããç¹ãæ¬ ç¹ãšãªããŸãã
ãããåETLã¯ãäŸãã°æ¥æ¬¡ãé±æ¬¡ã®ããŒã¿æŽæ°ãå¿ èŠãªéèã補é æ¥ãªã©ã®æ¥çã§ãã䜿ãããŠããŸãããããã®æ¥çã§ã¯ãäžå®æéã«ããã£ãŠããŒã¿ãèç©ããããã®åŸã«ãŸãšããŠåæãäºæž¬ãè¡ãããããšãäžè¬çã§ãã
3.2 ã¹ããªãŒãã³ã°åETL
ã¹ããªãŒãã³ã°åETLã¯ãããŒã¿ããªã¢ã«ã¿ã€ã ã§çæããããšåæã«åŠçïŒæœåºãå€æãããŒãïŒãè¡ããŸããããã«ããããªã¢ã«ã¿ã€ã ã§ããŒã¿åæãè¡ãããå ŽåãããŠã§ããµã€ãã®ã¢ã¯ã»ã¹è§£æãäœçœ®æ å ±ã®è¿œè·¡ãªã©ã®ãªã¢ã«ã¿ã€ã ããŒã¿ãéèŠãªå Žåã«é©ããŠããŸããã¹ããªãŒãã³ã°åETLã¯ãããŒã¿ããªã¢ã«ã¿ã€ã ã§åŠçããããããããŒã¿ã®äŸ¡å€ãæéãšå ±ã«äœäžããå Žåã«ç¹ã«æçšã§ãã
ã¹ããªãŒãã³ã°åETLã®æ¬ ç¹ã¯ããªã¢ã«ã¿ã€ã ã§ã®ããŒã¿åŠçãå¿ èŠãªã·ã¹ãã ãªãœãŒã¹ã倧éã«æ¶è²»ããå Žåããããããã©ãŒãã³ã¹ã«åœ±é¿ãäžããå¯èœæ§ãããããšã§ãããŸãããªã¢ã«ã¿ã€ã ã®ããŒã¿åŠçã«ã¯é«ãæè¡åãæ±ãããããããå®è£ ãé£ããå ŽåããããŸãã
3.3 ãã€ããªããåETL
ãã€ããªããåETLã¯ããããåETLãšã¹ããªãŒãã³ã°åETLã®äž¡æ¹ã®ç¹åŸŽãæã£ãŠãããäž¡æ¹ã®ã¿ã€ãã®ããŒã¿åŠçããŒãºã«å¯Ÿå¿ã§ããããèšèšãããŠããŸãããã®ã¿ã€ãã®ETLã¯ããªã¢ã«ã¿ã€ã ããŒã¿ã®åŠçãšãããåŠçãåæã«è¡ãããšãã§ããŸãããã€ããªããåETLã¯ãããŒã¿ã®å€§éåŠçãšãªã¢ã«ã¿ã€ã åŠçãäž¡ç«ããå¿ èŠãããå Žåã«é©ããŠããŸãã
ãã€ããªããåETLã®æ¬ ç¹ã¯ãäž¡æ¹ã®ã¿ã€ãã®ããŒã¿åŠçãå®è£ ããããšãé£ãããã·ã¹ãã å šäœã®ã³ã³ãã¬ãã¯ã¹ããå¢ãããšã§ãããŸããäž¡æ¹ã®ããŒã¿åŠçã¿ã€ããå¹ççã«æ±ãããã«ã¯ãé©åãªã¢ãŒããã¯ãã£ãæè¡éžå®ãéèŠã§ãã
以äžã®3ã€ã®ETLã®çš®é¡ã¯ãããããç°ãªãããŒã¿åŠçã®ããŒãºã«å¿ããŠéžæãããŸãããããåETLã¯å€§éã®ããŒã¿åŠçã«é©ããã¹ããªãŒãã³ã°åETLã¯ãªã¢ã«ã¿ã€ã ããŒã¿åŠçã«é©ãããã€ããªããåETLã¯äž¡æ¹ã®åŠçãè¡ãããå Žåã«é©ããŠããŸãããããã®ã¿ã€ãã®ETLãé©åã«éžæããããšã§ãå¹ççãªããŒã¿ç®¡çãšåæãå®çŸããããšãã§ããŸãã
4. ETLã®å®è¡ç°å¢
ETLïŒExtractã»Transformã»LoadïŒã¯ãããŒã¿åŠçã®äžé£ã®ããã»ã¹ãæããŸããããŒã¿ã®æœåºãå€æãããŒããå¹ççã«è¡ãããšã§ãããŒã¿åæãããžãã¹ã€ã³ããªãžã§ã³ã¹ã«å¿ èŠãªæ å ±ãåãåºãããšãã§ããŸããæ¬ç« ã§ã¯ãETLãå®è¡ããç°å¢ã«ã€ããŠè§£èª¬ããŸãã
4.1 ãªã³ãã¬ãã¹ç°å¢
ãªã³ãã¬ãã¹ç°å¢ãšã¯ãäŒæ¥ãèªç€Ÿã®æ©åšãããŒã¿ã»ã³ã¿ãŒã«ãããµãŒããŒã§ETLåŠçãè¡ãç°å¢ã®ããšãæããŸãããªã³ãã¬ãã¹ç°å¢ã§ã¯ãäŒæ¥ãå°çšã®ã¹ã¿ãããé 眮ããèªç€Ÿå ã§å®çµããããã«ã»ãã¥ãªãã£äžã®åé¡ãå°ãªãããšãç¹åŸŽã§ãç¹ã«éèæ©é¢ãæ¿åºæ©é¢ãªã©ã¯ã»ãã¥ãªãã£èŠä»¶ãå³ããããããªã³ãã¬ãã¹ç°å¢ã§éçšãè¡ãããã±ãŒã¹ãå€ãã§ãã
ãã ãããªã³ãã¬ãã¹ç°å¢ã§ã¯ãå¿ èŠãªããŒããŠã§ã¢ããœãããŠã§ã¢ã®è³Œå ¥ã»èšçœ®ã»éçšã«äŒŽãã³ã¹ãããããä»ããµãŒããŒãã¹ãã¬ãŒãžã®ã¹ã±ãŒãªã³ã°ãæè»ã§ãªãããããªãœãŒã¹ã®èª¿æŽãé£ãããšãããã¡ãªããããããŸãã
4.2 ã¯ã©ãŠãç°å¢
ã¯ã©ãŠãç°å¢ã¯ãã€ã³ã¿ãŒããããçµç±ããŠå€éšã®ããŒã¿ã»ã³ã¿ãŒã«ãããµãŒããŒã§ETLåŠçãè¡ã圢æ ãæããŸããäž»ãªã¯ã©ãŠããµãŒãã¹ãããã€ããŒã«ã¯ãAmazon Web ServicesïŒAWSïŒãMicrosoft AzureãGoogle Cloud PlatformïŒGCPïŒãªã©ããããŸãããããã®ãµãŒãã¹ã¯ã顧客ã䜿çšããåã ãæéãæ¯æãåŸé課éå¶ã®ãããåææè³ãå°ãªããŠæžã¿ãŸãã
ãŸããã¯ã©ãŠãç°å¢ã¯ãªãœãŒã¹ã®ã¹ã±ãŒãªã³ã°ã容æã§ãããç¬æã«ãµãŒããŒã®å¢æžãã¹ãã¬ãŒãžå®¹éã®èª¿æŽãå¯èœã§ããããã«ãã¯ã©ãŠããããã€ããŒãæäŸãããããŒãžããµãŒãã¹ãå©çšããããšã§ãETLåŠçã®éçšç®¡çã³ã¹ããå€§å¹ ã«åæžããããšãã§ããŸãããã ããã»ãã¥ãªãã£é¢ã§ã®æžå¿µãããŒã¿è»¢éã³ã¹ããªã©ãã¯ã©ãŠãç°å¢ç¬èªã®èª²é¡ãååšããŸãã
4.3 ãã€ããªããç°å¢
ãã€ããªããç°å¢ã¯ããªã³ãã¬ãã¹ç°å¢ãšã¯ã©ãŠãç°å¢ãçµã¿åãããŠéçšãã圢æ ãæããŸããäŒæ¥ãæ¢åã®ãªã³ãã¬ãã¹ç°å¢ã«æè³ããŠããå Žåããã»ãã¥ãªãã£é¢ã§ã®å¶çŽãããå Žåãªã©ãäž¡è ã®ã¡ãªããã掻ãããªããããçœå®³å¯Ÿçãããã³ã¹ãåæžããããªãœãŒã¹ã®æè»ãªèª¿æŽããªã©ã®ããŒãºã«å¯Ÿå¿ããããšãã§ããŸãã
äŸãã°ãäŒæ¥å ã§æ©å¯æ§ã®é«ãããŒã¿ããªã³ãã¬ãã¹ç°å¢ã§ä¿æã»ç®¡çããäžéšã®ããŒã¿ãã¯ã©ãŠãç°å¢ã«ç§»ããŠåŠçããããšã§ãã»ãã¥ãªãã£ãªã¹ã¯ãæãã€ã€ãæè»ãªãªãœãŒã¹èª¿æŽãã³ã¹ãåæžãå³ãããšãã§ããŸãããã ãããã€ããªããç°å¢ã§ã¯ããªã³ãã¬ãã¹ãšã¯ã©ãŠãéã®ããŒã¿é£æºãéçšç®¡çãè€éåããããšããããŸãã®ã§ããã®ç¹ã«æ³šæããå¿ èŠããããŸãã
ãã®ããã«ãETLã®å®è¡ç°å¢ã«ã¯ããããç¹åŸŽãšå©ç¹ããããŸããäŒæ¥ã¯ãèªç€Ÿã®ããžãã¹èŠä»¶ãããŒã¿åŠçã®ããŒãºã«åãããŠãé©åãªç°å¢ãéžæããããšãéèŠã§ãã
5. ETLã®èšèšãã€ã³ã
ETLïŒExtract, Transform, LoadïŒãšã¯ãç°ãªãããŒã¿ãœãŒã¹ããããŒã¿ãæœåº(Extract)ããããŒã¿ãå€æ(Transform)ããŠãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ã«ããŒã(Load)ããããã»ã¹ã®ããšãæããŸããè¯è³ªãªETLããã»ã¹ãèšèšããéã«ã¯ãããŒã¿å質ã®ç¢ºä¿ãããã©ãŒãã³ã¹æé©åãã»ãã¥ãªãã£å¯Ÿçãšãã£ããã€ã³ãã«æ³šæãå¿ èŠã§ããæ¬èšäºã§ã¯ããããã®èšèšãã€ã³ãã詳ãã解説ããŠãããŸãã
5.1 ããŒã¿å質ã®ç¢ºä¿
ETLããã»ã¹ã«ãããŠãããŒã¿å質ã®ç¢ºä¿ã¯éåžžã«éèŠãªèŠçŽ ã§ããããŒã¿ã®å質ãäœãå ŽåãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ã«æ ŒçŽãããããŒã¿ãä¿¡é Œæ§ã«æ¬ ããåæçµæãã¬ããŒãã«èª€ããçããå¯èœæ§ããããŸããããŒã¿å質ã確ä¿ããããã®å ·äœçãªæ¹æ³ã¯ä»¥äžã®éãã§ãã
- æ¬ æå€ãäžæ£ç¢ºãªããŒã¿ã®æ€åºãšä¿®æ£: ETLããã»ã¹ã®å€æãã§ãŒãºã§ãæ¬ æå€ã®è£å®ãç¯å²å€ã®å€ã®æ€åºãè¡ããããŒã¿ãä¿®æ£ããããšãã§ããŸãã
- ããŒã¿ã®çµ±å: ç°ãªãããŒã¿ãœãŒã¹ããæœåºãããããŒã¿éã®äžæŽåãéè€ã解決ãããããããŒã¿ã®çµ±åããããã³ã°ãè¡ããŸãã
- ããŒã¿æ€èšŒãšæ€èšŒã«ãŒã«ã®é©çš: ããŒã¿ã®å質åºæºãèšå®ããETLããã»ã¹ã§é©çšãããå€æããããã³ã°ãæ£ããè¡ãããŠããããšã確èªããããã«ãæ€èšŒã«ãŒã«ãé©çšããŸãã
ãããã®æ¹æ³ã«ãããETLããã»ã¹ã«ãã£ãŠæœåºã»å€æã»ããŒããããããŒã¿ã®å質ãé«ããããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ã§å©çšãããããŒã¿ã®ä¿¡é Œæ§ãæ ä¿ããããšãå¯èœã«ãªããŸãã
5.2 ããã©ãŒãã³ã¹æé©å
倧éã®ããŒã¿ãæ±ãETLããã»ã¹ã§ã¯ãããã©ãŒãã³ã¹ã®æé©åãæ±ããããŸããåŠçæéãé·ããªããšãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ã®æŽæ°ãé ããŠããŸããåæãã¬ããŒãäœæã®å¹çãäœäžããæãããããŸããããã©ãŒãã³ã¹æé©åãè¡ãæ¹æ³ã¯äž»ã«ä»¥äžã®éãã§ãã
- ã€ã³ã¯ãªã¡ã³ã¿ã«æœåº: å šããŒã¿ãæ¯åæœåºããã®ã§ã¯ãªããååã®æœåºããå€æŽããã£ãããŒã¿ã ããæœåºããããšã§ãæœåºæéãççž®ã§ããŸãã
- 䞊ååŠç: ããŒã¿ã®æœåºãå€æãããŒããåæã«è¡ã䞊ååŠçãå®æœããã¿ã¹ã¯ã®åŠçæéãççž®ããŸãã
- ãã£ãã·ã¥ã®å©çš: å€æåŠçã§é »ç¹ã«äœ¿çšãããããŒã¿ãèšç®çµæããã£ãã·ã¥ã«ä¿åããŠãããåå©çšããããšã§ãåŠçæéãççž®ã§ããŸãã
ãããã®æ¹æ³ãçšããããšã§ãETLããã»ã¹ã®ããã©ãŒãã³ã¹ãåäžãããããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ãžã®ããŒã¿ã®æŽæ°ãè¿ éã«è¡ãããšãã§ããŸãã
5.3 ã»ãã¥ãªãã£å¯Ÿç
ETLããã»ã¹ã§ã¯ãäŒæ¥å å€ã®æ§ã ãªããŒã¿ãœãŒã¹ããããŒã¿ãååŸããŠããŸããããããã®ããŒã¿ã«ã¯æ©å¯æ§ã®é«ãæ å ±ãå«ãŸããŠããããšããããŸãããã®ãããETLããã»ã¹ã«ãããã»ãã¥ãªãã£å¯ŸçãéèŠã§ããã»ãã¥ãªãã£å¯Ÿçãè¡ããã€ã³ãã¯ä»¥äžã®éãã§ãã
- ããŒã¿ã®æå·å: ããŒã¿ã®æœåºã転éäžãããã³ããŒãåŸã«ããŒã¿ãæå·åããäžæ£ã¢ã¯ã»ã¹ãæ å ±æŒæŽ©ãé²æ¢ããŸãã
- ã¢ã¯ã»ã¹å¶é: ããŒã¿ãœãŒã¹ãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ãžã®ã¢ã¯ã»ã¹æš©éãé©åã«èšå®ããäžæ£ã¢ã¯ã»ã¹ãé²æ¢ããŸãã
- ã¢ã¯ã»ã¹ãã°ã®ç£èŠ: ããŒã¿ãœãŒã¹ãããŒã¿ãŠã§ã¢ããŠã¹ãããŒã¿ããŒã¹ãžã®ã¢ã¯ã»ã¹ãã°ãç£èŠããäžå¯©ãªã¢ã¯ã»ã¹ãæ å ±æŒæŽ©ãæ€åºããããšãã§ããŸãã
ETLããã»ã¹ã«ãããã»ãã¥ãªãã£å¯Ÿçãé©åã«è¡ãããšã§ãäŒæ¥ã®æ©å¯æ å ±ãå®ããæ å ±æŒæŽ©ãªã©ã®ãªã¹ã¯ãæå°éã«æããããšãå¯èœã«ãªããŸãã
6. ETLã®å¹æçãªæŽ»çšæ¹æ³
ETLïŒExtract, Transform, LoadïŒã¯ããŒã¿çµ±åããã»ã¹ã®äžéšã§ãããããŒã¿ãç°ãªãã·ã¹ãã ãããŒã¿ããŒã¹ããæœåºãå€æããããŠããŒãããããšãæå³ããŸããETL ãå¹æçã«æŽ»çšããããšã§ãäŒæ¥ã¯ããžãã¹ã€ã³ããªãžã§ã³ã¹ïŒBIïŒãããŒã¿ãŠã§ã¢ããŠã¹æ§ç¯ãããŒã¿ãã€ãã³ã°ãªã©ãããŸããŸãªããŒã¿æŽ»çšãšããžãã¹æŠç¥ã«æçãªæ¹æ³ã§å©çšã§ããŸãããã®ç« ã§ã¯ãããããã®æŽ»çšæ¹æ³ã«ã€ããŠè©³ãã解説ããŸãã
6.1 ããžãã¹ã€ã³ããªãžã§ã³ã¹(BI)
ããžãã¹ã€ã³ããªãžã§ã³ã¹ã¯ãäŒæ¥ãèªç€Ÿã®ããŒã¿ãåæããææ決å®ãæŠç¥ã®ç«æ¡ã«æŽ»çšããããã®æ¹æ³è«ãšæè¡ã§ããBIããŒã«ã䜿çšããã°ãäŒæ¥ã¯ããŸããŸãªåœ¢åŒããœãŒã¹ããããŒã¿ãç°¡åã«çµ±åãåæãå¯èŠåããããšãã§ããŸããããã«ãã£ãŠãäŒæ¥ã¯ããŒã±ãã£ã³ã°ã販売ãåšåº«ç®¡çãã»ãã®æ¥åéšéå šè¬ã«ãããææ決å®ã®æ£ç¢ºæ§ãšå¹çæ§åäžãå®çŸã§ããŸãã
ETLã¯ãBI ã®åºç€ãšãªãããã»ã¹ã®äžã€ã§ããETL ã«ãã£ãŠãããŒã¿ã¯ã·ã¹ãã éã§äžè²«æ§ãä¿ãããããŒã¿å質ãåäžããããšã§ãBI ããŒã«ãä¿¡é Œæ§ã®ããã€ã³ãµã€ããæäŸããããšãå¯èœã«ãªããŸãã
6.2 ããŒã¿ãŠã§ã¢ããŠã¹æ§ç¯
ããŒã¿ãŠã§ã¢ããŠã¹ã¯ãäŒæ¥å å€ã®æ§ã ãªããŒã¿ãœãŒã¹ããéããããããŒã¿ãçµ±åãä¿åãåæããããã®ããŒã¿ããŒã¹ã§ããããŒã¿ãŠã§ã¢ããŠã¹ã¯ãäŒæ¥å šäœã§ããŒã¿ã«ã¢ã¯ã»ã¹ããããã掻çšããããšã容æã«ãªãããèšèšãããŠããŸãã
ETL ã¯ããŒã¿ãŠã§ã¢ããŠã¹æ§ç¯ã«ãããŠéèŠãªåœ¹å²ãæãããŠããŸããããŒã¿ã¯ç°ãªãã·ã¹ãã ããæœåºãããå€æãã€ãã©ã€ã³ãééããŠããŒã¿ãŠã§ã¢ããŠã¹ã®æšæºåããããã©ãŒãããã«æŽåœ¢ãããæåŸã«ããŒã¿ãŠã§ã¢ããŠã¹ã«ããŒããããŸãããã®ããã»ã¹ã«ãããããŒã¿ãŠã§ã¢ããŠã¹ã¯äŒæ¥å šäœã§äžå çã«äœ¿çšå¯èœãªããŒã¿ãæäŸã§ããããã«ãªããŸãã
6.3 ããŒã¿ãã€ãã³ã°
ããŒã¿ãã€ãã³ã°ã¯ã倧éã®ããŒã¿ããæçšãªæ å ±ããã¿ãŒã³ãèŠã€ãåºãããã®æè¡ã§ããããŒã¿ãã€ãã³ã°æè¡ã¯ãããŒã¿ã»ããå ã®é¢é£æ§ãæœåšçãªåŸåãçºèŠããããã䜿ã£ãŠå°æ¥ã®äºæž¬ããææ決å®ããã³æŠç¥ã®ç«æ¡ã®ããã®ç¥èãåŸãããšãã§ããŸãã
ããŒã¿ãã€ãã³ã°ãããžã§ã¯ããå®è¡ããã«ã¯ããŸãããŒã¿ã»ãããçµ±åãã¯ãªãŒãã³ã°ããããŠååŠçããå¿ èŠããããŸããããã«ãããã¢ã«ãŽãªãºã ãåæããŒã«ãå¹ççã«åäœããä¿¡é Œæ§ã®ããçµæãåŸãããšãã§ããŸããETL ã¯ãã®ããã»ã¹ãå©ããŸããããã¯ãç°ãªãããŒã¿ãœãŒã¹ããããŒã¿ãæœåºããå€æãé©çšããåŸãåæçšã®ã¿ãŒã²ããããŒã¿ã¹ãã¢ã«ããŒã¿ãããŒãããããšã§ãããŒã¿ãã€ãã³ã°ãããžã§ã¯ããå¹æçã«ãµããŒãããŸãã