PostgreSQLããã¥ã¼ãã³ã°ããæ©ä¼ããã£ãã®ã§ ãã®æã«èª¿ã¹ããã¥ã¼ãã³ã°é
ç®ãåå¿é²ã¨ãã¦æ®ãã¦ããã¾ãã ãã¼ã¸ã§ã³ã®éãããµã¼ãã®è¦æ¨¡ãªã©ã«ãã£ã¦ã å¹æã¯å¤ãã£ã¦ããã¨æãã®ã§ããã¾ã§åèç¨åº¦ã®ãã®ã§ããã ã»shared_buffers 7ç³»ã§ã¯8000ã10000ç¨åº¦ã¾ã§å¼ãä¸ãã 8ç³»ã§ã¯150000ç¨åº¦ã¾ã§å¼ãä¸ãããã¨ãå¯è½ã100000ç¨åº¦ãæ§è½ã®ãã¼ã¯ ããã«å¤ãå²ãå½ã¦ãããOSã®ãããã¡é åã¨ãã¦ä½¿ãæ¹ãæ§è½ãåä¸ãã ãã¼ãã«ãµã¤ãºãå²ãåºãã¦è¨å®ããã®ããã¹ã ç°¡åã«è¨å®ãããªãæè¼ã¡ã¢ãªéã®1/4ãæè¼ã¡ã¢ãªãå¤ããã°1/2ãããã§ãå¯ ã»max_connections 7ç³»ã§ã¯256ç¨åº¦ã8ç³»ã§ã¯1000ç¨åº¦ãæ§è½ã®ãã¼ã¯ ã»work_mem(sort_mem) é©åãªãµã¤ãºã«èª¿æ´ããã2048ã4096ç¨åº¦ ããã»ã¹æ¯
{{#tags}}- {{label}}
{{/tags}}