æè¡4課ã®æ¸¡è¾ºã§ãã
æè¿ãOracleãã¼ã¿ãã¼ã¹ãRDS for Oracleã¸ç§»è¡ããæ¡ä»¶ãæ
å½ãããã¨ãå¢ãã¦ãã¾ããã
ããã§ããã©ã¡ã¼ã¿ä½ã«ãã¾ãããï¼ãã¨ãã話ã«ãªãããRDSã®ããã©ã«ãå¤ã£ã¦ã©ããªã£ã¦ãã®ï¼ãã¨ãªããã¨ãå¤ãããã¾ãã
調æ»å¯¾è±¡
- DBã¨ã³ã¸ã³ã¯Oracle Standard Edition Two 12.1.0.2.v12
- db.m4ãã¡ããªã¼(db.m4.largeãdb.m4.xlargeãdb.m4.2xlargeãdb.m4.4xlarge)
- ãã©ã¡ã¼ã¿ã°ã«ã¼ãã®ä¸ã®ããèããã3ã¤ã®ãã©ã¡ã¼ã¿
- sessions
- processes
- memory_target)
ã¾ãçµæ
ParameterName | db.m4.large | db.m4.xlarge | db.m4.2xlarge | db.m4.4xlarge |
sessions | 1262 | 2548 | 5120 | 10256 |
processes | 827 | 1683 | 3397 | 6823 |
memory_target | 5840M | 11904M | 24000M | 48256M |
使ç¨ããã¤ã³ã¹ã¿ã³ã¹ã¯ã©ã¹ã«ãã£ã¦ãå¤ãç°ãªãã¾ãã
çµæãè¦ãã°ãã¡ã¢ãªãµã¤ãºã«æ¯ä¾ãã¦åãã©ã¡ã¼ã¿ãå¢ãã¦ããã®ããããã¾ããã
ã©ã調æ»ããã
å°éã«ä»¥ä¸ã®ãããªã³ãã³ãã§ç¢ºèªãã¦ããã¾ããã
SQL> show parameters memory_target NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ memory_target big integer 24000M
åãã©ã¡ã¼ã¿ã«ã¤ãã¦
ParameterName | ããã©ã«ãå¤ | æå³ |
sessions | ||
processes | LEAST({DBInstanceClassMemory/9868951}, 20000) | DBInstanceClassMemory/9868951ã¨20000ã®ãã¡ã®å°ããæ¹ã使ç¨ããã |
memory_target | IF({DBInstanceClassHugePagesDefault}, 0, {DBInstanceClassMemory*3/4}) | DBInstanceClassHugePagesDefaultãç¡å¹ã®å ´åãDBInstanceClassMemoryã®3/4ã |
ãã©ã¡ã¼ã¿ã°ã«ã¼ããã¿ã¦è¦ãã¨ãããã©ã«ãå¤ã空ç½ã ã£ãããå¼ãå ¥ã£ã¦ãã¾ãã
DBInstanceClassHugePagesDefault
ä»å確èªããã¤ã³ã¹ã¿ã³ã¹ã¯ã©ã¹ã¯ãDBInstanceClassHugePagesDefaultã¯ããã©ã«ãã§ç¡å¹ã§ãã
Oracle DB ã¤ã³ã¹ã¿ã³ã¹ã§ huge pages ã使ç¨ãã
DBInstanceClassMemory
ç¾å¨ã® DB ã¤ã³ã¹ã¿ã³ã¹ã«é¢é£ä»ãããã¦ãã DB ã¤ã³ã¹ã¿ã³ã¹ã¯ã©ã¹ã«å²ãå½ã¦ãããã¡ã¢ãªãããã¤ã³ã¹ã¿ã³ã¹ã管çãã Amazon RDS ããã»ã¹ã«ãã£ã¦ä½¿ç¨ãããã¡ã¢ãªãå¼ãããã¤ãæ°ãè¿ãã¾ãã
DB ãã©ã¡ã¼ã¿ã°ã«ã¼ãã使ç¨ãã
渡辺 ä¿¡ç§(è¨äºä¸è¦§)
2017å¹´å
¥ç¤¾ / å°å³ãªå
容ãä¸å¯§ã«æ¸ããã