Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYG0v-0004tv-4n for pgsql-general@arkaria.postgresql.org; Mon, 11 May 2020 21:31:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYG0u-0005mG-1q for pgsql-general@arkaria.postgresql.org; Mon, 11 May 2020 21:31:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYG0t-0005m8-Pu for pgsql-general@lists.postgresql.org; Mon, 11 May 2020 21:31:03 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYG0r-0002rX-MQ for pgsql-general@lists.postgresql.org; Mon, 11 May 2020 21:31:03 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 04BLUwHH006777; Mon, 11 May 2020 17:30:58 -0400 From: Tom Lane To: Tory M Blue cc: "pgsql-generallists.postgresql.org" Subject: Re: Is there a significant difference in Memory settings between 9.5 and 12 In-reply-to: References: <7b3633eee48f14c11677ad445b9bf2b9ac7aaf72.camel@cybertec.at> <30855.1589229387@sss.pgh.pa.us> Comments: In-reply-to Tory M Blue message dated "Mon, 11 May 2020 14:08:03 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6775.1589232658.1@sss.pgh.pa.us> Date: Mon, 11 May 2020 17:30:58 -0400 Message-ID: <6776.1589232658@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tory M Blue writes: > Okay the one difference I see in settings is this little gem in 12.. > shared_memory_type mmap Well, v12 is just exposing a switch for something that was hard-wired before. But now I wonder if your 9.5 installation could've been compiled to force it to use SysV shmem instead of POSIX. It would be pretty unusual to have a system where the SysV shmem limits were higher than the POSIX limits --- usually it's the other way 'round. But this'd explain why you're seeing a difference. Does v12 start with the higher shared_buffers setting if you set shared_memory_type = sysv? regards, tom lane