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 1jWwfq-0002t8-Pj for pgsql-general@arkaria.postgresql.org; Fri, 08 May 2020 06:39:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jWwfp-00087m-Me for pgsql-general@arkaria.postgresql.org; Fri, 08 May 2020 06:39:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWwfp-000872-Et for pgsql-general@lists.postgresql.org; Fri, 08 May 2020 06:39:53 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jWwfn-0007or-BE for pgsql-general@lists.postgresql.org; Fri, 08 May 2020 06:39:52 +0000 Received: by mail-wr1-x42c.google.com with SMTP id i15so502082wrx.10 for ; Thu, 07 May 2020 23:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=tfV+ABeLiQfRC9PrCNAFZiGarxcg4ZBw2u5eC0qn7dM=; b=VDAiqqFE7WSt917mmOey4YosLfeIk6WZKt5f4gIgqeCDE3T0HULJSYm231EWsc6MsR 0SoU1G41hBV+VnmSGXJDQZcb3bVBKWEwf7bRWVAVwJh3ako10EtmO7kJ2g3Lv5EQuKPC 3WhMHz7IJrYtHHvbu3qKG2uVpi/LnYIUgTmLtbGKouNdpiKwxQ+n5h43n+YqYV0rxhzN w5jMMlIe8ZjOdlge97OZSnd+UfXgLqE5jy3pk/kEzGub/hj5LRJz0fh9wLkDO6hUbjTD oavDTWTkaxm5xlw57Ns2vOsWXtUEPV1Eg2xMgurX/5SGKlhlTskPZppIWLQIlYBPL9I7 58oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=tfV+ABeLiQfRC9PrCNAFZiGarxcg4ZBw2u5eC0qn7dM=; b=dxcGCeauj0j7mib9FY++oxknuwb5Ftd+vTsEnakQYVf5bB2blSkd5DGMzqe2MDrKEu isFpSiFVt80lemHm5hwuD/RhT4lVfXUEiVdzHgRBQbtDt8nemaoc5xl1Yyf4QZR62n5I me8JL41y5t5YpKi5gOg6b1whQKKWTytJzYOKxpoVkQXUGzmWXALEUaop5dcof//3SXea FE3gOcIEWEQkiYVHaShnIo6tiy9W9RrHfWOJDvhJOj6okxSbORhyn9BX3xx8AIjDswuy uUlzfgJpN3gXoPOt25S61OJhBPpUUNn8l85yZbpuaCTofCvhJI9wZhwuc+3AmjoA1+5Y 76Tg== X-Gm-Message-State: AGi0PuaawiH6Rm/RvKZ2PgvJMDNrqEQqe8+yVpQ6ElNLZVQN84r1E7I3 wMwAhyCPIqTlN0Jg5XoYNfY5Dw== X-Google-Smtp-Source: APiQypKZRWxN7NnHvyTbbFrwcV36wcLox4WGdGhcio9FkTxsLp8xneRms4txVAcB9UCQfiE96vVOTw== X-Received: by 2002:adf:f606:: with SMTP id t6mr1062883wrp.321.1588919990090; Thu, 07 May 2020 23:39:50 -0700 (PDT) Received: from dynamic-emngbpawjaqsxvclq-pd01.res.v6.highway.a1.net (dynamic-emngbpawjaqsxvclq-pd01.res.v6.highway.a1.net. [2001:871:60:4ec7:c2c1:32b6:5a97:228e]) by smtp.gmail.com with ESMTPSA id u2sm1433403wrd.40.2020.05.07.23.39.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2020 23:39:49 -0700 (PDT) Message-ID: <7b3633eee48f14c11677ad445b9bf2b9ac7aaf72.camel@cybertec.at> Subject: Re: Memory footprint diff between 9.5 and 12 From: Laurenz Albe To: Tory M Blue , "pgsql-generallists.postgresql.org" Date: Fri, 08 May 2020 08:39:48 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, 2020-05-07 at 13:33 -0700, Tory M Blue wrote: > I hadn't noticed this until today, but a running 9.5 system with buffers at 10GB starts > and has been running years without issues. (15GB available) > > Postgres 12 will not start with that configuration, complaining about memory availability. > So Postgres12 won't start until shared buffers is 6GB, but even with that, my DB servers , > postgres queries started complaining about being unable to allocate memory "unable to allocate". > > So dropping them to 4GB (on a 15GB system), may help, but did I miss a huge note about > significant memory changes between 9.5 to 12? > > Is there something else I'm missing that on busy systems is important, something introduced > in 10 or 11 as again I'm not seeing anything noted in 12. There must be something else running on the machine that allocates memory. Did you perchance run the 9.5 and the v12 server on the same machine? Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com