pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Sean Flaherty <sflaherty@grndwork.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Increased storage size of jsonb in pg15
Date: Wed, 13 Dec 2023 14:21:39 -0800
Message-ID: <87680387-ed25-41ff-b6de-37e357398df9@aklaver.com> (raw)
In-Reply-To: <CAOscTZMM5QvuXLUN5yE90w=dM+X=6saJR_1ABiOTtt+Y9G3KnQ@mail.gmail.com>
References: <CAOscTZMM5QvuXLUN5yE90w=dM+X=6saJR_1ABiOTtt+Y9G3KnQ@mail.gmail.com>

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.klaver@aklaver.com






view thread (18+ messages)  latest in thread

Message-ID: <87680387-ed25-41ff-b6de-37e357398df9@aklaver.com>
Permalink:  ../87680387-ed25-41ff-b6de-37e357398df9@aklaver.com/
Also on:    postgresql.org/message-id/87680387-ed25-41ff-b6de-37e357398df9@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, sflaherty@grndwork.com
  Subject: Re: Increased storage size of jsonb in pg15
  In-Reply-To: <87680387-ed25-41ff-b6de-37e357398df9@aklaver.com>
  References: <CAOscTZMM5QvuXLUN5yE90w=dM+X=6saJR_1ABiOTtt+Y9G3KnQ@mail.gmail.com> <87680387-ed25-41ff-b6de-37e357398df9@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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