Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X2Mce-0006Y6-NL for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Jul 2014 15:39:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X2Mce-0000Bn-3Z for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Jul 2014 15:39:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X2Mcd-0000BV-Ef for pgsql-bugs@postgresql.org; Wed, 02 Jul 2014 15:38:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X2Mca-00070S-O1 for pgsql-bugs@postgresql.org; Wed, 02 Jul 2014 15:38:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s62FcpGi004066; Wed, 2 Jul 2014 11:38:51 -0400 From: Tom Lane To: Andres Freund cc: Pavan Deolasee , "maxim.boguk" , Pg Bugs Subject: Re: BUG #10675: alter database set tablespace and unlogged table In-reply-to: <20140702120945.GN21169@awork2.anarazel.de> References: <20140617032438.2585.42918@wrigleys.postgresql.org> <20140618101045.GG3115@awork2.anarazel.de> <20140618110240.GJ3115@awork2.anarazel.de> <11621.1403099146@sss.pgh.pa.us> <20140618141949.GC3968@awork2.anarazel.de> <20140702120945.GN21169@awork2.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 02 Jul 2014 14:09:45 +0200" Date: Wed, 02 Jul 2014 11:38:51 -0400 Message-ID: <4065.1404315531@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Andres Freund writes: > I think one reason for the separate flag is that the checkpoint > performed by pg_start_backup/pg_basebackup shouldn't just become more > expensive because unlogged tables are needlessly flushed to disk. After > all, unlogged tables are used because normal tables have a too high > overhead in that scenario. AFAIK, the "overhead" that unlogged tables are trying to avoid is WAL I/O. Nobody has argued (until this thread) that we are worried about whether checkpoints write them. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs