Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yhk5I-0005w4-F6 for pgsql-performance@arkaria.postgresql.org; Mon, 13 Apr 2015 19:31:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yhk5H-0008OW-Tl for pgsql-performance@arkaria.postgresql.org; Mon, 13 Apr 2015 19:31:51 +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 1Yhk5G-0008ON-Mk for pgsql-performance@postgresql.org; Mon, 13 Apr 2015 19:31:50 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yhk59-0006dE-6v for pgsql-performance@postgresql.org; Mon, 13 Apr 2015 19:31:48 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 8A8441ABCA12 for ; Mon, 13 Apr 2015 12:32:13 -0700 (PDT) Date: Mon, 13 Apr 2015 12:31:42 -0700 (MST) From: dgabriel To: pgsql-performance@postgresql.org Message-ID: <1428953502160-5845576.post@n5.nabble.com> In-Reply-To: <005501cca0ad$b9478440$2bd68cc0$@devshock.com> References: <005501cca0ad$b9478440$2bd68cc0$@devshock.com> Subject: Re: unlogged tables MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org "In the event of a normal shutdown, we can flush all the writes to disk so we know all the data has been written, so there is no need to truncate." Isn't possible to periodically flush data to disk and in case of crush postgres to load only the data that existed at last flush? The periodic flush could be configurable, for example every 30 minutes or after x rows updated/inserted. -- View this message in context: http://postgresql.nabble.com/unlogged-tables-tp4985453p5845576.html Sent from the PostgreSQL - performance mailing list archive at Nabble.com. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance