pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #8728: Toast table much larger on replica
4+ messages / 3 participants
[nested] [flat]
* BUG #8728: Toast table much larger on replica
@ 2014-01-06 23:16 m.sakrejda@gmail.com
0 siblings, 0 replies; 4+ messages in thread
From: m.sakrejda@gmail.com @ 2014-01-06 23:16 UTC (permalink / raw)
To: pgsql-bugs
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* BUG #8728: Toast table much larger on replica
@ 2014-01-13 18:12 Maciek Sakrejda <m.sakrejda@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Maciek Sakrejda @ 2014-01-13 18:12 UTC (permalink / raw)
To: pgsql-bugs
(apologies for lack of proper threading, but I never got an e-mail from my
form submission--checked spam folder and everything)
I took another look at the cluster, and the extra extents in question all
look like this in hexdump:
00000000 00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 20
|............... |
00000010 00 20 04 20 00 00 00 00 00 00 00 00 00 00 00 00 |. .
............|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
*
00002000 00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 20
|............... |
00002010 00 20 04 20 00 00 00 00 00 00 00 00 00 00 00 00 |. .
............|
00002020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
*
00004000 00 00 00 00 00 00 00 00 00 00 00 00 18 00 00 20
|............... |
We're actually investigating a separate WAL-E issue that may have led to
missing files (possibly including visibility maps) when originally setting
up the base backup. I don't think that directly caused these extra files,
but I'm bringing it up since it may be relevant here.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #8728: Toast table much larger on replica
@ 2014-01-13 18:18 Stephen Frost <sfrost@snowman.net>
parent: Maciek Sakrejda <m.sakrejda@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Frost @ 2014-01-13 18:18 UTC (permalink / raw)
To: Maciek Sakrejda <m.sakrejda@gmail.com>; +Cc: pgsql-bugs
Waciek,
* Maciek Sakrejda (m.sakrejda@gmail.com) wrote:
> (apologies for lack of proper threading, but I never got an e-mail from my
> form submission--checked spam folder and everything)
My apologies, but we had an issue with the form submission page for a
bit. If anyone else submitted a bug and it did not show up- please
re-submit.
Thanks,
Stephen
Attachments:
signature.asc (application/pgp-signature, 835B) download
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: BUG #8728: Toast table much larger on replica
@ 2014-01-13 18:23 Maciek Sakrejda <m.sakrejda@gmail.com>
parent: Stephen Frost <sfrost@snowman.net>
0 siblings, 0 replies; 4+ messages in thread
From: Maciek Sakrejda @ 2014-01-13 18:23 UTC (permalink / raw)
To: Stephen Frost <sfrost@snowman.net>; +Cc: pgsql-bugs
Thanks, Stephen. To clarify, the bug itself did show up in the list
archives:
http://www.postgresql.org/message-id/E1W0JPC-00012b-I1@wrigleys.postgresql.org
I just never got an e-mail regarding the bug that I could follow up on.
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2014-01-13 18:23 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-06 23:16 BUG #8728: Toast table much larger on replica m.sakrejda@gmail.com
2014-01-13 18:12 BUG #8728: Toast table much larger on replica Maciek Sakrejda <m.sakrejda@gmail.com>
2014-01-13 18:18 ` Stephen Frost <sfrost@snowman.net>
2014-01-13 18:23 ` Maciek Sakrejda <m.sakrejda@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox