Treasure Data Service 㨠Redshift ã®ãã¤ããªããã¢ã¼ããã¯ãã£
æ¬è¨äºã¯ç§»è»¢ãã¾ãããæ°ãµã¤ãã«ãªãã¤ã¬ã¯ããã¾ãã
"); // ãªãã¤ã¬ã¯ã ããsetTimeout("redirect()", 0);ã// 0 sec ããfunction redirect(){ ãã ãlocation.href = url; ãã} ã ã// canonical ã®æ¸ãæã ããvar link = document.getElementsByTagName("link")[0]; ããlink.href = url; -->Treasure Data Service ã¯ããèªèº«ããã¼ã¿ã®åéããå¯è¦åã¾ã§ã®ä¸æ°é貫ãããµã¼ãã¹ã§ããï¼ä»ã®æ§ã ãªãµã¼ãã¹ã¨é£æºãããã¨ã«ãã£ã¦åã ã®åæãã¼ãºã«ãããããã¢ã¼ããã¯ãã£ãæ§æãããã¨ãã§ãã¾ããä»å㯠Amazon Redshift ã¨ã®ãã¤ããªããã¢ã¼ããã¯ãã£çã®å ·ä½çãªã±ã¼ã¹ãè¦ã¦ï¼è¦éãåºãã¦ããã¾ãããã
ãããå¦ç
Treasure Data Service ã¯æ¨æºã§ã¯HiveQLã«ãã£ã¦ã¯ã©ã¦ãã¹ãã¬ã¼ã¸ã«éè¨å¦çãå®è¡ãããã¨ãã§ããã®ã§ããããã¯ããããããããå¦çãã¨ããåé¡ã§ï¼ã¹ã±ã¸ã¥ã¼ãªã³ã°ãããã¯ã¨ãªãå®æçã«ããã¯ã¨ã³ãã§éè¨ããããã®ã§ãã
以åç´¹ä»ããããã·ã¥ãã¼ãï¼ä¸å³ï¼ï¼MetricInsights ãªã©ã§ã¯ç¬ç«ããã¦ã£ã¸ã§ããã®ä¸ã«ã¯ã¨ãªã¨éè¨ã¤ã³ã¿ã¼ãã«ãæå®ããäºã«ãã£ã¦èªåçã«ãããå¦çãè¡ã£ã¦çµæãããã·ã¥ãã¼ãã«åæ ãã¦ããããã®ã§ï¼ãã¬ã¸ã£ã¼ãã¼ã¿ã®æä¾ãã大è¦æ¨¡ãããå¦çéè¨ã¨é常ã«ç¸æ§ã®è¯ããã¼ã«ã¨ãªã£ã¦ãã¾ãã
ã¢ãããã¯å¦ç
ä¸æ¹ã§ï¼ä¾ãã°Tableauãªã©ã®BIãã¼ã«ããã®ã¯ãªãã¯ã¢ã¯ã·ã§ã³ï¼ã¾ãã¯CSVãã¡ã¤ã«ã¨ãã¦ãã¼ã«ã«ã«æ¸ãåºãå ´åã«ã¯ï¼ãã®å ´ã§ã¢ãããã¯ã«ã¯ã¨ãªãå®è¡ããï¼çµæãå¾ ã¤ãã¨ãå¿ è¦ã«ãªãã¾ããTreasure Data Serviceã§ã¯ãããå¦çã«å¯¾ãã¦ãã®ãã¢ãããã¯å¦çããï¼Treasure Query Accelarator (TQA) ã¨ããã¯ã¨ãªã¨ã³ã¸ã³ã§ãããå¯è½ã«ãã¦ãã¾ãã
TQA
TQAã®ä½ããã®ã¡ãªããã¯åç §ãããã¼ã¿ã大è¦æ¨¡ãªçãã¼ã¿ã«å¯¾ãã¦ã¢ãããã¯å¦çãå®ç¾ã§ãããã¨ã«ããã¾ããããã«ãã£ã¦åæè ãæ§ã ãªéè¨/åæã¯ã¨ãªã¨è©¦è¡é¯èª¤ããªããè¦ãã ãã¦ããå ´åãï¼BIããã®æ§ã ãªããªã«ãã¦ã³ãªã©ã®ã¤ã³ã¿ã©ã¯ãã£ããªå¦çãã¹ãã¬ã¹ç¡ãéè¡ã§ããããã«ãªãã¾ããã
Amazon Redshift
ä¸æ¹ã§ã¢ãããã¯ãªè¦è«ã«çããããä¸ã¤ã®æ段ã¨ãã¦ï¼çãã¼ã¿ããããç¨åº¦äºåéè¨ããä¸éãã¼ã¿ï¼ãã¼ã¿ãã¼ãï¼ãä½æãã¦ãããã¨ã«ãã£ã¦ï¼åæè ãBIã¯çãã¼ã¿ã§ã¯ãªãï¼ããããã·ã§ã¤ãã¢ãããããä¸éãã¼ã¿ã«ã¢ã¯ã»ã¹ãããã¨ã«ãã£ã¦ã¢ãããã¯ãªå¦çã«å¯¾å¿ãã¦ããã¾ãããã®ä¸éãã¼ã¿ã¹ãã¬ã¼ã¸ã¨ãã¦ã¯ï¼RDBMSãNoSQLï¼ã¾ãã¯ãªã³ãã¬è£½åã®ç¬èªãã¼ã«ãç¨æããã¦ãã¾ããã
ããããã®ä¸éãã¼ã¿ã¨ãã£ã¦ãï¼ãã®éã大éã«ãªãå ´åãå¤ã ããã¾ããä¾ãã°ã¦ãã¼ã¯ã¦ã¼ã¶ã¼æ°ãæ¥/æ/å¹´ãã¨ã«è¨ç®ããã®ã«ã¯ï¼å ¨ã¦ã®ã¦ã¼ã¶ã¼IDãªã¹ããä¸éãã¼ã¿ã¨ãã¦ä¿æããªããã°ãªãã¾ãããæ¯æ¥1000ä¸UUããããä¸ãããµã¼ãã¹ã«ã¤ãã¦ã¯ä¸éãã¼ã¿ãã¼ã¹ãè¥å¤§åãã¦å®¹éä¸è¶³ã¾ãã¯å¦çè½åã®ä½ä¸ãå¼ãèµ·ããã¦ãã¾ãã¾ãã
Amazon Redshift ã¯ãããã£ãä¸éãã¼ã¿ã®æ©ã¿ã解決ããé常ã«å¼·åãªãµã¼ãã¹ã§ããé常ã«ä½ä¾¡æ ¼ã§å¤§å®¹éã®ãã¼ã¿ãä¿æãã¦ãããã®ã«å ãã¦ï¼Postgresã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ããã£ã¦ãã¾ãã®ã§RDBMSã¨åãã¯ã¨ãªã§éè¨ãé«éã«è¡ããã¨ãã§ãã¾ããã¤ã¾ãå¾æ¥ä¸éãã¼ã¿ã¹ãã¬ã¼ã¸ã¨ãã¦RDBMSã使ã£ã¦ããå ´åã«ã¯ï¼Redshiftã«ç½®ãæãããã¨ã§å¤§è¦æ¨¡ãªãã¼ã¿ãä½ã³ã¹ãã§ä¿æãã¦ãããã¨ãã§ããããã«ãªã£ãã®ã§ãã
Treasure Data Service & Redshift ã®ãã¤ããªããã¢ã¼ããã¯ãã£
ãã®ããã«ï¼TQA 㨠Redshiftã¯ãé«éãªã¢ãããã¯å¦çãã®è¦è«ãæºãããã®ã¨ãã¦ã¯åãå½¹å²ãæããã¾ããï¼åè ã¯çãã¼ã¿ã«å¯¾ãã¦å¦çãè¡ãã®ã«å¯¾ãã¦ï¼å¾è ã¯ãã¼ã¿ãã¼ãã«å¯¾ãã¦å¦çãè¡ãã¨ããç¹ã§å¤§ããç°ãªã£ã¦ãã¾ãã
ããã¦ï¼ãã®ä¸¡è ã®ãã¤ããªãããªæ§æãæã¤ãã¨ã«ãã£ã¦ããå¼·åãªå¤§è¦æ¨¡éè¨ã¢ã¼ããã¯ãã£ãä½ãä¸ãããã¨ãå¯è½ã«ãªãã®ã§ãã
ä¸å³ã¯ã©ã®ãããªå ´åã«ã©ã®ãããªã¢ã¼ããã¯ãã£ãæ§ç¯ãã¹ããã®ç°¡æã·ã¼ãã§ãã
- çãã¼ã¿ã®ã¿ãæ±ãã®ãï¼ä¸éãã¼ã¿ã¹ãã¬ã¼ã¸ãæãã®ã
- ä¸éãã¼ã¿ãã¼ã¹ã¯ã¯ã©ã¦ãä¸ã«ãã¼ã¿ããããã®ãï¼ã¾ãã©ããããã®è¦æ¨¡ãè¦è¾¼ãã®ã
ããã¦éè¦ãªç¹ã¯ï¼Amazon Redshiftã¨TQAã¯åãã¬ã¤ã¤ã¼ã«ç¡ãã¨ãããã¨ã§ããAmazon Redshiftããã¼ã¿èªèº«ãä¿æãããã¼ã¿ã¦ã§ã¢ãã¦ã¹ã«å¯¾ãã¦ï¼TQAã¯Treasure Data Serviceã«å¯¾ããã¯ã¨ãªã¨ã³ã¸ã³ã§ Impara ã Presto ã¨åãã¬ã¤ã¤ã¼ã®ãã®ã§ãã
ãã¦ï¼ä¸å³ã¨å ±ã«ããå°ã詳細ã«ä¸»ã«ä¸éãã¼ã¿ã¹ãã¬ã¼ã¸ãæ¡ç¨ããã¢ã¼ããã¯ãã£ãèãã¦ããã¾ããããTreasure Data Service ã«ããã Cloud Storage ã«èç©ããã¦ããDB1, DB2, DB3 ãçãã¼ã¿ã«ãããé¨åã§ãã
Treasure Data Service ã® Cloud Storage ã®ææ³ã¯ãã¨ã«ãããã¼ã¿ã貯ãããã¨ãããã¨ã§ããã®ã§ï¼
- ã¹ãã¼ãã®ç°ãªã£ãã¬ã³ã¼ããå ±åãã¦ãã
- ç´°ãããã¼ãã«ãåããã¦ãã
- ã¨ã©ã¼ã¬ã³ã¼ããå«ãã§ãã
ã¨ãã£ãçç±ã§ï¼åæã®è² æ ã軽æ¸ããããã®åå¦çãå¿ è¦ã¨ããå ´åãããã¾ãããJoined Dataããéè¨ã»ãã£ã«ã¿æ¸ãã¼ã¿ããªã©ããã®ä¾ã§ããï¼ããã³ãã¨ã³ãããã¯ãã®åå¦çæ¸ã®ãã¼ã¿ã«å¯¾ãã¦ã¢ã¯ã»ã¹ãè¡ãã¾ãã
åå¦çæ¸ãã¼ã¿ã«å¯¾ãã¦Hiveã¯ã¨ãªãå®è¡ããä¸éãã¼ã¿ã¯ãResult Pushãæ©è½ã«ãã£ã¦æ§ã ãªã¿ã¤ãã®ãã¼ã¿ã¹ãã¬ã¼ã¸ï¼RDBMS, NoSQL, Redshift, etc...ï¼ã«æ¸ãåºããã¨ã«ãªãã¾ãã
ãã¦ï¼ã©ã®ãããªå ´åã«ã©ã®ä¸éãã¼ã¿ã¹ãã¬ã¼ã¸ã使ãã¹ããªã®ããä¸å³ã«ã¾ã¨ãã¦ã¿ã¾ãããéè¦ãªã®ã¯
- å ãã¼ã¿ã«å¯¾ãã¦ã©ã®ç¨åº¦ãã¼ã¿ãã·ã§ã¤ãã¢ãããããã®ã
- ä¸éãã¼ã¿ã¹ãã¬ã¼ã¸ãã¯ã©ã¦ãã«ããããï¼
ã¨ãã2ç¹ã§ããå ãã¼ã¿ã«å¯¾ãã¦1/100ç¨åº¦ããåæ¸ãããªããã°ï¼ä¸éã¨ããã©å¤§è¦æ¨¡ãªã¹ãã¬ã¼ã¸ãå¿ è¦ã¨ãªãã¾ãã®ã§ï¼ã¯ã©ã¦ãä¸ã«ç½®ãããªãï¼RedShiftãæå¹ã«ãªã£ã¦ãã¾ããããã§ç¡ãå ´åã¯Amazon RDSï¼ã¯ã©ã¦ãä¸ã«ç½®ãã¦ç®¡çã³ã¹ããæ¸ãããï¼ãMySQLï¼NoSQLï¼ãã¼ã«ã«ç°å¢ï¼ãæ¡ç¨ãã¾ãã
Redshiftã¨TQAãç¨ãããã¤ããªãããªã¢ã¼ããã¯ãã£ã¯ä¸å³ã®ããã«ãªã£ã¦ãã¾ãã
TQAã¯ï¼å¤§è¦æ¨¡ãªå ãã¼ã¿ã«å¯¾ãã¦ã¢ããªã¹ããæ§ã ãªåæã¯ã¨ãªã試è¡é¯èª¤ãã¦ããç¶æ³ãï¼å ãã¼ã¿ã«å¯¾ãã¦BIãç¹ãå ´åã®ããªã«ãã¦ã³ãªã©ã®UIãéãã¦ã®ã¤ã³ã¿ã©ã¯ãã£ããªæä½ã«é å¿ããå ´åã«ä½¿ç¨ãã¾ãã
Redshiftã¯åæ軸ï¼KPIï¼ãå®ã¾ãï¼ä»¥éã¯éè¨ã¸ã§ããæå®æéã«å®è¡ããã ãã§ãããªã£ãå ´åãï¼BIãªã©ã®UIãéãã¦ï¼TQAã®ã±ã¼ã¹ããé«éã«ï¼åç §ããå ´åã«ä½¿ç¨ãã¾ãã
ããã2ã¤ã¯å ±åãããäºãå¯è½ã§ï¼ããã«ããããããåæãã§ã¼ãºã®ï¼ããããããã³ãã¨ã³ãããã®ã¢ã¯ã»ã¹ãã«ãã¼ãããã¨ãå¯è½ã«ãªãã¾ãã
ã¾ãTreasure Data Service ãAmazon Redshiftã使ç¨ãªã½ã¼ã¹ã«ãã課éä½ç³»ã§ãã®ã§ï¼ãã¤ããªããã¢ã¼ããã¯ãã£ãæ§æããããã¨ãã£ã¦ã³ã¹ããè·³ãä¸ããã¨ãã£ãäºãããã¾ããã
ãã®ããã«ããããã®ç¨éã»ãã§ã¼ãºã«å¿ãã¦æè»ã«åæã¢ã¼ããã¯ãã£ãå¤ãã¦ãããããã«ãªãã°ï¼ããã°ãã¼ã¿åæãããæ軽ã§èº«è¿ãªãã®ã¨ãªã£ã¦ããã§ãããã
ãã¬ã¸ã£ã¼ãã¼ã¿ã«é¢ãããåãåãã㯠[email protected] ã¾ã§ã
Â