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 1o5XB6-000197-0i for pgsql-general@arkaria.postgresql.org; Sun, 26 Jun 2022 18:40:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o5XB4-0002qf-6t for pgsql-general@arkaria.postgresql.org; Sun, 26 Jun 2022 18:40:10 +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 1o5XB3-0002qU-GW for pgsql-general@lists.postgresql.org; Sun, 26 Jun 2022 18:40:09 +0000 Received: from mx3.wp.pl ([212.77.101.9]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5XAx-0005qp-P4 for pgsql-general@lists.postgresql.org; Sun, 26 Jun 2022 18:40:08 +0000 Received: (wp-smtpd smtp.wp.pl 6993 invoked from network); 26 Jun 2022 20:40:01 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1656268801; bh=jfIL9xubJ7s82CasiSUGgMLQMF1F94iP/dqZJjb23iA=; h=From:Subject:To; b=QYssTIm6w0aQfyfZ//lCmVbKjtOPemTyxt4N9jLbiKDWLk0oqz03sTU+YVlAnokbb baMAlR84BUPys6WZhEcPEfvbQWm2RPGPYTHZKaibm8ZgDjJT023PPziyqwlMK/QvwC diO9UqevYDorJt492Y90rNLiyUtf7VhwvmLObn0E= Received: from 79.191.131.254.ipv4.supernova.orange.pl (HELO [192.168.1.200]) (laurentp@wp.pl@[79.191.131.254]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 26 Jun 2022 20:40:01 +0200 From: "W.P." Subject: How can I set up Postgres to use given amount of RAM? To: pgsql-general@lists.postgresql.org Message-ID: Disposition-Notification-To: "W.P." Date: Sun, 26 Jun 2022 20:40:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: pl X-WP-MailID: b5800e665aa74a6653af762ebc7bdcae X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000009 [MDPk] List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Question in topic: "How can I set up Postgres to use given amount of RAM?" I have now laptop with 8GB of RAM, i can see Linux uses no more than 2-3GB. So my question is how to FORCE PostgreSQL use let's say 2-4Ghow to B of RAM for caching tablesĀ  I run queries on? As I can see disk actity running queries. W.P..