Re: jsonb and nested hstore

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема Re: jsonb and nested hstore
Дата
Msg-id CAF4Au4wzY0TtLkyxqF1c_chxhGrXTN-i7aX1kwchP8_jjGTn_A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: jsonb and nested hstore  (Peter Geoghegan <pg@heroku.com>)
Список pgsql-hackers
On Thu, Mar 13, 2014 at 12:10 AM, Peter Geoghegan <pg@heroku.com> wrote:
> On Wed, Mar 12, 2014 at 11:57 AM, Oleg Bartunov <obartunov@gmail.com> wrote:
>> Also, GiST index is faster for create/update operations. I really hope we will
>> improve jsonb indexing in the next one-two releases. For now I'd suggest people
>> index expressional indexes to index just interesting keys or use GiST.
>
> When do you ever want to index non-interesting keys?

Regular user may just index all keys.

I mean, that json can contains keys, which are not searched, so it's
not needed to index them and save index size. We probably could
provide option in CREATE INDEX to specify what to index and what not
index, but it require planner to know that information.


>
> --
> Peter Geoghegan



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Replication slots and footguns
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: jsonb and nested hstore