Re: jsonb format is pessimal for toast compression
От
Tom Lane
Тема
Re: jsonb format is pessimal for toast compression
Дата
Msg-id
11631.1407514801@sss.pgh.pa.us
Ответ на
Re: jsonb format is pessimal for toast compression (John W Higgins)
Список
Дерево обсуждения
jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Stephen Frost <sfrost@snowman.net>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Bruce Momjian <bruce@momjian.us>
Re: jsonb format is pessimal for toast compression Stephen Frost <sfrost@snowman.net>
Re: jsonb format is pessimal for toast compression Bruce Momjian <bruce@momjian.us>
Re: jsonb format is pessimal for toast compression Stephen Frost <sfrost@snowman.net>
Re: jsonb format is pessimal for toast compression Stephen Frost <sfrost@snowman.net>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Stephen Frost <sfrost@snowman.net>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Kevin Grittner <kgrittn@ymail.com>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Robert Haas <robertmhaas@gmail.com>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Stephen Frost <sfrost@snowman.net>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Robert Haas <robertmhaas@gmail.com>
Re: jsonb format is pessimal for toast compression Jan Wieck <jan@wi3ck.info>
Re: jsonb format is pessimal for toast compression Peter Geoghegan <pg@heroku.com>
Re: jsonb format is pessimal for toast compression Stephen Frost <sfrost@snowman.net>
Re: jsonb format is pessimal for toast compression Peter Geoghegan <pg@heroku.com>
Re: jsonb format is pessimal for toast compression Bruce Momjian <bruce@momjian.us>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Bruce Momjian <bruce@momjian.us>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Bruce Momjian <bruce@momjian.us>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Bruce Momjian <bruce@momjian.us>
Re: jsonb format is pessimal for toast compression Oleg Bartunov <obartunov@gmail.com>
Re: jsonb format is pessimal for toast compression Larry White <ljw1001@gmail.com>
Re: jsonb format is pessimal for toast compression Claudio Freire <klaussfreire@gmail.com>
Re: jsonb format is pessimal for toast compression Claudio Freire <klaussfreire@gmail.com>
Re: jsonb format is pessimal for toast compression Peter Geoghegan <pg@heroku.com>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: jsonb format is pessimal for toast compression Merlin Moncure <mmoncure@gmail.com>
Re: jsonb format is pessimal for toast compression Andrew Dunstan <andrew@dunslane.net>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Heikki Linnakangas <hlinnakangas@vmware.com>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Claudio Freire <klaussfreire@gmail.com>
Re: jsonb format is pessimal for toast compression Stephen Frost <sfrost@snowman.net>
Re: jsonb format is pessimal for toast compression Andrew Dunstan <andrew@dunslane.net>
Re: jsonb format is pessimal for toast compression Amit Kapila <amit.kapila16@gmail.com>
Re: jsonb format is pessimal for toast compression David G Johnston <david.g.johnston@gmail.com>
Re: jsonb format is pessimal for toast compression John W Higgins <wishdev@gmail.com>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Andrew Dunstan <andrew@dunslane.net>
Re: jsonb format is pessimal for toast compression Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Re: jsonb format is pessimal for toast compression Andrew Dunstan <andrew@dunslane.net>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Andrew Dunstan <andrew@dunslane.net>
Re: jsonb format is pessimal for toast compression Tom Lane <tgl@sss.pgh.pa.us>
Re: jsonb format is pessimal for toast compression Andrew Dunstan <andrew@dunslane.net>
Re: jsonb format is pessimal for toast compression Ants Aasma <ants@cybertec.at>
Re: jsonb format is pessimal for toast compression Peter Geoghegan <pg@heroku.com>
Re: jsonb format is pessimal for toast compression Jan Wieck <jan@wi3ck.info>
Re: jsonb format is pessimal for toast compression "David E. Wheeler" <david@justatheory.com>
Re: jsonb format is pessimal for toast compression Jan Wieck <jan@wi3ck.info>
Re: jsonb format is pessimal for toast compression Teodor Sigaev <teodor@sigaev.ru>
Re: jsonb format is pessimal for toast compression Teodor Sigaev <teodor@sigaev.ru>
Re: jsonb format is pessimal for toast compression Alexander Korotkov <aekorotkov@gmail.com>
Re: jsonb format is pessimal for toast compression Hannu Krosing <hannu@2ndQuadrant.com>
Re: jsonb format is pessimal for toast compression Marti Raudsepp <marti@juffo.org>
Re: jsonb format is pessimal for toast compression Larry White <ljw1001@gmail.com>
John W Higgins writes: > Would an answer be to switch the location of the jsonb "header" data to the > end of the field as opposed to the beginning of the field? That would allow > pglz to see what it wants to see early on and go to work when possible? Hm, might work. Seems a bit odd, but it would make pglz_compress happier. OTOH, the big-picture issue here is that jsonb is generating noncompressible data in the first place. Putting it somewhere else in the Datum doesn't change the fact that we're going to have bloated storage, even if we dodge the early-exit problem. (I suspect the compression disadvantage vs text/plain-json that I showed yesterday is coming largely from that offset array.) But I don't currently see how to avoid that and still preserve the fast binary-search key lookup property, which is surely a nice thing to have. regards, tom lane
В списке pgsql-hackers по дате отправления