Re: JSONB performance enhancement for 9.6

Поиск
Список
Период
Сортировка
Искать
От
Bill Moran
Тема
Re: JSONB performance enhancement for 9.6
Дата
Msg-id
20160120073257.d9af9e0315adf2ca37520589@potentialtech.com
Ответ на
Список
Дерево обсуждения
JSONB performance enhancement for 9.6 Tom Smith <tomsmith1989sk@gmail.com>
Re: JSONB performance enhancement for 9.6 Bill Moran <wmoran@potentialtech.com>
Re: JSONB performance enhancement for 9.6 Tom Lane <tgl@sss.pgh.pa.us>
Re: JSONB performance enhancement for 9.6 Tom Smith <tomsmith1989sk@gmail.com>
Re: JSONB performance enhancement for 9.6 Francisco Olarte <folarte@peoplecall.com>
Re: JSONB performance enhancement for 9.6 John R Pierce <pierce@hogranch.com>
Re: JSONB performance enhancement for 9.6 Tom Smith <tomsmith1989sk@gmail.com>
Re: JSONB performance enhancement for 9.6 Thomas Kellerer <spam_eater@gmx.net>
Re: JSONB performance enhancement for 9.6 Tom Smith <tomsmith1989sk@gmail.com>
Re: JSONB performance enhancement for 9.6 Bill Moran <wmoran@potentialtech.com>
Re: JSONB performance enhancement for 9.6 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: JSONB performance enhancement for 9.6 Bill Moran <wmoran@potentialtech.com>
Re: JSONB performance enhancement for 9.6 Álvaro Hernández Tortosa <aht@8kdata.com>
Re: JSONB performance enhancement for 9.6 Tom Smith <tomsmith1989sk@gmail.com>
Re: JSONB performance enhancement for 9.6 Arthur Silva <arthurprs@gmail.com>
Re: JSONB performance enhancement for 9.6 Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: JSONB performance enhancement for 9.6 Tom Smith <tomsmith1989sk@gmail.com>
Re: JSONB performance enhancement for 9.6 Bruce Momjian <bruce@momjian.us>
Re: JSONB performance enhancement for 9.6 Oleg Bartunov <obartunov@gmail.com>
Re: JSONB performance enhancement for 9.6 Dorian Hoxha <dorian.hoxha@gmail.com>
Re: JSONB performance enhancement for 9.6 Tom Smith <tomsmith1989sk@gmail.com>
Re: JSONB performance enhancement for 9.6 Oleg Bartunov <obartunov@gmail.com>
Re: JSONB performance enhancement for 9.6 Tom Smith <tomsmith1989sk@gmail.com>
On Tue, 19 Jan 2016 23:53:19 -0300
Alvaro Herrera  wrote:

> Bill Moran wrote:
> 
> > As far as a current solution: my solution would be to decompose the
> > JSON into an optimized table. I.e.:
> > 
> > CREATE TABLE store1 (
> >  id SERIAL PRIMARY KEY,
> >  data JSONB
> > );
> > 
> > CREATE TABLE store2 (
> >  id INT NOT NULL REFERENCES store1(id),
> >  top_level_key VARCHAR(1024),
> >  data JSONB,
> >  PRIMARY KEY(top_level_key, id)
> > );
> 
> Isn't this what ToroDB already does?
> https://www.8kdata.com/torodb/

Looks like. I wasn't aware of ToroDB, thanks for the link.

-- 
Bill Moran

В списке pgsql-general по дате отправления
От: Sachin Srivastava
Дата:
Сообщение: Syntax error for Function
От: Thom Brown
Дата:
Сообщение: Re: Syntax error for Function
FAQ