Re: Increased storage size of jsonb in pg15

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Sean Flaherty <sflaherty(at)grndwork(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Increased storage size of jsonb in pg15
Date: 2023-12-13 22:21:39
Message-ID: 87680387-ed25-41ff-b6de-37e357398df9@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/13/23 14:07, Sean Flaherty wrote:
> Hello,
>
> We are seeing an increase in the reported storage size of our jsonb
> columns (using pg_column_size) since upgrading to Postgres 15.5 from
> version 14.  The increase in size is enough to push us over the size
> threshold and more of our data to get written to the TOAST table.

More information needed:

1) Table definition.

2) An example of reported size for the 14.? and 15.5 cases.

3) Differences in the database attributes between the two instances.

4) Was this done on same machine? If not how are the machines different?

5) How the upgrade was done?

>
> I can't find any information online, is anyone aware of what would cause
> this change in storage size for essentially the same data?
>
> Kind regards,
> Sean

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sean Flaherty 2023-12-13 23:49:41 Re: Increased storage size of jsonb in pg15
Previous Message Sean Flaherty 2023-12-13 22:07:58 Increased storage size of jsonb in pg15