Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwYhJ-0001iK-CM for pgsql-admin@arkaria.postgresql.org; Wed, 20 Feb 2019 20:42:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gwYhH-000515-VV for pgsql-admin@arkaria.postgresql.org; Wed, 20 Feb 2019 20:42:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwYhH-00050y-Np for pgsql-admin@lists.postgresql.org; Wed, 20 Feb 2019 20:42:27 +0000 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwYhF-0000xg-Rr for pgsql-admin@lists.postgresql.org; Wed, 20 Feb 2019 20:42:27 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 444V0J1L9Wz1qwf7 for ; Wed, 20 Feb 2019 21:42:23 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 444V0H57hGz1qr5p for ; Wed, 20 Feb 2019 21:42:23 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id qJDzIXtKIk5c for ; Wed, 20 Feb 2019 21:42:23 +0100 (CET) Received: from [192.168.178.37] (ppp-93-104-69-206.dynamic.mnet-online.de [93.104.69.206]) by mail.mnet-online.de (Postfix) with ESMTP for ; Wed, 20 Feb 2019 21:42:23 +0100 (CET) Subject: Re: Regarding postgreSQL performance on DRAM To: pgsql-admin@lists.postgresql.org References: <87va1exlfo.fsf@jsievers.enova.com> From: Thomas Kellerer Message-ID: Date: Wed, 20 Feb 2019 21:42:22 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <87va1exlfo.fsf@jsievers.enova.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jerry Sievers schrieb am 20.02.2019 um 21:19: >> My workload is simple. I  insert 1 million rows into a table with 100 >> columns, where each column is 256 bytes in length, and every 10 >> inserts are batched into a transaction. > > Your test workload qualifies for TOASTing due to the $unrealistically > long physical tuple size. Hmm. I though TOAST is only applied to single values, not the entire tuple (row)? As each column is substantially shorter than the TOAST threshold, I would not expect toasting to kick in here. Or am I missing something?