ä»æ¥ãæ¸ãããã¨ãã»ã¤ã¿ãããªãã®
DBREã«å¯¾ããèªå·±èªè
ã¾ãããã¯æ¬ãèªãã§ã»ãããä»æ¥ã¯ããã§ãã®æ¬ã®å 容ãããããè¨ãããããã§ã¯ãªãã
ã·ã¹ãã ã®å®å
¨æ§ã稼åçãå®éçã«æ¸¬ã£ã¦ç®æ¨å¤ã決ãã¦ããã®ç®æ¨ã«åãã£ã¦æ¹åãç©ã¿éãã¦ããã
ããããææ³ãæãã¦ãããã®ããã®æ¬ã§ãèªåã®è©æ¸ãDBAãªã®ãDBREãªã®ãã¯ãå®ã¯ã©ãã§ããããã¨ãªãã ãããã¨ã¯æã£ã¦ãã¾ãã
æã¯ãDBREã¨ã¯DBAã®ãã®å
ã®é²åãã¿ãããªã¤ã¡ã¼ã¸ãæã£ã¦ãã¾ãããããã¯ç¢ºããã®æ¬ã®åé ã«ãæ¸ãã¦ããã¾ãã
ããã©ä»ã®ç§ãæãDBREã¯ãç²ãåã£ãDBAãåã£ããæå¾ã®æ段ãã¨æã£ã¦ãã¾ãã
ä½æ DBREã«ã·ãããããã¨ããã®ã
ãã£ããã¯ãå æ¥æ¸ãããã®æ¬ã§ããã
ããããã®æ¬ã®å
容ã§ã¯ãªãããã®æ¬ã«æã¾ãã¦ãããã®ã¡ãã»ã¼ã¸ããã
ããããã大äºãªå
容ãªã®ã ããã©ãé»åçã«ãããã®ã ãããï¼
ãã®æ¬ãå®ã¯ç²¾ç¥ç§ã®å
çï¼ã¤ã¾ããå»è
ããï¼ãæ¸ãããæ¬ãªã®ã§ããã
å
çãã¢ã¦ããããã®å¤§åããä½æ
éè¦ã ã¨æã£ãã®ãï¼ã®çµç·¯ãããã«æ¸ããã¦ãã¾ããã
æ²»çãã¦ãæ²»çãã¦ããã¾ãåããããªçç¶ã®æ£è ããããã£ã¦ãããããããªãã
ç§ã転è·ãã¦ãããã£ã¨ãã²ãããå¿ããã®ã«ã¯è¨³ãããã¾ããã
åæã¨ãã¦ããã¡ã®ä¼ç¤¾ã¯ä½æ
ãããªãªã¼ã¹åã®SQLãã¥ã¼ãã³ã°ãSREã®DBAãã¨ããè¬ã«ã¼ã«ãããã¾ãã
ã¡ãªã¿ã«ãã®SQLã®è¦ä»¶ããªã«ãã®èª¬æã¯ãªãâ¦ã¨ããéã¯ããã§è¨ãã®ã¯å²æãã¤ã¾ãéçºè
ãSQLãã¥ã¼ãã³ã°ãããã¨ã¯é常ã«ç¨ãªã®ã§ãDBAã¯SREã¨ã¢ããªéçºã«ç足å
¥ã£ãç¶æ
ãå½ç¶ãæ¥ã
ã®ã¿ã¹ã¯éã¯å¤ãæ¹ã ã¨æãã¾ããï¼ãã¨å¥ç´ã¨ãäºå®ç®¡çããã¦ããã®ã§ãå®è³ªæ»ã«ããã§ãï¼
ãããªç¶æ
ãªã®ã«ãæ¥ã«ãã®å¦çãé
ããªãã¾ããï¼DBAãªãã¨ããã¦ãã ããï¼ï¼ãã¨ããåãåããããå¹³åæä¸å以ä¸ããã¾ãã
å¤ãã¨ãã¯ãé±ã«3åã大ä½ãéè¦ãªå¦çã§ãä»ããä½ã¨ããã¦ããããªãã¨ãXXXXXæ¥åãåããªããã§ãï¼ï¼ãã¨ååä½ã§ãªã«ããªãæ±ããããé害対å¿ããã¦ãã¾ãã
åæã«ãé«è² è·ãªSQLãã©ãã«ããã¥ã¼ãã³ã°ãã¦ã¨ããããã¸ã§ã¯ããç«ã¡ä¸ãããæ¯é±é·æSQLãã«ããã¤ããæ¥ã
ã
åå ã¯ä¸ç®çç¶ã§ããã®çç±ãç°¡åã«ã§ããSlackã§æ¸ãã¦ã¯çããã«ä¼ããã大åéãªã¢ã¦ããããã¯ãã¦ãã¾ãããããã©ãã®å
容ã¯å±æçã§ãæ£ããç解ãã¦é ããå
容ã ã£ããã¨ããã¨ãã¨ã¦ã足ããå
容ã«ã¯ãªã£ã¦ãã¾ããã§ããã
ã¨ã«ãããæ²»ããªãã
ãã¥ã¼ãã³ã°ãã¦ããã¥ã¼ãã³ã°ãã¦ããã¾ãåããããªJOINããã£ã±ãã®SQLãä½æãããä¼¼ããããªå®è¡è¨ç»ãæããINDEXãä½ãããDBAä½ã¨ããã¦ï¼ãããã
ããããªããããè¾ãã
å年以ä¸ãããç¶ããã¢ããã¼ã·ã§ã³ãã§ãã絶ææãæãã¦ãã¾ããã
GWåæ¥ã®ç¥æ¥ã«å¼ã³åºãããã¨ãã¯ãä¸ç·ã«åºããããã¨è¨ã£ã¦ããå¨ã«ããããè¡ããªããã¨ä¼ããã¨ãã®ãå¨ã®æ¶ç®ãè¦ã¦ãããè¾ããããã¨æ¬æ°ã§æãã¾ããã
ã§ãç§ãè¾ãã¦ããæ¹åã¯ãããªãããªãããã¦ãä½ãããé£ããã¤ãã¦çµæãåºãã¦ãããè¾ãããã
ãããªä¸ã§ãã®æ¬ã®ã¬ã¿ã¼ãè¦ã¦ãã¢ã¦ããããã®éè¦æ§ã«æ°ã¥ãã¾ããã
ãæ²»çããããäºé²ããããªãã¨ããã®å ãã£ã¨ãã®ç¶æ³ãç¶ãã¨ãããã¨ã
JOINä¸æ¯ã®æ°ç¾è¡SQLããªãä½ãããã®ã
INDEXã追å ãããã¨ã§ããªãå®è¡è¨ç»ã®å¤åããã®ã
ãªãã¦ãã¨ã¯DBAã ã£ããSQLãã¥ã¼ãã³ã°ãã¦ãã人ã§ããã°åããã¾ãããéçºè
ã®äººã§ãåãã£ã¦ãã人ã¯åãã£ã¦ãã¾ãã
ããã©ãããéçºã«é¢ãã人ãã¹ã¦ããããã¨ããã¨ãããã§ããªãã
ã§ããã°ããä½æ
ãããã ããªã®ãããæ£ããä¼ãããã¨ãå¿
è¦ãªãã ã¨æããã§ãã
ãããDBREããããã¨ã®ä¸ã¤ã§ã¯ãªãããªã¨ãããæã£ã¦ãã¾ãã
åæã«ãã³ã¹ããã¼ã¹ã®ãªããã£ãã¤ã¶ãå©ç¨ãã¦ããRDBMSã§ããã°ãã³ã¹ãã®ææ¨ãç®åºãæ¹ãã¦ãããã¨ã«ãã¾ããã
ãªãã¨ãªããã³ã¹ãä¸ãã¦ï¼ï¼ãã§ã¯ã説å¾åãããã¾ããã
CPUã®æ°ããããããã«å¯¾ãã¦æ¯ç§ã¢ã¯ã»ã¹æ°ã¯ãããä¾ãã°OracleDBã§ããã°ããã«å¯¾ãDB Timeã¯XXXXã§ãªãã¨ãCPUãé£ãã¤ã¶ãããã¨ãã£ãå®éçãªèª¬å¾åãæ示ãããã¨ã§ãã
ããããã°éçºè
ã®æ¹ã
ããä½æããSQLã®OK/NGããããããããåæã«ç§ãã¡ãããã®é¾å¤ãè¶
ãããã®ãã§ããå ´åãã©ããããããã®ããç¸è«ããå ´ãè¨ããããã¢ã³ããã¿ã¼ã³ã®ã¢ã¦ãããããåºããã¨ãåºæ¥ã¾ãã
ãããããããã°Win-Winã ãªãããæã£ãã®ãå
æ¥ã®ãã¨ã§ããã
次ã«ãããªãã¨ãããªããã¨
ãã¦DBREãã©ãã«èµãåããã¨ãé¸æãã訳ã§ããããã®ã¨ãåæã«ããªãã¨ãããªããã¨ã¯ãå¹æãå®éçã«åºããã¨ãããã¨ã
æ¥ã
ã®åãåãããå®è¡è¨ç»å¤åã®åãåããçãããã¾ã§è¡ã£ã¦ããæ¥åãã©ã®ããã«å¤åãããã®ãããã®å¹æãåºããªãã¨ããã¾ããã
æ°ã¯ããã§ã¯è¨ããªãã¨æãã®ã§ãããã©ã®ãããæ¸ã£ããã¨ãã辺ãã¯ã¢ã¦ããããã§ããã°ãããªã¨æã£ã¦ãã¾ãã
ç«ã®æã§ãåããããã§ãç«ãããããå¤åä»äºããªããªãã¨æãã¾ãã
ã ã£ã¦ç«ã¯ãããããã®ã