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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

CRUD Tables Need to Die

7 点作者 elnygren超过 3 年前

2 条评论

metaloha超过 3 年前
For a hackathon a few years back I attempted to make the InnoDB engine in MySQL employ temporal queries. In theory, any change to a row would be timestamped, and `UPDATE` and `DELETE` remapped to `INSERT`.<p>The query plan for a regular query would be modified so that all referenced rows would be restricted to the matching row with the most recent timestamp. A temporal query would be restricted to the row with the most recent timestamp that was less than or equal to the provided time.
jmnicolas超过 3 年前
The proposed solutions add complexity. Complexity make things brittle.<p>I&#x27;d think carefully before adding more complexity. Of course this is depending on what you are doing (accounting app vs a HN clone for example).