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 1ewqmO-0003V4-MU for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Mar 2018 14:56:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewqmN-0000xg-9M for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Mar 2018 14:56:23 +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 1ewqmN-0000xX-3L for pgsql-bugs@lists.postgresql.org; Fri, 16 Mar 2018 14:56:23 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewqmK-0003P2-Fx for pgsql-bugs@lists.postgresql.org; Fri, 16 Mar 2018 14:56:22 +0000 Received: from [192.168.127.1] (port=20472 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1ewqmJ-000LxS-3D; Fri, 16 Mar 2018 14:56:19 +0000 Received: from [127.0.0.1] (port=34326 helo=caithnard.riddles.org.uk) by caithnard.riddles.org.uk with esmtp (Exim 4.89 (FreeBSD)) (envelope-from ) id 1ewqmI-0005l4-Ds; Fri, 16 Mar 2018 14:56:18 +0000 From: Andrew Gierth To: Enno Wein Cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15115: temporary AND unlogged tables for parallel db import In-Reply-To: <33a6e05e-5dee-856e-d2a3-427eb190cc1e@yahoo.com> (Enno Wein's message of "Fri, 16 Mar 2018 07:38:48 -0700") Message-ID: <87zi38gjrd.fsf@news-spur.riddles.org.uk> 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> <33a6e05e-5dee-856e-d2a3-427eb190cc1e@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Date: Fri, 16 Mar 2018 14:56:17 +0000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >>>>> "Enno" == Enno Wein writes: Enno> I think you made that clear :-) Obviously not clear enough. Enno> However, it doesn't seem to work like that. Even with ONLY either Enno> unlogged (the global ones) and temprorary tables (the local ones), the Enno> system still produces a huge amount of WAL/checkpoint writes. So what you just said above is that you get a lot of WAL/checkpoint writes when using unlogged non-temporary tables. What this implies is that you have something _else_ going on, involving persistent tables (i.e. non-temporary non-unlogged tables - these are the only kind that get their data changes WAL-logged). So please take this to a more appropriate forum where you can ask for help in determining where your WAL or checkpoint traffic is coming from, rather than wasting your time and ours in asking for a feature that already exists and which from your own description above has nothing to do with your problem. -- Andrew.