Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)
Дата
Msg-id AANLkTi=z=Wa4bGUCxF7DTEBxyn+v9Zed1cowaF_pfTiR@mail.gmail.com
обсуждение исходный текст
Ответ на Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)  (Terry Laurenzo <tj@laurenzo.org>)
Ответы Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Are there any activities in JSON data types for the next commitfest?
I'd like to help you if you are  working on the topic,
or I can make up previous works and discussions by myself.

On Mon, Oct 25, 2010 at 1:36 AM, Terry Laurenzo <tj@laurenzo.org> wrote:
>> Yeah, my concern is not whether the overhead will be zero; it's
>> whether it will be small, yet allow large gains on other operations.
>> Like, how much slower will it be to pull out a moderately complex 1MB
>> JSON blob (not just a big string) out of a single-row, single-column
>> table?  If it's 5% slower, that's probably OK, since this is a
>> reasonable approximation of a worst-case scenario.  If it's 50%
>> slower, that sounds painful.  It would also be worth testing with a
>> much smaller size, such as a 1K object with lots of internal
>> structure.  In both cases, all data cached in shared_buffers, etc.
>>
>> Then on the flip side how do we do on val[37]["whatever"]?  You'd like
>> to hope that this will be significantly faster than the text encoding
>> on both large and small objects.  If it's not, there's probably not
>> much point.
>
> We're on the same page.  I'm implementing the basic cases now and then will
> come up with some benchmarks.

--
Itagaki Takahiro


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Removing pgsql_tmp files
Следующее
От: Vaibhav Kaushal
Дата:
Сообщение: Fwd: Which file does the SELECT?