From: | Aleksey Tsalolikhin <atsaloli(dot)tech(at)gmail(dot)com> |
---|---|
To: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: A 154 GB table swelled to 527 GB on the Slony slave. How to compact it? |
Date: | 2012-03-15 03:27:50 |
Message-ID: | CA+jMWoeqDsCbAnn-1G+eYCJHUD5UEh3hPcxFkZnOMOcDRrmfQA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Mar 14, 2012 at 8:06 PM, Aleksey Tsalolikhin
<atsaloli(dot)tech(at)gmail(dot)com> wrote:
> Executive summary: Why would the TOAST table on the slave have 4x the
> page count of the master?
Hypothesis: the pages of the TOAST table on the slave have more
unused space in them than the pages of the TOAST table on the master.
How do I test this hypothesis? I need to examine the raw pages on disk.
I'm looking at
http://momjian.us/main/writings/pgsql/internalpics.pdf Slide 52
shows "internal page structure" but I don't know how to actually look
at a page.
Is it possible to do a raw dump of the pages of a table? Do I just
look at the hexdump of the file corresponding to relfilenode?
Best,
Aleksey
From | Date | Subject | |
---|---|---|---|
Next Message | krzf83@gmail.com | 2012-03-15 03:28:58 | Re: permission denied to create extension "ltree" Must be superuser to create this extension. |
Previous Message | Aleksey Tsalolikhin | 2012-03-15 03:06:53 | Re: A 154 GB table swelled to 527 GB on the Slony slave. How to compact it? |