From: | davinder singh <davindersingh2692(at)gmail(dot)com> |
---|---|
To: | Dilip Kumar <dilipbalaut(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Optimize external TOAST storage |
Date: | 2022-03-10 08:34:06 |
Message-ID: | CAHzhFSEDYc5z-Scf7c7Oo2WYahsz_UFZKGVDq4G2s6a877UFWw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Thanks Dilip, I have fixed your comments, please find the updated patch.
On Tue, Mar 8, 2022 at 9:44 PM Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:.
> + /* incompressible, ignore on subsequent compression passes. */
> + orig_attr->tai_colflags |= TOASTCOL_INCOMPRESSIBLE;
>
> Do we need to set TOASTCOL_INCOMPRESSIBLE while trying to externalize
> it, the comment say "ignore on subsequent compression passes"
> but after this will there be more compression passes? If we need to
set this TOASTCOL_INCOMPRESSIBLE then comment should explain this.
>
That was a mistake, this flag is not required at this point, as the
attribute is externalized it will be marked as TOASTCOL_IGNORE, and
such columns are not considered for compression, I removed it. Thanks for
pointing it out.
--
Regards,
Davinder
EnterpriseDB: http://www.enterprisedb.com
Attachment | Content-Type | Size |
---|---|---|
v2_0001_optimize_external_toast_storage.patch | application/octet-stream | 6.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien COELHO | 2022-03-10 08:45:28 | Re: pg_ls_tmpdir to show directories and shared filesets (and pg_ls_*) |
Previous Message | Jeff Davis | 2022-03-10 08:22:05 | Re: pg_walinspect - a new extension to get raw WAL data and WAL stats |