Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ziuiw-0003UK-TH for pgsql-bugs@arkaria.postgresql.org; Mon, 05 Oct 2015 01:37:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Ziuiv-0004H8-VL for pgsql-bugs@arkaria.postgresql.org; Mon, 05 Oct 2015 01:37:54 +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.84) (envelope-from ) id 1Ziuiu-0004Gz-FA for pgsql-bugs@postgresql.org; Mon, 05 Oct 2015 01:37:52 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Ziuin-000289-2b for pgsql-bugs@postgresql.org; Mon, 05 Oct 2015 01:37:51 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1Ziuij-0005kk-OS; Sun, 04 Oct 2015 21:37:41 -0400 Date: Sun, 4 Oct 2015 21:37:41 -0400 From: Bruce Momjian To: digoal@126.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13645: pg_basebackup backup hash index & unlogged table Message-ID: <20151005013741.GA6797@momjian.us> References: <20150928061524.1448.39027@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150928061524.1448.39027@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Mon, Sep 28, 2015 at 06:15:24AM +0000, digoal@126.com wrote: > The following bug has been logged on the website: > > Bug reference: 13645 > Logged by: digoal > Email address: digoal@126.com > PostgreSQL version: 9.4.4 > Operating system: CentOS 6.x x64 > Description: > > HI, > Hash index and unlogged table don't generate XLOG record, when we use > pg_basebackup's backup datafile & xlog archive recovery database, unlogged > table datafile will purged, and hash index also has unconsistent data page. > Why pg_basebackup not filter the hash index datafile & unlogged table > datafile, these file waste net band and backup file's capcity. We will issue a warning in 9.5 when hash indexes are created. I am not sure why we don't filter out hash indexed and unlogged tables. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Roman grave inscription + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs