TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PostgreSQL: Jsonb has committed

416 pointsby r4umabout 11 years ago

18 comments

SixSigmaabout 11 years ago
If, like me a moment ago, you have no idea what jsonb is; see here for a full explanation <a href="http://www.postgresql.org/message-id/E1WRpmB-0002et-MT@gemulon.postgresql.org" rel="nofollow">http:&#x2F;&#x2F;www.postgresql.org&#x2F;message-id&#x2F;E1WRpmB-0002et-MT@gemul...</a><p>tl;dr storing json in a way that doesn&#x27;t mean repeatedly parsing it to make updates
评论 #7458183 未加载
评论 #7463794 未加载
fvtabout 11 years ago
PostgreSQL was already able to compete with Oracle&#x27;s RDBMS and Microsoft&#x27;s SQL Server but could soon supplant Mongo for most jobs.<p>It&#x27;s great to know that the only required storage components nowadays could be PG and ElasticSearch (as PG&#x27;s full-text search can&#x27;t compete with ES), and that the former is a no-brainer to setup (on top of AWS, Rackspace, etc.) or cheap to acquire (with Heroku Postgres for example).<p>Good job !
评论 #7457358 未加载
评论 #7457480 未加载
评论 #7457531 未加载
pilifabout 11 years ago
For those interested, the online documentation for the development version of PostgreSQL has been rebuilt and contains documentation about the new feature:<p><a href="http://www.postgresql.org/docs/devel/static/datatype-json.html" rel="nofollow">http:&#x2F;&#x2F;www.postgresql.org&#x2F;docs&#x2F;devel&#x2F;static&#x2F;datatype-json.ht...</a>
nailerabout 11 years ago
Pardon if this is a little ignorant - I haven&#x27;t done a lot of SQL before, so <a href="http://www.postgresql.org/docs/9.3/static/functions-json.html" rel="nofollow">http:&#x2F;&#x2F;www.postgresql.org&#x2F;docs&#x2F;9.3&#x2F;static&#x2F;functions-json.htm...</a> isn&#x27;t that obvious to me - but:<p>Does this mean I can do Mongo-style queries, retrieving a set of documents which match particular key: value criteria, using PostgreSQL?
评论 #7457759 未加载
评论 #7458405 未加载
评论 #7459792 未加载
评论 #7461528 未加载
skrauseabout 11 years ago
<i>&gt; Jsonb has several missing useful features (from nested hstore), but that could be added later as an extension.</i><p>Which are those missing useful features?
评论 #7458416 未加载
saltvedtabout 11 years ago
Slightly off-topic, does anyone know if there is progress being made on the proposed HTTP API for PostgreSQL?(<a href="http://wiki.postgresql.org/wiki/HTTP_API" rel="nofollow">http:&#x2F;&#x2F;wiki.postgresql.org&#x2F;wiki&#x2F;HTTP_API</a>)
twicabout 11 years ago
What does this binary format actually look like on disk? Is this documented anywhere other than in the code that reads and writes it?<p>I do remember a description of it in some slides a few months back, but i can&#x27;t find them now.
评论 #7460654 未加载
illuminatedabout 11 years ago
I only hope it won&#x27;t be too long before various &quot;drivers&quot; and frameworks start supporting it, otherwise the acceptance rate will be too low. And Jsonb deserves to be accepted as fast as possible.
评论 #7457413 未加载
评论 #7457373 未加载
评论 #7457510 未加载
评论 #7457539 未加载
luikoreabout 11 years ago
What&#x27;s the difference between jsonb and bson? They look so similar to each other...
评论 #7457910 未加载
评论 #7457672 未加载
andybakabout 11 years ago
Can anyone with some familiarity with PostgreSQL&#x27;s release schedule comment on how soon this will be in an official release?
评论 #7457384 未加载
评论 #7458786 未加载
评论 #7458172 未加载
optimiz3about 11 years ago
Can anyone comment on the storage overhead of JSONB key names? One of the worst things about MongoDB&#x27;s BSON format is that 8M instances of the following record:<p>{ &quot;user&quot;: &quot;test&quot;, &quot;isValid&quot;: true }<p>will at a minimum cost 8M * (4 + 7) simply due to field name overhead. MongoDB isn&#x27;t smart enough to alias common field names, and this has remained as one of its biggest problems.<p><a href="https://jira.mongodb.org/browse/SERVER-863" rel="nofollow">https:&#x2F;&#x2F;jira.mongodb.org&#x2F;browse&#x2F;SERVER-863</a>
评论 #7459693 未加载
评论 #7458518 未加载
评论 #7458544 未加载
评论 #7459629 未加载
userbinatorabout 11 years ago
Is there a trend of making verbs reflexive among developers&#x2F;managers? I&#x27;ve seen &quot;product X has released&quot;, &quot;patch Y has applied&quot;, and a lot of similar phrases which I&#x27;m still having trouble parsing. When I saw the title I thought &quot;has committed what?&quot;
评论 #7457723 未加载
评论 #7457556 未加载
评论 #7457595 未加载
评论 #7459452 未加载
评论 #7457587 未加载
评论 #7459045 未加载
评论 #7457583 未加载
booleanbetrayalabout 11 years ago
This is fantastic news. Hats off to the PostgreSQL team! Hoping this lands on AWS RDS shortly after release.
abstrctabout 11 years ago
Does the JSON type still have a set of use cases as well or is it just obsolete now? If I was writing large quantities of json documents to a table, and I didn&#x27;t need tag indexing or targeted updating, would using the JSON type be faster than JSONB?
评论 #7458547 未加载
评论 #7458522 未加载
piratebroadcastabout 11 years ago
Someone explain like I&#x27;m 5?
评论 #7458103 未加载
rchabout 11 years ago
I&#x27;d love to manage HDF5 this way too. Anyone know of an effort already underway?
_pmf_about 11 years ago
First comment: &gt; I believe that this is one of the most significant breakthroughs in Postgres history. Congratulations.<p>Yeah, right.
评论 #7457808 未加载
capkutayabout 11 years ago
Yeah but MemSQL can do this a bajizillion times faster!
评论 #7461013 未加载