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.

SQL co-creator embraces NoSQL

39 pointsby damethosabout 1 year ago

10 comments

hn_throwaway_99about 1 year ago
There was an article from over a decade ago that, for many developers, &quot;NoSQL&quot; was really about &quot;No DBA&quot;: <a href="https:&#x2F;&#x2F;martinfowler.com&#x2F;bliki&#x2F;NoDBA.html" rel="nofollow">https:&#x2F;&#x2F;martinfowler.com&#x2F;bliki&#x2F;NoDBA.html</a>.<p>That is, in many companies, DB schema changes require a painful, slow, &quot;multiple approvals required&quot; process. But devs found out that DB admins didn&#x27;t really care about NoSQL data stores for all the reason Martin Fowler talks about in that article. So they&#x27;d bring in NoSQL data stores specifically to hack around slow internal processes.<p>I <i>definitely</i> found that to be the case at at least 1 previous company I worked at. These days, I can certainly understand the rationale to use a transient caching layer like Redis, but Postgres with JSON columns is going to be a better choice 95% of the time vs. what people used to use, say, MongoDB for.
评论 #40350554 未加载
评论 #40350641 未加载
pull_my_fingerabout 1 year ago
Some important context..<p>&gt; A long-time IBMer, Chamberlin is now semi-retired, but finds time to fulfill a role as a technical advisor for NoSQL company Couchbase.
评论 #40350171 未加载
sverhagenabout 1 year ago
While the startup I worked at, a few years back, was decidedly dabbling in the NoSQL space, using Elasticsearch, OrientDB, and Neo4j, the rockstar dba that we hired to help our crowd of mostly Java folks, was very convincing that everything those newlings could do, SQL could do perfectly well too. There are many optimizations that those Java devs couldn&#x27;t dream of, and then there are recursive SQL queries, or JSON columns, to address specific features that NoSQL or graph database are supposed to be good at. I think there&#x27;s a place for both, but it certainly has made me more critical about blunt assertions that SQL&#x27;s time is over. Meanwhile, investors have stopped asking for NoSQL (and for blockchains, too) and NoSQL databases probably are less of a &quot;resume builder&quot; anymore either. So, we can go back to using the best database for the job? (In most of my cases... PostgreSQL.)
dghlsakjgabout 1 year ago
&gt; Donald Chamberlin, who first proposed the language with IBM colleague Raymond Boyce in a 1974 paper [PDF], explains that NoSQL databases and their query languages could help perform the tasks relational systems were never designed for.<p>So the news is that a database expert, in the employ of a noSQL database company, is saying not to use SQL databases for the things they aren&#x27;t made for?
andoandoabout 1 year ago
I still don&#x27;t understand the advantage of NoSQL over just defining a JSON column and additionally defining columns for the fields you want to query. Postgres lets you do queries over json documents too iirc.
评论 #40350230 未加载
评论 #40350189 未加载
richbellabout 1 year ago
This feels like a submarine article for Couchbase.<p><a href="https:&#x2F;&#x2F;paulgraham.com&#x2F;submarine.html" rel="nofollow">https:&#x2F;&#x2F;paulgraham.com&#x2F;submarine.html</a>
SJC_Hackerabout 1 year ago
Maybe I never got deep enough into &quot;NoSQL&quot; DBs such as Mongo, but they always struck me as a bit lazy with a &quot;design as you go&quot; philosophy. The functionality seems to focus around fetching individual records, not the deeper analytics &#x2F; queries you find frequently with RDBMS. The query languages I&#x27;ve seen are imperative, which encourages and processing after the fetch on the client.<p>And since it encourages &quot;winging&quot; it, the DBs tend to be poorly structured&#x2F;documented. Which is OK for some applications I guess.
评论 #40350330 未加载
评论 #40350341 未加载
评论 #40351614 未加载
评论 #40350353 未加载
评论 #40350299 未加载
gregw2about 1 year ago
This technical arguments in this article aren&#x27;t that coherent in my view. I&#x27;m not sure if this is the reporter&#x27;s fault or some Couchbase marketing film-flam (err, which would still end up being the reporter&#x27;s fault.) It could be me I suppose; judge for yourself:<p>The first half suggests Chamberlain (&quot;SQL co-creator&quot;) supports NoSQL which avoids the relational model and in many cases is oriented around more of a key-value store with eventual consistency for better handling certain scalability use cases. Slightly eyebrow-raising that the SQL co-creator agrees, but I don&#x27;t think there&#x27;s a huge technical dispute that you can scale better if you allow eventual consistency. Whether it&#x27;s wise is debatable but of course there will always be a use case where it is arguably wise.<p>The second half talks about SQL++ (which Chamberlain apparently worked on) which AWS calls PartiQL whose value proposition is better&#x2F;easier parsing of JSON.<p>I am not clear how relaxing ACID properties to scale is related to JSON other than that a bunch of early NoSQL databases (MongoDB? Couchbase?) tried to do both.<p>I am no PartiQL&#x2F;SQL++ expert but I have used PartiQL and it is pretty much SELECT... FROM... etc SQL with some fancy features for JSON handling. With standard transactional semantics. You can do similar JSON-type handling in Postgres and Snowflake and other tooling from what I can tell, although I&#x27;d be a bit surprised if some of the SQL++&#x2F;PartiQL dot notation and array subscripting for working with JSON data is ANSI SQL standardized. I don&#x27;t keep up with this but SQL:2016 JSON support can be seen a bit in places like: <a href="https:&#x2F;&#x2F;modern-sql.com&#x2F;blog&#x2F;2017-06&#x2F;whats-new-in-sql-2016#json" rel="nofollow">https:&#x2F;&#x2F;modern-sql.com&#x2F;blog&#x2F;2017-06&#x2F;whats-new-in-sql-2016#js...</a> and SQL:2023 JSON support (esp T801 through T882... oh, it looks like the &quot;simplified JSON accessor&quot; that I liked from PartiQL seems to be there) is a bit covered at: <a href="http:&#x2F;&#x2F;peter.eisentraut.org&#x2F;blog&#x2F;2023&#x2F;04&#x2F;04&#x2F;sql-2023-is-finished-here-is-whats-new" rel="nofollow">http:&#x2F;&#x2F;peter.eisentraut.org&#x2F;blog&#x2F;2023&#x2F;04&#x2F;04&#x2F;sql-2023-is-fini...</a> )
endisneighabout 1 year ago
nosql is great. What’s not great are people who think it’s the best at everything all the time. Same with SQL for that matter.<p>Turing complete isn’t the proper phrase, but I assert any data model can be modeled performantly both ways (normalized or not).
burcsabout 1 year ago
Yeah I agree on not being overly opinionated on this. SQL, NoSQL, for most applications as long as the data is stored somewhere reliably it doesn&#x27;t matter.<p>Although, he&#x27;s kind of losing me on this SQL&#x2F;C++ hybrid, not sure I can get behind that one.
评论 #40350279 未加载