Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewqio-0003IA-9u for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Mar 2018 14:52:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewqin-0005ni-8O for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Mar 2018 14:52:41 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewqVY-00059A-BC for pgsql-bugs@lists.postgresql.org; Fri, 16 Mar 2018 14:39:00 +0000 Received: from sonic316-14.consmr.mail.gq1.yahoo.com ([98.137.69.38]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewqVV-0002zB-Dd for pgsql-bugs@lists.postgresql.org; Fri, 16 Mar 2018 14:38:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1521211134; bh=MZSCQnSYjYfwPLClwKS6PdzvSJ2cEFVtoGb4c/a97TM=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=g1ewa4F6jzlLcDGcdeofCDy1WmVCio+3PZ32rCMVn2TbYzcEuGvxGnV6mpqZBU0h+vzOrGEEO/Nq7z8wSd6IibhPQ6lmZJc9Le2U0HQVMvx7eJTFQ8Op5TChLByP4BC35eDvlZviDuxo5njFWC5eqsAzKimYMW039vgtYphKYHvgSEhpg3m8AMX2ECGZp4CX1egrycz5vpT/PgHjX3oJ2QsJHdev4lxWTqeQM4yXj/Vs6E8XvsbItV9CJDgd29BA5YsYYJkd6CL+nSzSOsPn5x/K5hxMwJ0j91zce7lKni9abMbv3jq5hVn1hrtch22hQ07nCjMZ5ZXrblBHorIkpg== X-YMail-OSG: Gu1I.lAVM1mxGtPHyRQ1tFCsNjdm96h5PBmr8h.lgol52whkTgOZJ2Tu4tmdIau 3lMYKCuQGuAgt5F1Zp.0nUM2XERbsc05fg75SwSrd7.H_fuVt_8advqVT9zCHHeEhtEd7Cf2H60B sRpohbEYc3Lvj4dvfNhqTKp0pg_IjeHjdiMIZwdvWTZIhAftuKlrCk8x8jECBoQ1mODe9mVK3zIU ZoirSX5wXSVSFbcgq8xOD4M1xhTcmeNufKPBH8IBTXsgPUgDA378K4F7HA_32_hPXo5T7nPoYWpK _ruhP.cGkGRRWrawoB3IqkuQPsewJ9t7ne9Ep1CcAbAqmpxilNtPcNMyuqB1XK3SJiy3JeukAJsE uRPDyYTdURa7CRo_10LZ_raqSoDjziur0pVGsNDgHrFesjXB8BNkuFMQm69ziofWCqXWecVpCJS0 qgvRj7JHIumSIJrliwuPPJn5IXTvc7twA4x.i_Jx97LBgtrKjUYZtFeFeM6kHrzPusdjfS9gh3BI qRZoikHYQdn0azl1yXe5siEGEcueUGsrl_5D_TFA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Fri, 16 Mar 2018 14:38:54 +0000 Received: from c-24-130-144-35.hsd1.ca.comcast.net (EHLO Julis-MacBook-Pro.local) ([24.130.144.35]) by smtp403.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 642d536965d89239e521e8ff9f9765ce; Fri, 16 Mar 2018 14:38:49 +0000 (UTC) Subject: Re: BUG #15115: temporary AND unlogged tables for parallel db import To: Andrew Gierth Cc: pgsql-bugs@lists.postgresql.org References: <152120772359.1215.16174625790404871093@wrigleys.postgresql.org> <878tasi0p2.fsf@news-spur.riddles.org.uk> <5d01c4db-6ca0-c780-870d-07a0c08added@yahoo.com> <874llghz6x.fsf@news-spur.riddles.org.uk> From: Enno Wein Message-ID: <33a6e05e-5dee-856e-d2a3-427eb190cc1e@yahoo.com> Date: Fri, 16 Mar 2018 07:38:48 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <874llghz6x.fsf@news-spur.riddles.org.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I think you made that clear :-) However, it doesn't seem to work like that. Even with ONLY either unlogged (the global ones) and temprorary tables (the local ones), the system still produces a huge amount of WAL/checkpoint writes. In fact, the "wal-writer" and "checkpoint" processes are the biggest writers in the system. checkpoint process uses up to 9GB of Ram and wal produces more writes than any other process. On 3/16/18 07:31, Andrew Gierth wrote: >>>>>> "Enno" == Enno Wein writes: > > Enno> This is an enhancement request to enable having tables which are > Enno> both temporary and unlogged. > > ALL TEMPORARY TABLES ARE ALREADY UNLOGGED. > ========================================== > > I don't know how to make this any clearer. >