pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Enno Wein <ennowein@yahoo.com>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15115: temporary AND unlogged tables for parallel db import
Date: Fri, 16 Mar 2018 07:38:48 -0700
Message-ID: <33a6e05e-5dee-856e-d2a3-427eb190cc1e@yahoo.com> (raw)
In-Reply-To: <874llghz6x.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>

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 <ennowein@yahoo.com> 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.
> 




view thread (11+ messages)  latest in thread

Message-ID: <33a6e05e-5dee-856e-d2a3-427eb190cc1e@yahoo.com>
Permalink:  ../33a6e05e-5dee-856e-d2a3-427eb190cc1e@yahoo.com/
Also on:    postgresql.org/message-id/33a6e05e-5dee-856e-d2a3-427eb190cc1e@yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ennowein@yahoo.com, andrew@tao11.riddles.org.uk
  Subject: Re: BUG #15115: temporary AND unlogged tables for parallel db import
  In-Reply-To: <33a6e05e-5dee-856e-d2a3-427eb190cc1e@yahoo.com>
  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>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox