Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0JPM-0001jI-Ix for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Jan 2014 23:16:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W0JPL-0007ct-Nk for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Jan 2014 23:16:31 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0JPK-0007cm-Nw for pgsql-bugs@postgresql.org; Mon, 06 Jan 2014 23:16:30 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0JPI-0002lq-IW for pgsql-bugs@postgresql.org; Mon, 06 Jan 2014 23:16:30 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W0JPI-0004Yd-1K for pgsql-bugs@postgresql.org; Mon, 06 Jan 2014 23:16:28 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1W0JPC-00012b-I1 for pgsql-bugs@postgresql.org; Mon, 06 Jan 2014 23:16:22 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8728: Toast table much larger on replica To: pgsql-bugs@postgresql.org From: m.sakrejda@gmail.com Message-Id: Date: Mon, 06 Jan 2014 23:16:22 +0000 X-Pg-Spam-Score: 0.6 (/) 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 The following bug has been logged on the website: Bug reference: 8728 Logged by: Maciek Sakrejda Email address: m.sakrejda@gmail.com PostgreSQL version: 9.2.6 Operating system: Ubuntu 12.04 LTS 64-bit Description: I noticed that one of a customer's toast tables is much larger on a replica than it is on the primary. Basically "ls base/16385/16650* | wc -l" gives me 29 on the old DB, 38 on the replica. The table in question is a toast table, `pg_toast_16647`. The somewhat strange thing is that according to our monitoring (via `pg_database_size`), the replica was *always* 10GB bigger, right off the bat, and the primary was never that big. The replica was set up with WAL-E. The primary is 9.2.5; the replica is 9.2.6. The replica has since stopped replicating the primary, but I don't think that's relevant here--the size discrepancy predates this. Any ideas? -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs