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 1ewqml-0003WL-4b for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Mar 2018 14:56:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewqmk-0002K6-04 for pgsql-bugs@arkaria.postgresql.org; Fri, 16 Mar 2018 14:56:46 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewqmj-0002Jx-NC for pgsql-bugs@lists.postgresql.org; Fri, 16 Mar 2018 14:56:45 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewqmg-0006Lj-Uq for pgsql-bugs@lists.postgresql.org; Fri, 16 Mar 2018 14:56:44 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 267755F79C; Fri, 16 Mar 2018 10:56:42 -0400 (EDT) Date: Fri, 16 Mar 2018 10:56:42 -0400 From: Stephen Frost To: Enno Wein Cc: Andrew Gierth , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15115: temporary AND unlogged tables for parallel db import Message-ID: <20180316145642.GI2416@tamriel.snowman.net> 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0y0nzgZqIiJSI7Yv" Content-Disposition: inline In-Reply-To: <33a6e05e-5dee-856e-d2a3-427eb190cc1e@yahoo.com> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0y0nzgZqIiJSI7Yv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, * Enno Wein (ennowein@yahoo.com) wrote: > 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. "Doesn't seem to work like that" really isn't enough to go on. If you'd like for someone to look into this, posting a reproducible test case which illustrates the bug you think you've found would be your best bet. Thanks! Stephen --0y0nzgZqIiJSI7Yv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJaq9spAAoJEO1sijiDR2RVNBMP/iwil+XiUbyVH11//AsW4bhZ Q38qYG3hjLtLZqhKeQzXpvYwZKvQTwsYcnn0zmz9F5SVjUhjY5KIaI4mSCDqog3/ Ic0zLYONgY9VWlRMpWpOh8rwyIm73PWMnffmt6KR+jKPgdrItrNw2AaccEPNHDwc Fbvaz63lO7h8vabC+67QadSq+YD3NWnYi800ZlwnQuSG41adhVuK8jChD/0NXrk9 e83fIgGgGxbotCo+3Y9lyKK46ED4a/5jCz+GHR1hREujyCPFtxDMCEUcmkgfS1hC uCMbmb9YOehwE9quBlEmUm7P/gov4eYNsceOY6o8t8r4aslZ8fgQn1uYt736EEcJ IRVkCd2CEIgbuQhupjhDpoiH82Q+KfK79XxjPGOr94/cyhneeeT9WZgXcWl8JezW uzOb5hxXXYQybYaikWav+gClKuniCDLb/MTYy9BadiWL5n9HalxUV9/HqEY0JXu2 VBd3u93wxR5vQFBwjYmkqAZtQbMOt6OLoVBLDfP9BTr+zoiUqfbLYhUnZA3ZTVph u8bW5UckOr+hRhzgWWXiwLa4T81mC2pgBvPyVW23y0oYSeLl3jlU6BIbMsnTwaxq lcHehOZN+GTE+mGSmar7J+u9ACxxvz492Ww89IH6mpV8B19QnHGmedI4s5c0EPF6 swG6dE0/NN5y0GKGyDA9 =HcM3 -----END PGP SIGNATURE----- --0y0nzgZqIiJSI7Yv--