| From: | Arthur Silva <arthurprs(at)gmail(dot)com> |
|---|---|
| To: | John R Pierce <pierce(at)hogranch(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: arrays, inline to pointer |
| Date: | 2016-05-03 15:58:46 |
| Message-ID: | CAO_YK0U-w7sA96p1ASWoZ_7YMuL+96QHkWFOVfRESUuOYhZcQg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
In fact, disabling toast compression will probably improve the performance
(the indirection will still take place). A float array is not usually very
compressible anyway.
On May 3, 2016 10:37 AM, "John R Pierce" <pierce(at)hogranch(dot)com> wrote:
> On 5/3/2016 1:21 AM, Marcus Engene wrote:
>
> For each array I've added, and populated, any dealings with the table has
> become way way slower. I can only assume this is because the array data is
> inline in the datablock on disk that stores the row.
>
>
> any field on a table thats more than a few dozen bytes gets 'toasted' and
> stored out of line in special 'toast' tables.
>
>
> --
> john r pierce, recycling bits in santa cruz
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Janes | 2016-05-03 17:45:19 | Re: Insert only table and size of GIN index JSONB field. |
| Previous Message | Tom Lane | 2016-05-03 15:30:59 | Re: Field size become unlimited in union... |