Re: json(b)_array_elements use causes very large memory usage when also referencing entire json document

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Lucas Fairchild-Madar <lucas(dot)madar(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: json(b)_array_elements use causes very large memory usage when also referencing entire json document
Date: 2017-10-07 00:51:45
Message-ID: 3821.1507337505@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andres Freund <andres(at)anarazel(dot)de> writes:
> Hm. Unrelated to the topic at hand, but I wonder how much it'd take to
> make some of the hot-path jsonb functionality tolerant of unaligned
> datums.

Probably pretty hard given the list-of-pointers data structure inside.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2017-10-07 01:22:52 Re: json(b)_array_elements use causes very large memory usage when also referencing entire json document
Previous Message Andres Freund 2017-10-07 00:49:59 Re: json(b)_array_elements use causes very large memory usage when also referencing entire json document