TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

SQL in CockroachDB: Mapping Table Data to Key-Value Storage (2015)

87 点作者 jxub超过 5 年前

3 条评论

dang超过 5 年前
From 2017: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14728489" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14728489</a><p>Discussed at the time: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10227516" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10227516</a>
willvarfar超过 5 年前
I am surprised that they have a way to serialize compound keys but they don’t serialize the non-primary fields into a single value. Why wouldn’t that be obviously easier?<p>They have the primary key fields serialized in the key so they need code to make a match pattern against it etc. If the value contained the entire non-primary fields in the exact same format then that same pattern code could be used to evaluate where clauses on those fields too etc.<p>I would anticipate it also being massively massively faster and dramatically reduce write amplification etc.
评论 #21499823 未加载
评论 #21499832 未加载
spatial_dima超过 5 年前
“CockroachDB is the only database in the world that enables you to attach ‘location’ to your data at the row level”<p>^ this statement is so false
评论 #21501093 未加载